summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-05-09 22:20:27 +0000
committerKarl Berry <karl@freefriends.org>2015-05-09 22:20:27 +0000
commitd9be4f3522f65ac594da792af8c57860df6f5680 (patch)
tree8e3963716b38f831d053e218313da831ca3dfb4f /Master
parent5eb3d28bc68d47fc7eb74e47ac1f6f5c0787ec72 (diff)
numending (9may15)
git-svn-id: svn://tug.org/texlive/trunk@37299 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/numending/README.txt9
-rw-r--r--Master/texmf-dist/doc/latex/numending/numending.pdfbin0 -> 183481 bytes
-rw-r--r--Master/texmf-dist/tex/latex/numending/numending.sty6
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/numending.tlpsrc0
6 files changed, 17 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/numending/README.txt b/Master/texmf-dist/doc/latex/numending/README.txt
new file mode 100644
index 00000000000..da3d994a539
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/numending/README.txt
@@ -0,0 +1,9 @@
+Description
+===========This package is intended for the formation of morphological endings of any units for the East Slavic group of languages (Russian, Ukrainian, Belarusian).
+
+
+Copyright
+=====================
+
+Copyright (C) 2015 by Dariya Kirillova, Kirillova_dariya@mail.ru
+
diff --git a/Master/texmf-dist/doc/latex/numending/numending.pdf b/Master/texmf-dist/doc/latex/numending/numending.pdf
new file mode 100644
index 00000000000..7e037a750e5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/numending/numending.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/numending/numending.sty b/Master/texmf-dist/tex/latex/numending/numending.sty
new file mode 100644
index 00000000000..24d54bdf4d6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/numending/numending.sty
@@ -0,0 +1,6 @@
+\ProvidesPackage{numending}
+\def\numending#1#2#3#4{\ifnum#1>100
+\numending{\numexpr#1-100\relax}{#2}{#3}{#4}\else \ifnum#1 < 21
+\ifnum#1> 4 #4\else\ifnum#1=1 #2 \else#3\fi\fi\else \ifnum#1 < 31
+\numending{\numexpr#1-20\relax}{#2}{#3}{#4}\else
+\numending{\numexpr#1-10\relax}{#2}{#3}{#4}\fi\fi\fi} \ No newline at end of file
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index c5e82103b6a..1fad37eb63f 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -387,7 +387,7 @@ my @TLP_working = qw(
nomencl nomentbl nonfloat nonumonpart nopageno nostarch notes
notes2bib notoccite nowidow nox
nrc ntgclass ntheorem ntheorem-vn nuc
- numberedblock numericplots numname numprint
+ numberedblock numending numericplots numname numprint
oberdiek objectz obnov
ocg-p ocgx ocherokee ocr-b ocr-b-outline ocr-latex octavo
odsfile ofs
diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
index 7c27e2e40ec..678d752e826 100644
--- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
@@ -672,6 +672,7 @@ depend nowidow
depend nox
depend ntheorem
depend numberedblock
+depend numending
depend numname
depend numprint
depend ocg-p
diff --git a/Master/tlpkg/tlpsrc/numending.tlpsrc b/Master/tlpkg/tlpsrc/numending.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/numending.tlpsrc