Tag Info

1

The original LaTeX code found on page 3 of this document, on which your question seems to be based on, requires the packages graphicx.sty and color.sty (or xcolor.sty) to work. A slightly different approach is to make additional use of the package import.sty: \usepackage{graphicx,import,xcolor} \newcommand{\executeiffilenewer}[3]{% \ifnum\pdfstrcmp% ...

6

Actually it's the other way round:-) the path mechanism is implemented for \input and \includegraphics locally sets it to the value given in \graphicspath . So most efficient is don't use \graphicspath just set TEXINPUTS="D:/work/figures;" before you run latex which will add that folder to the start of the search path. Or, if you want to use the ...

4

unfortunately svg loads a load of packages not directly related to svg inclusion itself including subfig which is incompatible with subcaption. You can suppress subfig inclusion by: \documentclass{article} \usepackage{subcaption} \expandafter\def\csname ver@subfig.sty\endcsname{} \usepackage{svg} \usepackage{hyperref} \begin{document} ...

Top 50 recent answers are included