[OS X TeX] I can’t see what I’m doing wrong…
Herbert Schulz
herbs at wideopenwest.com
Wed Nov 25 12:23:21 EST 2015
> On Nov 25, 2015, at 11:10 AM, Peter Teeson <peter.teeson at icloud.com> wrote:
>
> OS X 10.10.5, TexShop 3.56, TexLive2015
>
> Can you? Is it related to the nesting of { ? They seem to balance… unless I’m not seeing things clearly…
> Line 51 gives me a load of Token errors. This is line 51:
>
> \subsection{Modern APL -What it is?- A few pages for old timers \& newbies\footnote{\url{http://www.urbandictionary.com/define.php?term=what+it+is}}}
>
> From the bottom of the console log:
> ./An Overview.tex:51: Argument of \@sect has an extra }. <<<=======
> <inserted text>
> \par
> l.51 ...ctionary.com/define.php?term=what+it+is}}}
>
>
Howdy,
You've got to remember that \subsection (and \section, etc.) will make an entry in the TOC (even if you don't actually print the TOC). So you need to make an entry without the footnote (actually \url) since that would get read back in. My test shows that
\subsection[Modern APL -What it is?- A few pages for old timers \& newbies]{Modern APL -What it is?- A few pages for old timers \& newbies\footnote{\url{http://www.urbandictionary.com/define.php?term=what+it+is}}}
seems to work fine. Note the [...] optional argument for the TOC entry.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX
mailing list