Jin-Hwan Cho wrote:
On May 27, 2008, at 6:49 PM, Hans Hagen wrote:
Jin-Hwan Cho wrote:
On May 27, 2008, at 5:21 PM, Taco Hoekwater wrote:
Jin-Hwan Cho wrote:
Still luatools cmr10.tfm does not work. But luatools cmr10.tfm* works. Is it intended? luatools cmr10.tfm works for me (linux). It could be a Mac thing (\r vs \n) but I have no idea how to test that. I checked the function input.aux.find_file() in luatools.lua.
In the 4309th line (for _, path in pairs(pathlist) do) the variable "path" was
!!/usr/local/texlive/2007/texmf-dist
when "path" indicates the texmf tree having cmr10.tfm.
Here, it did not end with "//" so that the variable recurse became "false". After I changed the value of "recurse" explicitly to "true", I could get the right result.
Do you know exact reason? // indicates that the tree should be searched recursively
In my case, the variable "path" shows the name of the directories written in $TEXMF of texmf.cnf. Of course, every path does not end with "//". But everyone thinks that file must be searched recursively for these directories.
In my opinion, the following line is non-sense.
if path:find("//$") then recurse = true else recurse = false end
well, the !! as well as // are kind of standard web2c / tds / whatever Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------