src/cm/converters/pandoc_converters.py
changeset 443 cacd524f5279
parent 442 b6e443be2a9b
child 458 ba7e05582435
equal deleted inserted replaced
442:b6e443be2a9b 443:cacd524f5279
    36 if MARKDOWN2PDF_BIN:
    36 if MARKDOWN2PDF_BIN:
    37   bin_search(MARKDOWN2PDF_BIN)
    37   bin_search(MARKDOWN2PDF_BIN)
    38 
    38 
    39 # pandoc capabilities
    39 # pandoc capabilities
    40 INPUT_FORMATS = ['native', 'markdown', 'rst', 'html', 'latex']
    40 INPUT_FORMATS = ['native', 'markdown', 'rst', 'html', 'latex']
    41 OUTPUT_FORMATS = ['native', 'html', 's5', 'docbook', 'opendocument', 'odt', 'latex', 'context', 'texinfo', 'man', 'markdown', 'rst', 'mediawiki', 'rtf', 'pdf']
    41 OUTPUT_FORMATS = ['native', 'html', 's5', 'docbook', 'opendocument', 'odt', 'latex', 'context', 'texinfo', 'man', 'markdown', 'rst', 'mediawiki', 'rtf', 'pdf', 'epub']
    42 
    42 
    43 # input formats
    43 # input formats
    44 CHOICES_INPUT_FORMATS = [(f, f) for f in ['markdown', 'rst', 'html']]
    44 CHOICES_INPUT_FORMATS = [(f, f) for f in ['markdown', 'rst', 'html']]
    45 
    45 
    46 DEFAULT_INPUT_FORMAT = 'markdown'
    46 DEFAULT_INPUT_FORMAT = 'markdown'