From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66772 Path: news.gmane.org!not-for-mail From: Bart Wise Newsgroups: gmane.comp.tex.context Subject: Re: setupunderbar not working Date: Tue, 8 Mar 2011 20:58:10 -0700 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0723740650==" X-Trace: dough.gmane.org 1299643115 13851 80.91.229.12 (9 Mar 2011 03:58:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2011 03:58:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 09 04:58:30 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PxAXe-0001UY-5u for gctc-ntg-context-518@m.gmane.org; Wed, 09 Mar 2011 04:58:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 76743CAABA; Wed, 9 Mar 2011 04:58:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yaxbW37CrJza; Wed, 9 Mar 2011 04:58:26 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9DF93CAAB0; Wed, 9 Mar 2011 04:58:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79A9FCAAB0 for ; Wed, 9 Mar 2011 04:58:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wjUKBcwCmzBn for ; Wed, 9 Mar 2011 04:58:13 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 370D7CAA77 for ; Wed, 9 Mar 2011 04:58:13 +0100 (CET) Original-Received: from mail-gy0-f169.google.com (mail-gy0-f169.google.com [209.85.160.169]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p293wAkS010431 for ; Wed, 9 Mar 2011 04:58:12 +0100 Original-Received: by gyb13 with SMTP id 13so82823gyb.14 for ; Tue, 08 Mar 2011 19:58:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=9WKuYDiUnIWcoaC34l4DJOOXnTtbX2RCjeivu5xnK8A=; b=wEilAtwW8NIboPUh3C0DTa0jtzCOczVDKeThEL3HVfM/5wWIAJ2EHACglLyapg8fV5 HOSWLKZNi8KWIQEriygauZpnbDTs1H0flr5/tsb4ZrGoaD2s5rN1Ma4Idj9mLotydfM3 rnyGy2be1CYGnxv+6gzRh5vHAl5529yNqaf2E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=s2lu/mQQ4bXA0feeL44/IHEqWLCu/exzSXkqLvbUa8mTjS/kKFsUvW70FnSXA4PMzj X3hkkKhW9Tlt0/0oTIAez4i258V3qC9863SvpJ3ztpM3tyfMylQRM/J4J5YHSdpDbZrL kNB/OvT7sHelVw3O6Ua0IwtZZI93mjaJZFnWQ= Original-Received: by 10.150.94.15 with SMTP id r15mr1408646ybb.393.1299643090081; Tue, 08 Mar 2011 19:58:10 -0800 (PST) Original-Received: by 10.150.190.9 with HTTP; Tue, 8 Mar 2011 19:58:10 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: NRc3TZ9kno30YGvRwNgwW2sJJ-8 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.160.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08EgPWazC - f795d3792fa3 - 20110309 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:66772 Archived-At: --===============0723740650== Content-Type: multipart/alternative; boundary=000e0cd6ad8ab819a9049e04bcbf --000e0cd6ad8ab819a9049e04bcbf Content-Type: text/plain; charset=ISO-8859-1 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. --000e0cd6ad8ab819a9049e04bcbf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Tue, Mar 8, 2011 at 6:15 AM, Wolfgang Schuste= r <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 \set= upunderbar does not seem to function. =A0If I use an older version (context= : 2009.06.14) it works just fine. =A0Is there a bug, or am I doing somethin= g wrong?

Use \setupbar[underbar][...].

Wolfgang


My version of context:
=A0mtx-context =A0 =A0 | current version: 2011.02.25 22:03

New code with Wolfgang's suggestion:

\setupcolors[state=3Dstart]
\setupbar[underbar][bottomo= ffset=3D2pt,rulethickness=3D12pt,rulecolor=3Dred]
=A0=A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
<= div>\starttext
\switchtobodyfont[60pt]
This is an \underbar{underlined} wor= d.
\stoptext


But no= w it complains that "setupbar" is not recognized:
Undef= ined control sequence...
=A02 >> =A0\setupbar[underbar][bottomoffset=3D2pt,rulethick= ness=3D12pt,rulecolor=3Dred]

Am I still doin= g something wrong?
I looked through the code and it looks like th= e call is "setupbars" (with an 's'); however, that didn&#= 39;t work either.



--000e0cd6ad8ab819a9049e04bcbf-- --===============0723740650== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0723740650==--