From 072987993bdb3cf5495219b96ad4056509ccb7ab Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 3 Apr 2019 22:33:45 +0000 Subject: asymptote 2.49 git-svn-id: svn://tug.org/texlive/trunk@50744 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/asymptote/asymptote.sty | 6 +++--- Master/texmf-dist/tex/latex/asymptote/latexmkrc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/asymptote/asymptote.sty b/Master/texmf-dist/tex/latex/asymptote/asymptote.sty index 715a291e8ac..302e6aebe3a 100644 --- a/Master/texmf-dist/tex/latex/asymptote/asymptote.sty +++ b/Master/texmf-dist/tex/latex/asymptote/asymptote.sty @@ -186,8 +186,8 @@ \next% } \endgroup -\def\asy@init{ - \def\ASYlatexdir{} +\def\asy@init{% + \def\ASYlatexdir{}% \ifx\asylatexdir\empty\else \def\ASYlatexdir{\asylatexdir/}% \fi @@ -206,7 +206,7 @@ \immediate\write\AsyPreStream{% \noexpand\InputIfFileExists{% \ASYprefix\noexpand\jobname-\the\c@asy.pre}{}{}% - } + }% \asy@write@graphic@header \let\ThisAsymptote\WriteAsyLine \ProcessAsymptote{asy}% diff --git a/Master/texmf-dist/tex/latex/asymptote/latexmkrc b/Master/texmf-dist/tex/latex/asymptote/latexmkrc index 1cca8732e94..fbc52a98d2e 100644 --- a/Master/texmf-dist/tex/latex/asymptote/latexmkrc +++ b/Master/texmf-dist/tex/latex/asymptote/latexmkrc @@ -1,4 +1,4 @@ -sub asy {return system("asy '$_[0]'");} +sub asy {return system("asy \"$_[0]\"");} add_cus_dep("asy","eps",0,"asy"); add_cus_dep("asy","pdf",0,"asy"); add_cus_dep("asy","tex",0,"asy"); -- cgit v1.2.3