[tex-live] Hints about checking for win32 compatibility for fragmaster perl script
Reinhard Kotucha
reinhard.kotucha at web.de
Sun Feb 13 23:50:43 CET 2011
On 13 February 2011 T T wrote:
> On 11 February 2011 22:42, Reinhard Kotucha <reinhard.kotucha at web.de> wrote:
>
> > If you really want fragmaster to be portable, the best thing you
> > can do is to re-write it in texlua. This sounds more difficult
> > than it actually is. You obviously don't use any features of
> > Perl which are not supported by texlua too, and your script isn't
> > very complex.
> >
> > texlua has kpathsea built-in, hence the script could locate mgs.exe
>
> Reinhard, are you sure texlua in MiKTeX uses kpathsea?
MiKTeX doesn't use kpathsea itself but a similar library:
Libraries/MiKTeX/KPathSeaEmulation/kpsemu.cpp
AFAIK the API is compatible with kpathsea.
Don't know about the current state of MiKTeX's LuaTeX though. But
there is a file
Programs/TeXAndFriends/luatex/lua/lkpselib.c
Do you have MiKTeX installed? Then you could write a texlua script
containing the line:
print(type(kpse))
It should say "table".
Regards,
Reinhard
--
----------------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
More information about the tex-live
mailing list