[Pkg-sql-ledger-discussion] Bug#821251: Broken Print/Email to PDF and Postscript due to LaTeX::driver bug
Robert James Clay
jame at rocasa.us
Sat Apr 16 23:54:47 UTC 2016
Package: ledgersmb
Found: 1.3.40-1
Found: 1.3.46-1
Severity: normal
LaTeX::driver has a bug that forces the use of xelatex to render all pdf or
postscript source material. It also has a bug that causes data to be dumped to
stdout. These cause the following issues
1. All installations will fail if xelatex packages are not installed
2. You can't generate postscript output, it always generates PDF output
instead
3. You can't currently use TeX templates that are not valid XeLaTeX
Instead you get errors like "Package inputenc Error: inputenc is not designed
for xetex or luatex"
4. You probably can't print to a printer on any system that requires
postscript instead of PDF to be sent to lpr
To work around 1.
install system packages for xelatex
To work around 2.
Unfortunately no work around is available, you can't generate postscript
output for the moment
To work around 3.
Unfortunately the only work around available it to
You can convert your templates to XeLaTeX.
Or patch /usr/share/perl5/LaTeX/Driver.pm line 78 to read
pdf => [ 'pdflatex' ]
It may be possible to use different printer drivers, or a different printer
until LaTeX is fixed. Otherwise there is no workaround for now
Robert James Clay
jame at rocasa.us
More information about the Pkg-sql-ledger-discussion
mailing list