[liblouis-liblouisxml] Re: Some questions and remarks

  • From: Christian Egli <christian.egli@xxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 07 Jan 2010 16:46:43 +0100

Hi

Bert Frees <bert.frees@xxxxxxxxxxxxxxxx> writes:

> In 2.0.0, liblouis does exactly what I ask, in 2.1.0, all the blank rules
> before the headings are missing.

I tried to debug the code but couldn't quite make sense of it. It is
clear that 2.1.0 has seen a lot of changes (and improvements) in that
area so it's possible that there could be a regression. John, could you
look at the code in transcriber.c (start_style). Is this correct? What
I'm seeing that prevStyle->action is always the same (document).
Shouldn't this point to whatever element came before? The cfg, sem and
xml files are attached.

Thanks

internetAccess no
    newEntries no
    semanticFiles test.sem

style heading2
    linesBefore 1
    firstLineIndent 0
    format centered
style heading3
    firstLineIndent 0
    linesBefore 1
    leftMargin 4
style heading4
    firstLineIndent 0
    linesBefore 1
document dtbook
skip head
no book
pagenum pagenum
no frontmatter
no bodymatter
no rearmatter
no level1
no level2
no level3
no level4
no level5
no level6
heading1 doctitle
heading1 docauthor
heading1 h1
heading2 h2
heading3 h3
heading4 h4
heading4 h5
heading4 h6
para p
-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

Other related posts: