[liblouis-liblouisxml] Re: Reference page indicator occurs at bottom of Braille page

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 23 Jul 2014 17:52:29 +0200

What about the keepWithNext setting, have you tried that? You can just
add it to the heading1 style, so it will also work with automatically
generated markup and for different page dimensions. I know it's not
exactly the same as your proposed
`minimumAvailableLinesForPageSeparatorLine` but maybe it makes more
sense? What is the reason for wanting this option?  Is it really to
limit the number of page separators or is it in fact to not break text
at weird places? You could combine keepWithNext for headings with
orphanControl for paragraphs to get better results.

Thanks,
Bert


lbu56 writes:

> Hello,
> By reference page indicator, I mean page separator line, and by page 
> heading, I mean the centered heading1 style.
> These solutions would definitely be helpful when manually editing a 
> file, but in my situation, the markup is automatically generated (not 
> that I can't manually modify it), and I might have to use different 
> cells-per-line and lines-per-page configurations.  So, while I could 
> definitely use this to fix this one file using my current settings, it 
> might be useful to have a configuration setting (such as 
> minimumAvailableLinesForPageSeparatorLine) that would allow me to set a 
> minimum number of lines that must be available on a page to create a 
> page separator line rather than simply starting a new page.
>
> Thank you for your help!
>
> Thank you,
> lbu56
>
> On 7/23/2014 7:40 AM, Bert Frees wrote:
>> Just use the keepWithNext[1] option. Your heading will move to the next
>> page and the page separator line should then disappear.
>>
>> [1]: http://liblouis.org/documentation/liblouisutdml.html#index-keepWithNext
>>
>>
>> John J. Boyer writes:
>>
>>> By reference page indicator do you mean the print page separator line?
>>> By page header do you mean one of the headings like h1 or h2 ? Does your
>>> document have an id attribute on each node? If it does, you can tell
>>> liblouisutdml to treat that particular node differently. Define a style
>>> with newpageBefore and then use a line in your semantic-action file
>>> like
>>>
>>> newstyle h1,id,xxxx
>>>
>>> John
>>>
>>>
>>> On Tue, Jul 22, 2014 at 06:40:14PM -0400, lbu56 wrote:
>>>> Dear list,
>>>> I am using liblouisutdml to generate Braille from XHTML markup.
>>>> Here's my situation: My current configuration is set for 40 cells
>>>> per line and 25 lines per page.  Reference page numbers are at the
>>>> top of the page, and Braille page numbers are at the bottom.  I've
>>>> configured liblouisutdml to use the reference page indicator when
>>>> starting a new reference page on a Braille page that has room for
>>>> it.  However, on one page, I have a reference page indicator on line
>>>> 23, followed by the page heading on line 24 out of 25 total lines.
>>>> Is there a way to set a minimum number of lines a Braille page must
>>>> have available before liblouisutdml creates a reference page
>>>> indicator rather than just starting a new page?  Any help would be
>>>> greatly appreciated.
>>>>
>>>> Thank you for your help!
>>>>
>>>> Sincerely,
>>>> lbu56
>>>> For a description of the software, to download it and links to
>>>> project pages go to http://www.abilitiessoft.com
>> For a description of the software, to download it and links to
>> project pages go to http://www.abilitiessoft.com
>>
>
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: