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).

You can implement more substituations with feature files. 


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

Reply via email to