From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16466 Path: main.gmane.org!not-for-mail From: Mari Voipio Newsgroups: gmane.comp.tex.context Subject: Re: \dh in ConTeXt Date: Wed, 15 Sep 2004 15:09:08 +0300 (EET DST) Sender: ntg-context-bounces@ntg.nl Message-ID: References: <20040914131722.7ddf8395.taco@elvenkind.com> <25D1DF04-0709-11D9-8718-003065699FE0@ntlworld.ie> Reply-To: mari.voipio@iki.fi, mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1095250165 6786 80.91.229.6 (15 Sep 2004 12:09:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Sep 2004 12:09:25 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 15 14:09:13 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C7Yb3-0006Zy-00 for ; Wed, 15 Sep 2004 14:09:13 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 02DF812796; Wed, 15 Sep 2004 14:09:13 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07561-05; Wed, 15 Sep 2004 14:09:11 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6D8551278D; Wed, 15 Sep 2004 14:09:11 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 94B671278D for ; Wed, 15 Sep 2004 14:09:09 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07572-02 for ; Wed, 15 Sep 2004 14:09:09 +0200 (CEST) Original-Received: from sirppi.helsinki.fi (unknown [128.214.205.27]) by ronja.ntg.nl (Postfix) with ESMTP id DE84212788 for ; Wed, 15 Sep 2004 14:09:08 +0200 (CEST) Original-Received: from sirppi.helsinki.fi (localhost [127.0.0.1]) by sirppi.helsinki.fi (8.12.10/8.12.10) with ESMTP id i8FC981b030121 for ; Wed, 15 Sep 2004 15:09:08 +0300 (EET DST) Original-Received: from localhost (mvoipio@localhost) by sirppi.helsinki.fi (8.12.10/8.12.10/Submit) with ESMTP id i8FC98os018539 for ; Wed, 15 Sep 2004 15:09:08 +0300 (EET DST) X-Authentication-Warning: sirppi.helsinki.fi: mvoipio owned process doing -bs Original-To: mailing list for ConTeXt users In-Reply-To: <25D1DF04-0709-11D9-8718-003065699FE0@ntlworld.ie> X-Virus-Scanned: by 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: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16466 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16466 On Wed, 15 Sep 2004, Charles Doherty wrote: > On 14 Sep 2004, at 12:17, Taco Hoekwater wrote: > > > Howth {\em H\k{o}f\eth i} / {\em H\k{o}f\eth a}, > > > > (LaTeX 'dh' = [eE]th, 'th'= [tT]horn, 'ng' = [eE]ng) > > Thank you very much for your reply. I get ? when I use the above. I get ? if I try with the very default fonts (known to me as a problem with diacritis, standard cmr font just can't do it): --- \setupoutput[pdftex] \starttext Howth {\em H\k{o}f\eth i} / {\em H\k{o}f\eth a} \stoptext --- [Note: I'm using Windows, so the output has been directed straight to pdf, less hassle for the clueless than dvi etc.] However, if I use the standard pos fonts as I always do be able to write among others Finnish, it works: ------- \setupoutput[pdftex] \setupbodyfont[pos] \starttext Howth {\em H\k{o}f\eth i} / {\em H\k{o}f\eth a} \stoptext ---- If you test the above in live.contextgarden.net or if the compilation process hangs on your computer, add a magic line: ------- \setupoutput[pdftex] \usetypescript[adobekb] [\defaultencoding] %this is the magic! \setupbodyfont[pos] \starttext Howth {\em H\k{o}f\eth i} / {\em H\k{o}f\eth a} \stoptext ---- (The above works perfectly at live.contextgarden.net, which may help) Not all fonts have diacritics, so it won't always work, but with the standard postscript fonts you should be fine. BTW, thank you for the tip, both of you - if I ever have to write Old Norse again, I know which program I'll use for it... Mari (originally majoring in Scandinavian languages, now just a nerd)