#176 Cannot find nopapersize.ps in TeX Live

v1.0 (example)
open
nobody
eps (1)
5
2014-06-28
2014-06-28
Leo Liu
No

Asymptote needs to find the path of nopapersize.ps in order to pass to Dvips for EPS file output. However, in TeX Live 2014 (from TUG), asymptote (currently v2.31) cannot find the file, unless we set in config.asy:

settings.dir = "PATH_OF_TEXLIVE/2014/texmf-dist/asymptote"

nopapersize.ps is used in member function picture::texprocess in picture.cc. We have:

      string dvipsrc=getSetting<string>("dir");
      if(dvipsrc.empty()) dvipsrc=systemDir;
      dvipsrc += dirsep+"nopapersize.ps";
      setenv("DVIPSRC",dvipsrc.c_str(),1);

However, in TeX Live, systemDir is empty, and dir is not specified either, then the problem raise.

The problem will make the eps file cannot be used for dvipdfmx/xdvipdfmx. There is a simple test example in the attachment.

1 Attachments

Discussion