From 6d6616a44dbc2cd2babb772429610bfa2dc5ffbc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 21 Mar 2018 21:50:45 +0000 Subject: datetime2-basque (21mar18) git-svn-id: svn://tug.org/texlive/trunk@47064 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/datetime2-basque/CHANGES | 3 ++ .../texmf-dist/doc/latex/datetime2-basque/Makefile | 24 ++++++++++ .../doc/latex/datetime2-basque/README.txt | 2 +- .../datetime2-basque-small-test.tex | 50 +++++++++++++++++++++ .../datetime2-basque/datetime2-basque-test.tex | 45 +++++++++++++++++++ .../latex/datetime2-basque/datetime2-basque.pdf | Bin 359481 -> 0 bytes .../latex/datetime2-basque/datetime2-basque.dtx | 10 +++-- .../latex/datetime2-basque/datetime2-basque.ins | 3 +- .../latex/datetime2-basque/datetime2-basque.ldf | 9 ++-- 9 files changed, 136 insertions(+), 10 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/datetime2-basque/Makefile create mode 100644 Master/texmf-dist/doc/latex/datetime2-basque/datetime2-basque-small-test.tex create mode 100644 Master/texmf-dist/doc/latex/datetime2-basque/datetime2-basque-test.tex delete mode 100644 Master/texmf-dist/doc/latex/datetime2-basque/datetime2-basque.pdf (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/datetime2-basque/CHANGES b/Master/texmf-dist/doc/latex/datetime2-basque/CHANGES index 64c1a39b023..377402ea1fb 100644 --- a/Master/texmf-dist/doc/latex/datetime2-basque/CHANGES +++ b/Master/texmf-dist/doc/latex/datetime2-basque/CHANGES @@ -1,3 +1,6 @@ +1.2a (2018-03-20) + * Suppress spurious space. + 1.2 (2015-09-03): * Add inessive date form * Change numeric date separator to / diff --git a/Master/texmf-dist/doc/latex/datetime2-basque/Makefile b/Master/texmf-dist/doc/latex/datetime2-basque/Makefile new file mode 100644 index 00000000000..d2207ace908 --- /dev/null +++ b/Master/texmf-dist/doc/latex/datetime2-basque/Makefile @@ -0,0 +1,24 @@ +smalltest: datetime2-basque-small-test.pdf +longtest: datetime2-basque-test.pdf +test: smalltest longtest +doc: datetime2-basque.pdf +archive: datetime2-basque.zip + +datetime2-basque-test.pdf: datetime2-basque.ldf datetime2-basque-test.tex + pdflatex datetime2-basque-test.tex + +datetime2-basque-small-test.pdf: datetime2-basque.ldf datetime2-basque-small-test.tex + pdflatex datetime2-basque-small-test.tex + +datetime2-basque.ldf: datetime2-basque.dtx datetime2-basque.ins + pdflatex datetime2-basque.ins + +datetime2-basque.pdf: datetime2-basque.dtx + pdflatex datetime2-basque.dtx + makeindex -s gind.ist datetime2-basque.idx + makeindex -s gglo.ist -o datetime2-basque.gls datetime2-basque.glo + pdflatex datetime2-basque.dtx + pdflatex datetime2-basque.dtx + +datetime2-basque.zip: datetime2-basque.dtx datetime2-basque.ins + git archive --format=zip --prefix=datetime2-basque/ -o datetime2-basque.zip master diff --git a/Master/texmf-dist/doc/latex/datetime2-basque/README.txt b/Master/texmf-dist/doc/latex/datetime2-basque/README.txt index 6f60e03f42a..98fbe3e6876 100644 --- a/Master/texmf-dist/doc/latex/datetime2-basque/README.txt +++ b/Master/texmf-dist/doc/latex/datetime2-basque/README.txt @@ -1,5 +1,5 @@ Basque Language Module for datetime2 Package -Version: 1.2 +Version: 1.2a Authors: Nicola L. C. Talbot (inactive) Zunbeltz Izaola diff --git a/Master/texmf-dist/doc/latex/datetime2-basque/datetime2-basque-small-test.tex b/Master/texmf-dist/doc/latex/datetime2-basque/datetime2-basque-small-test.tex new file mode 100644 index 00000000000..8b93e0bd56f --- /dev/null +++ b/Master/texmf-dist/doc/latex/datetime2-basque/datetime2-basque-small-test.tex @@ -0,0 +1,50 @@ +\documentclass{article} +\usepackage[basque]{babel} +\usepackage[]{datetime2} +\usepackage{pgffor} + + +\newcommand{\test}{% +\noindent This PDF was created on \today. + +\noindent This PDF was created on \DTMnow. + \texttt{\\DTMdisplaydate} \DTMdisplaydate{2015}{4}{23}{3} + \texttt{\\DTMDisplaydate} \DTMDisplaydate{2015}{4}{23}{3} + \texttt{\\today} \today + \texttt{\\Today} \Today + \texttt{\\DTMdate} \DTMdate{2015-04-23} + \texttt{\\DTMDate} \DTMDate{2015-04-23} + \texttt{\\DTMdisplaytime} \DTMdisplaytime{10}{30}{23} + \texttt{\\DTMdisplayzone} \DTMdisplayzone{2}{00} + \texttt{\\DTMcurrenttime} \DTMcurrenttime + \texttt{\\DTMcurrentzone} \DTMcurrentzone + \texttt{\\DTMtime} \DTMtime{10:30:23} + \texttt{\\DTMdisplay} \DTMdisplay{2015}{04}{23}{3}{10}{30}{23}{2}{00} + \texttt{\\DTMDisplay} \DTMDisplay{2015}{04}{23}{3}{10}{30}{23}{2}{00} + \texttt{\\DTMnow} \DTMnow + \texttt{\\DTMNow} \DTMNow + +\vspace*{\baselineskip} +} + +\begin{document} +\foreach \style in {basque, basque-numeric}{ +%\style +%} +\noindent\texttt{DTMsetstyle\{\style\}} \DTMsetstyle{\style} + +\test +} + +\DTMlangsetup[basque]{inessive=true} +\DTMsetstyle{basque} + +\test + + +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/Master/texmf-dist/doc/latex/datetime2-basque/datetime2-basque-test.tex b/Master/texmf-dist/doc/latex/datetime2-basque/datetime2-basque-test.tex new file mode 100644 index 00000000000..f3c54e10de1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/datetime2-basque/datetime2-basque-test.tex @@ -0,0 +1,45 @@ +\documentclass[basque, twocolumn]{article} +\usepackage{babel} +\usepackage[useregional]{datetime2} +\usepackage{pgffor} + +\makeatletter +\newcommand{\changeyear}[1]{% +\def\@dtm@currentyear{#1} +} +\newcommand{\changemonth}[1]{% +\def\@dtm@currentmonth{#1} +} +\newcommand{\changeday}[1]{% +\def\@dtm@currentday{#1} +} +\makeatother + +\begin{document} +\DTMlangsetup[basque]{inessive=true} +\foreach \myyear in {2000,...,2005}{ + \changeyear{\myyear} + \foreach \mymonth in {1,...,12}{ + \changemonth{\mymonth} + \foreach \myday in {1,...,31}{ + \changeday{\myday} + \today\par + } + \newpage + } +} + + +% \changemonth{2} +% \changeday{13} +% This PDF was created on \today. + +% \changeyear{2001} +% This PDF was created on \today. +\end{document} + + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/Master/texmf-dist/doc/latex/datetime2-basque/datetime2-basque.pdf b/Master/texmf-dist/doc/latex/datetime2-basque/datetime2-basque.pdf deleted file mode 100644 index a6dd34b8233..00000000000 Binary files a/Master/texmf-dist/doc/latex/datetime2-basque/datetime2-basque.pdf and /dev/null differ diff --git a/Master/texmf-dist/source/latex/datetime2-basque/datetime2-basque.dtx b/Master/texmf-dist/source/latex/datetime2-basque/datetime2-basque.dtx index e779ebc511f..50dc35c5a2d 100644 --- a/Master/texmf-dist/source/latex/datetime2-basque/datetime2-basque.dtx +++ b/Master/texmf-dist/source/latex/datetime2-basque/datetime2-basque.dtx @@ -19,7 +19,8 @@ %\fi % \iffalse % Doc-Source file to use with LaTeX2e -% Copyright (C) 2015 Nicola Talbot, all rights reserved. +% Copyright (C) 2015 Nicola Talbot +% Copyright (C) 2015-2018 Zunbeltz Izaola, all rights reserved. % Maintainer Zunbeltz Izaola. Based on the basque-date package by Edorta Ibarra. % \fi % \iffalse @@ -61,7 +62,7 @@ % %\title{Basque Module for datetime2 Package} %\author{Zunbeltz Izaola \and Nicola L. C. Talbot (inactive)} -%\date{2015-03-29 (v1.2)} +%\date{2018-03-20 (v1.2a)} %\maketitle % % @@ -120,7 +121,7 @@ % % Identify Module % \begin{macrocode} -\ProvidesDateTimeModule{basque}[2015/03/29 v1.0] +\ProvidesDateTimeModule{basque}[2018/03/20 v1.2a] % \end{macrocode} % % Define a boolean to use the inessive case. It is not used by default. @@ -502,6 +503,7 @@ % Redefine \cs{datebasque} (or \cs{date}\meta{dialect}) to prevent % \sty{babel} from resetting \cs{today}. (For this to work, % \sty{babel} must already have been loaded if it's required.) +% \changes{v1.2a}{2018/03/20}{Suppress spurious space.} % \begin{macrocode} \ifcsundef{date\CurrentTrackedDialect} {% @@ -522,7 +524,7 @@ \DTMifcaseregional {}% do nothing {\DTMsetstyle{basque}}% - {\DTMsetstyle{basque-numeric}} + {\DTMsetstyle{basque-numeric}}% }% }% % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/datetime2-basque/datetime2-basque.ins b/Master/texmf-dist/source/latex/datetime2-basque/datetime2-basque.ins index 45445409205..22142c5eff3 100644 --- a/Master/texmf-dist/source/latex/datetime2-basque/datetime2-basque.ins +++ b/Master/texmf-dist/source/latex/datetime2-basque/datetime2-basque.ins @@ -3,7 +3,8 @@ \preamble datetime2-basque.dtx - Copyright 2015 Nicola Talbot + Copyright (C) 2015 Nicola Talbot + Copyright (C) 2015-2018 Zunbeltz Izaola This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime2-basque/datetime2-basque.ldf b/Master/texmf-dist/tex/latex/datetime2-basque/datetime2-basque.ldf index 6c21bfb7982..c2878c50e47 100644 --- a/Master/texmf-dist/tex/latex/datetime2-basque/datetime2-basque.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-basque/datetime2-basque.ldf @@ -7,7 +7,8 @@ %% datetime2-basque.dtx (with options: `datetime2-basque.ldf,package') %% %% datetime2-basque.dtx -%% Copyright 2015 Nicola Talbot +%% Copyright (C) 2015 Nicola Talbot +%% Copyright (C) 2015-2018 Zunbeltz Izaola %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -41,7 +42,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{basque}[2015/03/29 v1.0] +\ProvidesDateTimeModule{basque}[2018/03/20 v1.2a] \DTMdefboolkey{basque}{inessive}[false]{} \newcommand*{\DTMbasqueordinal}[1]{% @@ -142,7 +143,7 @@ eko \or ko \or ko \or ko \or eko \or ko \or ko \or ko \or ko \or eko \or ko \or ko \or ko \or ko \or eko \or ko \or ko \or ko - \or ko \or eko + \or ko \or eko \fi% } \newcommand*{\DTMbasquedatetimesep}{\space} @@ -309,7 +310,7 @@ \DTMifcaseregional {}% do nothing {\DTMsetstyle{basque}}% - {\DTMsetstyle{basque-numeric}} + {\DTMsetstyle{basque-numeric}}% }% }% \endinput -- cgit v1.2.3