Customizing pdf output - css or xsl-fo?
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 16
- Joined: Thu Aug 25, 2022 2:28 pm
Customizing pdf output - css or xsl-fo?
Hi, we need to customize our pdf output - insert company logo on the front page, add headers/footers, style tables etc.
Your doc talks about using css or XSL-FO. How do we choose between them?
https://www.oxygenxml.com/doc/versions/ ... intro.html
Your doc talks about using css or XSL-FO. How do we choose between them?
https://www.oxygenxml.com/doc/versions/ ... intro.html
-
- Posts: 677
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Customizing pdf output - css or xsl-fo?
Post by julien_lacour »
Hello,
It mainly depends on your knowledge: if you don't have any of CSS or XSLT knowledge you should prefer the CSS transformation which is easier to learn. The XSL-FO transformation on the other side allow a more advanced customization but is harder to create.
Besides that, if you are transforming DITA files, you can use Oxygen Styles Basket as a starting point to create a custom publishing template with its own custom CSS stylesheet. This publishing template can be used on both PDF and WebHelp Responsive outputs.
From the needs you have detailed above, the CSS scenario covers all your needs.
You can also find a lot of use-cases and how to resolve them in our user-guide (if Oxygen Styles Basket isn't enough):
Julien
It mainly depends on your knowledge: if you don't have any of CSS or XSLT knowledge you should prefer the CSS transformation which is easier to learn. The XSL-FO transformation on the other side allow a more advanced customization but is harder to create.
Besides that, if you are transforming DITA files, you can use Oxygen Styles Basket as a starting point to create a custom publishing template with its own custom CSS stylesheet. This publishing template can be used on both PDF and WebHelp Responsive outputs.
From the needs you have detailed above, the CSS scenario covers all your needs.
You can also find a lot of use-cases and how to resolve them in our user-guide (if Oxygen Styles Basket isn't enough):
- For the Cover Page
- For the Page Headers and Footers
- For the Tables
- etc.
Julien
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)
- ↳ 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