Page 1 of 1

How to generate similar PDF based on the correct HTML5 output

Posted: Wed Oct 23, 2019 5:16 am
by lhsihan
We have figured out the correct HTML5 format based on the forum's help. Now we would like to generate one PDF which has same format with the HTML5 output.

When we select the transformation scenarios "demo(HTML5 with custom CSS" and "DITA PDF", we couldn't get the PDF we want. The pre-defined CSS couldn't make effect in PDF.

How can we make the PDF same with our HTML5 output such likeļ¼š
1. show generated text in PDF.
2. define own CSS in PDF.
3. use the customrized schema in PDF.

Thanks a lot.

Re: How to generate similar PDF based on the correct HTML5 output

Posted: Wed Oct 23, 2019 11:25 am
by Costin
Hello,

It seems you need some baseline documentation to help you start using HTML5 and CSS to publish your DITA Maps to PDF.

Please note that we have a "DITA-OT CSS Publishing to PDF Plugin" Use-Guide that you could use as a starting point, as it contains useful information on how you could use CSS to customize the output, how to notice which selectors you should use in your customization CSS, helped by the internet browser's CSS inspector (in the "Debugging the CSS" section) and much more.
Pay special attention to the Customization CSS section.

Then, if you still have any specific questions, feel free to address them here or on our official support email (support@oxygenxml.com).

Regards,
Costin