mquinson / po4a

Maintain the translations of your documentation with ease (PO for anything)

Home Page:http://po4a.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

\input should not be parsed when it's part of a verbatim environment (po4a::tex: Cannot find 'main.tex' with kpsewhich)

Freed-Wu opened this issue · comments

commented

example.tex

\begin{verbatim}
\documentclass[ignorenonframetext]{beamer}
\input{main.tex}
\end{verbatim}

po4a-gettexttize will search main.tex by kpsewhich, however, it doesn't exist, so it failed.

In fact, it is hard to handle. must detect if \input is surrounded by verbatim, minted, lslsting ... So if there are something to allow user skip the non-exist file?