From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80970 Path: news.gmane.org!not-for-mail From: john Culleton Newsgroups: gmane.comp.tex.context Subject: Re: default parameter in \definefont Date: Tue, 26 Feb 2013 10:04:38 -0500 Organization: WexfordPress Message-ID: <20130226100438.4ffd6d0a@localb.wexfordpress.net> References: <20130225180013.2b632568@localb.wexfordpress.net> <92717FC7-DF85-45AE-B534-ABA53AFA0B58@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1361891070 13833 80.91.229.3 (26 Feb 2013 15:04:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2013 15:04:30 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 26 16:04:53 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UAM5M-0002mO-Gh for gctc-ntg-context-518@m.gmane.org; Tue, 26 Feb 2013 16:04:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ED436101E8; Tue, 26 Feb 2013 16:04:30 +0100 (CET) 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 jNXm5d-ENDYj; Tue, 26 Feb 2013 16:04:25 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 99029101E3; Tue, 26 Feb 2013 16:04:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 24FE4101E3 for ; Tue, 26 Feb 2013 16:04:25 +0100 (CET) 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 zf+mGFkxn9GS for ; Tue, 26 Feb 2013 16:04:23 +0100 (CET) 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 70D6F101E2 for ; Tue, 26 Feb 2013 16:04:23 +0100 (CET) Original-Received: from qmta15.westchester.pa.mail.comcast.net (qmta15.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:44:76:96:59:228]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r1QF4KJj000861 for ; Tue, 26 Feb 2013 16:04:22 +0100 Original-Received: from omta14.westchester.pa.mail.comcast.net ([76.96.62.60]) by qmta15.westchester.pa.mail.comcast.net with comcast id 50Hb1l0031HzFnQ5F34KyE; Tue, 26 Feb 2013 15:04:19 +0000 Original-Received: from localb.wexfordpress.net ([68.50.233.152]) by omta14.westchester.pa.mail.comcast.net with comcast id 534K1l00S3HwwZ83a34K3l; Tue, 26 Feb 2013 15:04:19 +0000 In-Reply-To: <92717FC7-DF85-45AE-B534-ABA53AFA0B58@gmail.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.10; x86_64-unknown-linux-gnu) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1361891059; bh=zafvUHxUP95cpbYFZkzwhiV1nplYc0ARwG9p2IonMec=; h=Received:Received:Date:From:To:Subject:Message-ID:Mime-Version: Content-Type; b=PcOIr90asRZL9BeWjQo+MtYHUeI7xWtNJtoKala2sourucy1E56CoFlEmV7ABlZgE r2RaD0sj5/jBPfnFoQi1130mJxnrG6LGkLYhR7fGGROjUTF6Tl1aAapCXjgv6u3Kvh +EGfy/oF4zrMcmCchbsf3kDgC8bAaphIizV4AOkBIvxmFl1gfwJ0toM97tobAH0yVe kFIJp+h7o6XeK659VEnSvQaYrdyt/za4BwW+Q7q3E7reLO0g3qiAJhzbnD9AR0XI9l QdbBL3CZL+epzPWSXIKa02z/dUp6ITltAMnxkjrdyzKILbZXBWzzweuSqwqi/0cuVw Q1t9EeiFbJ0xg== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2001:558:fe14:44:76:96:59:228; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03J534lF2 - 7a8ae9d1df4c - 20130226 (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:80970 Archived-At: On Tue, 26 Feb 2013 08:18:25 +0100 Wolfgang Schuster wrote: > > Am 26.02.2013 um 00:00 schrieb john Culleton : > > > Some time back Wolfgang advised me to use statements like this: > > \definefont [titlefont][MyriadPro-Bold*default at 70bp] > > > > I cannot find what the *default parameter does. Can someone educate > > me? > > When you use a font in MkIV you have to specify which features of the > font should be enabled/disabled, to do this you define first a list > for them with the \definefontfeature command, e.g. > > \definefontfeature[myfeatures][liga=yes,onum=yes,___] > > > For the main fonts in the document which are loaded with > \setupbodyfont these settings are applied in the typescripts, e.g. > > \defintfontsynonym[Serif][MyRegularFont][features=myfeatures] > > but when you load a single font with \definefont you apply > the list as argument to the font name after the asterisk. > > > When you want only a bigger version of the serif or sans version of > your document you can say \definefont[SansBold at 70bp] without > applying the list of features because the are already set in the > typescripts. > > Wolfgang Is there a document or documents whare all this knowledge is dispensed? I hesitate to trouble you with a string of questions, one by one. Right now the two critical files are: \input formatting.tex ----------------------------------------------- \usemodule [simplefonts] \definefont [titlefont][MyriadPro-Bold*default at 70bp] \definefont [subtitle][MyriadPro-Bold*default at 25bp] \definefont [gauthor][MinionPro-Regular*default at 25bp] ----------------------------------------------- followed by: \input title.tex --------------------------------------------- \startstandardmakeup[align=middle] \startstyle[titlefont] Classic COBOL \stopstyle \vfil \style[subtitle]{A Concise Guide} \vfil \null \vfil \style[gauthor]{John Culleton} \vfil \style[subtitle]{Wexford Press} \stopstandardmakeup -------------------------------- And the error messages indicate that MKIV cannot find those otf files but they exist in /usr/share/fonts/OTF. The run completes but other fonts and sizes are used for the title page. -- John Culleton Wexford Press ___________________________________________________________________________________ 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 ___________________________________________________________________________________