On 11/15/07, Maurício wrote: > Hi, > > TeX fonts have the known convention > for -, -- and ---. How would be the > proper way to get those characters > in Context? Should I use Unicode > characters? I know that, at least in > my instalation, -- and --- work as > in TeX, but I would like to know if > Context has a different standard way > to do that. > > Thanks, > Maurício
Hello, ConTeXt works in the same way as standard/plain TeX. With the "old" TeX engine(s) (=pdfTeX) that should always work. If you use XeTeX or LuaTeX as an engine with OpenType fonts, --/--- won't be converted to endash/emdash automatically, but both engines support using that shortcut if you ask them to do so (they artificially add a new ligatire to the font). So, if you're working with XeTeX and want to use --/---, you need to explicitely say "mapping=tex-text" when loading a new font, else you will get two/three dashes. If you use typescripts, [feature=defaults] will do that for you. I would say: if you find it easy to input endash & emdash directly, do that (that's what people on the XeTeX mailing list often recommend). But you can still use --/--- anytime you want. Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
