[luatex] luaotfload problems (MiKTeX/Windows 7) | not solved

Philipp Gesang Philipp.Gesang at alumni.uni-heidelberg.de
Sat Jul 6 02:14:04 CEST 2013


···<date: 2013-07-05, Friday>···<from: Evan Cooch>···

> 
> >>                             But this variable is not defined under
> >>MiKTeX, and upon seeing that it's not defined, luaotfload is
> >>supposed to put the database in a folder with the path given by the
> >>value of the variable $TEXMFVAR (the default value in MiKTeX on Win
> >>7 is C:\Users\<USERNAME>\AppData\MiKTeX\2.9 and you can test the
> >>value on your system by typing kpsewhich --expand-var=$TEXMFVAR in
> >>the Command Prompt, or by looking in the Roots panel of the MiKTeX
> >>settings application). The bug we've been discussing keeps
> >>luaotfload from doing that, which is why your database ends up where
> >>it does (and the problem doesn't apply to TeX Live, because the
> >>$TEXMFCACHE variable is defined in that setup).
> >Fwiw version 2.3 went up to CTAN yesterday. You can get the zip at:
> >
> >     https://github.com/lualatex/luaotfload/releases
> >
> >(choose the tds one). This version introduces incompatible
> >changes so remember to delete the cache directories after
> >updating.
> >
> >
> 
> Quick followup:
> 
> 1\ so, should running luaotfload-tool --update --force create the
> approrpate names DB and font cache?
> 
> If so, then
> 
> 2\ where is it trying to write it?

Run “luaotfload-tool --help”. Near the end it should print the
cache paths, e.g.:

    The font database will be saved to
       /home/phg/src/texlive2013/texmf-var/luatex-cache/generic/names/luaotfload-names.lua
       /home/phg/src/texlive2013/texmf-var/luatex-cache/generic/names/luaotfload-names.luc

    <snip />
    
    The font cache will be written to
       /home/phg/src/texlive2013/texmf-var/luatex-cache/generic/fonts

The path prefix (configured in texmf.cnf; in this case
/home/phg/src/texlive2013/) must be writable for the user that is
running luatex; the subdirectories under it will be created, even
if you only run luaotfload-tool without options.

>                                    Using MikTeX 2.9, installed just
> for a single user (me!), under Windows 7.

> I ask because I may have spoken too soon about 2.3 working.  I'd run
> a few tests, which seemed to compile, then I remembered I needed to
> delete old cache'. So, went into \users\me\AppData\Local\MikTeX\2.9
> and deleted luatex-cache (and all the subdirs contained therein).

According to your log file that is where the font loader writes
its cache files to:

    C:/Users/egc/AppData/Local/MiKTeX/2.9/luatex-cache/generic/

The names db should reside in a subdirectory “/names”, the font
cache under “/fonts/”. If deleted, it will be recreated the next
time you run luaotfload-tool or luatex with luaotload. Can you
post the permissions of these directories and the files in them?

Best,
Philipp



-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20130706/5860b0db/attachment.bin>


More information about the luatex mailing list