[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
This commit is contained in:
cfbolz 2007-01-28 17:34:52 +01:00
parent 1d3519bfe0
commit 1e44038941
1 changed files with 1 additions and 1 deletions

View File

@ -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: