summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-asymptote.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-09-02 20:57:55 +0000
committerKarl Berry <karl@freefriends.org>2019-09-02 20:57:55 +0000
commit1bcbcdf719a79c5b851d5506608fd117288f90cc (patch)
tree68aa7a4043fbc9c087fb8499ad1fe4b96a565b62 /Master/texmf-dist/tex/latex/lwarp/lwarp-asymptote.sty
parentdc3d664b996915ebf8a1409711fb346af9f6247a (diff)
lwarp (2sep19)
git-svn-id: svn://tug.org/texlive/trunk@52016 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-asymptote.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-asymptote.sty6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-asymptote.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-asymptote.sty
index 4da47490bec..e4468d6194a 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-asymptote.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-asymptote.sty
@@ -16,12 +16,14 @@
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
\LWR@ProvidesPackagePass{asymptote}[2016/11/26]
-\BeforeBeginEnvironment{asy}{\begin{lateximage}[(-asymptote-~\packagediagramname)]}
+\BeforeBeginEnvironment{asy}{%
+ \begin{lateximage}[-asymptote-~\PackageDiagramAltText]%
+}
\AfterEndEnvironment{asy}{\end{lateximage}}
\xpatchcmd{\asyinclude}
{\begingroup}
- {\begin{lateximage}[(-asymptote-~\packagediagramname)]}
+ {\begin{lateximage}[-asymptote-~\PackageDiagramAltText]}
{}
{\LWR@patcherror{asymptote}{asyinclude-begingroup}}