Hi Bert, Thanks for the file. I have fixed the bugs I discussedin my message. The memory bug was fixed by adding int positionsArray[2 * BUFSIZE] to userData. This area is also available for other uses when not needed for indexing. You mention tests. Could they be added to the tests subdirectory? I already have a couple of programs there. John On Wed, May 16, 2012 at 10:29:28AM +0200, Bert Frees wrote: > > On 05/15/2012 05:47 PM, John J. Boyer wrote: > >Hi Bert, > > > >Well, I'll put this one on my to-do list. Can you send me a sample file > >for testing? > > Here you go, see the attachments. > > >There is another bug that I am trying to fix. When formatFor utd is > >used, paragraphs are not indented. It has something to do with the new > >inherit option in style->format . > > This is probably because the functions start_style end_style are not > used in the "utd" section, and those functions are where some important > things are done. I only touched the "ordinary" section, like you said. > > >I think I have a solution to the dumping when the input positions array > >is freed. However, the same problem may crop up elsewhere. You know the > >saying that when you have a bug the most carefully modularized program > >can become a bowl of speghetti. I think the extra variable in liblouis > >may be overstraining something, but I have no idea why it should cause a > >problem. > > > >Christian reminded me that I forgot to change versioning information > >when I added to the interface. That is a bit embarrassing, but couldn't > >cause a bug. > > > >John > > > >On Tue, May 15, 2012 at 05:03:59PM +0200, Bert Frees wrote: > >>I noticed this by accident. I think it only happens in this specific > >>case. When the setting printPages is yes and printPageNumberAt is top, > >>and when the very first page of a document starts with a boxline, this > >>boxline is preceded by an empty line (a line filled with spaces). > >> > >>After revision 3d076794ba8a everything is still ok. Then there are a few > >>revisions that don't build because of errors. The latest revision builds > >>again, but at this point the bug shows up. > >> > >>/Bert > > document document > para h > boxline &xpath(//border[@style='Рањ']) 3 > -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com