Need Chapter Number (topicTitleNumber?) on RIGHT

Here should go questions about transforming XML with XSLT and FOP.
GregWait
Posts: 10
Joined: Thu Apr 21, 2016 8:49 pm

Need Chapter Number (topicTitleNumber?) on RIGHT

Post by GregWait »

I'm creating a custom PDF plugin for my company. We're currently working with ditamaps. Right now the section/chapter number appears on the left in the PDF output (default behavior):

3 Chapter Title

I need to move the number to the right page edge, right of the text:

Chapter Title 3

I've done my best to trace the generation of this number, and it looks like it's being created as topicTitleNumber, but I'm getting lost in trying to understand how it finally gets "placed on the page."

Any help is greatly appreciated.

Greg
radu_pisoi
Posts: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Need Chapter Number (topicTitleNumber?) on RIGHT

Post by radu_pisoi »

Hi Greg,

Could you tell us what oXygen and DITA-OT versions you are using?

Also, I'm not very sure what you want to customize. I've tried to reproduce your behavior by using a bookmap and the default 'DITA Map PDF' transformation scenario. Unfortunately, I did not find any area in the PDF output that respects the pattern:

Code: Select all

3 Chapter Title
So, did you try to customize the PDF header or the PDF part that appears at the start of a chapter?
Are you using a 'bookmap' DITA document?
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply