Dear all, Using the following input in LaTeX I could get the output below. But try as I might I cannot achieve this in ConTeXt. \documentclass[12pt,a4paper]{article} \usepackage{palatino} \usepackage[T1]{fontenc} \usepackage[applemac]{inputenc} My input for ConTeXt is: \enableregime[mac] \usetypescriptfile [adobekb] \setupencoding [default=ec] \usetypescript [adobekb] [\defaultencoding] \usetypescript[palatino][\defaultencoding] \starttext Howth {\em H\k{o}f\dh i} / {\em H\k{o}f\dh a}, ... Output from the console says that \dh is an undefined control sequence. This and similar commands are mentioned in Kopka and Daly: A guide to LaTeX2e p. 423. In LaTeX using \dh \DH \th \TH I get the result below. But the \ng \NG produce the black rule. I would be happy if just the \dh worked. I note that the encoding in LaTeX is T1. In Hans's Fonts in ConTeXt p. 17 this seems to be the equivalent to 8r. I tried this but with no success. I would be most grateful if anyone can help. I use a Mac OSX 1.3.5. My TeX installation is throught Gerben's installer. Thanks, Charlie ************** Charles Doherty, Early Irish History, School of History, University College Dublin, Belfield, Dublin 4 Ireland Telephone +353 1 7168381
Hi Charles,
Try this:
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)
Greetings, Taco
On Mon, 13 Sep 2004 12:18:29 +0100
Charles Doherty
Dear all,
Using the following input in LaTeX I could get the output below. But try as I might I cannot achieve this in ConTeXt. \documentclass[12pt,a4paper]{article} \usepackage{palatino} \usepackage[T1]{fontenc} \usepackage[applemac]{inputenc}
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)
Greetings, Taco
Dear Taco, Thank you very much for your reply. I get ? when I use the above. But I just chanced mathmode {\em H\k{o}f$\eth$i} / {\em H\k{o}f$\eth$a}, and I get This is not quite the character shown in the Palatino examples in Hans's Fonts in ConTeXt pp 17 ff. number 240 in the bottom left of the font table but I can get by with that. If you think of another way I would be grateful. Thanks again, Charlie ************** Charles Doherty, Early Irish History, School of History, University College Dublin, Belfield, Dublin 4 Ireland Telephone +353 1 7168381
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)
On 15 Sep 2004, at 13:09, Mari Voipio wrote:
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) NEVER!
Dear Mari, Thank you very much! The magic worked! I am using this: \setupoutput[pdftex] \usetypescript[adobekb] [\defaultencoding] %this is the magic! \setupbodyfont[pos] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino] \starttext Howth {\em H\k{o}f\eth i} / {\em H\k{o}f\eth a} \stoptext Thanks, Charlie ************** Charles Doherty, Early Irish History, School of History, University College Dublin, Belfield, Dublin 4 Ireland Telephone +353 1 7168381
participants (4)
-
Charles Doherty
-
Charles Doherty
-
Mari Voipio
-
Taco Hoekwater