Page 1 of 1

How to debug the CSS?

Posted: Tue Sep 22, 2020 10:09 pm
by Carl
This is a follow-up to a problem I posted several months ago:

topic21555.html

It was suggested that I debug the CSS using instructions from here:

https://www.oxygenxml.com/doc/versions/ ... ng_the_css

However, I cannot find a ".merged.html" or ".merged.xml" file anywhere on my computer. I don't even see an "output/pdf-css" directory.

Exception: I do see one ".merged.html" file from 15 months ago, for another user manual. Are these instructions outdated and relevant only to older versions of OxygenXML? And if so, how can I troubleshoot the font problems that I'm having in the Mac installation of OxygenXML? The output is almost correct--that's the most maddening part. But it's not correct enough to generate PDFs ready for distribution.

Re: How to debug the CSS?

Posted: Wed Sep 23, 2020 9:21 am
by julien_lacour
Hello,

There are 2 different DITA to PDF transformations:
  • DITA Map PDF - based on HTML5 & CSS
  • DITA Map PDF - based on XSL-FO
The first one produces a merged.html and merged.xml file and can be debugged using the browser.
The second transformation which uses XSL-FO and cannot be debugged inside the web browser.
If you are using the XSL-FO transformation, here are some fonts related topics:
- https://www.oxygenxml.com/doc/versions/ ... e-FOP.html
- https://www.oxygenxml.com/doc/versions/ ... ified.html
- https://www.oxygenxml.com/doc/versions/ ... n-FOP.html

Regards,
Julien