From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50039 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Remove spaces from string Date: Tue, 5 May 2009 23:37:44 +0200 Message-ID: <528EF012-6A24-4E50-99BB-B3306DF7E108@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241559559 3662 80.91.229.12 (5 May 2009 21:39:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 May 2009 21:39:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 05 23:39:09 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 1M1SLu-0004hd-L2 for gctc-ntg-context-518@m.gmane.org; Tue, 05 May 2009 23:39:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 45E151FC87; Tue, 5 May 2009 23:39:01 +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 32765-02; Tue, 5 May 2009 23:38:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 60D861FC7A; Tue, 5 May 2009 23:38:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CD01C1FC7A for ; Tue, 5 May 2009 23:38:23 +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 22848-04-2 for ; Tue, 5 May 2009 23:38:15 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id B09411FC74 for ; Tue, 5 May 2009 23:38:15 +0200 (CEST) Original-Received: from mail-fx0-f176.google.com (mail-fx0-f176.google.com [209.85.220.176]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n45LcE8I008049 for ; Tue, 5 May 2009 23:38:15 +0200 Original-Received: by fxm24 with SMTP id 24so5152108fxm.2 for ; Tue, 05 May 2009 14:38:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=bgHkyLnke/TvqLdHf6xE1ly2rL42iXkja7Kr2zXXaKk=; b=hwycLHnI2Yw5BKl61wIOuZMMN22X0bUoecjdC7tQW5vnqZqixKvbsVkwyOP+DYsAjw hnZ/+qH7snbFE3TajucDkXKuf78X0TMNJR7ZlT6dPzCboM5YIGy+YiRUGpnugvKzTPyH 2fw71P0GsgTjFuO//Ue1Qa42NxEudaTPFBm+Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=xLwEWUDDVMyLKb7BuOR7p72zv5DyVsA/MJMjB2NmXLTF8+TQrN4dIbkgKc9D9qSCcJ aebvQAtYrjBbw7q2pk/OAKUphnQY80Ia6YDbL82iUpnHUE9Rcqf5/yr/q4TdF9gPqPMZ ShKtUaNL6M/Zkb+xfd3njsd8muUi2rkw8F+Pw= Original-Received: by 10.86.58.1 with SMTP id g1mr592398fga.54.1241559494619; Tue, 05 May 2009 14:38:14 -0700 (PDT) Original-Received: from ?10.70.50.241? ([82.113.106.147]) by mx.google.com with ESMTPS id 4sm13832809fgg.18.2009.05.05.14.38.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 05 May 2009 14:38:14 -0700 (PDT) X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.176; 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: 219801980 - 3c5f835fd96d - 20090505 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:50039 Archived-At: Hi, I'm looking for nice and short ways to remove spaces from strings with font names. I found the \unspacestring command in the core to do what I want but prefer a alternative solution or a few tips for the following code. \starttext \bgroup \catcode`\ =9 \definedfont[name:TeX Gyre Pagella Regular]text \egroup \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________