Le 30/08/2011 19:47, Enrico Forestieri a écrit :
Indeed, it works theoretically but, in practice, it is going to break
documents written by taking advantage of the fact that \input@path
was being being defined by LyX. See the use case about fontspec in
bug 6634.

I'd say this is just life. \input@path was not documented and we are not supposed to keep all ERT working forever.

In this specific case, we should also manage a TEXFONTS prefix.
Maybe we could manage a single prefix, say TEXPATH, and use it as
a prefix for all relevant environment variables used by TeX (TEXINPUTS,
TEXFONTS, BIBINPUTS, ...)

Reading the kpathsea manual, I found:

  3.3.5 KPSE_DOT expansion

  When KPSE_DOT is defined in the environment, it names a directory
  that should be considered the current directory for the purpose of
  looking up files in the search paths. This feature is needed by the
  ‘mktex...’ scripts mktex scripts, because these change the working
  directory. You should not ever define it yourself.

Is this what we are looking for?

JMarc

Reply via email to