Hi Keita,
Ikumi Keita writes:
>> Arash Esbati writes:
>> Our current implementation for `LaTeX-current-environment' doesn't
>> recognize the env ' foo3 ' -- note that spaces and other non-letter
>> characters are allowed in env names.
>
> Oh, I didn't know that...
I can't tell if this is a
Hi Arash,
> Arash Esbati writes:
> Our current implementation for `LaTeX-current-environment' doesn't
> recognize the env ' foo3 ' -- note that spaces and other non-letter
> characters are allowed in env names.
Oh, I didn't know that...
> Hence, my suggestion for the change looks like this:
Arash Esbati writes:
> Thanks for the feedback. My current suggestion to fix this is the
> following change:
Following up myself, another issue occurred to me. Please consider this
valid LaTeX code:
--8<---cut here---start->8---
\documentclass[a4paper]{arti
Jan Braun writes:
>> Am 10.03.2022 um 15:30 schrieb Arash Esbati :
>
>> The `current-indentation' never happens inside macrocode environment
>> because it's not recognized. I haven't looked into details (yet), but
>> can others confirm this behavior?
>
> I can confirm this behaviour.
Thanks for
Hi Arash,
> Am 10.03.2022 um 15:30 schrieb Arash Esbati :
[…]
> The `current-indentation' never happens inside macrocode environment
> because it's not recognized. I haven't looked into details (yet), but
> can others confirm this behavior?
I can confirm this behaviour.
Bye
Jan
Hi all,
while looking at the current code of doc.el, it does the following:
(add-to-list (make-local-variable 'LaTeX-indent-environment-list)
'("macrocode" current-indentation) t)
Now take this small example as foo.dtx and eval the forms:
--8<---cut here