diff options
author | Karl Berry <karl@freefriends.org> | 2019-07-06 20:41:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-07-06 20:41:23 +0000 |
commit | 7ecd3c9fef7acbaf8f22ce67409122655ad704a3 (patch) | |
tree | e0d616faaa4969c61fceaf033b7c571799b99989 /Master/texmf-dist/tex/latex | |
parent | 82f960603e3cb2b85ba3eed11f6422e354979d69 (diff) |
versonotes (6jul19)
git-svn-id: svn://tug.org/texlive/trunk@51568 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/versonotes/versonotes.sty | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/versonotes/versonotes.sty b/Master/texmf-dist/tex/latex/versonotes/versonotes.sty index 34c8998dd3f..7d4db9bfb27 100644 --- a/Master/texmf-dist/tex/latex/versonotes/versonotes.sty +++ b/Master/texmf-dist/tex/latex/versonotes/versonotes.sty @@ -7,9 +7,9 @@ %% versonotes.dtx (with options: `package') %% versonotes: Notes on verso pages %% -%% Release version 0.3, 2015 December 8. +%% Release version 0.4, 2019 July 6. %% -%% Copyright 2014, 2015 Norman Gray <http://nxg.me.uk> +%% Copyright 2014, 2015, 2019 Norman Gray <https://nxg.me.uk> %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -28,10 +28,10 @@ %% %%%% File: versonotes.dtx -%%%% Source: 1ce01fd3d4fc, 2015-09-16T13:05:15+01:00 +%%%% Source: 7d4f5fb7b19e, 2019-07-06T19:09:45+01:00 %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{versonotes}[2015/12/08 v0.3] +\ProvidesPackage{versonotes}[2019/07/06 v0.4] \newif\if@verso@notesonleft \@verso@notesonlefttrue @@ -79,7 +79,7 @@ \fi \newtoks\verso@currentpage \newcount\verso@currentpagenum - \verso@currentpagenum=1 + \verso@currentpagenum=\c@page \newcount\verso@currentnotenum \verso@currentnotenum=0 \newdimen\verso@spacerskip @@ -98,9 +98,6 @@ \long\def\verso@note#1#2#3{% \global\@verso@processversonotestrue \@tempcnta=#1 - \ifnum\@tempcnta=1 - \PackageWarning{versopages}{page 1 verso text will be ignored} - \fi \@tempdima=#2 % #2 < 0pt is the end-of-document flag \loop \@tempswafalse @@ -197,14 +194,15 @@ \def\verso@mergenotelist{} \def\verso@mergenote#1{\xdef\verso@mergenotelist{\verso@mergenotelist #1,}} \let\verso@orig@shipout\shipout +\newcount\verso@pagestoskip +\if@verso@notesonleft + \verso@pagestoskip=1 +\else + \verso@pagestoskip=2 +\fi \long\def\verso@processonepage@#1#2\@nil{ \def\@tempa{#1} - \if@verso@notesonleft - \@tempcnta=1 - \else - \@tempcnta=2 - \fi - \ifnum\c@page>\@tempcnta + \ifnum\verso@pagestoskip=0 \ifx\@tempa\@empty \verso@orig@shipout\vbox{} \else @@ -225,6 +223,8 @@ #1} \endgroup \fi + \else + \global\advance\verso@pagestoskip -1 \fi \global\verso@pages={#2}} \def\verso@processonepage{ |