From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12629 Path: main.gmane.org!not-for-mail From: "Willi Egger" Newsgroups: gmane.comp.tex.context Subject: Re: How to use charter? Date: Wed, 16 Jul 2003 12:09:51 +0200 Organization: BOEDE Sender: ntg-context-admin@ntg.nl Message-ID: <006501c34b82$a0ff6670$0100a8c0@vademecum> References: <20030716080751.GA24935@asta.tu-darmstadt.de> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_004C_01C34B93.29193760" X-Trace: main.gmane.org 1058350482 29068 80.91.224.249 (16 Jul 2003 10:14:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2003 10:14:42 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Jul 16 12:14:36 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19cjIy-0007YE-00 for ; Wed, 16 Jul 2003 12:14:36 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id C228210B3F; Wed, 16 Jul 2003 12:15:30 +0200 (MEST) Original-Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by ref.ntg.nl (Postfix) with ESMTP id E815C10AF1 for ; Wed, 16 Jul 2003 12:11:34 +0200 (MEST) Original-Received: from vademecum (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with SMTP id h6GABTmh043640 for ; Wed, 16 Jul 2003 12:11:34 +0200 (CEST) Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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:12629 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12629 This is a multi-part message in MIME format. ------=_NextPart_000_004C_01C34B93.29193760 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi Alexander, > I am trying to use the Bitstream Charter as a font. Unluckily, > all the umlauts fail to appear. Here is how I do it: > > \definefont[bchr][bchr8t at 12pt] > \starttext > \bchr \"a \"o \"u \SS{} > \stoptext I am for sure no font guru. I would suggest you to install the charter fonts with texfont. What I have done in the last quarter of an hour: Create a directory \texmf\fonts\source\bitstrea\charter Copy the *.afm and *.pfb files to that directory. Copy the attached file type-charter.dat to that directory (this is the charter-section form type-tmf.dat provided by Hans). Copy texnansi.enc from the dvips environment to that directory. open a Dos box and run texfont --batch type-charter.dat Add the map file to pdftex.cfg: map +texnansi-bitstrea-charter.map Run the attached test file... You do not have to elaborate a typescript file, because charter is builtin in the typescripts provided with ConTeXt. Success Willi ------=_NextPart_000_004C_01C34B93.29193760 Content-Type: application/octet-stream; name="type-charter.dat" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="type-charter.dat" # You can process this file as follows, using texfont.pl: # # texfont --encoding=ec --batch texfont.dat # texfont --batch texfont.dat if you have set the encoding as below # # where 'ec' can be replaced by 'texnansi', '8r' or otherwise. # bit charter --en=texnansi --ve=bitstrea --co=charter --so=auto --en=texnansi --ve=bitstrea --co=charter --so=auto --ca=* bchr8a --en=texnansi --ve=bitstrea --co=charter --so=auto --sl=* bchr8a --en=texnansi --ve=bitstrea --co=charter --so=auto --sl=* bchb8a ------=_NextPart_000_004C_01C34B93.29193760 Content-Type: application/octet-stream; name="charter.tex" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="charter.tex" % Testfile for the Bitstream charter font collection % W. Egger % 16.07.03 \setupoutput[pdftex] \definetypeface [Myfont] [rm] [serif] [charter] [default] = [encoding=3Dtexnansi] \setupbodyfont[Myfont,rm,12pt] \startbuffer[Text] \input knuth \stopbuffer \starttext \section{Charter Roman} \getbuffer[Text] \section{Charter Bold} {\bf \getbuffer[Text]} \section{Charter Bold-slanted (Built by texfont)} {\bs \getbuffer[Text]} \section{Charter Small Caps with \type{\sc}} {\sc \getbuffer[Text]} \stoptext ------=_NextPart_000_004C_01C34B93.29193760--