From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61076 Path: news.gmane.org!not-for-mail From: Peter Schorsch Newsgroups: gmane.comp.tex.context Subject: Typeface - simple example Date: Thu, 19 Aug 2010 15:20:40 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1282224061 22821 80.91.229.12 (19 Aug 2010 13:21:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Aug 2010 13:21:01 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 19 15:21:00 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Om53E-0002b6-7j for gctc-ntg-context-518@m.gmane.org; Thu, 19 Aug 2010 15:21:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 10ABCCA627; Thu, 19 Aug 2010 15:21:00 +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 iSgGdOsqNEyU; Thu, 19 Aug 2010 15:20:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 15841CA61E; Thu, 19 Aug 2010 15:20:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 84A78CA61E for ; Thu, 19 Aug 2010 15:20:55 +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 9q57mqgPeE9i for ; Thu, 19 Aug 2010 15:20:53 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 07598CA5F0 for ; Thu, 19 Aug 2010 15:20:53 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o7JDKpku029716 for ; Thu, 19 Aug 2010 15:20:52 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Om534-0002US-TF for ntg-context@ntg.nl; Thu, 19 Aug 2010 15:20:50 +0200 Original-Received: from p5490cc07.dip.t-dialin.net ([84.144.204.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Aug 2010 15:20:50 +0200 Original-Received: from tralalas by p5490cc07.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Aug 2010 15:20:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.comp.tex.context Original-Lines: 72 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5490cc07.dip.t-dialin.net User-Agent: KNode/4.4.2 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; region=12; city=Oslo; latitude=59.9167; longitude=10.7500; http://maps.google.com/maps?q=59.9167,10.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08CUdkQ9c - 4b3d7f28027c - 20100819 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:61076 Archived-At: Hi, I reactivated my interest in Context. A lot changed since then... so I am became a beginner again. E.g. I don't know / understand how to use that Typescript-Framework. I tried to build a simple example, but I do not get it to work. I crosschecked successfully with simplefonts that the fonts itself are working (via \simplefont[..]). In this example I wanted to put the Nimbus Sans fonts on the rm-Definitions (just to see that it is working). I like what I was reading in the wiki, examples, posts and manuels about the Typescript-framework - but can anyone help me to understand it really / help me to get this simple example to work? Thanks ------ simple example environment --- Nimbus fonts are stored under /usr/share/fonts OSFONTDIR is correct, fonts via mtxrun imported mtxrun --script fonts --list --all pattern=nimbuss* shows all the nimbus fonts I used in the example ------ simple example ---------- \enableregime[utf] \setupencoding[default=uc] \setupcapitals[sc=yes] \definefontsynonym [Nimbus-Sans-Regular] [nimbussanlregu] \definefontsynonym [Nimbus-Sans-Bold] [nimbussanlbold] \definefontsynonym [Nimbus-Sans-Italic] [nimbussanlreguital] \definefontsynonym [Nimbus-Sans-Slanted] [nimbussanlreguital] \definefontsynonym [Nimbus-Sans-BoldItalic] [nimbussanlboldital] \definefontsynonym [Nimbus-Sans-BoldSlanted] [nimbussanlboldital] \definefontsynonym [Nimbus-Sans-Caps] [nimbussanlregu] \starttypescript [Nimbus] \definetypeface [Nimbus-whatIsThisFor] [rm] [whatIsThis] [Nimbus-Sans-Regular] \definetypeface [Nimbus-whatIsThisFor] [rm] [whatIsThis] [Nimbus-Sans-Bold] %here: how to access / define rm,bf? \definetypeface [Nimbus-whatIsThisFor] [tt] [whatIsThis] [Nimbus-Sans-Italic] \definetypeface [Nimbus-whatIsThisFor] [ss] [whatIsThis] [Nimbus-Sans-Bold] \stoptypescript \usetypescript[Nimbus] \setupbodyfont[Nimbus-whatIsThisFor,rm,12pt] \starttext Regular {\it Italic} {\bf Bold} {\bi Bold-Italic} \showbodyfont \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________