[duxuser] Question about List Style

  • From: "Dave Durber" <d.durber@xxxxxxxxx>
  • To: <duxuser@xxxxxxxxxxxxx>
  • Date: Wed, 12 Oct 2011 14:12:41 -0400

 Dani:

This is why I edited the default style and took out the [sc1:0] (conditional 
Blank Line) code.  In this way, I had total control where and when I would use 
it.  This also meant I could use the "Print Reference Page" code following the 
List Style and have no blank line appear between the end of the list and the 
Print Reference Page Number.

The reason why DBT inserts a blank line between the end of the default list 
style that ships with DBT and the Print Reference Page Indicator code, is 
because of the [sc1:0] (Conditional Blank Line) code, which is included as one 
of the codes in the "End Codes' part of the default List Style.

When the [scn:n] code is encountered, DBT checks to see how many lines are left 
on the page.  If there are one or more lines available on the page following 
the [scn:n] code, DBT inserts a blank line.  If there are zero lines available 
on the page following the [scn:n] code, obviously, DBT starts a new page.

When the [scn:n] code is the last code on a page or, the first code on a new 
page, DBT has been programmed to drop the conditional blank line, so that the 
first line containing text, will be embossed on line one.

This is not the case when using the [skn:n] (unconditional Blank Line) code .  
When the [skn:n] code is used, DBT inserts a blank line, regardless as to its 
position on the page.  So, therefore, if there are zero lines at the bottom of 
the page following the [skn:n] code and DBT starts a new page, DBT forces a 
blank line to be inserted at the top of the page regardless, which is why the 
[skn:n] code, is unconditional.

When I was a producer of braille, I very seldom used the [skn:n] code, 
preferring instead, using the [scn:n] code, because I new that by using the 
[scn:n] code, it would take care of any occasion where a blank line would 
appear at the top of a page, no matter how I formatted the braille file.

HTH

Sincerely:

Other related posts: