GNU bug report logs -
#25447
11.90.0; alltt environment should allow being extended in wrapper
Previous Next
Reported by: jfbu <jfbu <at> free.fr>
Date: Sat, 14 Jan 2017 10:42:01 UTC
Severity: normal
Found in version 11.90.0
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25447 in the body.
You can then email your comments to 25447 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#25447
; Package
auctex
.
(Sat, 14 Jan 2017 10:42:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
jfbu <jfbu <at> free.fr>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Sat, 14 Jan 2017 10:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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)
Best,
Jean-François
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#25447
; Package
auctex
.
(Sat, 14 Jan 2017 10:51:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 25447 <at> debbugs.gnu.org (full text, mbox):
Hi Jean-François,
2017-01-14 11:41 GMT+01:00 jfbu <jfbu <at> 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è
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#25447
; Package
auctex
.
(Sat, 14 Jan 2017 12:56:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 25447 <at> debbugs.gnu.org (full text, mbox):
Hi Mosè
Le 14 janv. 2017 à 11:49, Mosè Giordano <mose <at> gnu.org> a écrit :
> Hi Jean-François,
>
> 2017-01-14 11:41 GMT+01:00 jfbu <jfbu <at> 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è
Thanks for the workaround. In the meantime
I had used
{\end{alltt}}% \end{alltt}
but yours has even less fontification (only
opening brace)
Bye,
Jean-François
bug closed, send any further explanations to
25447 <at> debbugs.gnu.org and jfbu <jfbu <at> free.fr>
Request was from
Arash Esbati <arash <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 04 Mar 2024 08:48:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 01 Apr 2024 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 39 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.