aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtexall4
1 files changed, 3 insertions, 1 deletions
diff --git a/texall b/texall
index 47ad016..ad7fb04 100755
--- a/texall
+++ b/texall
@@ -813,6 +813,7 @@ def runtex(tex, texname, realname, dirname, reason=""):
outf = None
else:
def outf(d):
+ d = re_fixemacserrorshowing.sub("", d)
return re_rmligsfile.sub("\\1.tex", d)
if texname != realname:
run([tex, "-interaction", opts.interactionmode, "-jobname", texname[:-4], realname], dirname, outf=outf, reason=reason)
@@ -920,7 +921,7 @@ try:
re_graphics = re.compile('\\\\includegraphics(\\[.*?\\])?\\{([^}]*)\\}')
re_DTLdep = re.compile('\\\\DTLload(rawdb|db)\\{.*?\\}\\{([^}]*)\\}')
- re_bibliography = re.compile('\\\\bibliography\\{([^}]*)\\}')
+ re_bibliography = re.compile('^[^%\n\r]*\\\\bibliography\\{([^}]*)\\}', re.M)
re_commawhitespace = re.compile('\\s*,\\s*')
@@ -932,6 +933,7 @@ try:
re_error = re.compile('^! ', re.M)
re_rmligsfile = re.compile("([^/ ]+)-rmligs\\.tex")
+ re_fixemacserrorshowing = re.compile(" \(Web2C [0-9.]*\)")
if __name__ == "__main__":
#import cProfile