On Mon, Apr 14, 2008 at 2:05 PM, Olivier Guéry
\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] [file:LinLibertine_Re-2.7.9.9] [features=default] \definefontsynonym [LinLibertine-Bold] [file:LinLibertine_Bd-2.7.8] [features=default] \definefontsynonym [LinLibertine-Italic] [file:LinLibertine_It-2.7.8] [features=default] \definefontsynonym [LinLibertine-BoldItalic] [file:LinLibertine_BI-2.7.2] [features=default] \definefontsynonym [LinLibertine-Caps] [file:LinLibertineC_Re-2.7.3] [features=default] \stoptypescript
\starttypescript [linuxlibertine] \definetypeface [\typescriptone] [rm] [serif] [linuxlibertine] [default] \stoptypescript
\usetypescript[linuxlibertine] \setupbodyfont[linuxlibertine]
\starttext Text in Linux Libertine. \stoptext
Thank's for the help, but I got this error :
[…] specials : fdf loaded ) (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-otf.tex) (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-otf.tex) (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-otf.texThis went wrong: /usr/share/texmf/tex/context/base/font-def.lua:226: attempt to call field '?' (a nil value) ). <to be read again> \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi <inserted text> ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... <argument> \getvalue {\@style@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.32 \setupbodyfont[linuxlibertine]
?
I have exactly the same version of libertine font in /usr/share/texmf/fonts/opentype/public/linlibertine
I tested the font setups yesterday on my own system I got the same error message but I found also the reason for this. The Libertine fonts contains pints in the font names and this did currently not work with MkIV, a temporary solution is to rename the fonts and remove the version number from the fonts names. I know this is not perfect and Hans is able to fiy this but it should do it for the moment. I tested also to use the name of the fonts instead of the file name and this did also work (after you removed the version number). The new typescripts are: \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 Greetings Wolfgang