On Jan 5, 2008 10:03 AM, Wolfgang Schuster wrote: > On Fri, 04 Jan 2008 21:40:55 +0100 > Hans Hagen wrote: > > > Thomas A. Schmitz wrote: > > > > > {\bgroup\definedfont[name:TeXGyreHeros-Regular]\char"2329\egroup} > > > > ah so you know the number ... > > > > \getglyph{name:TeXGyreHeros-Regular}{\char"2329} > > > > should also work then > > Is it also possible to select glyphs with the "Adobe names", I saw you > have a complete list char-def.lua and it would be nice to write > \getnamedglyph{name:TeXGyreHeros-Regular}{angleleft} with the same > result as above.
One thing that you can try is to add contextname='angleleft' to the corresponding entry in char-def.lua and then use \getglyph{name:TeXGyreHeros-Regular}{\angleleft} improvements for char-def.lua are welcome anyway. Hans, should contextnames.txt be deleted now? So that only one list will be kept up to date. XeTeX offers \XeTeXglyphdindex{angleleft} (in LuaTeX you can achieve the same with some coding), but I agree that some high-level macro to access glyphs by name might be handy. Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___________________________________________________________________________________