Page 1 of 1

Configure static content

Posted: Thu Oct 12, 2017 7:54 pm
by techwoxy
Hello.
I recently started to set up a template for converting to PDF.
Got a question. How to configure the header in the following form:
Image

In the left part of the prodname. On the right side of the current heading.

And an additional question. Can I use the key in the footer, which is defined in the map?

Thanx

Re: Configure static content

Posted: Thu Oct 19, 2017 2:30 pm
by Radu
Hi,

We have a DITA OT plugin which customizes the output for our Oxygen user's manual. It's available for free on GitHub:

https://github.com/oxygenxml/com.oxygenxml.pdf2.ug

and it also has some header and footer customizations, maybe you could use it as an example:

https://github.com/oxygenxml/com.oxygenxml.pdf2.ug/wiki

There is also a book called "DITA For Print":

http://xmlpress.net/publications/dita/dita-for-print/

which should cover lots of PDF customization scenarios.

About your second question:
Can I use the key in the footer, which is defined in the map?
Sometimes people use in the DITA Map various DITA <data> elements with custom names, and then in the PDF XSLT customization they can match on those particular <data> elements and extract values from them.

For questions which are not Oxygen specific you can also register and ask on the DITA Users List:

https://groups.yahoo.com/neo/groups/dita-users/info

It's a large community of DITA experts and they can also help with customization questions.

Regards,
Radu