[Tex/LaTex] repstopdf issue on Cygwin

cygwin;epstopdf

Environment: Cygwin with Cygwin Ports packages enabled for doxygen/graphviz/mscgen/texlive-latex/texlive-latex-extras.

Configuration:
doxygen is configured to generate LaTeX output and I have PDF output via pdflatex. The refman.pdf is generated but is lacking some

When building this documentation, repstopdf is called from the build process, even though repstopdf has been removed from the packages.

sh: repstopdf: command not found

The epstopdf-sys.cfg contains something that looks like a redirection from epstopdf to repstopdf.

% Public domain.
% History:
% 2010/06/06 v1.2
% 2010/07/13 v1.3
% * Use `epstopdf' instead of `repstopdf' if \pdfshellescape == 1
%
\ProvidesFile{epstopdf-sys.cfg}%
  [2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live]%
\def\epstopdf@sys@cmd{repstopdf}% default is restricted epstopdf
% epstopdf-sys loads pdftexcmds, \pdf@shellescape is provided
% for LuaTeX as well
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname pdf@shellescape\endcsname\relax
\else
  \ifcase\pdf@shellescape
  \or
    \def\epstopdf@sys@cmd{epstopdf}% unrestricted if \pdfshellescape == 1
  \fi
\fi
\epstopdfsetup{%
  program@epstopdf=\epstopdf@sys@cmd
}%
\endinput

Apparently somewhere else the command line arguments are changed to use repstopdf args so simply changing repstopdf to epstopdf doesn't work.

Does anyone else build LaTeX docs in Cywgin with this toolchain?

Best Answer

I removed the cygwin packages for texlive completely and manually installed TexLive from the installation instructions on their webpage, and modified the PATH to include the specific path for this package. When I ran the doxygen latex conversion, the repstopdf conversions passed without issue as the tools actually now existed.

Related Question