Hi, This patch readds the 1>&2 redirect which was accidentally removed in "Changed UNIX '/dev/null' to OS independent os.devnull in filters code.". It causes the output of LaTeX in the result files.
Regards,
Simon
---
filters/latex/latex2png.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/filters/latex/latex2png.py b/filters/latex/latex2png.py
index 6024d8f..bef8612 100755
--- a/filters/latex/latex2png.py
+++ b/filters/latex/latex2png.py
@@ -95,7 +95,7 @@ def run(cmd):
if verbose:
cmd += ' 1>&2'
else:
- cmd += ' 2>%s' % os.devnull
+ cmd += ' 2>%s 1>&2' % os.devnull
print_verbose('executing: %s' % cmd)
if os.system(cmd):
raise EApp, 'failed command: %s' % cmd
--
1.7.4.1
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
pgpBwlrIdpLN0.pgp
Description: PGP signature
