/[navidoc]/navidoc/rst2any.py
ViewVC logotype

Diff of /navidoc/rst2any.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by humppake, Tue Mar 18 16:28:36 2003 UTC revision 1.7 by humppake, Wed Mar 19 09:23:26 2003 UTC
# Line 27  Line 27 
27    
28  __docformat__ = 'reStructuredText'  __docformat__ = 'reStructuredText'
29    
30  import sys, os.path, getopt  import sys, os, getopt
   
31  import docutils.core  import docutils.core
32    import navidoc
 from navidoc.utils.path import _rstFiles, _slashify, relative_path  
33    
34  import config  import config
35    
# Line 96  def rst2any(input): Line 94  def rst2any(input):
94          args = "--config "+config.docutils+" "+input+' '+output          args = "--config "+config.docutils+" "+input+' '+output
95          docutils.core.publish_cmdline(writer_name='latex', argv=args.split())          docutils.core.publish_cmdline(writer_name='latex', argv=args.split())
96    
   
97  # catching loop parameters from the command line  # catching loop parameters from the command line
98  try: sys.argv.remove('--loop'); loop = 1  try: sys.argv.remove('--loop'); loop = 1
99  except ValueError: loop = 0  except ValueError: loop = 0

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26