[py-svn] r37477 - py/trunk/py/rest
cfbolz at codespeak.net
cfbolz at codespeak.net
Sun Jan 28 17:34:52 CET 2007
Author: cfbolz
Date: Sun Jan 28 17:34:52 2007
New Revision: 37477
Modified:
py/trunk/py/rest/latex.py
Log:
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...
Modified: py/trunk/py/rest/latex.py
==============================================================================
--- py/trunk/py/rest/latex.py (original)
+++ py/trunk/py/rest/latex.py Sun Jan 28 17:34:52 2007
@@ -122,7 +122,7 @@
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:
More information about the py-svn
mailing list