From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26402 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: assembling typescript Date: Sun, 19 Mar 2006 20:03:42 +0100 Message-ID: <441DAB0E.1000604@gmx.net> References: <441D7A07.2050904@ecology.uni-kiel.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1142795056 26438 80.91.229.2 (19 Mar 2006 19:04:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Mar 2006 19:04:16 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 19 20:04:11 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FL3C5-0006Om-IN for gctc-ntg-context-518@m.gmane.org; Sun, 19 Mar 2006 20:04:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A0B071279E; Sun, 19 Mar 2006 20:04:00 +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 25015-02; Sun, 19 Mar 2006 20:03:53 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 299BA12793; Sun, 19 Mar 2006 20:03:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E11EE12793 for ; Sun, 19 Mar 2006 20:03:51 +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 24465-07 for ; Sun, 19 Mar 2006 20:03:49 +0100 (CET) Original-Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id C72281276B for ; Sun, 19 Mar 2006 20:03:49 +0100 (CET) Original-Received: (qmail invoked by alias); 19 Mar 2006 19:03:49 -0000 Original-Received: from i577BA309.versanet.de (EHLO [192.168.1.3]) [87.123.163.9] by mail.gmx.net (mp033) with SMTP; 19 Mar 2006 20:03:49 +0100 X-Authenticated: #24293357 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: mailing list for ConTeXt users In-Reply-To: <441D7A07.2050904@ecology.uni-kiel.de> X-Enigmail-Version: 0.94.0.0 X-Y-GMX-Trusted: 0 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:26402 Archived-At: Karsten Heymann wrote: > Hello, > > after Patrick Gundlach convinced me at DANTE 2006 to switch the small > scientific magazine project I'm currently working on for a client from > LaTeX co ConTeXt, I'm now preparing a sample document for my client to > convince him, and for that I need your help :) > > I've spent the last two weeks getting in touch wich context and I must > say I'm really impressed, nice work! > > First challenge is that the document fonts are URW GaramondNo8 for the > text and Bitstream Futura (really: Bitstream Geometric 211) for the > headings. I managed quite easyly to install them with texfont and the > instructions from the contextgarden wiki[1] and compile the sample > document with either font family. But now I'm trying to (1) understand > the typescript files and (2) build an own typescript putting those fonts > together. This is what I have so far: > > \usetypescriptfile[type-ugm] > \usetypescriptfile[type-bfu] > > \starttypescript [ifa][texnansi] > \definetypeface [ifa] [rm] [serif] [garamond] [default] > ~ [encoding=texnansi] > \definetypeface [ifa] [ss] [sans] [futura] [default] > ~ [encoding=texnansi] > \definetypeface [ifa] [tt] [mono] [modern] [default] > ~ [encoding=texnansi] > \stoptypescript > > \usetypescript[ifa][texnansi] > %\ifa Your typescript files seem to work (the difficult part of font handling), but you should setup 'ifa' as your bodyfont. \setupbodyfont[ifa,serif,12pt] % makes ifa the default font Later on you can change the bodyfont using \switchtobodyfont[sans,10pt] or whatever. This guarantees, that the interline spacing and the strut height are also adapted. Greetings, Peter > \starttext > > \ss > \input knuth > > \rm > \input knuth > \stoptext > > (type-ugm.tex and type-bfu.tex are attached). What happens is: When I > compile the file a is it is set in computer modern. To enable my fonts I > have to comment out \starttypescript, \stoptypescript and \usetypescript > and enable \ifa. How do I activate my fonts via a typescript. > > Yours, > Karsten >