First topic as cover page

Post here questions and problems related to editing and publishing DITA content.
Posts: 13
Joined: Thu Sep 24, 2020 8:20 pm

First topic as cover page

Post by fjeneau »

In a DITA-OT PDF transformation, is there any out-of-the-box way to treat the first topic as the cover page. I know you couldn't do this in the past, but I was wondering if oXygen 24/DITA-OT 3.6.1 had added any kind of customization that would easily allow this. If not, would switching from a generic map to a bookmap help, or would I still need to customize the XSLT no matter what?
Posts: 7967
Joined: Fri Jul 09, 2004 5:18 pm

Re: First topic as cover page

Post by Radu »


From what I remember with a Bookmap you can add a topic before the table of contents, something like this:

Code: Select all

<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd">
        <topicref href="firstTopic.dita"/>
So you can place the <toc> lower after the topic reference.
With a regular DITA Map you cannot define your table of contents placement very precisely so you would probably need some xslt customization to achieve what you want.

Radu Coravu
<oXygen/> XML Editor
Post Reply