jelovirt / dita-generator

DITA Generator is a Python program that generates DITA shell DTDs, DITA topic specialization stubs, and DITA-OT plug-in stubs.
http://dita-generator-hrd.appspot.com/
Apache License 2.0
18 stars 1 forks source link

"Title Numbering - all levels" does not apply to heading 1 (although it does apply to subheading) #17

Closed AndrewG1 closed 11 years ago

AndrewG1 commented 11 years ago

I selected the "all levels" value for Title Numbering, and although the preview graphic on the right side of the page shows a title number being applied to the heading 1, when the PDF is generated, heading 1 does not have a title number (but all of the sub-headings do).

What can I change so that heading 1 also has the title number applied to it?

If it helps, the PDF is being generated from a DITA map, and the tag for the headings and subheadings is <title>.

jelovirt commented 11 years ago

The generator now supports setting numbering for each heading level separately. If you still have the same problem, please get back.

Sascha-Kuchar commented 10 years ago

Hi, it seems like the bug is still alive! I made a PDF plugin yesterday and there is no number applied to the heading 1. Everthing else is working fine. Great work! Greetings Sascha

jelovirt commented 10 years ago

@Sascha-Kuchar are you using a map or a bookmap source?

Sascha-Kuchar commented 10 years ago

map, ok I see, is this the problem?

jelovirt commented 10 years ago

The generator more or less has been written with bookmap in mind. I'll take a look at adjusting the code generation to also work on plain maps.

Sascha-Kuchar commented 10 years ago

This would be great! Thanks!

jelovirt commented 10 years ago

@Sascha-Kuchar could you test if the generator now works for you?

Sascha-Kuchar commented 10 years ago

Hi, thank you for the quick work, I will take a look on Monday. Weekend means family first.

Sascha-Kuchar commented 10 years ago

Hi, it works! Great implementation! From my side, this bug is fixed! We should inform other DITA users in the DITA users group! Thanks! Sascha