Hello all,

I have noticed a problem with auto-parsing support for `minted` with the development version of AUCTeX: If I define a new inline macro via `\newmintedinline`, this defined macro is not known in an included LaTeX file. Here is a small example:

---main,tex---

\documentclass{article}

\usepackage{minted}
\newmintinline[hs]{haskell}{}

\begin{document}

\include{sub}

\end{document}

%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: t
%%% End:

---sub.tex----

The phrase \hs{putStrLn "Hello, World!"} is a simple Haskell expression.

%%% Local Variables:
%%% mode: LaTeX
%%% TeX-master: "main"
%%% End:

-----------------

If I revert Git commit d962325648fee98d0fab6888e5c01d1761fc4784, this problem is gone.

Dirk

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to