diff options
author | Karl Berry <karl@freefriends.org> | 2023-12-31 21:25:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-12-31 21:25:11 +0000 |
commit | 38e02b045da9f31fa40a688c654791f883d74512 (patch) | |
tree | 42232dc94e833e1e3e4b961453ed28feb170e504 /Master/texmf-dist/tex | |
parent | 802de4985e4a78b85d71fd60b436068b5e94e8dd (diff) |
changebar (31dec23)
git-svn-id: svn://tug.org/texlive/trunk@69250 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/changebar/changebar.sty | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/changebar/changebar.sty b/Master/texmf-dist/tex/latex/changebar/changebar.sty index 7150d4ab383..762a571403e 100644 --- a/Master/texmf-dist/tex/latex/changebar/changebar.sty +++ b/Master/texmf-dist/tex/latex/changebar/changebar.sty @@ -37,7 +37,7 @@ %% Copyright 1994-2023 (C) Johannes Braams. All rights reserved. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{changebar} - [2023/12/24 v3.7a Indicate changes with marginal bars] + [2023/12/30 v3.7b Indicate changes with marginal bars] \def\cb@maxpoint{80} \def\cb@minpoint{1} \def\cb@nil{0} @@ -111,7 +111,7 @@ \immediate\openout\cb@writexy=\jobname.cb2\relax \fi \gdef\cb@pdfxy##1##2##3##4##5{% - \immediate\write\cb@writexy{##1.##2p##3,##4,##5}% + \immediate\write\cb@writexy{##1.##2p##3;##4;##5}% \expandafter\gdef\csname cb@##1.##2\endcsname{##3,##4,##5}} \else\cb@pdftexerror\fi\fi\fi} \def\cb@pdftexerror{\PackageError @@ -131,10 +131,14 @@ \immediate\openout\cb@writexy=\jobname.cb2\relax \fi \gdef\cb@pdfxy##1##2##3##4##5{% - \immediate\write\cb@writexy{##1.##2p##3,##4,##5}% + \immediate\write\cb@writexy{##1.##2p##3;##4;##5}% \expandafter\gdef\csname cb@##1.##2\endcsname{##3,##4,##5}} \gdef\sec@nd@ftw@##1 ##2{##2} \fi} +\def\cb@xetexerror{\PackageError + {changebar}% + {XeTeX option cannot be used}% + {You are not using XeLaTeX}} \DeclareOption{luaTeX}{\cb@luatexcheck} \DeclareOption{luatex}{\cb@luatexcheck} \def\cb@luatexcheck{% @@ -147,7 +151,7 @@ \immediate\openout\cb@writexy=\jobname.cb2\relax \fi \gdef\cb@pdfxy##1##2##3##4##5{% - \immediate\write\cb@writexy{##1.##2p##3,##4,##5}% + \immediate\write\cb@writexy{##1.##2p##3;##4;##5}% \expandafter\gdef\csname cb@##1.##2\endcsname{##3,##4,##5}} \fi} \def\cb@luatexerror{\PackageError @@ -380,9 +384,9 @@ \fi \fi } - \def\cb@pdffind##1##2##3.##4p##5,##6,##7pt##8\relax##9{% + \def\cb@pdffind##1##2##3.##4p##5;##6;##7pt##8\relax##9{% \def\cb@next{% - \cb@pdffind{##1}{##2}##8\relax{##9##3.##4p##5,##6,##7pt}}% + \cb@pdffind{##1}{##2}##8\relax{##9##3.##4p##5;##6;##7pt}}% \ifnum ##1=##3 \ifnum ##2=##4 \def\cb@pdfx{##5sp}% @@ -418,7 +422,7 @@ \fi \cb@next }% - \def\cb@pdfparsexy##1.##2p##3,##4,##5pt{% + \def\cb@pdfparsexy##1.##2p##3;##4;##5pt{% \def\cb@pdfpg{##2}}% \def\cb@defpoint##1##2{% \if@filesw @@ -520,9 +524,9 @@ \fi \fi } - \def\cb@pdffind##1##2##3.##4p##5,##6,##7pt##8\relax##9{% + \def\cb@pdffind##1##2##3.##4p##5;##6;##7pt##8\relax##9{% \def\cb@next{% - \cb@pdffind{##1}{##2}##8\relax{##9##3.##4p##5,##6,##7pt}}% + \cb@pdffind{##1}{##2}##8\relax{##9##3.##4p##5;##6;##7pt}}% \ifnum ##1=##3 \ifnum ##2=##4 \def\cb@pdfx{##5sp}% @@ -558,7 +562,7 @@ \fi \cb@next }% - \def\cb@pdfparsexy##1.##2p##3,##4,##5pt{% + \def\cb@pdfparsexy##1.##2p##3;##4;##5pt{% \def\cb@pdfpg{##2}}% \def\cb@defpoint##1##2{% \if@filesw @@ -661,9 +665,9 @@ \fi \fi } - \def\cb@pdffind##1##2##3.##4p##5,##6,##7pt##8\relax##9{% + \def\cb@pdffind##1##2##3.##4p##5;##6;##7pt##8\relax##9{% \def\cb@next{% - \cb@pdffind{##1}{##2}##8\relax{##9##3.##4p##5,##6,##7pt}}% + \cb@pdffind{##1}{##2}##8\relax{##9##3.##4p##5;##6;##7pt}}% \ifnum ##1=##3 \ifnum ##2=##4 \def\cb@pdfx{##5sp}% @@ -699,7 +703,7 @@ \fi \cb@next }% - \def\cb@pdfparsexy##1.##2p##3,##4,##5pt{% + \def\cb@pdfparsexy##1.##2p##3;##4;##5pt{% \def\cb@pdfpg{##2}}% \def\cb@defpoint##1##2{% \if@filesw |