Hi, would you please consider support text-emphasis properties? I'm aware that these properties are still under draft, but however, have been already implemented in major browsers. Additionally, these properties are quite necessary in formatting some Asian languages (CJK languages), and there seems to be no acceptable workarounds without using these properties.
Finally, you probably need to write a short helper script applying jQuery.emphasis() commands to the parts of the document you want emphasised. For example, if you have used the EM markup and a specific class name you would apply text-emphasis markup to - say
<p>Here is <em>emphasis applied</em>.</p>
<p class="dot-marked">This whole paragraph is marked with dots</p>
Thanks, this is quite helpful. I will give it a try.
Something not directly related to this topic, but it seems to be pretty tricky to get popular JS libraries work with Prince, e.g. MathJax. Now I need to call phantomjs first to generate an intermediate document with all formulas rendered as SVG and then feed it into Prince to build PDF. Do you have any idea if there is a way to get it work directly with Prince, let's say, with some sort of a hack script? Does it work differently using "--script" option instead of linking the script inside the document?
Now, Prince developers are very aware of this problem so perhaps the capability of reflowing a page and running JS along with layout, browser-style, will eventually land. It's a major, major job to implement though - touches how the entire architecture of the various parts gets organised.
Anyway, if I eventually find a hack that lets MathJax run I'll sure let you know
It's very nice to hear that the dev team is always ready to help.