From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24061 Path: news.gmane.org!not-for-mail From: Adam Lindsay Newsgroups: gmane.comp.tex.context Subject: Re: extra space after variant Date: Fri, 02 Dec 2005 19:22:58 +0000 Message-ID: <43909F12.2000709@comp.lancs.ac.uk> References: <403A1895-626A-4617-94A7-784685A4765D@science.uva.nl> <439052AD.8020000@wxs.nl> <439093D7.6060406@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133551397 8276 80.91.229.2 (2 Dec 2005 19:23:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2005 19:23:17 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 02 20:23:16 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 1EiGUK-0006b7-K4 for gctc-ntg-context-518@m.gmane.org; Fri, 02 Dec 2005 20:22:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6122312901; Fri, 2 Dec 2005 20:22:31 +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 19528-09-7; Fri, 2 Dec 2005 20:22:26 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 91875128F3; Fri, 2 Dec 2005 20:22:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5BF69128F3 for ; Fri, 2 Dec 2005 20:22:25 +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 19528-09-6 for ; Fri, 2 Dec 2005 20:22:24 +0100 (CET) Original-Received: from mail.comp.lancs.ac.uk (mail.comp.lancs.ac.uk [148.88.3.45]) by ronja.ntg.nl (Postfix) with ESMTP id 69053128F0 for ; Fri, 2 Dec 2005 20:22:24 +0100 (CET) Original-Received: from [194.80.37.193] (localhost [127.0.0.1]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id jB2JMOPY027543 for ; Fri, 2 Dec 2005 19:22:24 GMT User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <439093D7.6060406@elvenkind.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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24061 Archived-At: Taco Hoekwater wrote: > I can't get the example to compile. Whatever I do, context insists > on creating SerifRegular.tfm through mktextfm (sigh). I'm too lazy > to figure out what is going on right now, so can someone create a > full minimal example, please? I'd like to check this with all > tracing on, because it hints are a problem deeper down somewhere. I hope you're caught up with your fonts. Variants aren't defined with many, but they are here: \definetypeface[a][rm][serif][antykwa-torunska][default][encoding=texnansi] \definetypeface[a][tt][mono][modern][default][encoding=texnansi] \setupbodyfont [a] \starttext \startbuffer abc {x\variant[sc]\space pqr} abc {\variant[sc]pqr}\crlf {\it abc {\variant[sc]\space pqr} abc {\variant[sc]pqr}}\crlf % dbl spc only here {\bf abc {\variant[sc] pqr} abc {\variant[sc]pqr}}\crlf {\bi abc {\variant[sc]{x} pqr} abc {\variant[sc]pqr}}\crlf \stopbuffer \typebuffer \getbuffer \def\ignoreimplicitspaces {\doifnextcharelse\relax\relax\relax} \def\variant[#1]% slow {\dosetscaledfont \expanded{\definedfont% Careful about email wrapping here! [\truefontname{\fontstringA\fontstylesuffix\fontvariant\fontstringA{#1}} at \scaledfont]}\ignoreimplicitspaces} \getbuffer \stoptext -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-