cb0 cb0 - 1 month ago 21
LaTeX Question

extract text from tex, remove latex tags

I have some .tex files from which I want to receive the plain text without any latex tags such as \section{...} or \newpage.

Does anybody have any idea on how to achieve this?
I also have the .pdf file but when I just copy the code from there, some words get concatenated which is real bad.

Is there any tool you know?

Answer

detex(1):

Please see the OpenDetex GitHub page for the latest version of OpenDetex. It is a more modern, derivative version of my original DeTeX.

My legacy DeTeX home page is available here.

If you just want the legacy detex-2.8.tar source, you can get it here.

Comments