diff options
Diffstat (limited to 'graphics/asymptote/doc/asymptote.sty')
-rw-r--r-- | graphics/asymptote/doc/asymptote.sty | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/graphics/asymptote/doc/asymptote.sty b/graphics/asymptote/doc/asymptote.sty index 302e6aebe3..b9d1321447 100644 --- a/graphics/asymptote/doc/asymptote.sty +++ b/graphics/asymptote/doc/asymptote.sty @@ -9,7 +9,7 @@ %% The ASYMPTOTE package %% %% (C) 2003 Tom Prince -%% (C) 2003-2016 John Bowman +%% (C) 2003-2019 John Bowman %% (C) 2010 Will Robertson %% %% Adapted from comment.sty @@ -17,7 +17,7 @@ %% Licence: GPL2+ %% \ProvidesPackage{asymptote} - [2016/11/26 v1.33 Asymptote style file for LaTeX] + [2019/11/04 v1.34 Asymptote style file for LaTeX] \def\Asymptote{{\tt Asymptote}} \InputIfFileExists{\jobname.pre}{}{} \newbox\ASYbox @@ -32,6 +32,7 @@ \RequirePackage{keyval} \RequirePackage{ifthen} \RequirePackage{color,graphicx} +\RequirePackage[space]{grffile} \IfFileExists{ifpdf.sty}{ \RequirePackage{ifpdf} }{ @@ -128,6 +129,11 @@ \fi } \expandafter\fixstar\rawJobname*\relax +\def\Gread@@xetex#1{% + \IfFileExists{"\Gin@base".bb}% + {\Gread@eps{\Gin@base.bb}}% + {\Gread@@xetex@aux#1}% +} \def\Ginclude@eps#1{% \message{<#1>}% \bgroup @@ -293,12 +299,12 @@ \ifASYattach \ifASYPDF \IfFileExists{"\AsyFile+0.pdf"}{% - \setbox\ASYbox=\hbox{\includegraphics[hiresbb]{"\AsyFile+0".pdf}}% + \setbox\ASYbox=\hbox{\includegraphics[hiresbb]{\AsyFile+0.pdf}}% }{% - \setbox\ASYbox=\hbox{\includegraphics[hiresbb]{"\AsyFile".pdf}}% + \setbox\ASYbox=\hbox{\includegraphics[hiresbb]{\AsyFile.pdf}}% }% \else - \setbox\ASYbox=\hbox{\includegraphics[hiresbb]{"\AsyFile.eps"}}% + \setbox\ASYbox=\hbox{\includegraphics[hiresbb]{\AsyFile.eps}}% \fi \textattachfile{\AsyFile.\AsyExtension}{\phantom{\copy\ASYbox}}% \vskip-\ht\ASYbox @@ -306,9 +312,9 @@ \box\ASYbox \else \ifASYPDF - \includegraphics[hiresbb]{"\AsyFile".pdf}% + \includegraphics[hiresbb]{\AsyFile.pdf}% \else - \includegraphics[hiresbb]{"\AsyFile.eps"}% + \includegraphics[hiresbb]{\AsyFile.eps}% \fi \fi }{% |