[liblouis-liblouisxml] Re: Small regression bug in latest changes to liblouisutdml

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 16 May 2012 05:16:21 -0500

I didn't see the test.sem attachment. When I run the following command

file2brl -C semanticFiles=boxline-test.sem boxline-test.xml test.brl

(changing file nammes to avoid confusion) I get
33333333333333333333333333333333
  h1d+ 2t bord}s
33333333333333333333333333333333

There is no blank line before the first boxline. Maybe the latest 
version of liblouisutdml has fixed this problem.

John

On Wed, May 16, 2012 at 11:25:22AM +0200, Bert Frees wrote:
> The test.xml file's got nothing to do with OpenOffice. You should use 
> the test.sem configuration file I also sent you.
> /Bert
> 
> On 05/16/2012 11:10 AM, John J. Boyer wrote:
> >Adding to my previous message. When I ran the attached file with
> >file2brl I got only "Header between borders". I already have a
> >document.sem file for OpenOffice. Apparently an update to that file is
> >needed.
> >
> >Thanks,
> >John
> >
> >On Wed, May 16, 2012 at 03:59:59AM -0500, John J. Boyer wrote:
> >>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
> 
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com

-- 
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

Other related posts: