[luatex] on some special glyph nodes

Reinhard Kotucha reinhard.kotucha at web.de
Tue Mar 26 23:36:50 CET 2013


On 2013-03-26 at 12:10:11 +0100, Ulrike Fischer wrote:

 > Am Mon, 25 Mar 2013 23:10:30 +0100 schrieb Reinhard Kotucha:
 > 
 > > What is the best way to achieve this with LuaTeX?  Is there a solution
 > > already or do I have to modify the encoding of the Lua representation
 > > of the OTF myself?  
 > 
 > Well regarding the apostroph and ' there is no problem in lualatex:
 > The mapping is already done with (faked) ligatures:
 > 
 > \documentclass[]{scrartcl}
 > \usepackage{fontspec}
 > \begin{document}
 > 
 > a'b a^^^^2019b
 > 
 > \setmainfont{Arial}
 > a'b a^^^^2019b
 > 
 > \setmainfont[Ligatures=TeX]{Arial}
 > a'b a^^^^2019b
 > 
 > \verb+a'b+ 
 > 
 > \end{document} 
 > 
 > (You get ' in the verb as the typewriter font doesn't activate the
 > tex-ligatures).

Thanks, Ulrike!

Your example works well.  Your font configuration is much simpler than
mine.  Seems that I tried too much of a good thing and broke everything.

I'll adapt my .cls file accordingly.
 
Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the luatex mailing list