[NZLUG] Converting UTF-8 files to PDF

Félix Saparelli felix at passcod.name
Tue Apr 1 17:04:43 NZDT 2014

Overkill solution that's still less overkill than LO/OO: wkhtmltopdf. Wrap
the file with <html><body><pre>the file</pre></body></html>, give it to the
tool, and you'll get a pdf. Of course, more advanced HTML formatting can be

Less overkill solution: pandoc.

I'm sure there's more and easier tools.

On 1 April 2014 16:41, Volker Kuhlmann <hidden at paradise.net.nz> wrote:

> On Tue 01 Apr 2014 16:28:32 NZDT +1300, DL Neil wrote:
> > I guess OO/LO is not going to meet those final criteria.
> > (you probably know can be API-ed from Python, etc).
> Cranking up a word processor for a plain text file always seems very
> wrong, but is better than nothing. Margin control should be possible
> with that, but the scripting of OO/LO always looks very painful to me.
> Before going down that route, using kate would work, but I don't know
> how that can be scripted.
> Ideally I was hoping something similar to enscript might exist that can
> also handle unicode...
> Thanks,
> Volker
> --
> Volker Kuhlmann                 is list0570 with the domain in header.
> http://volker.top.geek.nz/      Please do not CC list postings to me.
> _______________________________________________
> NZLUG mailing list
> NZLUG at lists.nzoss.org.nz
> http://lists.nzoss.org.nz/mailman/listinfo/nzlug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nzoss.org.nz/pipermail/nzlug/attachments/20140401/32d35303/attachment.html>

More information about the NZLUG mailing list