From 4ffd67ef7a9a1a465d2a8cc35a785edb149de24a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 28 Sep 2009 22:01:49 +0000 Subject: asymptote 1.87 git-svn-id: svn://tug.org/texlive/trunk@15535 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/asymptote/base/slide.asy | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'Build/source/utils/asymptote/base/slide.asy') diff --git a/Build/source/utils/asymptote/base/slide.asy b/Build/source/utils/asymptote/base/slide.asy index b23a352fc5d..579253b182f 100644 --- a/Build/source/utils/asymptote/base/slide.asy +++ b/Build/source/utils/asymptote/base/slide.asy @@ -18,11 +18,8 @@ bool landscape=orientation == Landscape || orientation == Seascape; if(landscape) { orientation=Portrait; - real temp=settings.paperwidth; - settings.paperwidth=settings.paperheight; - settings.paperheight=temp; - pagewidth += settings.paperwidth; - pageheight += settings.paperheight; + pagewidth += settings.paperheight; + pageheight += settings.paperwidth; } else { pagewidth += settings.paperwidth; pageheight += settings.paperheight; @@ -430,12 +427,13 @@ void multifigure(string[] slist, string options="", string caption="", firststep=false; } -void indexedfigure(string prefix, int n, string options="", string caption="", - pair align=S, pen p=itempen, pen figuremattpen=figuremattpen) +void indexedfigure(string prefix, int first, int last, + string options="", string caption="", + pair align=S, pen p=itempen, pen figuremattpen=figuremattpen) { string[] s; - for (int i=0; i