How to add a customized PDF cover
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 158
- Joined: Fri Nov 10, 2017 8:16 am
How to add a customized PDF cover
Hi, I am quite new to DITA and Oxygen,
is there any way to add my customized image as a PDF cover?
If not, how can I customize the PDF cover page to acheive the followings:
I want the logo placed at the top-left or top-right.
Thanks for your help.
is there any way to add my customized image as a PDF cover?
If not, how can I customize the PDF cover page to acheive the followings:
- add a logo, and change the logo position
I want the logo placed at the top-left or top-right.
- add additional information
Thanks for your help.
-
- Posts: 13
- Joined: Tue Jan 14, 2003 12:22 pm
Re: How to add a customized PDF cover
Hi Catherine,
One of my colleagues wrote a small example that customizes a PDF cover page (background image, logo, and title), so you can use this as a starting point for your project:
If you want to further customize the cover page, edit the p-front-page.css file that contains several rules to style specific elements of the front page.
Best Regards,
Bogdan
One of my colleagues wrote a small example that customizes a PDF cover page (background image, logo, and title), so you can use this as a starting point for your project:
- Go to https://github.com/radu-pisoi/com.oxyge ... ion.sample and download the sample project as a zip file.
- Extract the archive anywhere on your computer.
- Load your DITA project in the DITA Maps Manager View.
- Press the Configure Transformation Scenario button, choose the DITA Map PDF - WISIWYG scenario, then press the Edit button.
- Switch to the Parameters tab and set the args.css parameter to point to the p-dita-customization.css file extracted in the second step. Make sure that the value of this parameter is a URL (such as file:///C:/myfile.css), not a file path.
- Apply the transformation scenario.
If you want to further customize the cover page, edit the p-front-page.css file that contains several rules to style specific elements of the front page.
Best Regards,
Bogdan
-
- Posts: 158
- Joined: Fri Nov 10, 2017 8:16 am
Re: How to add a customized PDF cover
Thanks, bogdan
I am using Oxygen 18, seems this version doesn't support Oxygen PDF chemistry.
The css processor type has two choices: prince and antenna-house, but no PDF chemistry.
I am using Oxygen 18, seems this version doesn't support Oxygen PDF chemistry.
The css processor type has two choices: prince and antenna-house, but no PDF chemistry.
-
- Posts: 158
- Joined: Fri Nov 10, 2017 8:16 am
Re: How to add a customized PDF cover
Hi, I am not familar with PrinceXML.
I just choose prince css processor type and followed by your suggested steps.
The Oxygen XML said "transformation successfully", but I didnt get the PDF output.
So, what should I do with the PrinceXML?
I just choose prince css processor type and followed by your suggested steps.
The Oxygen XML said "transformation successfully", but I didnt get the PDF output.
So, what should I do with the PrinceXML?
-
- Posts: 13
- Joined: Tue Jan 14, 2003 12:22 pm
Re: How to add a customized PDF cover
Hi Catherine,
Prince XML (as well as Antenna House) is a third-party PDF processor that you can use with our built-in WYSIWYG transformation scenario, but if you want to use either of them, I suggest that you contact them directly and ask for details regarding pricing, licensing, and usage.
Since you posted in the Oxygen PDF Chemistry section of this forum, I assumed that you want to use the Oxygen PDF Chemistry processor, a tool developed by Oxygen, and was made available in Oxygen XML Editor/Author starting with version 19.0.
To sum up, if you want to use Chemistry you need to upgrade your version of Oxygen to the latest version. If you want to try it out before making a purchasing decision, you could request a trial license key.
Best regards,
Bogdan Goreci
Prince XML (as well as Antenna House) is a third-party PDF processor that you can use with our built-in WYSIWYG transformation scenario, but if you want to use either of them, I suggest that you contact them directly and ask for details regarding pricing, licensing, and usage.
Since you posted in the Oxygen PDF Chemistry section of this forum, I assumed that you want to use the Oxygen PDF Chemistry processor, a tool developed by Oxygen, and was made available in Oxygen XML Editor/Author starting with version 19.0.
To sum up, if you want to use Chemistry you need to upgrade your version of Oxygen to the latest version. If you want to try it out before making a purchasing decision, you could request a trial license key.
Best regards,
Bogdan Goreci
-
- Posts: 21
- Joined: Tue Mar 27, 2018 3:46 pm
Re: How to add a customized PDF cover
Hi ,
1. If I use the "DITA Map PDF" transformation, how can I do?
2. When I use the "DITA Map PDF - WYSIWYG" , the transformation failed, because, cannot find the Prince XML executable :"prince.exe". How can I do to solve it.
If the method 1 cannot be achieved, please reply the question 2.
1. If I use the "DITA Map PDF" transformation, how can I do?
2. When I use the "DITA Map PDF - WYSIWYG" , the transformation failed, because, cannot find the Prince XML executable :"prince.exe". How can I do to solve it.
If the method 1 cannot be achieved, please reply the question 2.
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
Re: How to add a customized PDF cover
Hello,
If you intend to use the WYSIWYG transformation scenario and you do not have installed a Prince XML PDF CSS processor on your system, please upgrade to the latest Oxygen version.
This comes with the Oxygen Chemistry PDF CSS processor embedded and this can be selected from the transformation scenario.
To customize your output please read the documentation for the WYSIWYG transfromation scenario:
https://www.oxygenxml.com/doc/ug-editor ... f-css.html
https://www.oxygenxml.com/doc/ug-editor ... zation_css
https://www.oxygenxml.com/doc/ug-editor ... image.html
Best regrads,
Dan
If you intend to use the WYSIWYG transformation scenario and you do not have installed a Prince XML PDF CSS processor on your system, please upgrade to the latest Oxygen version.
This comes with the Oxygen Chemistry PDF CSS processor embedded and this can be selected from the transformation scenario.
To customize your output please read the documentation for the WYSIWYG transfromation scenario:
https://www.oxygenxml.com/doc/ug-editor ... f-css.html
https://www.oxygenxml.com/doc/ug-editor ... zation_css
https://www.oxygenxml.com/doc/ug-editor ... image.html
Best regrads,
Dan
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to add a customized PDF cover
Hi,
For the classic DITA to PDF output maybe this will help:
https://www.oxygenxml.com/doc/versions/ ... ation.html
there is also a book called "DITA For Print" which can be bought and contains lots of customization examples.
And there is also the PDF plugin generator created by Jarno Elovirta:
http://dita-generator.elovirta.com/
Regards,
Radu
For the classic DITA to PDF output maybe this will help:
https://www.oxygenxml.com/doc/versions/ ... ation.html
there is also a book called "DITA For Print" which can be bought and contains lots of customization examples.
And there is also the PDF plugin generator created by Jarno Elovirta:
http://dita-generator.elovirta.com/
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)
- ↳ 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