From 1e44038941669755ce9350386dece4691c453c91 Mon Sep 17 00:00:00 2001 From: cfbolz Date: Sun, 28 Jan 2007 17:34:52 +0100 Subject: [PATCH] [svn r37477] use relative paths to try to make the py-lib both work in paths that have quotable characters _and_ with some versions of latex that don't like quotes in \input. let's see whether it works... --HG-- branch : trunk --- py/rest/latex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/rest/latex.py b/py/rest/latex.py index 6aa7857c7..1dfecc932 100644 --- a/py/rest/latex.py +++ b/py/rest/latex.py @@ -122,7 +122,7 @@ def process_rest_file(restfile, stylesheet=None, debug=False, rest_options=None) if stylesheet is not None: sty = path.join(stylesheet) if sty.check(): - options.append('--stylesheet="%s"' % (sty, )) + options.append('--stylesheet=%s' % (sty.relto(f), )) options.append(f.new(basename=tex)) options = map(str, options) if rest_options is not None: