[daisy] Chapter numbering in Book Rendering fails, if no Heading1 precedes other Headings

Karel Vervaeke karel at outerthought.org
Fri Jul 4 10:40:30 CEST 2008


I think it is acceptible behaviour - you probably could solve it in
xslt, but it seems a lot more logical to just add a H1 to the first
document.

Even if you would solve it in xslt, the way the H2 of the first document
should be rendered is not well defined either:
It could be:

0.1
1.1
?.1
.1
x.1
...

in short, for solving it in xslt it should be controlled by a
publication property, e.g.

numbering.default.h1.substitutemissing=1

HTH,
Karel


On Thu, 2008-07-03 at 11:52 +0200, Kevin_Walsh at deichmann.com wrote:
> 
> Dear list, 
> 
> for the first time we have implemented a German government
> questionaire in daisy. i.e. every department will answer their
> specific questions. The questionnaire's questions are numbered and the
> document has to be handed in with the same chapter numbering
> (following scientific numbering, e.g. 1.2.3) 
> 
> Both, the generation of HTML, and PDF do not seem to do this, though. 
> 
> Example: 
> A book structure from an imported navigation is: 
> 
> Book Name 
> Document01-title 
>  - Heading 2 
>         text text text text text text 
>     - Heading 3 
>            text text text text text text 
>            text text text text text text 
> Document02-title 
>     text text text text text 
>  - Heading 2 
>         text text text text text text 
> Heading 1 
>    text text text text text 
>  - Heading 2 
>         text text text text text text 
> 
> When generated as a daisy book, the numbering will come out as: 
> 
> Book Name 
> 1 - Document01-title 
>    Heading 2 
>         text text text text text text 
>      Heading 3 
>            text text text text text text 
>            text text text text text text 
> 2 - Document02-title 
>     text text text text text 
>    Heading 2 
>         text text text text text text 
>   2.1 Heading 1 
>      text text text text text 
>      2.1.1 Heading 2 
>           text text text text text text 
> 
> Note that the headings in the first document ar not numbered at all
> and ONLY the headings AFTER Heading 1 in Document02 are numered
> correctly. 
> I do see the problem that the first Heading 2 in Document02 would be
> on the same level as Heading1, but we need some numbering that we can
> use. 
> Formatting the questions as heading1 will not work in our case, since
> the questions are VERY long, with lots of options. 
> 
> Would this be a feature, rather than a bug? 
> Or should I enter an issue? 
> Tis is quite important for us, since our management will actually be
> participating for the first time and I do hope that they will like it
> and further daisy's use (the acceptance of documenting is very low
> among our developers). 
> 
> Thanks in advance! 
> Kevin 
> 
> 
> 
> 
> 
> 
> 
> 
>  
>   
>   
>   
>   
>   
> Kevin Walsh
> IS / Benutzerservice 
> 
> DEICHMANN Schuhe GmbH &
> CO. KG
> Deichmannweg 9
> 45359 Essen 
> 
> Tel: 0201 / 86 76 - 932
> Fax: 0201 / 86 76 49 -
> 932 
> 
> 
>   
>   
>   
>  
> 
> 
> 
> Heinrich Deichmann-Schuhe GmbH & Co. KG, Deichmannweg 9, 45359 Essen
> 
> Registergericht Essen HRA 3564, Umsatzsteueridentifikations-Nr.: DE
> 119663402
> Persönlich haftende Gesellschafterin ist die Deichmann Verwaltungs-
> und
> Handelsgesellschaft mbH mit Sitz in Essen, Registergericht Essen HRB
> 2279.
> 
> Geschäftsführer:
> Dr. Heinz-Horst Deichmann * Dipl.- Kfm. Heinrich Otto Deichmann
> (Geschäftsführende Gesellschafter)
> Martin Fischer * Bjørn Gulden (MBA) * Dipl.-Kfm. Martin Heynen *
> Walter Neuroth
> Dipl.-Wirtsch.-Ing. Karsten Schütt * Dipl. Verwaltungswirt (FH)
> Wolfgang Wislsperger
> 
> 
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy


More information about the daisy mailing list