From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17919 Path: main.gmane.org!not-for-mail From: Thomas A.Schmitz Newsgroups: gmane.comp.tex.context Subject: finishing a module Date: Sat, 22 Jan 2005 21:41:42 +0100 Message-ID: <05DB4B12-6CB6-11D9-92C7-000A95B9ADE2@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1106426699 4369 80.91.229.6 (22 Jan 2005 20:44:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Jan 2005 20:44:59 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 22 21:44:53 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CsS7p-0005z7-00 for ; Sat, 22 Jan 2005 21:44:53 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 827631279A; Sat, 22 Jan 2005 21:44:52 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19886-06; Sat, 22 Jan 2005 21:44:49 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 30AB112778; Sat, 22 Jan 2005 21:44:49 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 29D6F12778 for ; Sat, 22 Jan 2005 21:44:48 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19955-03-2 for ; Sat, 22 Jan 2005 21:44:47 +0100 (CET) Original-Received: from mailout02.sul.t-online.com (unknown [194.25.134.17]) by ronja.ntg.nl (Postfix) with ESMTP id 4E4DE1276D for ; Sat, 22 Jan 2005 21:44:47 +0100 (CET) Original-Received: from fwd06.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1CsS7j-0000Pj-02; Sat, 22 Jan 2005 21:44:47 +0100 Original-Received: from [192.168.0.2] (Z4RNg4ZVweFBJeyUUsQz+2lZo2KfSEn7QriPULa8fdlfYF-23n466O@[217.81.187.7]) by fmrl06.sul.t-online.com with esmtp id 1CsS7c-11JN9U0; Sat, 22 Jan 2005 21:44:40 +0100 Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.619) X-ID: Z4RNg4ZVweFBJeyUUsQz+2lZo2KfSEn7QriPULa8fdlfYF-23n466O@t-dialin.net X-TOI-MSGID: b49b7e1b-9e21-4862-b523-fe5708aa959c X-Virus-Scanned: by 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17919 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17919 I spent some (too much) time today improving my Greek module. For the time being, two questions remain; I'm confident that they're not too difficult for the experts; any help would be appreciated. I've succesfully defined my fonts and scale like so: \def\setupgreek#1[#2]{% \getparameters[GG][Scale=,Font=,#2] \edef\MyScale{\GGScale}% \processaction[\GGFont] [ SomeFont1=>\def\MyFont{somefont }, SomeFont2=>\def\MyFont{someotherfont }]% } \protect (The space after "somefont" looks ugly, but I haven't figured out how to get rid of it; TeX will always complain if I delete it.) 1. After this definition, this will work: \definebodyfont[4pt,5pt,6pt,7pt,8pt,9pt,10pt,10.5pt,11pt,12pt,14pt,14.4p t,16pt,18pt,20pt,22pt][rm][Gf=\MyFont sa \MyScale] This, however, will not work: \definefont[Gf][\MyFont sa \MyScale] and I don't see why. Can anybody explain? I see that the \definefont... takes care of the annoying problem with font sizes, so I would prefer that way. 2. In my module, I define some special symbols: \define\koppa{\getglyph{\MyFont}{\char37}} Is there a way to give the same scaling factor here as in the definition of \Gf? I tried \define\koppa{\getglyph{\MyFont scaled XXXX}{\char37}} as a first attempt which kind of works but gives me the letters "at" in the pdf in front of the symbol. Best Thomas