summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/picture.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/picture.cc')
-rw-r--r--Build/source/utils/asymptote/picture.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/picture.cc b/Build/source/utils/asymptote/picture.cc
index c35b1e14dd4..3ebdf94e6db 100644
--- a/Build/source/utils/asymptote/picture.cc
+++ b/Build/source/utils/asymptote/picture.cc
@@ -688,7 +688,7 @@ bool picture::shipout(picture *preamble, const string& Prefix,
texfile *tex=NULL;
if(Labels) {
- texname=auxname(prefix,"tex");
+ texname=TeXmode ? buildname(prefix,"tex") : auxname(prefix,"tex");
tex=svgformat ? new svgtexfile(texname,b) : new texfile(texname,b);
tex->prologue();
}