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