* \dh in ConTeXt @ 2004-09-13 11:18 Charles Doherty 2004-09-14 11:17 ` Taco Hoekwater 0 siblings, 1 reply; 5+ messages in thread From: Charles Doherty @ 2004-09-13 11:18 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 247 bytes --] 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} [-- Attachment #2: pastedGraphic1.pdf --] [-- Type: application/pdf, Size: 44021 bytes --] [-- Attachment #3: Type: text/plain, Size: 559 bytes --] 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. [-- Attachment #4: pastedGraphic2.tiff --] [-- Type: image/tiff, Size: 878 bytes --] [-- Attachment #5: Type: text/plain, Size: 442 bytes --] 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 [-- Attachment #6: Type: text/plain, Size: 139 bytes --] _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \dh in ConTeXt 2004-09-13 11:18 \dh in ConTeXt Charles Doherty @ 2004-09-14 11:17 ` Taco Hoekwater 2004-09-15 11:19 ` Charles Doherty 0 siblings, 1 reply; 5+ messages in thread From: Taco Hoekwater @ 2004-09-14 11:17 UTC (permalink / raw) 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 <charles.doherty@mac.com> wrote: > 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} > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \dh in ConTeXt 2004-09-14 11:17 ` Taco Hoekwater @ 2004-09-15 11:19 ` Charles Doherty 2004-09-15 12:09 ` Mari Voipio 0 siblings, 1 reply; 5+ messages in thread From: Charles Doherty @ 2004-09-15 11:19 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 345 bytes --] 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 [-- Attachment #2: pastedGraphic1.tiff --] [-- Type: image/tiff, Size: 1904 bytes --] [-- Attachment #3: Type: text/plain, Size: 403 bytes --] 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 [-- Attachment #4: Type: text/plain, Size: 139 bytes --] _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \dh in ConTeXt 2004-09-15 11:19 ` Charles Doherty @ 2004-09-15 12:09 ` Mari Voipio 2004-09-17 11:12 ` Charles Doherty 0 siblings, 1 reply; 5+ messages in thread From: Mari Voipio @ 2004-09-15 12:09 UTC (permalink / raw) 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) ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \dh in ConTeXt 2004-09-15 12:09 ` Mari Voipio @ 2004-09-17 11:12 ` Charles Doherty 0 siblings, 0 replies; 5+ messages in thread From: Charles Doherty @ 2004-09-17 11:12 UTC (permalink / raw) [-- Attachment #1.1: Type: text/plain, Size: 763 bytes --] 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 [-- Attachment #1.2: Type: text/enriched, Size: 844 bytes --] On 15 Sep 2004, at 13:09, Mari Voipio wrote: <excerpt> 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) <color><param>0000,0000,0000</param>NEVER!</color> </excerpt> 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 [-- Attachment #2: Type: text/plain, Size: 139 bytes --] _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-09-17 11:12 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-09-13 11:18 \dh in ConTeXt Charles Doherty 2004-09-14 11:17 ` Taco Hoekwater 2004-09-15 11:19 ` Charles Doherty 2004-09-15 12:09 ` Mari Voipio 2004-09-17 11:12 ` Charles Doherty
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).