How to debug the CSS?

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Carl
Posts: 86
Joined: Fri Oct 19, 2018 2:19 am

How to debug the CSS?

Post by Carl » Tue Sep 22, 2020 10:09 pm

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.

julien_lacour
Posts: 120
Joined: Wed Oct 16, 2019 3:47 pm

Re: How to debug the CSS?

Post by julien_lacour » Wed Sep 23, 2020 9:21 am

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

Post Reply