[OS X TeX] Page number appears with \pagestyle{empty}
Ross Moore
ross at ics.mq.edu.au
Mon Mar 1 16:23:27 EST 2010
Hi Manuel, and Josep,
On 02/03/2010, at 6:52 AM, Manuel wrote:
>> \addtocontents{toc}{\thispagestyle{empty}}
>>
>> near the first \chapter or \section command in your document that
>> you presume will produce an entry in the table of contents. This
>> should insert the relevant command *inside* the .toc file, so it
>> will be executed at the wnated moment.
>
> Josep, I have also tried this solution but I get the error message:
>
> ! Incomplete \iffaise
Yes. It needs to be:
\addtocontents{toc}{\protect\thispagestyle{empty}}
else \thispagestyle expands upon writing to the .toc file
--- and, even if this was successful, you would not necessarily
achieve what you want, as there might be errors when reading it
back in.
>
> Manuel
Hope this helps,
Ross
------------------------------------------------------------------------
Ross Moore ross at maths.mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 (0)2 9850 8955
Sydney, Australia 2109 fax: +61 (0)2 9850 8114
------------------------------------------------------------------------
More information about the MacOSX-TeX
mailing list