Hi Jean-François, 2017-01-14 11:41 GMT+01:00 jfbu <j...@free.fr>: > Hi, > > \newenvironment{myalltt} > {\begin{alltt}% > \IamAllowedToDefineWrapperOfAllTT > \ButFontificationByAucTeXIsProblematic > } > {\end{alltt}} > > causes fontification problem. I can use \alltt and \endalltt > but this forces me to change TeX code for this issue. > > (alltt is not implemented like standard verbatim, the latter > would indeed not allow the above kind of redefinition)
This is not limited to "alltt" but to any verbatim-like environment. Possible workaround --8<---------------cut here---------------start------------->8--- \newenvironment{myalltt} {% \begin{alltt}% ... } {\end{alltt}} --8<---------------cut here---------------end--------------->8--- Bye, Mosè _______________________________________________ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex