summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-16 00:37:42 +0000
committerKarl Berry <karl@freefriends.org>2010-02-16 00:37:42 +0000
commit55a363321384bb40bf3d73269227f8233508afe5 (patch)
tree2b7c2be18fb0aa8b5556679cbe0f1cd46941210c /Master
parent69aa6470359099df4cb842666e8169c5a9ee7229 (diff)
separated ltxmisc package advdate (15feb10)
git-svn-id: svn://tug.org/texlive/trunk@17048 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/advdate/advdate.pdfbin0 -> 150426 bytes
-rw-r--r--Master/texmf-dist/doc/latex/advdate/advdate.tex72
-rw-r--r--Master/texmf-dist/tex/latex/advdate/advdate.sty (renamed from Master/texmf-dist/tex/latex/ltxmisc/advdate.sty)0
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check3
-rw-r--r--Master/tlpkg/tlpsrc/advdate.tlpsrc0
-rw-r--r--Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc1
6 files changed, 75 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/advdate/advdate.pdf b/Master/texmf-dist/doc/latex/advdate/advdate.pdf
new file mode 100644
index 00000000000..14eac06d854
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/advdate/advdate.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/advdate/advdate.tex b/Master/texmf-dist/doc/latex/advdate/advdate.tex
new file mode 100644
index 00000000000..63898d5cd89
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/advdate/advdate.tex
@@ -0,0 +1,72 @@
+\documentclass[DIV=11, fontsize=12pt, pagesize=auto]{scrartcl}
+
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+
+\addtokomafont{title}{\rmfamily}
+\addtokomafont{labelinglabel}{\ttfamily}
+\setlength{\labelsep}{3mm}
+
+\makeatletter
+\l@addto@macro\@listI{%
+ \setlength{\parsep}{1.5pt plus 0.5pt minus 0.5pt}%
+ \setlength{\itemsep}{1.5pt plus 0.5pt minus 0.5pt}%
+}
+\makeatother
+
+\title{The \textsf{advdate} package}
+\subtitle{Advance Date Package for \LaTeXe}
+\author{\textcopyright\ Z. Wagner -- Ice Bear Soft, \texttt{<wagner@mbox.cesnet.cz>}}
+\date{20 Oct 1996}
+
+
+\begin{document}
+
+\maketitle
+
+\noindent
+This package contains macros which can add specified number of days
+to the current date (as specified in \verb+\today+) and print it. Some other
+macros are also provided. It is intended for use e.\,g. in invoices
+payable within 14 days from today etc.
+
+
+\minisec{Macros with one default argument [in square brackets]}
+
+\begin{labeling}{\string\AdvanceDate}
+\item[\string\AdvanceDate] Default: [1]\\
+ Advances date the specified number of days and sets the result
+ to \verb+\today+
+\item[\string\DayAfter] Default: [1]\\
+ Advances date by call to \verb+\AdvanceDate+, prints \verb+\today+ and restores
+ the oroginal value of \verb+\today+
+\item[\string\SaveDate] Default: [\verb+\s@v@dT@d@y+]\\
+ Saves \verb+\today+ into the specified macro
+\item[\string\SetDate] Default: [\verb+\s@v@dT@d@y+]\\
+ Sets the date stored in \verb+\today+. The argument must be in form:
+ \texttt{[dd/mm/yyyy]} and may be present in a macro because the argument
+ is always expanded before use. The value saved by \verb+\SaveDate+ can
+ be used here.
+\end{labeling}
+
+
+\minisec{Macros with one mandatory argument}
+
+\begin{labeling}{\string\ThisMonth}
+\item[\string\ThisDay] sets \verb+\day+
+\item[\string\ThisMonth] sets \verb+\month+
+\item[\string\ThisYear] sets \verb+\year+
+\item[\string\AdvMonth] advances \verb+\month+ and fixes it
+\item[\string\AdvYear] advances \verb+\year+
+\end{labeling}
+
+
+\minisec{Macros without arguments}
+
+\begin{labeling}{\string\FixMonth}
+\item[\string\FixMonth] fixes \verb+\today+ so that $0 < \verb+\month+ < 13$
+\item[\string\FixDate] fixes \verb+\today+ so that it is valid
+\end{labeling}
+
+\end{document}
diff --git a/Master/texmf-dist/tex/latex/ltxmisc/advdate.sty b/Master/texmf-dist/tex/latex/advdate/advdate.sty
index e15add6d3d0..e15add6d3d0 100644
--- a/Master/texmf-dist/tex/latex/ltxmisc/advdate.sty
+++ b/Master/texmf-dist/tex/latex/advdate/advdate.sty
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 046454b6f5e..79dc4d5189c 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -23,7 +23,8 @@ my @TLP_working = qw( # these packages should be up to date
a0poster a2ping a4wide a5comb
aastex abbr abc abstract abstyles accfonts achemso
acmconf acmtrans acromake acronym
- active-conf addlines adrconv adrlist ae aeguill afthesis
+ active-conf addlines adrconv adrlist advdate
+ ae aeguill afthesis
aguplus aiaa aichej AkkTeX akletter
algorithm2e algorithmicx algorithms alnumsec alterqcm
altfont ametsoc amsaddr amsfonts amslatex-primer amsldoc-it
diff --git a/Master/tlpkg/tlpsrc/advdate.tlpsrc b/Master/tlpkg/tlpsrc/advdate.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/advdate.tlpsrc
diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
index 3e63bbc93c5..51c1d62269c 100644
--- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
@@ -15,6 +15,7 @@ depend acronym
depend addlines
depend adrconv
depend adrlist
+depend advdate
depend akletter
depend alterqcm
depend altfont