Changes

Jump to navigation Jump to search
925 bytes added ,  08:58, 10 August 2008
→‎File not found: Windows instructions for avoiding spaces
I can't find file `C:/Program.tex'.
This is likely caused by the luatex executable not handling filename quoting properly yet. If filenames with spaces work at all, you are just lucky.
 
This problem is most likely to happen on Windows. There two steps to deal with it:
* You must put the main texmf tree in path without spaces. If you're installing Mark IV via TeXLive 2008, then simply change the top installation path at install time.
* If you're running XP or Server 2003 (and not Vista or Server 2008), you must also set the TeX user home and the Lua cache to paths without spaces.
** In <code>context.cnf</code> set HOMETEXMF to <code>C:/tlhome/$USERNAME</code> or to something similar of your liking. Using $USERNAME in the path will still give a per-user directory, just not under "Documents and Settings". This assumes that the user name doesn't have spaces of course...
** As mentioned above, create/edit <code>texmfcnf.lua</code> and put a line like <code>return { TEXMFCACHE = 'C:/tlhome/$USERNAME/.texlive2008/texmf-var' }</code>, which sets each user's cache inside his space-free TeX home path.
== Cache internals ==
2

edits

Navigation menu