From: Bart Wise <bart.c.wise+context@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: setupunderbar not working
Date: Tue, 8 Mar 2011 20:58:10 -0700 [thread overview]
Message-ID: <AANLkTinxEuR7oY37uUCzPasA47GZo3uBdNVQdhC-UirA@mail.gmail.com> (raw)
In-Reply-To: <A0801222-5BD2-4E4C-AD2F-68EF31AB1002@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1044 bytes --]
On Tue, Mar 8, 2011 at 6:15 AM, Wolfgang Schuster <
schuster.wolfgang@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.
[-- Attachment #1.2: Type: text/html, Size: 1755 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-03-09 3:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-08 12:01 Bart Wise
2011-03-08 13:15 ` Wolfgang Schuster
2011-03-08 13:37 ` Bart Wise
2011-03-09 3:58 ` Bart Wise [this message]
2011-03-09 4:38 ` Wolfgang Schuster
2011-03-09 5:46 ` Bart Wise
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTinxEuR7oY37uUCzPasA47GZo3uBdNVQdhC-UirA@mail.gmail.com \
--to=bart.c.wise+context@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).