DITA TO PDF
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 158
- Joined: Fri Nov 10, 2017 8:16 am
DITA TO PDF
Hi,
I got a dita map named 'help center'.
This map contains introduction part, getting started, user guide, FAQ, API.
I taged each part, and generate different PDF files, like
introduction.pdf
Getting started.pdf
User guide.pdf
.......
Everything works well, but, the problem is...
The PDF file title is the map title 'help ce 'help center', but not 'introduction' , 'user guide' or others.
For example, in getting started.pdf file. PDF title is 'help center'. The toc is as below
My disired PDF structure is that the PDF title is 'getting started'. TOC is below
I think there should be one parameter can solve this problem. Or, how to do the PDF customization to achieve this?
Would appreciate for your any reply!
Thanks so much!
I got a dita map named 'help center'.
This map contains introduction part, getting started, user guide, FAQ, API.
I taged each part, and generate different PDF files, like
introduction.pdf
Getting started.pdf
User guide.pdf
.......
Everything works well, but, the problem is...
The PDF file title is the map title 'help ce 'help center', but not 'introduction' , 'user guide' or others.
For example, in getting started.pdf file. PDF title is 'help center'. The toc is as below
Code: Select all
Getting started
Topic 1
Topic1.1
Topic 1.2
Topic 2
Topic 2.1
Topic 2.2
My disired PDF structure is that the PDF title is 'getting started'. TOC is below
Code: Select all
Topic 1
Topic1.1
Topic 1.2
Topic 2
Topic 2.1
Topic 2.2
Would appreciate for your any reply!
Thanks so much!
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DITA TO PDF
Hi Catherine,
You can also add profiling conditions inside the main DITA Map title like:
Regards,
Radu
You can also add profiling conditions inside the main DITA Map title like:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title><ph product="A">ProductA</ph><ph product="B">ProductB</ph></title>
.....
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 158
- Joined: Fri Nov 10, 2017 8:16 am
Re: DITA TO PDF
Hi, Radu
Thanks so much for you help.
The primal problem is not the PDF title, but the TOC in the PDF file.
I want to get a TOC in the getting_started.pdf file like the following. The "Getting Started" should not show in the TOC, but display as the PDF title before the TOC.
Topic 1 >>>>> 1st level title
Topic 1.1 >>>>> 2nd level title
Topic 1.2 >>>>> 2nd level title
Topic 1.3 >>>>> 2nd level title
Topic 2
Topic 2.1
Topic 2.2
How to make this work?
Thanks so much for you help.
The primal problem is not the PDF title, but the TOC in the PDF file.
I want to get a TOC in the getting_started.pdf file like the following. The "Getting Started" should not show in the TOC, but display as the PDF title before the TOC.
Topic 1 >>>>> 1st level title
Topic 1.1 >>>>> 2nd level title
Topic 1.2 >>>>> 2nd level title
Topic 1.3 >>>>> 2nd level title
Topic 2
Topic 2.1
Topic 2.2
How to make this work?
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DITA TO PDF
Hi Catherine,
Maybe you can create submaps, for example create a submap called "getting_started.ditamap" containing the topicrefs:
This would be the DITA Map from which you publish the small getting started PDF.
Then in the main DITA Map add a topic reference to a "getting_started.dita" topic and inside that topic reference another topic reference to the
"getting_started.ditamap" map.
The main DITA Map would be used to publish the entire content to a single PDF.
Or you could try with your current setup and maybe a PDF customization but I do not have a good idea about how this could work.
Regards,
Radu
Maybe you can create submaps, for example create a submap called "getting_started.ditamap" containing the topicrefs:
Code: Select all
Topic 1
Topic1.1
Topic 1.2
Topic 2
Topic 2.1
Topic 2.2
Then in the main DITA Map add a topic reference to a "getting_started.dita" topic and inside that topic reference another topic reference to the
"getting_started.ditamap" map.
The main DITA Map would be used to publish the entire content to a single PDF.
Or you could try with your current setup and maybe a PDF customization but I do not have a good idea about how this could work.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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