diff --git a/layout.sty b/layout.sty index 5cb4314e82ae4d833a51daece8f3818d290d546a..b6cf898750c43515f12112cdd0c4f04ddc608282 100644 --- a/layout.sty +++ b/layout.sty @@ -215,11 +215,12 @@ bookmarks=true]% {}% } +\newcounter{pagebak} \newcommand\handout[1]{ \cleardoublepage \togglefalse{countedPage} - \setcounter{diceNo}{\thepage} + \setcounter{pagebak}{\thepage} \pagestyle{empty} \randomtwo \randomthreeC @@ -233,7 +234,7 @@ bookmarks=true]% \fi \toggletrue{countedPage} \pagestyle{plain} - \setcounter{page}{\value{diceNo}} + \setcounter{page}{\value{pagebak}} }