Re: [NTG-context] LinuxLibertine Typescript (was : fonts and 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] [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 Greetings, Olivier. -- [tapé sur un clavier Bépo : http://www.clavier-dvorak.org ] Olivier nemolivier@gmail.com http://nemolivier.blogspot.com
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
Wolfgang Schuster wrote:
/usr/share/texmf/tex/context/base/font-def.lua:226: attempt to call field '?' (a nil value)
I tested the font setups yesterday on my own system I got the same error message but I found also the reason for this.
ok, such an error should not happen
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).
[file:bla 1.2.3] may be problematic anyway (the space) so best try: [file:bla1.2.3] just remove spaces in names, which is what happens behind the screens too ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Tue, Apr 15, 2008 at 9:46 AM, Hans Hagen
Wolfgang Schuster wrote:
/usr/share/texmf/tex/context/base/font-def.lua:226: attempt to call field '?' (a nil value)
I tested the font setups yesterday on my own system I got the same error message but I found also the reason for this.
ok, such an error should not happen
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).
[file:bla 1.2.3]
may be problematic anyway (the space) so best try:
[file:bla1.2.3]
just remove spaces in names, which is what happens behind the screens too
It seems to work. thank's a lot. Now, let's play with the otf features… Olivier. -- [Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ] Olivier nemolivier@gmail.com http://nemolivier.blogspot.com
participants (3)
-
Hans Hagen
-
Olivier Guéry
-
Wolfgang Schuster