Hi Hans,

Hans Hagen wrote:
> i remember that there has been some discussion about this following link 
>   issue but i forgot what was the outcome
>   

Can you incorporate the following patch in your cont-tmf.zip? It should
work with most Linux systems and it should not harm on other systems.

Tobias

--- /dev/shm/luatools.lua       2008-10-29 12:46:21.261006248 +0100
+++ luatools.lua                2008-10-29 15:56:04.000000000 +0100
@@ -3053,9 +3053,16 @@
                     if not lfs.isdir(file.join(ownroot,"texmf")) then
                         ownroot = input.normalize_name(file.join(ownpath,".."))
                         if not lfs.isdir(file.join(ownroot,"texmf")) then
-                            input.verbose = true
-                            input.report("error", "unable to identify cnf 
file")
-                            return
+                            -- On Linux installations, the file might be under 
$PREFIX/bin
+                            -- while the texmf tree is under 
$PREFIX/share/texmf
+                            if string.gmatch(ownpath, "/bin$") then
+                                ownroot = 
input.normalize_name(file.join(ownpath,"../share"))
+                            end
+                            if not lfs.isdir(file.join(ownroot,"texmf")) then
+                               input.verbose = true
+                               input.report("error", "unable to identify cnf 
file")
+                               return
+                            end
                         end
                     end
                     local texmfcnf = 
file.join(ownroot,"texmf-local/web2c",filename) -- for minimals and myself


___________________________________________________________________________________
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 via email to