Recently, I switched from XeTeX to LuaTex for a document of mine. However, there is a feature which I do not immediately see how to convert: Accessing specific characters. In particular, I need the upright double quote. In the font I use, however, the standard \dq command produces upper 99 quotes. In XeTeX, I therefore redefined the command:
\renewcommand\dq{\XeTeXglyph\XeTeXglyphindex"quotedbl"}
- How can I do that in general, ie. how can I access all the glyphs in the font, whereever they might be placed (even without a codepoint, perhaps)?
- Is there another way to access the upright double quote?
Ligature=TeX, and your question lacks a complete example and one can't guess your setup:)– خالد حسني Jan 24 '11 at 15:27Ligaturesand the aboveXeTeXglyphproduced the letter I requested instead of some substitute. Rather the effect I would expect. I find the XeTeX semantics a bit more sensible here than the LuaTeX semantics. – MPi Jan 24 '11 at 21:00Ligatures=TeX) works at character level, i.e. all"in your input are converted to curly quotes and that is passed to TeX, so when you insert a glyph it does not see it, while luaotfload'strepworks as a font feature and thus gets applied much later in the process and thus it sees your"glyph node and acts on it, no matter how that node ended there. – خالد حسني Jan 24 '11 at 21:51fonts.otf.chardoesn’t work anymore, it seems. Q120736 has a working, but much longer solution. – Crissov Jul 14 '14 at 19:59