How do I convert LaTeX to plain-text (ASCII)?

前端 未结 14 2013
故里飘歌
故里飘歌 2020-12-07 13:17

Scenario:
I have a document I created using LaTeX (my resume in this case), it\'s compiling in pdflatex correctly and outputting exactly what I\'

14条回答
  •  情深已故
    2020-12-07 13:32

    Pandoc allows you to convert files from one format to other Use following pandoc command:

    pandoc -s /path/to/foobar.tex -o foobar.txt
    

    If you want your lines to break at a certain column use --column flag. Use --columns 10000 for non-breaking line.

    You can convert -o foobar.txt to a number of other formats like markdown (.md) etc. If you don't specify the -o foobar.txt, pandoc will print the html that you can render in any online tool.

    To install pandoc follow this official documentation

提交回复
热议问题