From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87240 Path: news.gmane.org!not-for-mail From: Aire Funvake Newsgroups: gmane.comp.tex.context Subject: LuaTeX-Plain and OTF/TTF Fonts Date: Tue, 6 May 2014 16:49:10 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1716167563==" X-Trace: ger.gmane.org 1399397218 20881 80.91.229.3 (6 May 2014 17:26:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2014 17:26:58 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue May 06 19:26:54 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WhhvI-0001bp-LB for gctc-ntg-context-518@m.gmane.org; Tue, 06 May 2014 18:08:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06CEA10287 for ; Tue, 6 May 2014 16:49:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NKPXGsPQqD7P for ; Tue, 6 May 2014 16:49:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AE90A10234 for ; Tue, 6 May 2014 16:49:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BD789101E7 for ; Tue, 6 May 2014 16:49:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dBgMDsjI5hSw for ; Tue, 6 May 2014 16:49:27 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 18799101E2 for ; Tue, 6 May 2014 16:49:18 +0200 (CEST) Original-Received: from mail-wg0-x242.google.com (mail-wg0-x242.google.com [IPv6:2a00:1450:400c:c00::242]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s46FAYuq025148 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 6 May 2014 17:10:35 +0200 Original-Received: by mail-wg0-f66.google.com with SMTP id m15so1247225wgh.9 for ; Tue, 06 May 2014 07:49:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:subject:mime-version:content-type; bh=JAOBG49Azor1OJPzVJAv4avyZATz/70aWVsza4bShLs=; b=GkVMiIPEgcDXoSYxlb/XjkAHqHKqpfUsfDZVtYCj3CgDFJIE0uS0gqVTJhulDkureu 95zj+Qkm2fzO4biijvvJR/Rz+tH9MwuFs/7hCzODbzJDzdaO1yf8DD6f1yK3HezEJXdA v0QJl2u5rUGDjCygsDawTC0nA3wM65/qaHTdO7y4KTrYJhcZLg40PwLyMek3oz7yDCYw tEVaPlpVUCty88xKk/Phnu4e2rE8hPfL7FKF1Bx9VSmxDS5qEJmQ8tTMMIVvnTz5ecLK nMLfxd+j+Ag0YNtUb/lyIWyf3Jys17mWUDH7ZS/xxWjcPk70m59HToxs2BzJA6Id3eQq 1Iiw== X-Received: by 10.194.94.71 with SMTP id da7mr2843797wjb.56.1399387756973; Tue, 06 May 2014 07:49:16 -0700 (PDT) Original-Received: from [192.168.132.61] (plsk02.vxcloud.co.za. [41.160.216.67]) by mx.google.com with ESMTPSA id fz11sm7852935wic.4.2014.05.06.07.49.14 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 06 May 2014 07:49:15 -0700 (PDT) X-Mailer: sparrow 1.6.4 (build 1178) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::242; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LWDayub - f5fe1c95b8c8 - 20140506 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87240 Archived-At: --===============1716167563== Content-Type: multipart/alternative; boundary="5368f666_334a6f1f_e282" --5368f666_334a6f1f_e282 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Dear Group, =20 Thank you for your time. I'm starting out with TeX/ConTeXt, but want to arrive via LuaTeX (=60luatex-plain.tex/fmt=60). Managed to build, move and use =60luatex-plain=60. Have the same problem under MacOSX & Win7 (here is the Win-specific decription -- =60%CTX%=60 is my ConTeXt root): Placed some fonts under =60%CTX%=5Ctex=5Ctexmf-fonts=5Cotf=5Cminion=5C=60= & =60%CTX%=5Ctex=5Ctexmf-fonts=5Cotf=5Cmyriad=60. Executed, the following commands, recognising there might be redundancy, but not sure): mtxrun --script fonts --update --force mtxrun --script fonts --update --simple mtxrun --script fonts --update mtxrun --script fonts --list --pattern=3Dminion Result: minionpro minionprobold MinionPro-Bold.otf minionprobold minionprobold MinionPro-Bold.otf minionproboldit minionproboldit MinionPro-BoldIt.otf minionprobolditalic minionproboldit MinionPro-BoldIt.otf minionproit minionproit MinionPro-It.otf minionproitalic minionproit MinionPro-It.otf minionpronormal minionproit MinionPro-It.otf minionproregular minionproregular MinionPro-Regular.otf =60hello.tex=60 - luatex-plain test file: %=5Bluatex-plain=5D Hello % font=5CT =3Dminionproregular at 12pt=5CT Hello world. =5Cbye Executed: luatex-plain hello.tex Result: fonts : font with asked name 'minionproregular' =20 is not found using lookup 'name' fonts : unknown font 'minionproregular', loading aborted =21 =46ont =5Cch=3Dminionproregular at 12pt not loadable: =20 metric data not found or bad. Looked in =60%CTX%=5Ctex=5Ctexmf-cache=5Cluatex-cache=5Cgeneric=5Cfonts=5C= data=60 at the file =60luatex-font-names.lua=60. The fonts were listed. Then deleted the =60luatex-font-names.luc=60 file, added the full paths to the fonts in front of all the file names in the =60.lua=60 file. Running =60luatex-plain hello.tex=60 again, works now as expected (it seems to recreate the =60luatex-font-names.luc=60 automatically). Setting =60OS=46ONTDIR=60 before font update and/or before running =60luatex-plain=60, have no observable effect. So, I do have a manual fix/solution. But is there an easier way=3F Thanks in advance, =20 -- =20 A=C3=ADre =46unvake --5368f666_334a6f1f_e282 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Dear Group,

Thank you for your time. I'm= starting out with TeX/ConTeXt, but
want to arrive via LuaTeX (=60luatex-plain.tex/fmt=60). Manage= d to
build, move and use = =60luatex-plain=60. Have the same problem under
MacOSX & Win7 (here is the Win-specific decrip= tion -- =60%CTX%=60 is
my= ConTeXt root):

Placed some fonts under =60%C= TX%=5Ctex=5Ctexmf-fonts=5Cotf=5Cminion=5C=60 &
=60%CTX%=5Ctex=5Ctexmf-fonts=5Cotf=5Cmyriad=60.= Executed, the following
= commands, rec= ognising there might be redundancy, but not sure):

    mtxrun --script fonts --update --force
    mtxrun --script fonts --u= pdate --simple
  &nb= sp; mtxrun --script fonts --update
    mtxrun --script fonts --list --pattern=3Dminion

Result:

 = ;   minionpro             minionprobol= d      MinionPro-Bold.otf
    minionprobold         mi= nionprobold      MinionPro-Bold.otf
    minionproboldit     &nb= sp; minionproboldit    MinionPro-BoldIt.otf
    minionprobolditalic   min= ionproboldit    MinionPro-BoldIt.otf
    minionproit       &nbs= p;   minionproit        MinionPro-It.otf<= /div>
    minionproitalic &n= bsp;     minionproit        MinionPro-It.ot= f
    minionpro= normal       minionproit        Minion= Pro-It.otf
    = minionproregular      minionproregular   MinionPro-Re= gular.otf

=60hello.tex=60 - luatex-plai= n test file:

<= /div>
    %=5Bluatex-plain=5D= Hello
    %
    font=5CT =3Dm= inionproregular at 12pt=5CT
    Hello world.
    =5Cbye
Executed:
<= div>
    luatex-plain hello.tex

Result:

    fonts : font with asked name 'minionproregular' 
=       is not found using lo= okup 'name'
   = fonts : unknown font 'minionproregular', loading aborted
    =21 =46ont =5Cch=3Dminionp= roregular at 12pt not loadable: 
      metric data not found or bad.

Looked in =60%CTX%=5Ctex=5Ctexmf-cache=5Cluatex-cache=5C= generic=5Cfonts=5Cdata=60
at the file =60luatex-font-names.lua=60. The fonts were listed. Then
deleted the =60luatex-font-n= ames.luc=60 file, added the full paths
to the fonts in front of all the file names in the =60.lua=60= file.

<= div>Running =60luatex-plain hello.tex=60 a= gain, works now as expected (it
seems to recreate the =60luatex-font-names.luc=60 automatically).<= /font>

Setting =60OS=46ONTDIR=60 before font update = and/or before running
=60= luatex-plain=60, have no observable effect.

So= , I do have a manual fix/solution. But is there an easier way=3F

Thanks in advance,

-- 
A=C3=ADre =46unvake

--5368f666_334a6f1f_e282-- --===============1716167563== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1716167563==--