summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-04-03 22:33:45 +0000
committerKarl Berry <karl@freefriends.org>2019-04-03 22:33:45 +0000
commit072987993bdb3cf5495219b96ad4056509ccb7ab (patch)
tree7db7f28ff1713a570c4ef960d5e4c2dbabf0fdc1 /Master/texmf-dist/tex
parent0714966cf940fe8c3abb344bdffd6744f88eec4d (diff)
asymptote 2.49
git-svn-id: svn://tug.org/texlive/trunk@50744 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/asymptote/asymptote.sty6
-rw-r--r--Master/texmf-dist/tex/latex/asymptote/latexmkrc2
2 files changed, 4 insertions, 4 deletions
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");