[liblouis-liblouisxml] Re: More fun with boxing lines

  • From: "John J. Boyer" <johnjboyer@xxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 24 Oct 2008 12:58:26 -0500

Chris,

liblouis is translating the boxing lines as though they were ordinary 
text. I'm working on the implementation of the boxline semantic action. 
Give me a few days.

John

On Thu, Oct 23, 2008 at 11:16:44AM -0700, Chris von See wrote:
> Hello John -
> 
> I created a DAISY file and added elements to insert starting and  
> ending boxing lines, but it would appear that liblouisxml and/or  
> liblouis are flipping the lines around.  The file I translated has  
> the following sections in it:
> 
> <level1 id="sidebarTest">
>       <h1>Boxing lines test</h1>
>       <span  
> class="startingBoxingLine">7777777777777777777777777777777777777777</ 
> span>
>       <sidebar render="required">
>               <hd>This is a sidebar heading</hd>
>               <p>This is a paragraph inside the sidebar</p>
>               <p>The sidebar should have boxing lines around it.</p>
>               <span  
> class="endingBoxingLine">GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG</span>
>       </sidebar>
> </level1>
> <level1 id="prodnoteTest">
>       <h1>Prodnote test</h1>
>       <span  
> class="startingBoxingLine">7777777777777777777777777777777777777777</ 
> span>
>       <prodnote render="required">
>               <p>This is a paragraph inside the prodnote</p>
>               <p>The prodnote should have boxing lines around it.</p>
>               <span  
> class="endingBoxingLine">GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG</span>
>       </prodnote>
> </level1>
> 
> It appears correct at this level - the starting boxing line is  
> comprised of 40 dot 2356 cells and the ending boxing line is  
> comprised of 40 dot 1245 cells.  However, when I translate this I get  
> the following:
> 
> ,box+ l9es te/             c#a
> 
> #gggggggggggggggggggggggggggggggggggggg-
> gg
>     ,sideb>3 ,? is a sideb> h1d+
>   ,? is a p>agraph 9side ! sideb>
>   ,! sideb> %d h box+ l9es >.d x4
> ,,g7777777777777777777g
> 
>              ,prodnote te/
> 
> #gggggggggggggggggggggggggggggggggggggg-
> gg
>   ,prodnote3 ,? is a p>agraph 9side !
> prodnote
>   ,! prodnote %d h box+ l9es >.d x4
> ,,g7777777777777777777g
> 
> It would appear that liblouisxml and/or liblouis are reversing the  
> ending and starting boxing lines, changing the dot configuration of  
> the starting line and adding signs to the start of both.  I can't  
> find anything in the en-us-g1.ctb or en-us-g2.ctb which could explain  
> this behaviour - could you help?
> 
> 
> Thanks
> Chris
> 
> 
> For a description of the software and to download it go to
> http://www.jjb-software.com

-- 
John J. Boyer, Executive Director
GodTouches Digital Ministry, Inc.
http://www.godtouches.org
Madison, Wisconsin, USA
Peace, Love, Service

For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: