From 27499655edb8fc2a74474a1d845b0fc9074a8c22 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 Mar 2020 22:37:38 +0000 Subject: compare own package, from genmisc git-svn-id: svn://tug.org/texlive/trunk@54265 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/compare/compare.tex | 12 ++++++++++++ Master/texmf-dist/tex/generic/genmisc/compare.tex | 12 ------------ Master/tlpkg/bin/tlpkg-ctan-check | 2 +- Master/tlpkg/libexec/ctan2tds | 2 ++ Master/tlpkg/tlpsrc/collection-plaingeneric.tlpsrc | 1 + Master/tlpkg/tlpsrc/compare.tlpsrc | 0 6 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 Master/texmf-dist/tex/generic/compare/compare.tex delete mode 100644 Master/texmf-dist/tex/generic/genmisc/compare.tex create mode 100644 Master/tlpkg/tlpsrc/compare.tlpsrc (limited to 'Master') diff --git a/Master/texmf-dist/tex/generic/compare/compare.tex b/Master/texmf-dist/tex/generic/compare/compare.tex new file mode 100644 index 00000000000..05976cbe865 --- /dev/null +++ b/Master/texmf-dist/tex/generic/compare/compare.tex @@ -0,0 +1,12 @@ +% compare.tex - macro to compare two strings +% By \'Eamonn McManus. This file is not copyrighted. + +\def\compare#1#2{\compcont#1\ \\#2\ \\} +\def\compcont#1#2\\#3#4\\{% + \csname comp% + \if #1#3\if #1\ same\else cont\fi + \else \ifnum `#1<`#3less\else greater\fi \fi + \endcsname #2\\#4\\} +\def\compsame#1\\#2\\{0} +\def\compless#1\\#2\\{-1} +\def\compgreater#1\\#2\\{1} diff --git a/Master/texmf-dist/tex/generic/genmisc/compare.tex b/Master/texmf-dist/tex/generic/genmisc/compare.tex deleted file mode 100644 index 05976cbe865..00000000000 --- a/Master/texmf-dist/tex/generic/genmisc/compare.tex +++ /dev/null @@ -1,12 +0,0 @@ -% compare.tex - macro to compare two strings -% By \'Eamonn McManus. This file is not copyrighted. - -\def\compare#1#2{\compcont#1\ \\#2\ \\} -\def\compcont#1#2\\#3#4\\{% - \csname comp% - \if #1#3\if #1\ same\else cont\fi - \else \ifnum `#1<`#3less\else greater\fi \fi - \endcsname #2\\#4\\} -\def\compsame#1\\#2\\{0} -\def\compless#1\\#2\\{-1} -\def\compgreater#1\\#2\\{1} diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index ba4bce0bc02..f07ecf1ecb2 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -181,7 +181,7 @@ my @TLP_working = qw( colortbl colorwav colorweb colourchange combelow combine combinedgraphics combofont comfortaa comicneue comma commado commath commedit comment - compactbib competences + compactbib compare competences complexity components-of-TeX comprehensive computational-complexity concepts concmath concmath-fonts concprog concrete confproc constants conteq context-account context-algorithmic context-animation context-annotation diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 3902a8296a6..89a6bcb6e28 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1602,6 +1602,7 @@ $standarddest = "texmf-dist"; 'circ', 'latex', 'cirth', 'generic', 'colorprofiles','generic', + 'compare', 'generic', 'cyrplain', 'plain', 'dad', 'lualatex', 'dehyph', 'generic', @@ -1768,6 +1769,7 @@ $standardtex 'codepage', '\.sty|\.tex', 'colorprofiles', '\.(icc|sty|tex)$', 'colortab', 'colortab\.tex|' . $standardtex, + 'compare', '\.tex', 'components-of-TeX', 'NULL', 'concepts', 'concepts\.sty', 'contracard', "$package\.(cls|sty)", diff --git a/Master/tlpkg/tlpsrc/collection-plaingeneric.tlpsrc b/Master/tlpkg/tlpsrc/collection-plaingeneric.tlpsrc index e86418d4ed2..c2d3e48afff 100644 --- a/Master/tlpkg/tlpsrc/collection-plaingeneric.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-plaingeneric.tlpsrc @@ -16,6 +16,7 @@ depend c-pascal depend catcodes depend chronosys depend colorsep +depend compare depend cweb-old depend dinat depend dirtree diff --git a/Master/tlpkg/tlpsrc/compare.tlpsrc b/Master/tlpkg/tlpsrc/compare.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d -- cgit v1.2.3