summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/external.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-08 18:41:28 +0000
committerKarl Berry <karl@freefriends.org>2013-04-08 18:41:28 +0000
commita3358f7394e3adabeff44a4858bab8f13cbe1180 (patch)
tree014354d566c06a47c483b7231af921247180f770 /Master/texmf-dist/asymptote/external.asy
parent11bcd1a52098dab6ac5baa790409a2261a31755f (diff)
asymptote 2.21
git-svn-id: svn://tug.org/texlive/trunk@29753 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/external.asy')
-rw-r--r--Master/texmf-dist/asymptote/external.asy10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/asymptote/external.asy b/Master/texmf-dist/asymptote/external.asy
index 053f1eff4c1..f9ab5365aea 100644
--- a/Master/texmf-dist/asymptote/external.asy
+++ b/Master/texmf-dist/asymptote/external.asy
@@ -3,10 +3,10 @@ texpreamble("\hypersetup{"+settings.hyperrefOptions+"}");
// Embed object to be run in an external window. An image file name can be
// specified; if not given one will be automatically generated.
-string embed(string name, string options="", real width=0, real height=0,
- string image="")
+string embed(string name, string text="", string options="",
+ real width=0, real height=0, string image="")
{
- string options; // Ignore movie15 options.
+ string options; // Ignore passed options.
if(image == "") {
image=stripdirectory(stripextension(name))+"."+nativeformat();
convert(name+"[0]",image,nativeformat());
@@ -30,8 +30,8 @@ string hyperlink(string url, string text)
return "\href{"+url+"}{"+text+"}";
}
-string link(string url, string text, string options="")
+string link(string label, string text="Play")
{
- return hyperlink("run:"+url,text);
+ return hyperlink("run:"+label,text);
}