Thanks for spotting fixing this, it's in the trunk:
http://code.google.com/p/asciidoc/source/detail?r=9e75e1d6db4d60ce35d569f2e0bca0c5ae59a172

Cheers, Stuart


On 15/02/11 03:30, Simon Ruderich wrote:
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

--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to