summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ehhline
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-04-05 03:02:36 +0000
committerNorbert Preining <norbert@preining.info>2020-04-05 03:02:36 +0000
commitb5a2e1693a20452ed082823402d3c619eebc6599 (patch)
treec98bd29d229f796644e33d5135e972ccdf245560 /macros/latex/contrib/ehhline
parent4f71d4ff0d1e7ff4607b58eb7d030bd860e44f3a (diff)
CTAN sync 202004050302
Diffstat (limited to 'macros/latex/contrib/ehhline')
-rw-r--r--macros/latex/contrib/ehhline/README4
-rw-r--r--macros/latex/contrib/ehhline/ehhline.sty10
2 files changed, 7 insertions, 7 deletions
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 <rrp@opcode.eu.org>
+Copyright (C) 2015-2020, Robert Ryszard Paciorek <rrp@opcode.eu.org>
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 <rrp@opcode.eu.org>
+% Copyright (c) 2015-2020 Robert Ryszard Paciorek <rrp@opcode.eu.org>
%
% 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}}