[OS X TeX] Page number appears with \pagestyle{empty}

Manuel libros at limay.de
Mon Mar 1 22:31:10 CET 2010


Am 01/03/2010 um 22:23 schrieb Ross Moore:

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


I just tried it, but I get the same error message.

Manuel



>
>>
>> Manuel
>
>
> Hope this helps,
>
> 	Ross





More information about the macostex-archives mailing list