Programmatically converting/parsing LaTeX code to plain text

前端 未结 8 1328
梦毁少年i
梦毁少年i 2021-02-04 10:06

I have a couple of code projects in C++/Python in which LaTeX-format descriptions and labels are used to generate PDF documentation or graphs made using LaTeX+pstricks. However,

相关标签:
8条回答
  • 2021-02-04 11:05

    Try detex (shipped with most *TeX distributions), or the improved version: http://code.google.com/p/opendetex/

    Edit: oh, I see you tried detex already. Still, opendetex might work for you.

    0 讨论(0)
  • 2021-02-04 11:05

    LaTeX-format descriptions and labels are used to generate PDF documentation or graphs made using LaTeX+pstricks

    This is your mistake. You shouldn't have done that.

    Use RST or some other -- better -- markup language.

    Use Docutils to create LaTeX and HTML from the RST source.

    0 讨论(0)
提交回复
热议问题