Gavin Smith <[email protected]> writes:
> My apologies, I failed to read that message before sending my own.
Thanks.
> Yes, it is due to a fairly recent change. Irregular content within a
> sectioning command (not immediately preceded by @node) may cause this
> type of error. This includes using TeX commands which are not Texinfo
> commands - @kern, @raise and @hbox, for example from your definition of
> @LaTeX{}. We had a report recently of a failure with the @nabla command
> (again which isn't a real Texinfo command). This problem occurs if there
> is conditional code that is only used with TeX, not with texi2any.
Again, thanks for the explanation.
> Yes, to delete the definition of \LaTeX. There may be a good reason why
> it is there, but such a reason is not apparent from the contents of
> macros.texi.
Following the above, we could also remove this part, right?
\global\let\savedTeX\TeX
\gdef\TeX#{\savedTeX}
Or am I missing something?
> (@LaTeX was introduced in Texinfo 4.7, in 2004, so maybe the AUCTeX
> manual is older than that.)
IIUC, \LaTeX was in macros.texi from the beginning with this commit:
commit de91fab5476250f688f2c2e42d036d10aebc3da3
Author: Jan-Åke Larsson
Date: Mon Apr 14 12:12:49 2003 +0000
I followed your suggestion and it works also for me. I'll wait if David
has any commets on this, otherwise I will install your suggestion in a
day or two.
Best, Arash