Short Description in Chapter text

Here should go questions about transforming XML with XSLT and FOP.
jeofree
Posts: 5
Joined: Tue May 03, 2011 5:54 am

Short Description in Chapter text

Post by jeofree »

Does anyone know what file in the DITA OT controls whether the short description appears at the top of a Chapter in PDF output?

The setup is this:

Bookmap
Part (bookmap also)
Chapter (this is a topic)
Topic

In HTML output it works perfectly, the short descriptions at the top of any topic show up at the start of the topic, and are also pulled into the "mini toc" at the Part and Chapter levels above them.

For the PDF output, only the topic links are included at Part and Chapter level, no short descriptions (which is fine) and then at the Chapter page itself, the short description isn't there either.

This page for example:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "http://docs.oasis-open.org/dita/v1.1/OS/dtd/concept.dtd">
<concept id="system_requirements">
<title>System Requirements</title>
<shortdesc id="shortdesc_92D228BA03E642648E4843A72B96D5F6">[b]Before beginning the installation, make sure your system meets the requirements to run XXXXX.[/b] </shortdesc>
<prolog audience="basic"/>
<conbody>
<section id="section_3B2CA7815CB54A6B9113793AA7E16AB1">
<title>Supported Configurations</title>
<p>
<ph (etc).........
The short description doesn't show up in the PDF at the start of that topic, since it's a topic that serves as a chapter heading. Topics below it that are not chapters do show the short description in them.

Again, for the PDF I don't need the short description to be pulled into another place in the doc, but the way it is now it's not appearing anywhere.

It must be something in the PDF output, meaning the DITA OT xls files, that controls how topics that are also chapters are constructed?

Thanks in advance for any pointers.
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Short Description in Chapter text

Post by Radu »

Hi,

So from what I understand you have a shortdesc in your topic which is then used as a chapter in a bookmap.
From what I've tested (Oxygen 12.2 beta with DITA OT 1.5.2 and Apache FOP 1.0):

http://imageshack.us/photo/my-images/84 ... hapter.png

the short description appears in the chapter's page.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply