From Wiki
< Command
Revision as of 11:32, 3 July 2012 by Esteis (talk | contribs) (categories Fonts, MkIV only)
Jump to navigation Jump to search



[...] name
[...,...=...,...] see \setuphighlight


(MkIV only) Highlights are a generic facility for defining and maintaining different emphases.

Highlights are respected by the XML export (see \setupbackend), resulting in a tag highlight, with the respective names as argument to the attribute detail.


\definehighlight [important]       [style=bold] %% define a highlight
\definehighlight [reallyimportant] [important]  %% inherit setups
\setuphighlight  [reallyimportant] [color=red]  %% modify the copy
This \important{you} need to know.\par
This, however, \reallyimportant{everybody} needs to know!

<document language="en" file="example-highlight" date="Sat Jun 16 12:20:48 2012" 
          context="2012.06.13 23:46" version="0.30" xmlns:m="">
This <highlight detail="important">you</highlight> need to know.
This, however, <highlight detail="reallyimportant">everybody</highlight> needs to know!

See Also

Help from ConTeXt-Mailinglist/Forum

All issues with: