Yes I know and our Volunteer was working on exactly what you suggest, but unfortunately is back at University now! So I'm not sure if/when this will be done! As you say it requires substantial changes to the way the lines are processed. I'm sure that's why you took the whole paragraph in the keepWithNext function!
Cheers Paul On 22/09/2014 13:30, Bert Frees wrote:
Excellent stuff Paul! Thank you very much. Just a minor remark about widows: I see that you implemented this feature by moving the whole paragraph to the next page when it would otherwise break and leave less then X lines on the second page. This is OK, but a possible improvement would be to break the paragraph a bit higher so that some empty lines are left on the first page and X lines on the second page. Less valuable space is wasted this way. But again, this is an optimalisation. In fact implementing it would not be straightforward (it would require substantial changes in transcriber.c). Thanks, Bert Paul Wood writes:Hi Michael, We have made some improvements to liblouisUTDML and would like to push these to the repository. they are: Corrected the centring of the lines which have page numbers on, which were slightly left if there was a page number on the right. Add widow control like orphan control. We haven't finished working on proper widow/orphan control which will allow splitting of the paragraph where there is a keepWithNext. Removed the extra space only if there isn't a space in the following element from InsertTranslation. Added End notes function. I'll send more details shortly how this all works.For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com
-- Paulw.torchtrust signature Paul Wood, Chief Technical Officer *Torch Trust* Torch House, Torch Way, Market Harborough, Leics. LE16 9HL, UK Direct Line: *+44(0)1858 438269* Tel: *+44(0)1858 438260*, Fax: *+44(0)1858 438275* Email: paulw@xxxxxxxxxxxxxx <mailto:paulw@xxxxxxxxxxxxxx> Website: www.torchtrust.org <http://www.torchtrust.org/> ____________________________________________________ Chief Executive: Dr Gordon Temple Charity No. 1095904 Privileged/Confidential Information may be contained in this message. If you are not the intended recipient please destroy this message and kindly notify the sender by reply email. The computer from which this mail originates is equipped with virus screening software. However Torch Trust cannot guarantee that the mail and its attachments are free from virus infection.