Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

extract text from tex, remove latex tags

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?

like image 954
cb0 Avatar asked May 06 '09 12:05

cb0


1 Answers

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.

like image 171
Charlie Martin Avatar answered Sep 23 '22 12:09

Charlie Martin