From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87972 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Dimension in mkiv definefont Date: Thu, 3 Jul 2014 06:39:37 +0200 Message-ID: References: <53B47D08.1090405@koloro.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1404362408 1020 80.91.229.3 (3 Jul 2014 04:40:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2014 04:40:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 03 06:40:03 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X2YoV-0008RJ-6G for gctc-ntg-context-518@m.gmane.org; Thu, 03 Jul 2014 06:40:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A050C10220 for ; Thu, 3 Jul 2014 06:40:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GhzMPJVHmNJJ for ; Thu, 3 Jul 2014 06:40:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 147B410223 for ; Thu, 3 Jul 2014 06:39:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1AECA101E7 for ; Thu, 3 Jul 2014 06:39:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LzcE3OA8TGMe for ; Thu, 3 Jul 2014 06:39:48 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id E43BD101E6 for ; Thu, 3 Jul 2014 06:39:42 +0200 (CEST) Original-Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s634dgeh012400 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 3 Jul 2014 06:39:42 +0200 Original-Received: by mail-we0-f177.google.com with SMTP id u56so12079662wes.36 for ; Wed, 02 Jul 2014 21:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=BUTpCuttZXRdl7TJYvZQIk5qZUP47ebdUuo7QiokI6c=; b=RSYjAIxxjGwg32SAwZ7tyxvj9PMk6QpGQXbEeKkuNhjjlfQYMBEtetJXPyQIo6saV8 6bqYMcRcXTSrXlWRVQnL5OQuEF1F74QcAnf5fdYwjZqaa6eP8gtMt/Q6HIxdib9tFEda esUq96s5qyGs9PKNho/EGBSUamhgk7w4hMAKj0yMV5c0QvmCDi2logCQP/qwVtz09sm7 bEXvtvbpjISOYFdo2WL/IbNE5xlKxxNrQ4XSA2ltRrk+ODjQkFgiTobCKnwU5RL8V7li Ic1THh996bzgm4kNilzKns8/dsspCOnpsXz42YOvIQola4Pr1H63BVECzHaheYeyGi3e E06Q== X-Received: by 10.180.10.98 with SMTP id h2mr8434970wib.29.1404362382060; Wed, 02 Jul 2014 21:39:42 -0700 (PDT) Original-Received: from keima.localdomain (x2f2b9ce.dyn.telefonica.de. [2.242.185.206]) by mx.google.com with ESMTPSA id wp6sm59410090wjb.9.2014.07.02.21.39.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Jul 2014 21:39:39 -0700 (PDT) In-Reply-To: <53B47D08.1090405@koloro.de> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::231; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03MlEDGPg - 231151db637e - 20140703 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87972 Archived-At: Am 02.07.2014 um 23:43 schrieb Uwe Koloska : > Dear list, > > the following runs fine in mkii (i.e. if compiled with 'texexec') but > gives an error with mkiv (compiled with 'context'): > > \showframe > > \newdimen\Ssize \Ssize=18pt > %\definefont[MyFont][Serif at 18pt] > \definefont[MyFont][Serif at \Ssize] > > \starttext > \MyFont > \input knuth > \stoptext > > I have just installed the current version of context-minimals: > ConTeXt ver: 2013.06.07 17:34 MKII fmt: 2014.7.2 int: english/english > > What ist the mkiv way to set a dimension that will be used in a number > of \definefont commands? Use the \definemeasure command to set the value and the \measure command to access it. \definemeasure[Ssize][18pt] \definefont[MyFont][Serif at \measure{Ssize}] \starttext \MyFont \input knuth \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________