Home Forums DITA and XMetaL Discussion How to add leading numbers in headings for PDF output? Reply To: How to add leading numbers in headings for PDF output?

Chris

Reply to: How to add leading numbers in headings for PDF output?

Sorry Chartered – copy/paste error – I meant the “insertReferenceTitle” template, not the “processTopicTitle” template:

For “insertReferenceTitle”, add a variable called “level” after the “element” variable:


 
   
 

Further down in the template, just before the element, modify the topic/title match:


 
 
   
 

 

For your second question, I'd need more info – can you post a zip with a map and topic files that show the problem?

– Chris

Reply

Products
Downloads
Support