[liblouis-liblouisxml] Re: A braille document

  • From: "John J. Boyer" <johnjboyer@xxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 26 Feb 2009 05:38:23 -0600

Lars,

Do the various title elements have different attributes and/or values? 
If so, you can define different element,attribute,value triplets as
different heading levels. Also, you can define some
element,attribute,value (not necessarily a title) as contentsheader. The
table of contents will then be placed at this point, which should be
after the title page. This might avoid the segmentation fault. If you
can tell me how much output you get before i occurs this might help me
locate it.

thanks,
John

On Thu, Feb 26, 2009 at 12:15:03PM +0100, Lars Bj�rndal wrote:
> Hi, John!
> 
> You wrote:
> 
> > The table-of-contents feature in liblouisxml, which you requested, is 
> > working. It is documented in the Special Features chapter of the current  
> > documentation. It may not be perfect, but it requires actual use to get 
> > everything right.
> 
> First, I have one question: In the xml document, there is several
> <title> tags. E.g., you have a title tag inside <articleinfo>, one
> inside <sect1> an another one inside <sect2>. In the .sem file, how
> can you distinguish between these title tags, so you can tell
> linblouisxml to use one heading for title inside sect1 and another
> heading level inside sect2?
> 
> I tried to define the title tag in the xml file as heading1. If I then
> used the -Ccontents=yes, I got a segmentation fault message.
> 
> > liblouisxml has a semantic-action file for docbook, called book.sem . 
> > You can edit this file to produce better formatting. The third column in 
> > semantic-action tables might be helpful in getting a semicolon between 
> > columns of tables in your braille document. 
> 
> Thank you, I will look at this.
> 
> I'm using liblouisxml-1.8.0, and liblouis-1.5.2.
> 
> Lars
> For a description of the software and to download it go to
> http://www.jjb-software.com

-- 
My websites:
http://www.godtouches.org
http://www.jjb-software.com
Location: Madison, WI, USA

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

Other related posts: