2012-11-08 Marco Patzer:

I just realized when I presses “send”:

> Why does the custom list alternative succeed in a header but fails
> in a layer? A predefined alternative works perfectly in a layer.
> 
>   \setupfootertexts
>     [\setups{footlist}]
> 
>   \setupbackgrounds
>     [page]
>     [background=layer:chapter]

\setupbackgrounds
  [page]
  [background=layer:chapter, setups=setups:headlayer]

>   \setlayer
>     [layer:chapter]
>     {\placelist [chapter] [alternative=f, criterium=all]}            %% works
>     %% {\placelist [chapter] [alternative=highlight, criterium=all]} %% fails

\startsetups [setups:headlayer]
  \setlayer
    [layer:chapter]
    {\placelist [chapter] [alternative=highlight, criterium=all]}
\stopsetups

Well, we have dynamic content, so wrap it in a setup.


Marco

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to