texlive[49018] Master: identkey (29oct18)
commits+karl at tug.org
commits+karl at tug.org
Mon Oct 29 21:25:51 CET 2018
Revision: 49018
http://tug.org/svn/texlive?view=revision&revision=49018
Author: karl
Date: 2018-10-29 21:25:51 +0100 (Mon, 29 Oct 2018)
Log Message:
-----------
identkey (29oct18)
Modified Paths:
--------------
trunk/Master/tlpkg/bin/tlpkg-ctan-check
trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/identkey/
trunk/Master/texmf-dist/doc/latex/identkey/README.md
trunk/Master/texmf-dist/tex/latex/identkey/
trunk/Master/texmf-dist/tex/latex/identkey/identkey.sty
trunk/Master/tlpkg/tlpsrc/identkey.tlpsrc
Added: trunk/Master/texmf-dist/doc/latex/identkey/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/identkey/README.md (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/identkey/README.md 2018-10-29 20:25:51 UTC (rev 49018)
@@ -0,0 +1,13 @@
+# Identkey
+
+## Usage
+
+ \begin{key}
+ \lead Flowers zygomorphic \ident{Senna}
+ \lead Flowers actinomorphic \goto{2}
+
+ \lead Corolla inconspicuous, flowers arranged in dense head or spikes
+ \ident{Acacia}
+ \lead Corolla conspicuous, flowers not arranged in dense heads or spikes
+ \ident{Gleditsia}
+ \end{key}
Property changes on: trunk/Master/texmf-dist/doc/latex/identkey/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/identkey/identkey.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/identkey/identkey.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/identkey/identkey.sty 2018-10-29 20:25:51 UTC (rev 49018)
@@ -0,0 +1,41 @@
+% Copyright (c) 2018 Robert White
+
+% This program is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+
+% You should have received a copy of the GNU General Public License
+% along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+\ProvidesPackage{identkey}[2018/10/29 v0.1.0 Package for typesetting bracketed dichotomous identification keys]
+
+\RequirePackage{enumitem}
+\RequirePackage{etoolbox}
+
+\setlist[1]{labelindent=\parindent}
+\newlist{key}{enumerate}{1}
+\setlist[key]{leftmargin=*, label=\arabic*, labelsep=10pt, format=\bfseries}
+
+\newcounter{coupletcounter}
+\setcounter{coupletcounter}{0}
+
+\newcommand\lead{%
+ \refstepcounter{coupletcounter}%
+ \ifnumodd{\value{coupletcounter}}{\firstlead}{\secondlead}%
+}
+
+\newcommand\firstlead{\item}
+\newcommand\secondlead{%
+ \item[\@itemlabel\rlap{:}]%
+}
+
+\newcommand{\ident}[1]{ \dotfill\textit{\textbf{#1}}}
+\newcommand{\goto}[1]{ \dotfill\textbf{#1}}
+
+\endinput
Property changes on: trunk/Master/texmf-dist/tex/latex/identkey/identkey.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 2018-10-29 20:24:37 UTC (rev 49017)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check 2018-10-29 20:25:51 UTC (rev 49018)
@@ -340,7 +340,7 @@
hpsdiss hrefhide hrlatex hulipsum hustthesis hvfloat hvindex
hypdvips hyper hyperbar hypernat hyperref hyperxmp hyph-utf8 hyphen-base
hyphenat hyphenex hyplain
- ibycus-babel ibygrk icsv idxcmds idxlayout ieeepes ietfbibs
+ ibycus-babel ibygrk icsv identkey idxcmds idxlayout ieeepes ietfbibs
ifetex iffont ifmslide ifmtarg ifnextok ifoddpage ifplatform ifptex ifsym
iftex ifthenx ifxetex ifxptex
iitem ijmart ijqc ijsra
Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc 2018-10-29 20:24:37 UTC (rev 49017)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc 2018-10-29 20:25:51 UTC (rev 49018)
@@ -545,6 +545,7 @@
depend hypernat
depend hyperxmp
depend hyphenat
+depend identkey
depend idxcmds
depend idxlayout
depend iffont
Added: trunk/Master/tlpkg/tlpsrc/identkey.tlpsrc
===================================================================
More information about the tex-live-commits
mailing list