ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mari Voipio <mari.voipio@iki.fi>
Subject: Re: \dh in ConTeXt
Date: Wed, 15 Sep 2004 15:09:08 +0300 (EET DST)	[thread overview]
Message-ID: <Pine.OSF.4.58.0409151438530.25320@sirppi.helsinki.fi> (raw)
In-Reply-To: <25D1DF04-0709-11D9-8718-003065699FE0@ntlworld.ie>

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)

  reply	other threads:[~2004-09-15 12:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-13 11:18 Charles Doherty
2004-09-14 11:17 ` Taco Hoekwater
2004-09-15 11:19   ` Charles Doherty
2004-09-15 12:09     ` Mari Voipio [this message]
2004-09-17 11:12       ` Charles Doherty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.OSF.4.58.0409151438530.25320@sirppi.helsinki.fi \
    --to=mari.voipio@iki.fi \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).