texlive[51122] Master: ehhline (14may19)

commits+karl at tug.org commits+karl at tug.org
Tue May 14 23:38:38 CEST 2019


Revision: 51122
          http://tug.org/svn/texlive?view=revision&revision=51122
Author:   karl
Date:     2019-05-14 23:38:38 +0200 (Tue, 14 May 2019)
Log Message:
-----------
ehhline (14may19)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/ehhline/
    trunk/Master/texmf-dist/doc/latex/ehhline/README
    trunk/Master/texmf-dist/doc/latex/ehhline/ehhline.pdf
    trunk/Master/texmf-dist/doc/latex/ehhline/ehhline.tex
    trunk/Master/texmf-dist/tex/latex/ehhline/
    trunk/Master/texmf-dist/tex/latex/ehhline/ehhline.sty
    trunk/Master/tlpkg/tlpsrc/ehhline.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/ehhline/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ehhline/README	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/ehhline/README	2019-05-14 21:38:38 UTC (rev 51122)
@@ -0,0 +1,9 @@
+Package ehhline extend \hhline command with a !{...} token,
+which allows build line with LaTeX command.
+
+Version 1.0 (2019-05-13): first public release
+
+
+Copyright (C) 2015-2019, Robert Ryszard Paciorek <rrp at opcode.eu.org>
+
+This is free software distributed under terms of The MIT License.


Property changes on: trunk/Master/texmf-dist/doc/latex/ehhline/README
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/ehhline/ehhline.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/ehhline/ehhline.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ehhline/ehhline.pdf	2019-05-14 21:37:40 UTC (rev 51121)
+++ trunk/Master/texmf-dist/doc/latex/ehhline/ehhline.pdf	2019-05-14 21:38:38 UTC (rev 51122)

Property changes on: trunk/Master/texmf-dist/doc/latex/ehhline/ehhline.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/ehhline/ehhline.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ehhline/ehhline.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/ehhline/ehhline.tex	2019-05-14 21:38:38 UTC (rev 51122)
@@ -0,0 +1,60 @@
+% Copyright (c) 2015-2019 Robert Ryszard Paciorek <rrp at opcode.eu.org>
+% 
+% MIT License
+% 
+% Permission is hereby granted, free of charge, to any person obtaining a copy
+% of this software and associated documentation files (the "Software"), to deal
+% in the Software without restriction, including without limitation the rights
+% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+% copies of the Software, and to permit persons to whom the Software is
+% furnished to do so, subject to the following conditions:
+% 
+% The above copyright notice and this permission notice shall be included in all
+% copies or substantial portions of the Software.
+% 
+% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+% SOFTWARE.
+
+\documentclass[a4paper]{article}
+
+\usepackage{ehhline, dashrule}
+
+\begin{document}
+
+\title{The \texttt{ehhline}  package}
+\author{Robert Ryszard Paciorek <rrp at opcode.eu.org>}
+\date{2019-05-13}
+\maketitle
+
+This package extend (via \verb$\AtBeginDocument$ and \verb$\patchcmd$) \verb$\hhline$ command with a \verb$!{...}$ token, which allows build line with \LaTeX command.
+
+When is used \texttt{colortbl} package this package must be load AFTER \texttt{colortbl} (because \texttt{colortbl} package redefine \verb$\HH at loop$ command in \verb$\AtBeginDocument$).
+
+\section{Example}
+
+\begin{verbatim}
+\hhline{%
+     !{\leaders\hrule height 1pt\hfil}%
+     !{\leaders\hbox{\tiny$\star$}\hfil}%
+     !{\hfil...\hfil...\hfil}%
+     !{\leaders\hbox{\hdashrule{1.5mm}{1pt}{0.5mm 0.5mm 0.5mm 0mm}}\hfil}%
+}
+\end{verbatim}
+
+\begin{center}
+\begin{tabular}{| c | c | c | c}
+aaa & bbb & ccc & ddd\\
+\hhline{%
+     !{\leaders\hrule height 1pt\hfil}%
+     !{\leaders\hbox{\tiny$\star$}\hfil}%
+     !{\hfil...\hfil...\hfil}%
+     !{\leaders\hbox{\hdashrule{1.5mm}{1pt}{0.5mm 0.5mm 0.5mm 0mm}}\hfil}%
+}
+\end{tabular}
+\end{center}
+\end{document}


Property changes on: trunk/Master/texmf-dist/doc/latex/ehhline/ehhline.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/ehhline/ehhline.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ehhline/ehhline.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/ehhline/ehhline.sty	2019-05-14 21:38:38 UTC (rev 51122)
@@ -0,0 +1,44 @@
+% Copyright (c) 2015-2019 Robert Ryszard Paciorek <rrp at opcode.eu.org>
+% 
+% MIT License
+% 
+% Permission is hereby granted, free of charge, to any person obtaining a copy
+% of this software and associated documentation files (the "Software"), to deal
+% in the Software without restriction, including without limitation the rights
+% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+% copies of the Software, and to permit persons to whom the Software is
+% furnished to do so, subject to the following conditions:
+% 
+% The above copyright notice and this permission notice shall be included in all
+% copies or substantial portions of the Software.
+% 
+% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+% SOFTWARE.
+
+% Version 1.0 (2019-05-13): first public release
+
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{ehhline}
+
+\RequirePackageWithOptions{hhline}
+\RequirePackageWithOptions{etoolbox}
+
+% patch \HH at loop macro from hhline to add !{} syntax
+\AtBeginDocument{
+  \patchcmd{\HH at loop}{\PackageWarning{hhline}}{%
+   \ifx\@tempb!\def\next#1#2{%
+       \gdef\HH at height{\dimen\thr@@}%
+       \if at firstamp\@firstampfalse\else\HH at add{&\omit}\fi
+       \HH at add
+          {#2}%
+       \HH at let!}\else
+   \PackageWarning{hhline}
+  }{}{\PackageWarning{ehhline}{Error patch HH at loop}}
+  \patchcmd{\HH at loop}{\fi\fi\fi\fi\fi\fi\fi\fi\fi}{\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}{}{\PackageWarning{ehhline}{Error patch HH at loop}}
+}


Property changes on: trunk/Master/texmf-dist/tex/latex/ehhline/ehhline.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-05-14 21:37:40 UTC (rev 51121)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-05-14 21:38:38 UTC (rev 51122)
@@ -245,7 +245,7 @@
     ec ecc ecclesiastic ecltree eco ecobiblatex
     econ-bst econometrics economic ecothesis
     ecv ed edfnotes edmac edmargin ednotes eemeir eepic efbox egameps
-    egplot eiad eiad-ltx eijkhout einfuehrung einfuehrung2 ejpecp ekaia
+    egplot ehhline eiad eiad-ltx eijkhout einfuehrung einfuehrung2 ejpecp ekaia
     elbioimp electrum eledform eledmac
     elegantbook elegantnote elegantpaper elements
     ellipse ellipsis

Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2019-05-14 21:37:40 UTC (rev 51121)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2019-05-14 21:38:38 UTC (rev 51122)
@@ -341,6 +341,7 @@
 depend eemeir
 depend efbox
 depend egplot
+depend ehhline
 depend elegantbook
 depend elegantnote
 depend elegantpaper

Added: trunk/Master/tlpkg/tlpsrc/ehhline.tlpsrc
===================================================================


More information about the tex-live-commits mailing list