From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37978 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: MkIV on Ubuntu Date: Thu, 13 Dec 2007 12:17:42 -0500 (EST) Message-ID: References: <4760EE33.8040805@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197566328 18894 80.91.229.12 (13 Dec 2007 17:18:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2007 17:18:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 13 18:18:59 2007 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 1J2rhy-00016R-EC for gctc-ntg-context-518@m.gmane.org; Thu, 13 Dec 2007 18:18:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 796821FB87; Thu, 13 Dec 2007 18:18:29 +0100 (CET) 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 12812-01; Thu, 13 Dec 2007 18:18:16 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ABF951FB39; Thu, 13 Dec 2007 18:18:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 486881FB39 for ; Thu, 13 Dec 2007 18:18:11 +0100 (CET) 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 12709-01-4 for ; Thu, 13 Dec 2007 18:17:49 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with ESMTP id 145A71FB31 for ; Thu, 13 Dec 2007 18:17:45 +0100 (CET) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY hellskitchen.mr.itd.umich.edu ID 47616937.ECF47.12417 ; 13 Dec 2007 12:17:44 -0500 X-X-Sender: adityam@adi-laptop In-Reply-To: <4760EE33.8040805@wxs.nl> 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:37978 Archived-At: On Thu, 13 Dec 2007, Hans Hagen wrote: > Aditya Mahajan wrote: > >> However, mtxrun --script fonts --list --pattern=pagella gives >> MtxRun | unknown script: fonts > > i sometimes get that too on linux and am not sure why because it works > ok my vista machine; o need to look into it (actually, font is resolved > to (mtx-)font(s) Ok, I set TEXMFCNF explicitly, and I do not get an error. I regenerated the formats, and the simple hello world document compiles correctly. pdffonts test.pdf gives me name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- ZGSVCK+LMRoman12-Regular CID Type 0C yes yes yes 4 0 I think that this means that otf fonts are embedded (not sure). I start exploring mkiv more extensively. But something is still wrong with mtxrun. $ locate bonum gives me /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-regular.otf /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-bolditalic.otf /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-bold.otf /usr/share/texmf/fonts/opentype/public/tex-gyre/texgyrebonum-italic.otf /usr/share/texmf/tex/latex/tex-gyre/tgbonum.sty which means that the fonts are installed in /usr/share/texmf/ When I do $ mtxrun --scripts fonts --verbose --list --pattern=bonum I get MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT MtxRun | loading configuration for /usr/share/texmf/web2c from ///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/e027248d6557d124c703335e8a95ecd5 MtxRun | locating list of /home/adityam/.texmf-config MtxRun | locating list of /home/adityam/.texmf-var MtxRun | locating list of /home/adityam/texmf MtxRun | locating list of /etc/texmf MtxRun | locating list of /var/lib/texmf MtxRun | locating list of /usr/local/share/texmf MtxRun | locating list of /usr/share/texmf %<<<<--- /usr/share/texmf is %<<<<--- being read MtxRun | locating list of /usr/share/texmf-texlive MtxRun | loading files for /var/lib/texmf from ///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/c99fbb6307ce58c4c8d3687f791de5f6 MtxRun | loading files for /usr/local/share/texmf from ///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/b8a1cf189bc82d8722e834ba72af3440 MtxRun | loading files for /usr/share/texmf from ///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/9ea5cec901854e6fa728c2ba01c0bb52 MtxRun | loading files for /usr/share/texmf-texlive from ///tmp/luatex-cache/context/e027248d6557d124c703335e8a95ecd5/trees/c136f4d84c0b9fde8e19a42543a2e07d It looks like mtxrun is scanning the correct directories, but cannot find the font files. On the other hand, luatools texgyrebonum-regular.otf works fine and gives me the correct location. If I use texexec to compile things, do I need mtxrun? If not, then I can just wait for things to get sorted at the distribution level, but still use (a possibly half-broken) mkiv in the meanwhile. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________