summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-12 17:03:25 +0000
committerKarl Berry <karl@freefriends.org>2020-03-12 17:03:25 +0000
commit120cf5399822b372ff1c7b4edee612374b8c8a79 (patch)
tree7b38da408fe082b95b115ad66e94504341f4e234
parentd23dc3e305cb46a666eb2fda7b5dae96382d596f (diff)
outerhbox own package, from genmisc
git-svn-id: svn://tug.org/texlive/trunk@54254 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/tex/generic/genmisc/nth.sty56
-rw-r--r--Master/texmf-dist/tex/generic/outerhbox/outerhbox.sty (renamed from Master/texmf-dist/tex/generic/genmisc/outerhbox.sty)0
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check3
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds2
-rw-r--r--Master/tlpkg/tlpsrc/collection-plaingeneric.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/outerhbox.tlpsrc0
6 files changed, 5 insertions, 57 deletions
diff --git a/Master/texmf-dist/tex/generic/genmisc/nth.sty b/Master/texmf-dist/tex/generic/genmisc/nth.sty
deleted file mode 100644
index 8a96c73903d..00000000000
--- a/Master/texmf-dist/tex/generic/genmisc/nth.sty
+++ /dev/null
@@ -1,56 +0,0 @@
-% nth.sty version 2002/27/02 Donald Arseneau
-% Ordinal numbering style, 1st 2nd 3rd 4th 5th... 12th... 101st 102nd...
-%
-% (Public domain: take, include, extract, whatever)
-%
-% In LaTeX:
-% \usepackage[super,negative]{nth}
-% where option [super] gives superscript `th'
-% and option [negative] allows ``st, nd, rd'' suffixes on negative numbers.
-%
-% example: \renewcommand{\thesection}{\ordinal{section}}
-% or \renewcommand{\thesection}{\@ordinal\c@section}
-% or \renewcommand{\thesection}{\nth\c@section}
-%
-% In plain TeX:
-% \input nth.sty
-% use: \nth{<number>}.
-% Change formatting by redefining \nthscript and \nthtest
-
-\def\nth#1{% First print number:
- \expandafter\nthM \number #1\relax
- \nthscript{%
- \ifnum#1\nthtest0 th\else % negatives are all ``th'' (depending on \nthtest)
- \expandafter \nthSuff \expandafter 0\number\ifnum #1<0-\fi#1\delimiter
- \fi
- }}
-
-% Minus sign using math mode:
-\def\nthM#1{\if -#1\ifmmode-\else$-$\fi\else #1\fi}
-
-% Print suffix depending on last two digits:
-\def\nthSuff#1#2#3{%
- \ifx \delimiter#3% #1#2 are last two digits
- \ifnum #1=1 th% teens are always ``th''
- \else % use appropriate suffix
- \ifcase #2 th\or st\or nd\or rd\else th\fi
- \fi
- \else % continue scanning for last two digits
- \expandafter \nthSuff \expandafter #2\expandafter #3%
- \fi}
-
-% Formatting hook for ordinals (\let\nthscript\textsuperscript)
-\def\nthscript#1{#1}% alternate: \def\nthscript#1{$\rm^{#1}$}
-
-% Formatting hook for all negative numbers giving ``th''
-\def\nthtest{<} % alternate: \def\nthtest{=}
-
-\ifx\Alph\undefined\else
- \def\ordinal#1{\expandafter\@ordinal\csname c@#1\endcsname}
- \let\@ordinal\nth
- \ProvidesPackage{nth}[2002/02/27]
- \DeclareOption{super}{\def\nthscript{\textsuperscript}}
- \DeclareOption{negative}{\def\nthtest{=}}
- \ProcessOptions
-\fi
-
diff --git a/Master/texmf-dist/tex/generic/genmisc/outerhbox.sty b/Master/texmf-dist/tex/generic/outerhbox/outerhbox.sty
index 75b618dc9ab..75b618dc9ab 100644
--- a/Master/texmf-dist/tex/generic/genmisc/outerhbox.sty
+++ b/Master/texmf-dist/tex/generic/outerhbox/outerhbox.sty
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 04b629aee8a..2a262335533 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -531,7 +531,8 @@ my @TLP_working = qw(
onedown onlyamsmath onrannual opcit opensans oplotsymbl
opteng optex optidef optional options
ordinalpt orkhun oscola ot-tableau othello othelloboard
- oubraces outline outliner outlines outlining overlays overlock overpic
+ oubraces outerhbox outline outliner outlines outlining
+ overlays overlock overpic
pacioli padauk pagecolor pagecont padcount pagenote pagerange pageslts
palatino paper papercdcase papermas papertex
paracol parades paralist parallel paratype
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 899b39a5ff6..f047f594953 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1650,6 +1650,7 @@ $standarddest = "texmf-dist";
'ofs', 'generic',
'oinuit', 'lambda',
'optex', 'luatex',
+ 'outerhbox', 'generic',
'passivetex', 'xmltex',
'pdcmac', 'plain',
'pdf-trans', 'generic',
@@ -1967,6 +1968,7 @@ $standardtex
'ofs', '^ofs\.tex|ofsdef\.tex|ofs-.*\.tex|\.sty|a.*\.tex|.*fn\.tex',
'olsak-misc', '(qrcode|scanbase|scancsv|xmlparser)\.tex',
'optex', '\.opm|\.ini',
+ 'outerhbox', '\.sty',
'pageslts', '\.sty|[^c]\.cfg', # not ltxdoc.cfg
'papermas', '\.sty|[^c]\.cfg', # not ltxdoc.cfg, would be system-wide
'passivetex', '\.xmt|' . $standardtex,
diff --git a/Master/tlpkg/tlpsrc/collection-plaingeneric.tlpsrc b/Master/tlpkg/tlpsrc/collection-plaingeneric.tlpsrc
index 914cc1ad913..e86418d4ed2 100644
--- a/Master/tlpkg/tlpsrc/collection-plaingeneric.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-plaingeneric.tlpsrc
@@ -64,6 +64,7 @@ depend newsletr
depend nth
depend ofs
depend olsak-misc
+depend outerhbox
depend path
depend pdf-trans
depend pitex
diff --git a/Master/tlpkg/tlpsrc/outerhbox.tlpsrc b/Master/tlpkg/tlpsrc/outerhbox.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/outerhbox.tlpsrc