ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: MkIV on Ubuntu
Date: Thu, 13 Dec 2007 12:17:42 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.0.9999.0712131158290.5815@nqv-yncgbc> (raw)
In-Reply-To: <4760EE33.8040805@wxs.nl>

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
___________________________________________________________________________________


  reply	other threads:[~2007-12-13 17:17 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-12 23:41 Aditya Mahajan
2007-12-13  8:32 ` Hans Hagen
2007-12-13 17:17   ` Aditya Mahajan [this message]
2007-12-14  8:15     ` Hans Hagen
2007-12-14 13:55       ` Aditya Mahajan
2007-12-14 14:01         ` Aditya Mahajan
2007-12-17  8:42         ` Hans Hagen
2007-12-17 18:11           ` Aditya Mahajan
2007-12-17 18:31             ` Aditya Mahajan
2007-12-17 21:14               ` Hans Hagen
2007-12-17 21:13             ` Hans Hagen
2007-12-17 22:14               ` Aditya Mahajan
2007-12-17 23:32                 ` Aditya Mahajan
2007-12-18  8:39                   ` Hans Hagen
2007-12-18  8:46                     ` Taco Hoekwater
2007-12-18  8:43                   ` Hans Hagen
2007-12-17 22:28             ` Aditya Mahajan
2007-12-18  8:36               ` Hans Hagen
2007-12-18 16:52                 ` Aditya Mahajan
2007-12-18 17:12                   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.0.9999.0712131158290.5815@nqv-yncgbc \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).