[liblouis-liblouisxml] Re: xml commands with xml2brl

  • From: "John J. Boyer" <johnjboyer@xxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 16 Mar 2009 17:36:07 -0500

Greg,

In your definition of style1 use 
linesBefore 2

John

On Mon, Mar 16, 2009 at 03:43:58PM -0500, Greg Williams wrote:
> Hi,
> I have text files each containing one book of the Bible.  I would like  
> to translate them for my braille lite such that each verse is on one  
> line, and there are two ilnes between chapters.
> I have structured the files as follows:
> <bible>
> <name>BookTitle</name>
> <chapter>
> <p>1:1 text</p>
> ...
> </chapter>
> ...
> </bible>
> 
> My cfg file is
> 
> # bible.cfg
> outputFormat
>       lineEnd \r
>       printPages no
>       braillePages no
>       paragraphs no
> xml
>       internetAccess no
> style para
>       firstLineIndent 0
> style heading1
>       linesBefore 0
>       format leftjustified
>       linesAfter 0
> style style1
>       linesbefore 1
> 
> and the sem file
> 
> # bible.sem
> italicx em
> document bible
> para p
> heading1 name
> style1 chapter
> 
> 
> This results in what I want except that there is no extra line between  
> chapters.  If I use "paragraphs yes", then I still end up with no  
> extra line, and the verses are broken into 40 character lines. (as  
> expected)  Can anyone tell me how to get what I want?  Thanks.
> Greg
> 
> For a description of the software and to download it go to
> http://www.jjb-software.com

-- 
My websites:
GodTouches Digital Ministry, Inc. http://www.abilitiessoft.com/godtouches
Abilitiessoft, Inc. http://www.abilitiessoft.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: