Richard Heck wrote:
> The idea was to put
>> \let\chaptermark##1\empty
> or
>> \def\chaptermark#1{}%
> in the preamble. If you just changed that line, then you redefined it
> only after the first "chaptermark" was created. Hence the behavior you
> are seeing.
If I put
\let\chaptermark##1\empty
in the preamble I get this two errors:
1.
LaTeX Error: Missing \begin{document}.
\let\chaptermark##1
\empty
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
2.
You can't use `macro parameter character #' in vertical mode.
\let\chaptermark##
1\empty
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
If I put
\def\chaptermark#1{}%
in the preamble I get on every page the header from my TOC
>> At last I found a little problem with your first "trick". Every chapter that
>> haven't a number (chapter*) isn't shown in the header...
>>
> I'm not sure why that would happen. Are you sure it was happening just
> with the first trick?
Yes!
> Richard