On Sat, Sep 12, 2009 at 13:33, Hans Hagen wrote: > Mojca Miklavec wrote: >> >> On Fri, Sep 11, 2009 at 20:09, Aditya Mahajan wrote: >>> >>> On Fri, 11 Sep 2009, Mohamed Bana wrote: >>> >>>> no that results in an empty page. aren't the formats generated when i >>>> run >>>> first-setup.sh? >>> >>> They do, so I am guessing that something is going wrong. Can you try by >>> redownloading first-setup.sh afresh and trying again? >> >> I seriously think that something is wrong with luatex formats (if I >> remember correctly due to seemingly different paths). >> >> Hans, would it be possible to generate metafun format on the fly, the >> same way as luatex format? That would be the best solution. > > in tex.rb patch aroun dline 678: > > else > report("unable to make format due to lack of permissions") > texformatpath = '' > setvariable('error','no permissions to write') > end > if not mpsformats then > # we want metafun to be in sync > setvariable('mpsformats',defaultmpsformats) > mpsformats = validmpsformat(getarrayvariable('mpsformats')) > end > else > texformatpath = '' > end > > so, add the "if not mpsformats then .. end"
Hello Hans, Thanks a lot, but for some reason this doesn't help. I'll take a closer look once I'm back (in October) for both mkii and mkiv. Mojca PS: I don't dare to claim anything, but from my faint memories I think that metafun format doesn't regenerate once a new version of metapost comes out (I may be wrong, I would need to test, this really happens in extremely rare cases). For mkii the above solution doesn't work in circumstances where I expected it to work (or maybe I don't understand how it's supposed to work), but I'll try to check later. PPS: I need to test for the behaviour being claimed in this mail; once I'm back. ___________________________________________________________________________________ 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 ___________________________________________________________________________________