From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23736 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: unicode fontdefinition Date: Fri, 25 Nov 2005 00:05:42 +0100 Message-ID: <43864746.4040904@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1132873628 30161 80.91.229.2 (24 Nov 2005 23:07:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2005 23:07:08 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 25 00:07:00 2005 Return-path: 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 1EfQAH-0004xM-SO for gctc-ntg-context-518@m.gmane.org; Fri, 25 Nov 2005 00:06:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 79E0F12869; Fri, 25 Nov 2005 00:06:05 +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 24738-01-3; Fri, 25 Nov 2005 00:06:00 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 112161286E; Fri, 25 Nov 2005 00:06:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F10471286E for ; Fri, 25 Nov 2005 00:05:57 +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 24738-01-2 for ; Fri, 25 Nov 2005 00:05:56 +0100 (CET) Original-Received: from controller-1 (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with ESMTP id 5D69F12869 for ; Fri, 25 Nov 2005 00:05:56 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 4779 for multiple; Fri, 25 Nov 2005 00:10:11 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users , Adam Lindsay In-Reply-To: X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:23736 Archived-At: sjoerd siebinga wrote: > Hi all, > > I am currently typesetting a collection of articles that use a great=20 > number of unicodeglyphs from 19 vectors. All the regular glyphs turn=20 > up fine, but I am unable to get the bold and italic versions of the=20 > glyphs. I have made encoding files for all the vectors using the=20 > xsl-scripts from Adam Lindsay and installed them via texfont.=EF=BF=BD > > The sourcefile is an xml-file with decimal-unicode-entities that are=20 > mapped to the \uchar command by the \defineXMLentity command. > > I have defined the unicode fontsynonyms as follows: > > > > \loadmapfile[palatinolinostar_01xx-starling-linostar] > \definefontsynonym [UnicodeRegular01]=20 > [palatinolinostar_01xx-PalatinoLinoStar] [encoding=3Dpalatinolinostar_0= 1xx] > \definefontsynonym [UnicodeBold01]=20 > [palatinolinostar_01xx-PalatinoLinoStarBold]=EF=BF=BD[encoding=3Dpalati= nolinostar_01xx] > \definefontsynonym [UnicodeItalic01]=20 > [palatinolinostar_01xx-PalatinoLinoStarItalic]=EF=BF=BD[encoding=3Dpala= tinolinostar_01xx] > more a question for adam ... > \starttypescript [my] [starling-linostar] [texnansi,palatinolinostar_01= xx] =20 the texnansi,palatinolinostar_01xx will become \typescriptthree which is=20 a wrong encoding name > \definetypeface [starling-linostar] [rm] [serif] [linostar] [default]=20 > [encoding=3D\typescriptthree] > \stoptypescript > > > \usetypescript [my] [starling-linostar] > > \setupbodyfont[starling-linostar,rm,10pt] > > > Could somebody tell me what I am doing wrong?=EF=BF=BD > you need something: \starttypescript [map] [linostar] [texnansi] \loadmapfile [\typescripttwo-starling-linostar.map] \stoptypescript \starttypescript [serif] [linostar] [texnansi] \definefontsynonym [linostar][\typescriptthree-PalatinoLinoStar]=20 [encoding=3D\typescriptthree] \definefontsynonym=20 [linostar-Italic][\typescriptthree-PalatinoLinoStarItalic]=20 [encoding=3D\typescriptthree] \definefontsynonym=20 [linostar-Bold][\typescriptthree-PalatinoLinoStarBold]=20 [encoding=3D\typescriptthree] \stoptypescript \starttypescript [serif] [linostar] [name] \setups[font:fallback:serif] \definefontsynonym [Serif] [linostar] \definefontsynonym [SerifItalic] [linostar-Italic] \definefontsynonym [SerifBold] [linostar-Bold] \stoptypescript=EF=BF=BD \starttypescript[starling-linostar] [texnansi] \definetypeface [starling-linostar] [rm][serif][linostar][default]=20 [encoding=3D\typescriptthree] \stoptypescript \usetypescript[starling-linostar][texnansi] \setupbodyfont[starling-linostar,rm,10pt] since the \typescriptthree-PalatinoLinoStarBold expands to=20 texnansi-PalatinoLinoStarBold ... do you have that font file? Hans