On Tue, Mar 8, 2011 at 6:15 AM, Wolfgang Schuster <
schuster.wolfg...@googlemail.com> wrote:

>
> Am 08.03.2011 um 13:01 schrieb Bart Wise:
>
> > I have used the latest ConTeXt to compile the code below, but the
> \setupunderbar does not seem to function.  If I use an older version
> (context: 2009.06.14) it works just fine.  Is there a bug, or am I doing
> something wrong?
>
> Use \setupbar[underbar][...].
>
> Wolfgang
>
>
My version of context:
 mtx-context     | current version: 2011.02.25 22:03

New code with Wolfgang's suggestion:

\setupcolors[state=start]
\setupbar[underbar][bottomoffset=2pt,rulethickness=12pt,rulecolor=red]


\starttext
\switchtobodyfont[60pt]
This is an \underbar{underlined} word.
\stoptext


But now it complains that "setupbar" is not recognized:
Undefined control sequence...
 2 >>
 \setupbar[underbar][bottomoffset=2pt,rulethickness=12pt,rulecolor=red]

Am I still doing something wrong?
I looked through the code and it looks like the call is "setupbars" (with an
's'); however, that didn't work either.
___________________________________________________________________________________
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