Your message dated Sun, 11 Sep 2011 11:03:29 +0200
with message-id <9943.1315731809@manetheren>
has caused the report #632967,
regarding dblatex: Broken Japanese PDF with xetex and "no support found for
xeCJK" etc.
to be marked as having been forwarded to the upstream software
author(s) Benoit Guillon <[email protected]>
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
632967: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632967
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Hi Benoît,
I want to inform you about dblatex Debian BTS report #632967 [1], which
mentions several issues, however only one needing a fix according to my
understanding: dblatex doesn't always signal failure by an exit code ≠
0. Attached you find a patch suggestion for your review [2].
I have not been able to reproduce the reporter's build problems for
japanese documents with the XeTeX backend, on the contrary the very
interesting XeTeX parameters he has provided [3] allow handling japanese
documents in the first place.
[1] http://bugs.debian.org/632967
[2]
Author: Andreas Hoenen <[email protected]>
Description: Patch for BTS report #632967:
Signal every build failure by an exit code != 0.
--- a/lib/dbtexmf/core/dbtex.py
+++ b/lib/dbtexmf/core/dbtex.py
@@ -340,14 +340,12 @@
donefiles.sort()
self.log.info("Files successfully built in '%s':\n%s" % \
(self.outputdir, "\n".join(donefiles)))
- except Exception, e:
- signal_error(self, e)
-
- os.chdir(self.cwdir)
- if not(self.debug):
- shutil.rmtree(self.tmpdir)
- else:
- self.log.info("%s not removed" % self.tmpdir)
+ finally:
+ os.chdir(self.cwdir)
+ if not(self.debug):
+ shutil.rmtree(self.tmpdir)
+ else:
+ self.log.info("%s not removed" % self.tmpdir)
def _stdin_write(self):
# Find out the stdin working directory
@@ -695,5 +693,6 @@
try:
run.compile()
except Exception, e:
+ signal_error(run, e)
failed_exit("Error: %s" % e)
[3]
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=xetex_param.xsl;att=1;bug=632967
Regards, Andreas
--
Andreas Hoenen <[email protected]>
GPG: 1024D/B888D2CE
A4A6 E8B5 593A E89B 496B
82F0 728D 8B7E B888 D2CE
pgpfpYFFCGPTE.pgp
Description: PGP signature
--- End Message ---