Hi all,
A system our Australian colleagues have made calls Prince to convert an HTML document to PDF. This works OK except that I think their stylesheet makes the results ugly. I cannot change the default.css because it will be replaced on the next update. So I want to include a second stylesheet.
I cannot change the command line, which includes something like this:
This seems to be the only CSS included. The weird thing is that everything between style tags is disregarded. Using the <?xml-stylesheet href="..."?>, I get a single blank page in the PDF, so that does not work either. What does work in using the style attribute on every HTML element - this is something I would like to avoid...
Does this ring a bell for anyone? Am I missing something?
Thanks!
Jerry
A system our Australian colleagues have made calls Prince to convert an HTML document to PDF. This works OK except that I think their stylesheet makes the results ugly. I cannot change the default.css because it will be replaced on the next update. So I want to include a second stylesheet.
I cannot change the command line, which includes something like this:
-s C:\{long path}\PDF styleheets\default.css
This seems to be the only CSS included. The weird thing is that everything between style tags is disregarded. Using the <?xml-stylesheet href="..."?>, I get a single blank page in the PDF, so that does not work either. What does work in using the style attribute on every HTML element - this is something I would like to avoid...
Does this ring a bell for anyone? Am I missing something?
Thanks!
Jerry