pkubowicz / opendetex

Improved version of Detex - tool for extracting plain text from TeX and LaTeX sources
Other
236 stars 34 forks source link

\renewcommand impeeds \input from working properly #30

Open pauloney opened 8 years ago

pauloney commented 8 years ago

In the following MWE:

`\documentclass{book}

\begin{document} \renewcommand\cont{CONTE} \input{parts/ch1} \end{document} `

ch1.tex is not included properly when running detex. Removing the \renewcommand everything works fine.

pkubowicz commented 8 years ago

Note that with parenthesis everything works fine:

\renewcommand{\cont}{CONTE}