From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13059 Path: main.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: Create pseudo small caps. Date: Thu, 4 Sep 2003 06:29:15 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20030904052915.24872@smtp.btinternet.com> References: <200309031734.04125.john@wexfordpress.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1062653660 3368 80.91.224.253 (4 Sep 2003 05:34:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2003 05:34:20 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Sep 04 07:34:18 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19uml8-0002Gp-00 for ; Thu, 04 Sep 2003 07:34:18 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id BEC4B10B51; Thu, 4 Sep 2003 07:34:13 +0200 (MEST) Original-Received: from rhenium.btinternet.com (rhenium.btinternet.com [194.73.73.93]) by ref.ntg.nl (Postfix) with ESMTP id 6C36510B24 for ; Thu, 4 Sep 2003 07:28:38 +0200 (MEST) Original-Received: from host213-122-112-71.in-addr.btopenworld.com ([213.122.112.71]) by rhenium.btinternet.com with esmtp (Exim 3.22 #23) id 19umfb-0006bv-00; Thu, 04 Sep 2003 06:28:36 +0100 Original-To: , "John Culleton" In-Reply-To: <200309031734.04125.john@wexfordpress.com> X-Mailer: CTM PowerMail 4.2b1 Carbon Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13059 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13059 John, First off, make sure you don't already have the font buried somewhere. I found Charter SC (faked) in my TeXLive 7 installation: \showfont[bchrc8t] Ah, but there's a typo/omission in type-enc.tex. That particular line should be: \definefontsynonym [ec-bchr8a-capitalized-800] [bchrc8t] [encoding=ec] If you put that single line in your input file, and then call the default charter face with: \usetypescript[berry][ec] % or [8r] \definetypeface[charter][rm][serif][charter][default][encoding=ec] \setupbodyfont[charter] ...you should be set. If the font isn't there, or you prefer to use something other than ec-encoding, then read on. As for texfont, I have only done this particular one using texfont in a batch mode, but it should be at least close to the mark. Make sure the directory tree where you find your fonts is writeable. Make sure that $texmf/fonts/afm/bit is correctly named 'bitstrea'. (ah, another bug, this time in TeXLive...) texfont /path/to/context/data/type-tmf.dat --en=8r --inst -make \ --fontroot=/path/to/texmf-fonts --co=charter --ve=bitstrea This should (I'm a little rusty) run texfont on Hans's built-in batchfile, selecting only charter. With that done, I think this ought to work: \definetypeface[charter][rm][serif][charter][default][encoding=8r] \setupbodyfont[charter] If you want to run texfont only to make smallcaps, I think the command you want is: sudo texfont --en=ec --fontroot=/path/to/texmf-local --inst --make \ --ve=bitstrea --co=charter --source=auto --ca=0.8 bchr8a I'll leave it to you to integrate that one into your typescript. I was going to ask about the \kap series of commands, but none seem to give a mix of (faked) caps and small caps. Hope that helps a bit, adam John Culleton said this at Wed, 3 Sep 2003 17:34:04 -0400: >On Tuesday 02 September 2003 16:06, John Culleton wrote: >> I am using Bitstream Charter following the directions on Bill >> McClain's page for typescripts. Now I want to use \sc in both regular >> and expanded form. What is the best way to add a \sc typeface to my >> file? > >Bill McC suggested that Texfont could be used to create a small caps >version but I haven't figured it out yet. If I don't find any other >answer I will either use a small caps font from another typeface or >else >do a kludge like > \fonta H\fontb ELLO >---to get "Hello" in caps and small caps, >\fonta being Charter at 11pts and \fontb being Charter at perhaps 6pts. >Surely there is a better way?? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-