[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
serious flaw of @c
From: |
Werner LEMBERG |
Subject: |
serious flaw of @c |
Date: |
Fri, 21 Nov 2008 16:44:13 +0100 (CET) |
Consider this innocent construction:
@address@hidden
}
which fails with
Argument of @commentxxx has an extra }.
This demonstrates that address@hidden' is not the same as `%' in TeX :-(
A fix would require that for all commands which take an argument the
catcode of ^^M is changed so that it isn't prematurely converted to a
space. Alternatively, the newline character could perhaps generally
be made active and protected with address@hidden@protect (similar to
LaTeX's inputenc mechanism) to achieve this.
Besides being a very ugly (undocumented) deficiency, a working
solution is quite important for the address@hidden' trick within macros (if
expanded with `texi2dvi -E').
Werner
- serious flaw of @c,
Werner LEMBERG <=
- Re: serious flaw of @c, Karl Berry, 2008/11/21
- Re: serious flaw of @c, Werner LEMBERG, 2008/11/21
- Re: serious flaw of @c, Karl Berry, 2008/11/21
- Re: serious flaw of @c, Werner LEMBERG, 2008/11/22
- Re: serious flaw of @c, Karl Berry, 2008/11/23
- Re: serious flaw of @c, Patrice Dumas, 2008/11/25
- Re: serious flaw of @c, Werner LEMBERG, 2008/11/25
- Re: serious flaw of @c, Werner LEMBERG, 2008/11/22
- Re: serious flaw of @c, Karl Berry, 2008/11/23