On 9/21/2013 7:50 AM, Thangalin wrote:
Hi,
The attached file does not compile in ConTeXt.
However, if the \placeindex is substituted for \completeindex, then the
document compiles.
Any idea how to use a deeptextcommand and firstcharacter as shown in the
attachment while also using the firstcharacter macro?
this way of applying something to a first character won't work (as it
assume real simple arguments)
so, the next beta has: \applytofirstcharacter
\defineframed[ChapterFramed][location=low,background=color,backgroundcolor=red,frame=off]
\setuphead[chapter][deeptextcommand=\applytofirstcharacter\ChapterFramed]
probaly a better interface is possible but it's seldom used so ... upto
you to wikify this!
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________