From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21293 Path: news.gmane.org!not-for-mail From: Stuart Jansen Newsgroups: gmane.comp.tex.context Subject: tweaking underlining Date: Fri, 08 Jul 2005 16:49:35 -0600 Organization: Guru Labs, L.C. Message-ID: <1120862975.9027.24.camel@localhost.localdomain> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0458074801==" X-Trace: sea.gmane.org 1120862758 22615 80.91.229.2 (8 Jul 2005 22:45:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2005 22:45:58 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 09 00:45:55 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dr1bJ-0001e2-2W for gctc-ntg-context-518@m.gmane.org; Sat, 09 Jul 2005 00:45:41 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0DFAE1289F; Sat, 9 Jul 2005 00:45:40 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17351-05; Sat, 9 Jul 2005 00:45:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1CEBB12898; Sat, 9 Jul 2005 00:45:32 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0749612898 for ; Sat, 9 Jul 2005 00:45:30 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17174-06 for ; Sat, 9 Jul 2005 00:45:27 +0200 (CEST) Original-Received: from mail.gurulabs.com (mail.gurulabs.com [67.137.148.7]) by ronja.ntg.nl (Postfix) with ESMTP id 10BB0127B9 for ; Sat, 9 Jul 2005 00:45:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by mail.gurulabs.com (Postfix) with ESMTP id 1A44AAFE69 for ; Fri, 8 Jul 2005 16:45:23 -0600 (MDT) Original-Received: from mail.gurulabs.com ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 05014-01 for ; Fri, 8 Jul 2005 16:45:21 -0600 (MDT) Original-Received: from dhcp7.glwlan.gurulabs.com (dhcp7.glwlan.gurulabs.com [10.2.3.7]) by mail.gurulabs.com (Postfix) with ESMTP for ; Fri, 8 Jul 2005 16:45:21 -0600 (MDT) Original-To: ntg-context@ntg.nl X-Mailer: Evolution 2.2.1.1 X-Virus-Scanned: by amavisd-new at gurulabs.com X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21293 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21293 --===============0458074801== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-xoN7/nnePptJ7vWytfmF" --=-xoN7/nnePptJ7vWytfmF Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Reading the list archives, it looks like there are certain advantages, to performing underlining according to my example below: =3D=3D=3D=3D=3D \setupcolors[state=3Dstart] \definetextbackground[underline][location=3Dtext,alternative=3D1,background= =3D,frame=3Doff] \definestartstop [underline] [before=3D{\starttextbackground[underline]}, after=3D\stoptextbackground] \starttext \startunderline{}http://gurulabs.com/\stopunderline \stoptext =3D=3D=3D=3D=3D I would like to tweak this a little however. Specifically, I'd like to change the color of the line and move it down a point or two. In one thread, Hans hinted how to do this: > you can redefine the metapost graphic, the main thing there is that > you draw/fill something related to the multipar paths; it takes a bit > of experimenting, but after a while you start seeing possibilities.=20 > See plus-rul.tex for an example of such a graphic. I think I've tracked this reference down to the definition of mpos:par:columnset, but at this point am lost as to how to proceed. Metapost is still beyond me. Any hints would be much appreciated. --=20 Stuart Jansen Guru Labs, L.C. --=-xoN7/nnePptJ7vWytfmF Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBCzwL/wTOJ4P81PNARArEdAJoCPD3FeG/HuUk7OiEfRdjDHJ8BUwCghHJn LVSZO5nOyDeCw38bR1VcrWw= =YE01 -----END PGP SIGNATURE----- --=-xoN7/nnePptJ7vWytfmF-- --===============0458074801== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0458074801==--