From b5a2e1693a20452ed082823402d3c619eebc6599 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 5 Apr 2020 03:02:36 +0000 Subject: CTAN sync 202004050302 --- macros/latex/contrib/ehhline/README | 4 ++-- macros/latex/contrib/ehhline/ehhline.sty | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'macros/latex/contrib/ehhline') diff --git a/macros/latex/contrib/ehhline/README b/macros/latex/contrib/ehhline/README index b7b22c7fe3..a12c8b41d3 100644 --- a/macros/latex/contrib/ehhline/README +++ b/macros/latex/contrib/ehhline/README @@ -2,8 +2,8 @@ Package ehhline extend \hhline command with a !{...} token, which allows build line with LaTeX command. Version 1.0 (2019-05-13): first public release +Version 1.1 (2020-04-04): bugfix – now |!{...}| works correctly - -Copyright (C) 2015-2019, Robert Ryszard Paciorek +Copyright (C) 2015-2020, Robert Ryszard Paciorek This is free software distributed under terms of The MIT License. diff --git a/macros/latex/contrib/ehhline/ehhline.sty b/macros/latex/contrib/ehhline/ehhline.sty index 4bfbe9e4d1..fb06abc402 100644 --- a/macros/latex/contrib/ehhline/ehhline.sty +++ b/macros/latex/contrib/ehhline/ehhline.sty @@ -1,4 +1,4 @@ -% Copyright (c) 2015-2019 Robert Ryszard Paciorek +% Copyright (c) 2015-2020 Robert Ryszard Paciorek % % MIT License % @@ -21,6 +21,7 @@ % SOFTWARE. % Version 1.0 (2019-05-13): first public release +% Version 1.1 (2020-04-04): bugfix – now |!{...}| works correctly \NeedsTeXFormat{LaTeX2e} @@ -33,10 +34,9 @@ \AtBeginDocument{ \patchcmd{\HH@loop}{\PackageWarning{hhline}}{% \ifx\@tempb!\def\next#1#2{% - \gdef\HH@height{\dimen\thr@@}% - \if@firstamp\@firstampfalse\else\HH@add{&\omit}\fi - \HH@add - {#2}% + \@tempswafalse\gdef\HH@height{\dimen\thr@@}% + \if@firstamp\@firstampfalse\else\HH@add{&\omit}\fi% + \HH@add{#2}% \HH@let!}\else \PackageWarning{hhline} }{}{\PackageWarning{ehhline}{Error patch HH@loop}} -- cgit v1.2.3