summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/base/plain_Label.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-18 23:33:08 +0000
committerKarl Berry <karl@freefriends.org>2009-05-18 23:33:08 +0000
commit0a3a4a0193ef03921995cac67f8c91c6e352d059 (patch)
tree4fd204ddd01ff808c75e91ce290a9b28a1e90696 /Build/source/utils/asymptote/base/plain_Label.asy
parent7c769b8e95cd5bd87da30c618e5198d6d12461e1 (diff)
asymptote 1.73
git-svn-id: svn://tug.org/texlive/trunk@13217 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/base/plain_Label.asy')
-rw-r--r--Build/source/utils/asymptote/base/plain_Label.asy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/base/plain_Label.asy b/Build/source/utils/asymptote/base/plain_Label.asy
index 72f924224d4..77a04deb007 100644
--- a/Build/source/utils/asymptote/base/plain_Label.asy
+++ b/Build/source/utils/asymptote/base/plain_Label.asy
@@ -563,7 +563,7 @@ frame pack(pair align=2S ... object inset[])
return F;
}
-path[] texpath(Label L)
+path[] texpath(Label L, bool tex=settings.tex != "none")
{
static string[] stringcache;
static pen[] pencache;
@@ -582,7 +582,7 @@ path[] texpath(Label L)
}
if(i == -1) {
- g=_texpath(s,p);
+ g=tex ? _texpath(s,p) : textpath(s,p);
stringcache.push(s);
pencache.push(p);
pathcache.push(g);