Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Freed-Wu opened this issue May 28, 2023 · 0 comments

Comments

@Freed-Wu
Copy link

Freed-Wu commented May 28, 2023

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?

@mquinson mquinson changed the title Use of uninitialized value $newfilepath in string eq at /usr/share/perl5/vendor_perl/Locale/Po4a/TeX.pm line 999, <KPSEA> line 25. po4a::tex: Cannot find XXX \input should not be parsed when it's part of a verbatim environment (po4a::tex: Cannot find 'main.tex' with kpsewhich) Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant