[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25447: 11.90.0; alltt environment should allow being extended in wra
From: |
Mosè Giordano |
Subject: |
bug#25447: 11.90.0; alltt environment should allow being extended in wrapper |
Date: |
Sat, 14 Jan 2017 11:49:29 +0100 |
Hi Jean-François,
2017-01-14 11:41 GMT+01:00 jfbu <address@hidden>:
> 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è