2008/7/11 Holzminister
Hi!
With the help of this great mailing-list I managed to type text with the opentype version of LinuxLibertine. But the math font still falls back to Latin Modern (I think). Is there a way to get mathsymbols typed with LinuxLibertine, too?
My code so far:
% engine=luatex
\starttypescript [serif] [linuxlibertine] \setups[font:fallback:serif] \definefontsynonym [Serif] [LinLibertine-Regular] \definefontsynonym [SerifBold] [LinLibertine-Bold] \definefontsynonym [SerifItalic] [LinLibertine-Italic] \definefontsynonym [SerifBoldItalic] [LinLibertine-BoldItalic] \definefontsynonym [SerifCaps] [LinLibertine-Caps] \stoptypescript
\starttypescript [serif] [linuxlibertine] \definefontsynonym [LinLibertine-Regular] [name:Linux Libertine O] [features=default] \definefontsynonym [LinLibertine-Bold] [name:Linux Libertine O Bold] [features=default] \definefontsynonym [LinLibertine-Italic] [name:Linux Libertine O Italic] [features=default] \definefontsynonym [LinLibertine-BoldItalic] [name:Linux Libertine O Bold Italic] [features=default] \definefontsynonym [LinLibertine-Caps] [name:Linux Libertine O Capitals] [features=default] \stoptypescript
\starttypescript [linuxlibertine] \definetypeface [\typescriptone] [rm] [serif] [linuxlibertine] [default] \stoptypescript
\usetypescript[linuxlibertine] \setupbodyfont[linuxlibertine]
\starttext
Normal text.
\startformula \alpha + \beta = 10 \stopformula
\stoptext
I've test here, with the last LinuxLibertine (v2.8.14) I have to change this : \definefontsynonym [LinLibertine-Regular] [name:Linux Libertine O] [features=default] To that : \definefontsynonym [LinLibertine-Regular] [name:LinLibertineO] [features=default] Like you, \alpha and \beta look the same in the LinLibertine version and the Lm-Mondern one. But the « + » and « = 10 » are in LinLibertine. I've notice that the « onum=yes » don't work (in or out formula). Olivier. -- [Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ] http://nemolivier.blogspot.com