equal
deleted
inserted
replaced
322 |
322 |
323 # decide to use pandoc or not |
323 # decide to use pandoc or not |
324 if with_color : |
324 if with_color : |
325 use_pandoc = False # pandoc wouldn't preserve comments scope background colors |
325 use_pandoc = False # pandoc wouldn't preserve comments scope background colors |
326 else : |
326 else : |
327 if format in ('markdown', 'tex') : |
327 if format in ('markdown', 'latex') : |
328 use_pandoc = True |
328 use_pandoc = True |
329 elif format in ('pdf', 'odt') : |
329 elif format in ('pdf', 'odt') : |
330 use_pandoc = (original_format == "markdown") |
330 use_pandoc = (original_format == "markdown") |
331 elif format in ('doc', 'html') : |
331 elif format in ('doc', 'html') : |
332 use_pandoc = False |
332 use_pandoc = False |