143 |
pub = Publisher() |
pub = Publisher() |
144 |
pub.set_reader('standalone', None, 'restructuredtext') |
pub.set_reader('standalone', None, 'restructuredtext') |
145 |
filename = slashify(config.working_directory)+rstfile |
filename = slashify(config.working_directory)+rstfile |
146 |
pub.process_command_line(argv=('--config '+config.docutils+' '+filename+'').split()) |
pub.process_command_line(argv=('--config '+config.docutils_conf+' '+filename+'').split()) |
147 |
|
|
148 |
#conversion may fail because of bad restructuredtext |
#conversion may fail because of bad restructuredtext |
149 |
try: |
try: |