On Wed, Aug 31, 2011 at 11:35:51PM +0200, Jean-Marc Lasgouttes wrote: > Le 31/08/2011 19:00, Enrico Forestieri a écrit : > >I think there is a misunderstanding of what KPSE_DOT really does. > > From what I can gather, when KPSE_DOT is defined, it is prepended > >to any relative path components. We already do this by ourselves. > >So, we would still need to set TEXFONTS, say, to something, independently > >from the fact that KPSE_DOT is set or not. > > Since TEXFONTS probably looks in current directory by default, > KPSE_DOT would do the trick, and your (nice) code that does the same > could be simplified.
Yes, you're right. > >>I wonder whether miktex supports this. > > > >Last miktex versions support kpathsea-like environment variables > >(contrarily to previous versions), but I think that it is a sort of > >kpathsea emulation. > > This is the main problem IMO. As expected, KPSE_DOT works with texlive but not with miktex... -- Enrico