[py-svn] r37481 - py/trunk/py/rest

cfbolz at codespeak.net cfbolz at codespeak.net
Sun Jan 28 18:16:43 CET 2007


Author: cfbolz
Date: Sun Jan 28 18:16:43 2007
New Revision: 37481

Modified:
   py/trunk/py/rest/latex.py
Log:
new attempt :-(


Modified: py/trunk/py/rest/latex.py
==============================================================================
--- py/trunk/py/rest/latex.py	(original)
+++ py/trunk/py/rest/latex.py	Sun Jan 28 18:16:43 2007
@@ -122,7 +122,7 @@
     if stylesheet is not None:
         sty = path.join(stylesheet)
         if sty.check():
-             options.append('--stylesheet=%s' % (sty.relto(f), ))
+            options.append('--stylesheet=%s' % (sty.relto(f.dirpath()), ))
     options.append(f.new(basename=tex))
     options = map(str, options)
     if rest_options is not None:


More information about the py-svn mailing list