[Epydoc-commits] SF.net SVN: epydoc: [1791] trunk/epydoc/src/epydoc/cli.py
Brought to you by:
edloper
|
From: <ed...@us...> - 2008-02-26 02:52:05
|
Revision: 1791
http://epydoc.svn.sourceforge.net/epydoc/?rev=1791&view=rev
Author: edloper
Date: 2008-02-25 18:52:04 -0800 (Mon, 25 Feb 2008)
Log Message:
-----------
- Fixed bug in selecting pdfdriver when pdfdriver=auto.
Modified Paths:
--------------
trunk/epydoc/src/epydoc/cli.py
Modified: trunk/epydoc/src/epydoc/cli.py
===================================================================
--- trunk/epydoc/src/epydoc/cli.py 2008-02-25 00:37:58 UTC (rev 1790)
+++ trunk/epydoc/src/epydoc/cli.py 2008-02-26 02:52:04 UTC (rev 1791)
@@ -1009,7 +1009,10 @@
log.start_progress('Writing LaTeX docs')
# Choose a pdfdriver if we're generating pdf output.
- if 'pdf' in options.actions and options.pdfdriver=='auto':
+ if options.pdfdriver=='auto' and ('latex' in options.actions or
+ 'dvi' in options.actions or
+ 'ps' in options.actions or
+ 'pdf' in options.actions):
if 'dvi' in options.actions or 'ps' in options.actions:
options.pdfdriver = 'latex'
else:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|