Hello,
I'm new to the prince ecosystem. I was previously using pandoc to build PDFs and I was able to use the HTML output of pandoc to approximate styling for the PDF so that I could use normal browser inspection and manipulation tools. I'm wanting a similar flow (or maybe suggestions on alternatives) with prince.
With Prince when I've got my styles and I've got my HTML, but viewing it in the browser looks wildly different than the PDF (See attached comparison). The only way I've found to reliably edit styles is to re-generate the whole PDF, scroll to the page I wanted to style, see that it's not what I wanted and go again. With pandoc it was instant feedback and a very familiar CSS toolchain.
Is there a way to better approximate prince output when viewing my document in the browser? It doesn't need to be perfect, but for now it's not even close. Maybe there are some default values for max-width etc. that someone has found that bring it closer? Any tips are appreciated.
I'm new to the prince ecosystem. I was previously using pandoc to build PDFs and I was able to use the HTML output of pandoc to approximate styling for the PDF so that I could use normal browser inspection and manipulation tools. I'm wanting a similar flow (or maybe suggestions on alternatives) with prince.
With Prince when I've got my styles and I've got my HTML, but viewing it in the browser looks wildly different than the PDF (See attached comparison). The only way I've found to reliably edit styles is to re-generate the whole PDF, scroll to the page I wanted to style, see that it's not what I wanted and go again. With pandoc it was instant feedback and a very familiar CSS toolchain.
Is there a way to better approximate prince output when viewing my document in the browser? It doesn't need to be perfect, but for now it's not even close. Maybe there are some default values for max-width etc. that someone has found that bring it closer? Any tips are appreciated.