Re: PDF on debian
On 2023-03-09 15:55:13 +0100, Vincent Lefevre wrote:
> On 2023-03-09 21:42:24 +0700, Max Nikulin wrote:
> > If you use some markup language that can be converted to HTML then
> > there is an alternative to LaTeX workflow:
> >
> > chromium --headless --disable-gpu --print-to-pdf=/tmp/test.pdf
> > file:///tmp/test.html
>
> Good idea. Similarly, with LibreOffice:
>
> libreoffice --headless --print-to-file file.txt
libreoffice --headless --convert-to pdf file.txt
produces a PDF of better quality (fewer spacing issues).
This can be tried on
https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: