On 3/6/07, Taco Hoekwater
Hi Luigi,
Sorry, no time right now for an elaborate example.
luigi scarso wrote:
ie, the very first word in bold face and upper case, the following in normal face if and only of the very first word was equal to the first word of actual item (I know, it's strange).
I would propose you create your own combined list (\definecombinedlist) and use that instead of the TOC. You have to write the items to that list explicitly then, but it would be reasonably straightforward.
Another option is to create a dummy macro that you redefine where it is needed.
\unexpanded \def\tocbf#1{{\bf #1}} vs \unexpanded \def\tocbf#1{#}
and \section{\tocbf{Bold} ..}
Best, Taco
OK. \def\SectionCommand#1#2#3{% %% something like this ?? %% (check for #1) %% if #1 == 1 %% then %% put bold+CAP #2 %% store #2 in LastSecTitle %% else %% if #2 == LastSecTile %% then %% put normal #2 %% else %% put bold+CAP #2 %% store #2 in LastSecTitle %% }% \setuplist[section] [alternative=none, sectionnumber=no, partnumber=no, command={\SectionCommand}]