Thomas A. Schmitz wrote:
> On Mar 1, 2007, at 8:54 PM, Thomas A. Schmitz wrote:
>
>
>> Taco,
>>
>> thanks! This made me experiment with my file again, and it turned out
>> there is some strange interference because I have defined a command
>> in \setuphead[section]. When I comment it out, I get the output I
>> want. I'll do some more experiments and will report back.
>>
>> Thanks
>>
>> Thomas
>>
>>
>
> OK, after some more experiments: it looks like I can't have a
> command= AND a \hfill in my sections. I have something like
>
> \setuphead
> [section]
> [command=\incrementSlideNumber,
> page=yes,
> ]
>
> in my definition. If I comment the command= line out or put a \ in
> front of the comma at the end, the section title looks the way I
> want, but the command does (of course) not work any longer. If I have
> the command, the \hfill is not honored. Strange, but I can live with it.
>
has to do with being in vertical or horizontal mode; also keep in mind that
section heads are to take care of lists, marks, refs as well, so the underlying
code is somewhat messy and complex
grep for
\defineheadplacement
in core-sec ... you can implement your own variants
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context