Topic Headings in PDF output
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 86
- Joined: Wed Feb 09, 2011 10:43 pm
Topic Headings in PDF output
Hello,
I use topic headings in documents that are generated in either a Webhelp or a PDF. The webhelp output is ok. But when I generate as a PDF, the topic heading appears on a single page, looks odd. Is there a way to remove the page break and to change the font and style of it? Would it be possible to keep the page break but to add an image on this page.
Best Regards
Boreas
I use topic headings in documents that are generated in either a Webhelp or a PDF. The webhelp output is ok. But when I generate as a PDF, the topic heading appears on a single page, looks odd. Is there a way to remove the page break and to change the font and style of it? Would it be possible to keep the page break but to add an image on this page.
Best Regards
Boreas
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Topic Headings in PDF output
Hi Boreas,
I tested with Oxygen 12.2 and the bundled DITA OT 1.5.2 + Apache FOP for PDF rendering.
I had a DITA Map with a topic heading having several child topic references and the PDF did not break page after the topic head title.
Do you have any customizations in your DITA-OT?
If you also want to add an image for it why not create a DITA topic with the image reference inside and use a topicref to it instead of the topichead? Maybe this will also remove the first problem.
Regards,
Radu
I tested with Oxygen 12.2 and the bundled DITA OT 1.5.2 + Apache FOP for PDF rendering.
I had a DITA Map with a topic heading having several child topic references and the PDF did not break page after the topic head title.
Do you have any customizations in your DITA-OT?
If you also want to add an image for it why not create a DITA topic with the image reference inside and use a topicref to it instead of the topichead? Maybe this will also remove the first problem.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 86
- Joined: Wed Feb 09, 2011 10:43 pm
Re: Topic Headings in PDF output
Yup plenty on customization.
We added a page break to topic.topic.title in ...\DITA-OT\demo\fo\cfg\fo\attrs\commons-attr.xsl. because we wanted the child topic references to "page break". But by doing so the page break is also applied to the topic heading.
Is there a way to have a page break for the child topic references while the topic heading does not?
Thanks.
We added a page break to topic.topic.title in ...\DITA-OT\demo\fo\cfg\fo\attrs\commons-attr.xsl. because we wanted the child topic references to "page break". But by doing so the page break is also applied to the topic heading.
Is there a way to have a page break for the child topic references while the topic heading does not?
Thanks.
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Topic Headings in PDF output
Hi,
The attribute set in which you modified the page break is used in the:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/commons.xsl stylesheet in the XSL template:
<xsl:template match="*" mode="processTopicTitle">.
Maybe you can make a fix there instead depending on the @class value of the current topic reference (or topic head in your case).
You can also try to ask this question on the DITA Users List:
http://tech.groups.yahoo.com/group/dita-users/
Maybe they have better approaches.
Regards,
Radu
The attribute set in which you modified the page break is used in the:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/xsl/fo/commons.xsl stylesheet in the XSL template:
<xsl:template match="*" mode="processTopicTitle">.
Maybe you can make a fix there instead depending on the @class value of the current topic reference (or topic head in your case).
You can also try to ask this question on the DITA Users List:
http://tech.groups.yahoo.com/group/dita-users/
Maybe they have better approaches.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service