How to generate similar PDF based on the correct HTML5 output

lhsihan
Posts: 36
Joined: Thu Aug 15, 2019 5:31 pm

How to generate similar PDF based on the correct HTML5 output

Post by lhsihan » Wed Oct 23, 2019 5:16 am

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.

Costin
Posts: 621
Joined: Mon Dec 05, 2011 6:04 pm

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

Post by Costin » Wed Oct 23, 2019 11:25 am

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
Costin Sandoi
oXygen XML Editor and Author Support

Post Reply