Re: [NTG-context] LinuxLibertine Typescript (was : fonts and luatex)
On Tue, Apr 15, 2008 at 9:46 AM, Hans Hagen <[EMAIL PROTECTED]> wrote: > 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 [EMAIL PROTECTED] http://nemolivier.blogspot.com ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] LinuxLibertine Typescript (was : fonts and luatex)
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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] LinuxLibertine Typescript (was : fonts and luatex)
On Mon, Apr 14, 2008 at 2:05 PM, Olivier Guéry <[EMAIL PROTECTED]> wrote: > > \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) > ). > > \relax > \xxdododefinefont ...tspec {#4}\newfontidentifier > \let \localrelativefontsiz... > \fontstrategy ...me \fontclass #2#3#4#5\endcsname > \tryingfontfalse \fi > ...yle \fontalternative \fontsize > \fi \iftryingfont \fontstr... > \synchronizefont ...strategy \the \fontstrategies > \relax \fi \iftryingfont \... > \getvalue [EMAIL PROTECTED]@ \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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
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) ). \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... \getvalue [EMAIL PROTECTED]@ \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 [EMAIL PROTECTED] http://nemolivier.blogspot.com ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___