[OS X TeX] Is There A Reason...

Maarten Sneep maarten.sneep at xs4all.nl
Mon Apr 26 04:28:16 EDT 2010


On Mon, 26 Apr 2010 01:21:20 -0600, Louis Talman <talmanl at gmail.com>
wrote:
> Is there a good reason why \chapter, \section, and \subsection don't
> handle the \( and \) delimiters properly, but do handle $...$ right?  Or
is
> it a bug?  The following minimal example is from a book a colleague is
> writing, and we both wonder.  

Yes. The arguments of \section etc. are _moving_ arguments, in that they
may be copied into a table of contents. That means that 'fragile' commands
cannot be used in them. As it happens \(...\) is fragile, $...$ isn't.

This is well documented behavior.

Best,

Maarten





More information about the MacOSX-TeX mailing list