From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47003 Path: news.gmane.org!not-for-mail From: Alan Stone Newsgroups: gmane.comp.tex.context Subject: Re: replacing words by underlines Date: Sat, 24 Jan 2009 20:46:16 +0100 Message-ID: <326847810901241146y61a15d33mf84d405af1b2736a@mail.gmail.com> References: <326847810901241000h3345d281k53824347606b63b9@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0707406425==" X-Trace: ger.gmane.org 1232826457 22468 80.91.229.12 (24 Jan 2009 19:47:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2009 19:47:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 24 20:48:49 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LQoUr-0006TQ-4d for gctc-ntg-context-518@m.gmane.org; Sat, 24 Jan 2009 20:48:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C7A711FE29; Sat, 24 Jan 2009 20:47:28 +0100 (CET) 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 21954-01-2; Sat, 24 Jan 2009 20:46:41 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5D6611FB89; Sat, 24 Jan 2009 20:46:41 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B078A1FB14 for ; Sat, 24 Jan 2009 20:46:33 +0100 (CET) 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 21954-01 for ; Sat, 24 Jan 2009 20:46:18 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by ronja.ntg.nl (Postfix) with ESMTP id 0B7891FB89 for ; Sat, 24 Jan 2009 20:46:18 +0100 (CET) Original-Received: from mail-ew0-f13.google.com (mail-ew0-f13.google.com [209.85.219.13]) by filter3-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0OJkGwW012513 for ; Sat, 24 Jan 2009 20:46:17 +0100 Original-Received: by ewy6 with SMTP id 6so5691889ewy.2 for ; Sat, 24 Jan 2009 11:46:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=wW3Qdn/hDurX2pf4daFPab3aPiNQuEWgnkpO814106M=; b=fypOHv8wWv3YpRx2LPK107FOZu0vFjFPjAdk2eAIpO0Onb/E33IUwMlTzhMg/2tISy CYFtrOFCAMZUY5s+fUDXH5DczomgoZacWw+Ff0tJ1lXFfGp1UEdL5Iu+fSCjH2rJ7RC6 P+A4xe9Y54J/oLhjzreRbWHNrhHq3Zyv8dMXY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=F42PRzDOLooiVpAPRgjMfrpjPDTzg80Fov02XladqVW1LM3s6T97cuHcwWnDVHB3mI A4HKf8ZYmeEzi+ne6FaDPfJvCRhAudVut3Gh7ewubuWbGSyHCiehCrUtGzFlT3SoSGhq QABss4dGwADmcZkdTuqKyEmjE57wREfU7g4dw= Original-Received: by 10.210.12.13 with SMTP id 13mr319564ebl.12.1232826376140; Sat, 24 Jan 2009 11:46:16 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.13; 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: 170046293 - fccc92d41726 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:47003 Archived-At: --===============0707406425== Content-Type: multipart/alternative; boundary=0015174be2703838c904613fc221 --0015174be2703838c904613fc221 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mein Hut ab f=FCr den K=FCnstler :O) Alan On Sat, Jan 24, 2009 at 8:07 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > > Am 24.01.2009 um 19:00 schrieb Alan Stone: > > Hi, >> >> In the underneath example, how do you get each word replaced by an >> underline ? >> >> Or, if not possible, underlined word groups with correct underline break= s >> for multi-line phrases. >> > > \def\doUnderlineD#1% > {\bgroup > \setbox\scratchbox\hbox{#1}% > \underbar{\hskip\wd\scratchbox}\space > \egroup} > > \def\UnderlineD#1% > {\processseparatedlist[#1][ ]\doUnderlineD\removeunwantedspaces} > > Wolfgang --0015174be2703838c904613fc221 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Mein Hut ab = f=FCr den K=FCnstler  :O)

Alan

On Sat, Jan 24, 2009 at 8:07 PM, Wolfgang Schuster <schuster.wolfgang= @googlemail.com> wrote:

Am 24.01.2009 um 19:00 schrieb Alan Stone:


Hi,

In the underneath example, how do you get each word replaced by an underlin= e ?

Or, if not possible, underlined word groups with correct underline breaks f= or multi-line phrases.

\def\doUnderlineD#1%
 {\bgroup
  \setbox\scratchbox\hbox{#1}%
  \underbar{\hskip\wd\scratchbox}\space
  \egroup}

\def\UnderlineD#1%
 {\processseparatedlist[#1][ ]\doUnderlineD\removeunwantedspaces}

Wolfgang
 

--0015174be2703838c904613fc221-- --===============0707406425== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0707406425==--