#176 Cannot find nopapersize.ps in TeX Live

Default
closed-invalid
nobody
eps (1)
5
2016-02-24
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

  • John Bowman

    John Bowman - 2015-04-08

    This means that something else is wrong on your system. The TeXLive version of Asymptote uses kpsewhich --var-value=TEXMFMAIN
    to correctly set the system directory (if definitely should not be empty
    or there will be many other failures).

    Please check that your path is correct and that

    kpsewhich --var-value=TEXMFMAIN

    returns

    PATH_OF_TEXLIVE/2014/texmf-dist

     
  • John Bowman

    John Bowman - 2015-04-08
    • status: open --> closed-invalid
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks