Change the PDF2 customization for oXygen user manual
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 29
- Joined: Tue Jun 27, 2017 2:10 pm
Change the PDF2 customization for oXygen user manual
Hi Experts,
As I download PDF2 customization for oXygen user manual from https://github.com/oxygenxml/com.oxygenxml.pdf2.ug.
I used it for my own publications in Dita OT 2.5, and extends it functions, such as adding page footer and header, the disclaimer page, etc.
It helps me a lot!
Right now I want to add the following functions and would you please share me where to start, need to change which page?
Thanks!
1. in bookmaps, add the chapter number.
Righ now only : AAAAAA
BBBBBB
CCCCCC
I want to have this : 1 AAAAA
1.1 BBBBBBBB
1.2 CCCCCCC
2. Make the name "Contents" visible in the table of contents.
Right now: AAA-----------1
BBB-----------2
CCC----------3
I want to have
Contents
1 AAAAA------------------1
1.1 BBB-------------------2
1.2 CCC-------------------3
3. I want to make chapter 1, 2 start from a new page.
4. I wan to have all paragraph start from the left of of the page.
br,
Lisa
As I download PDF2 customization for oXygen user manual from https://github.com/oxygenxml/com.oxygenxml.pdf2.ug.
I used it for my own publications in Dita OT 2.5, and extends it functions, such as adding page footer and header, the disclaimer page, etc.
It helps me a lot!
Right now I want to add the following functions and would you please share me where to start, need to change which page?
Thanks!
1. in bookmaps, add the chapter number.
Righ now only : AAAAAA
BBBBBB
CCCCCC
I want to have this : 1 AAAAA
1.1 BBBBBBBB
1.2 CCCCCCC
2. Make the name "Contents" visible in the table of contents.
Right now: AAA-----------1
BBB-----------2
CCC----------3
I want to have
Contents
1 AAAAA------------------1
1.1 BBB-------------------2
1.2 CCC-------------------3
3. I want to make chapter 1, 2 start from a new page.
4. I wan to have all paragraph start from the left of of the page.
br,
Lisa
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Change the PDF2 customization for oXygen user manual
Post by radu_pisoi »
Hi,
This plugin contributes two parameters to the PDF2 transformation:
To use this PDF customization plugin from the Oxygen interface follow these steps:
If you want to add numbers before the topic's title, you can use the next PDF customization plugin https://github.com/oxygenxml/org.dita.p ... .numbering.lisazeng wrote:1. in bookmaps, add the chapter number.
Righ now only : AAAAAA
BBBBBB
CCCCCC
I want to have this : 1 AAAAA
1.1 BBBBBBBB
1.2 CCCCCCC
This plugin contributes two parameters to the PDF2 transformation:
- numbers-before-title (yes/no)
Specifies whether or not this feature is enabled. The default value is no. - numbers-before-title-depth
Specifies the depth of the topics that will be numbered when the numbers-before-title option is enabled.
To use this PDF customization plugin from the Oxygen interface follow these steps:
- Download the ZIP archive associated with this project by using the Clone or download button.
- To install the plugin and transform it, follow the procedure found here: https://www.oxygenxml.com/doc/ug-editor ... lugin.html
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 29
- Joined: Tue Jun 27, 2017 2:10 pm
Re: Change the PDF2 customization for oXygen user manual
Hi Radu,
Since I already have the pdf plugin of "PDF2 customization for oXygen user manual", can I also use the "org.dita.pdf2.topic.numbering" in it?
by just include this plugin?
Thanks!
Lisa
Since I already have the pdf plugin of "PDF2 customization for oXygen user manual", can I also use the "org.dita.pdf2.topic.numbering" in it?
by just include this plugin?
Thanks!
Lisa
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Change the PDF2 customization for oXygen user manual
Post by radu_pisoi »
Hi,
Yes, you can install both plugins in your DITA-OT distribution. I think they are compatible.
Yes, you can install both plugins in your DITA-OT distribution. I think they are compatible.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 29
- Joined: Tue Jun 27, 2017 2:10 pm
Re: Change the PDF2 customization for oXygen user manual
Hi Radu,
I donwload the org.dita.pdf2.topic.numbering and installed it in dita2.5.
How can I use it in the com.oxygenxml.pdf2.ug-master?
I did this:
in com.oxygenxml.pdf2.ug-master\plugin.xml, add
<require plugin="org.dita.pdf2.topic.numbering-master"/>
How can I make the reuse the parameter of numbers-before-title defined in org.dita.pdf2.topic.numbering in com.oxygenxml.pdf2.ug-master?
Thanks!
br,
Lisa
I donwload the org.dita.pdf2.topic.numbering and installed it in dita2.5.
How can I use it in the com.oxygenxml.pdf2.ug-master?
I did this:
in com.oxygenxml.pdf2.ug-master\plugin.xml, add
<require plugin="org.dita.pdf2.topic.numbering-master"/>
How can I make the reuse the parameter of numbers-before-title defined in org.dita.pdf2.topic.numbering in com.oxygenxml.pdf2.ug-master?
Thanks!
br,
Lisa
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Change the PDF2 customization for oXygen user manual
Hi Lisa,
Just installing the numbering plugin (copying it to the DITA OT "plugins" folder and then running the DITA OT integrator) should be enough. The plugin contributes a customization.xsl stylesheet which matches each topic title and tries to place a number before it. You can use xsl:message's to see if the template is called on your side.
Regards,
Radu
Just installing the numbering plugin (copying it to the DITA OT "plugins" folder and then running the DITA OT integrator) should be enough. The plugin contributes a customization.xsl stylesheet which matches each topic title and tries to place a number before it. You can use xsl:message's to see if the template is called on your side.
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