From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40222 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: LinuxLibertine Typescript (was : fonts and luatex) Date: Tue, 15 Apr 2008 08:20:29 +0200 Message-ID: <115224fb0804142320h343deba0xc183728b9b46b9e0@mail.gmail.com> References: <5c2c86e70804140505t6f2897c8r6391a65953227896@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1208240515 11168 80.91.229.12 (15 Apr 2008 06:21:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2008 06:21:55 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 15 08:22:34 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JleYr-00043n-Dj for gctc-ntg-context-518@m.gmane.org; Tue, 15 Apr 2008 08:22:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C488C1FC83; Tue, 15 Apr 2008 08:21:50 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31101-02-7; Tue, 15 Apr 2008 08:21:06 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE5091FC01; Tue, 15 Apr 2008 08:21:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A70171FC01 for ; Tue, 15 Apr 2008 08:21:05 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31115-02-2 for ; Tue, 15 Apr 2008 08:20:32 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.155]) by ronja.ntg.nl (Postfix) with ESMTP id DEBB41FB49 for ; Tue, 15 Apr 2008 08:20:31 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 6so1345066ywa.74 for ; Mon, 14 Apr 2008 23:20:29 -0700 (PDT) Original-Received: by 10.151.112.1 with SMTP id p1mr7233163ybm.150.1208240429156; Mon, 14 Apr 2008 23:20:29 -0700 (PDT) Original-Received: by 10.150.49.21 with HTTP; Mon, 14 Apr 2008 23:20:29 -0700 (PDT) In-Reply-To: <5c2c86e70804140505t6f2897c8r6391a65953227896@mail.gmail.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40222 Archived-At: On Mon, Apr 14, 2008 at 2:05 PM, Olivier Gu=E9ry wro= te: > > \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=3Ddefault] > > \definefontsynonym [LinLibertine-Bold] [file:LinLibertine_Bd-2.7.8] [= features=3Ddefault] > > \definefontsynonym [LinLibertine-Italic] [file:LinLibertine_It-2.7.8] = [features=3Ddefault] > > \definefontsynonym [LinLibertine-BoldItalic] [file:LinLibertine_BI-2.7.= 2] [features=3Ddefault] > > \definefontsynonym [LinLibertine-Caps] [file:LinLibertineC_Re-2.7.3] [= features=3Ddefault] > >\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 : > > > [=85] > 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 \localrelativefonts= iz... > \fontstrategy ...me \fontclass #2#3#4#5\endcsname > \tryingfontfalse \fi > ...yle \fontalternative \fontsize > \fi \iftryingfont \fonts= tr... > \synchronizefont ...strategy \the \fontstrategies > \relax \fi \iftryingfont= \... > \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=3Ddefault] \definefontsynonym [LinLibertine-Bold] [name:Linux Libertine O Bold] [features=3Ddefault] \definefontsynonym [LinLibertine-Italic] [name:Linux Libertine O Italic] [features=3Ddefault] \definefontsynonym [LinLibertine-BoldItalic] [name:Linux Libertine O Bold Italic] [features=3Ddefault] \definefontsynonym [LinLibertine-Caps] [name:Linux Libertine O Capitals] [features=3Ddefault] \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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________