[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:


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').


reply via email to

[Prev in Thread] Current Thread [Next in Thread]