4 ms·
LibreOffice also can be used headlesslsy to convert other files to PDF locally. We use it via a container to first generate well-styled docx files (letters, inv
by e1g 2y ago
LibreOffice also can be used headlesslsy to convert other files to PDF locally. We use it via a container to first generate well-styled docx files (letters, invoices etc) and then convert those to PDFs.
- pzmarzly 2y agoSame. Do you know some public and maintained (kept up to date) docker container for that usecase? I tried using https://github.com/vladholubiev/docker-libreoffice-pdf-cli https://github.com/vladholubiev/docker-libreoffice-pdf-cli and while it was exactly what I wanted, it hasn't been updated in ages, and its ancient version of LibreOffice rendered my docx docs wrongly. So I ended building my one-off updated version, but didn't publish it as I wouldn't want to be keeping it up to date as well.
- e1g 2y agoI don't know of any actively maintained, but here's a drop-in replacement for you that does the same thing with the latest LibreOffice https://gist.github.com/eugene1g/74172a761e604d875a59774189aafb68 https://gist.github.com/eugene1g/74172a761e604d875a59774189a...
- ANighRaisin 2y agoI like to use pdf24 for this sort of thing. Fast and simple.