summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-02-09 22:59:41 +0000
committerKarl Berry <karl@freefriends.org>2014-02-09 22:59:41 +0000
commit3c5263791a2db0a013beab5b5a3bcfed77acf2db (patch)
tree677f04634e8e4b12a7b3a4add6be6c91b18d7f32 /Master
parentd45c9a3cac64d7bf085c5991284536244b8cb94e (diff)
basque-book
git-svn-id: svn://tug.org/texlive/trunk@32924 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/basque-book/README26
-rw-r--r--Master/texmf-dist/doc/latex/basque-book/basque-book.pdfbin221437 -> 237949 bytes
-rw-r--r--Master/texmf-dist/doc/latex/basque-book/basque-book_EUS.pdfbin0 -> 201580 bytes
-rw-r--r--Master/texmf-dist/doc/latex/basque-book/basque-book_EUS.tex870
-rw-r--r--Master/texmf-dist/source/latex/basque-book/basque-book.dtx166
-rw-r--r--Master/texmf-dist/source/latex/basque-book/basque-book.ins31
-rw-r--r--Master/texmf-dist/tex/latex/basque-book/basque-book.cls20
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds23
8 files changed, 1091 insertions, 45 deletions
diff --git a/Master/texmf-dist/doc/latex/basque-book/README b/Master/texmf-dist/doc/latex/basque-book/README
index 713cc957a10..d594d860cbf 100644
--- a/Master/texmf-dist/doc/latex/basque-book/README
+++ b/Master/texmf-dist/doc/latex/basque-book/README
@@ -1,17 +1,27 @@
-The basque-book document class v1.20
+The basque-book document class v1.24
====================================
-Copyright (C) 2012, Edorta Ibarra
+Copyright (C) 2012-2014, Edorta Ibarra
+---------------------------------
Description
-----------
-The basque-book document class is a derived work from the widely used
-LaTeX standard book document class. The basque-book document class
-solves the grammatical and numeration issues that occur when book-type
-documents are written in Basque Language using LaTeX. The aforementioned
-document class results to be very useful to write books, PhD Theses,
-Master Theses, etc. in Basque Language.
+The class is derived from the LaTeX book document class. The extensions solve grammatical and numeration issues that occur when book-type documents are written in Basque.
+The class is useful for writing books, PhD Theses, etc. in Basque.
+
+
+Installation
+-----------
+
+To perform the installation, run basque-book.ins (in the same path of basque-book.dtx) through
+LaTeX. This action produces the following files: basque-book.cls and basque-book_[EUS].tex.
+
+To finish the installation you have to move the basque-book.cls file into a directory
+searched by TeX.
+
+To produce the English documentation run the file basque-book.dtx through LaTeX.
+To produce the Basque documentation run the file basque-book_[EUS].tex through LaTeX.
diff --git a/Master/texmf-dist/doc/latex/basque-book/basque-book.pdf b/Master/texmf-dist/doc/latex/basque-book/basque-book.pdf
index c38b6cb3b3c..831b7a6d2e3 100644
--- a/Master/texmf-dist/doc/latex/basque-book/basque-book.pdf
+++ b/Master/texmf-dist/doc/latex/basque-book/basque-book.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/basque-book/basque-book_EUS.pdf b/Master/texmf-dist/doc/latex/basque-book/basque-book_EUS.pdf
new file mode 100644
index 00000000000..d4fba69c7fc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/basque-book/basque-book_EUS.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/basque-book/basque-book_EUS.tex b/Master/texmf-dist/doc/latex/basque-book/basque-book_EUS.tex
new file mode 100644
index 00000000000..f6ead298a92
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/basque-book/basque-book_EUS.tex
@@ -0,0 +1,870 @@
+%%
+%% This is file `basque-book_[EUS].tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% basque-book.dtx (with options: `basque')
+%%
+%% Copyright (C) 2012-2014 by Edorta Ibarra
+%%
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.2 of this license or (at your option) any later
+%% version. The latest version of this license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.2 or later is part of all the distributions of
+%% LaTeX version 1999/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Edorta Ibarra.
+%%
+%% This work consists of the files basque-book.dtx, basque-book.ins
+%% and the derived files basque-book.cls, basque-book.pdf and
+%% basque-book_[EUS].pdf.
+%%
+%% Description
+%%
+%% The class is derived from the LaTeX book document class.
+%% The extensions solve grammatical and numeration issues
+%% that occur when book-type documents are written in Basque.
+%% The class is useful for writing books, PhD Theses, etc. in Basque.
+%%
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%%
+
+
+ %%%Documentation of basque-book document class in Basque
+ \documentclass{ltxdoc}
+ \begin{document}
+
+ \title{\textsf{basque-book} dokumentu-klasea\thanks{Fitxategi honek
+ (\textsf{basque-book.dtx}) 1.24. bertsioa du. Azken aldiz errebisatua: 2014-01-25.}}
+ \author{Edorta Ibarra\\\texttt{gautegiz@yahoo.es}}
+ \date{2014ko urtarrilaren 25a}
+ \renewcommand{\contentsname}{Aurkibidea}
+ \renewcommand{\refname}{Bibliografia}
+ \renewcommand\thesection{\arabic{section}.}
+ \renewcommand\thesubsection{\thesection \arabic{subsection}.}
+ \renewcommand{\abstractname}{Laburpena}
+ \maketitle
+
+ \begin{abstract}
+ \LaTeX -eko \verb|book| dokumentu-klasetik eratorritako klasea da hau.
+ Liburu-motako dokumentuak euskaraz idaztean gertatzen diren arazo gramatikalak
+ eta numerazio-arazoak konpontzen dituzte hedapenek.
+ Klase hau oso baliagarria da liburuak, doktorego-tesiak, etab. euskaraz idazteko.
+ \end{abstract}
+
+ \tableofcontents
+
+ \section{Euskara eta \LaTeX }
+
+ \subsection{Sarrera}
+ Oro har, ingelesarekin eta inglesaren antzeko hizkuntzekin lan egiteko dago \LaTeX\
+ diseinatuta. Euskarak ez du ingelesaren antzeko hizkuntzen egiturarik, eta ezta
+ numerazio-araurik ere. Arrazoi horiek direla-bide, gramatikalki
+ zuzenak diren eus\-karazko dokumentuak \LaTeX -ekin idaztea ez da beti erraza izaten.
+
+ Aipatutako arazo horiek aski ezagunak dira \LaTeX -erabiltzaile euskaldunen artean.
+ Adituak ez diren \LaTeX -erabiltzaile euskaldun gehientsuenek ez dute beraien kabuz
+ dokumentu-klaseak berdefinitzeko gaitasunik; \cite{bib1} erreferentzian aipatzen den
+ bezala, \LaTeX -eko dokumentu klaseak euskararako
+ berdefinitzea da arazo horri soluzioa emateko aukeretako bat.
+
+ \subsection{basque-book dokomentu-klasea}
+
+ \LaTeX -eko klase arruntenetakoa eta erabilienetakoa da \verb|book| dokumentu-klasea.
+ Alde horretatik, \verb|basque-book| izeneko klase eratorria eskeintzen da.
+ Klase horri esker, gramatika aldetik zuzenak diren euskarazko liburuak idatz daitezke,
+ eta dokumentu-klasearen kodean zuzenketak edota aldaketak egitea ez da beha\-rrezkoa.
+ Klase hori oso baliagarria da liburuak, doktorego-tesiak, etab. euskaraz idazteko.
+
+ \section{Dokumentu-klasea nola deitu}
+
+ \verb|\usepackage| komandoa erabiliz deitzen da
+ \verb|basque-book| dokumentu-klasea:\\ \verb|\documentclass[<options>]{basque-book}|.
+
+ \verb|book| dokumentu-klasearen aukera berdinak eskaintzen ditu \verb|basque-book|
+ klaseak.
+
+ \verb|basque-book| klaseak funtzionatu ahal izateko, beharrezkoa da \verb|basque-date|
+ paketea erabiltzea. Euskaltzaindiaren gomendioak jarraituz uneko data inprimatzen du
+ \verb|basque-date| paketeak. CTANen dago eskuragai aipatutako
+ paketea\footnote{http://ctan.org/tex-archive/macros/latex/contrib/basque-date}.
+
+ Bateraezintasun-arazoak direla-eta, ez da gomendagarria \verb|babel| paketea eta
+ \verb|basque-book| dokumentu-klasea batera erabiltzea (dokumentazioaren
+ ingelesezko bertsioan daude xehetasun teknikoak).
+
+ \section{Eskerrak}
+
+ Jose Ramon Etxebarriari eskerrak eman nahi dizkiot, \verb|basque-book| dokumentu-klasea
+ probatzeagatik eta hura hobetzeko gomendioak emateagatik.
+
+ \addcontentsline{toc}{section}{Bibliografia}
+
+ \begin{thebibliography}{99}
+ \bibitem{bib1} J. Arias, J. Lazaro, J. M. Aguirregabiria, ``Basque: A Case Study in Generalizing LaTeX Language Support," {\it International Conference on TeX, XML and Digital Typography}. pp. 27-33, 2004.
+ \end{thebibliography}
+
+ \appendix
+
+ \renewcommand\thesection{A.}
+ \renewcommand\thesubsection{\thesection \arabic{subsection}.}
+
+ \section{Eranskinak}
+
+ \subsection{Lizentzia}
+
+ Copyright 2012-2014 Edorta Ibarra.
+
+ CTAN fitxategietan banatutako \LaTeX\ proiektuko lizentzia
+ publikoaren terminoetan birbanatu edota alda daiteke
+ programa hau:
+
+ macros/latex/basee/lppl.txe; bai lizentziaren 1.2. bertsioaren
+ terminoetan, edota ondorengo edozein bertsioren terminoetan.
+
+ \subsection{Bertsioen historia}
+
+ \begin{itemize}
+ \item \textbf{v1.00. bertsioa (2012/05/03).} Garapenerako bertsio
+ ez-publikoa.
+ \item \textbf{v1.05. bertsioa (2012/05/22).} Lehenengo bertsio publikoa.
+ Azkenengo bertsioaren ezaugarri gehientsuenak ditu bertsio horrek.
+ \item \textbf{v1.20. bertsioa (2012/07/06).} Bigarren bertsio publikoa.
+ \begin{itemize}
+ \item[(a)] Irudien eta taulen oinak berdefinitu dira dokumentua irakurtzeko e\-rra\-zagoa
+ izan dadin.
+ \item[(b)] Programazio-errore txiki bat konpondu da
+ (\verb|\RequirePackage| komando bat faltan zegoen).
+ \item[(c)] Zenbait aldaketa txiki egin dira dokumentazioan.
+ \end{itemize}
+ \item \textbf{v1.24. bertsioa (2014/01/25).} Hirugarren bertsio publikoa.
+ \begin{itemize}
+ \item[(a)] Euskarazko dokumentazioa gehitu da \verb|.dtx| fitxategian.
+ \item[(b)] Ekuazioen numerazioarekin erlazionatutako errore bat arazi da doku\-mentu-klasean.
+ \end{itemize}
+ \end{itemize}
+ \subsection{Inplementazioa}
+ Ingelesezko dokumentazioan daude irakurgai dokumentu-klasearen
+ inplementazioari buruzko xehetasun teknikoak.
+ \end{document}
+\newcommand\@ptsize{}
+\newif\if@restonecol
+\newif\if@titlepage
+\@titlepagetrue
+\newif\if@openright
+\newif\if@mainmatter \@mainmattertrue
+\if@compatibility\else
+\DeclareOption{a4paper}
+ {\setlength\paperheight {297mm}%
+ \setlength\paperwidth {210mm}}
+\DeclareOption{a5paper}
+ {\setlength\paperheight {210mm}%
+ \setlength\paperwidth {148mm}}
+\DeclareOption{b5paper}
+ {\setlength\paperheight {250mm}%
+ \setlength\paperwidth {176mm}}
+\DeclareOption{letterpaper}
+ {\setlength\paperheight {11in}%
+ \setlength\paperwidth {8.5in}}
+\DeclareOption{legalpaper}
+ {\setlength\paperheight {14in}%
+ \setlength\paperwidth {8.5in}}
+\DeclareOption{executivepaper}
+ {\setlength\paperheight {10.5in}%
+ \setlength\paperwidth {7.25in}}
+\DeclareOption{landscape}
+ {\setlength\@tempdima {\paperheight}%
+ \setlength\paperheight {\paperwidth}%
+ \setlength\paperwidth {\@tempdima}}
+\fi
+\if@compatibility
+ \renewcommand\@ptsize{0}
+\else
+\DeclareOption{10pt}{\renewcommand\@ptsize{0}}
+\fi
+\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
+\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
+\if@compatibility\else
+\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
+\fi
+\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
+\DeclareOption{draft}{\setlength\overfullrule{5pt}}
+\if@compatibility\else
+\DeclareOption{final}{\setlength\overfullrule{0pt}}
+\fi
+\DeclareOption{titlepage}{\@titlepagetrue}
+\if@compatibility\else
+\DeclareOption{notitlepage}{\@titlepagefalse}
+\fi
+\if@compatibility
+\@openrighttrue
+\else
+\DeclareOption{openright}{\@openrighttrue}
+\DeclareOption{openany}{\@openrightfalse}
+\fi
+\if@compatibility\else
+\DeclareOption{onecolumn}{\@twocolumnfalse}
+\fi
+\DeclareOption{twocolumn}{\@twocolumntrue}
+\DeclareOption{leqno}{\input{leqno.clo}}
+\DeclareOption{fleqn}{\input{fleqn.clo}}
+\DeclareOption{openbib}{%
+ \AtEndOfPackage{%
+ \renewcommand\@openbib@code{%
+ \advance\leftmargin\bibindent
+ \itemindent -\bibindent
+ \listparindent \itemindent
+ \parsep \z@
+ }%
+ \renewcommand\newblock{\par}}%
+}
+\ExecuteOptions{letterpaper,10pt,twoside,onecolumn,final,openright}
+\ProcessOptions
+\input{bk1\@ptsize.clo}
+\setlength\lineskip{1\p@}
+\setlength\normallineskip{1\p@}
+\renewcommand\baselinestretch{}
+\setlength\parskip{0\p@ \@plus \p@}
+\@lowpenalty 51
+\@medpenalty 151
+\@highpenalty 301
+\setcounter{topnumber}{2}
+\renewcommand\topfraction{.7}
+\setcounter{bottomnumber}{1}
+\renewcommand\bottomfraction{.3}
+\setcounter{totalnumber}{3}
+\renewcommand\textfraction{.2}
+\renewcommand\floatpagefraction{.5}
+\setcounter{dbltopnumber}{2}
+\renewcommand\dbltopfraction{.7}
+\renewcommand\dblfloatpagefraction{.5}
+\if@twoside
+ \def\ps@headings{%
+ \let\@oddfoot\@empty\let\@evenfoot\@empty
+ \def\@evenhead{\thepage\hfil\slshape\leftmark}%
+ \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+ \let\@mkboth\markboth
+ \def\chaptermark##1{%
+ \markboth {{%
+ \ifnum \c@secnumdepth >\m@ne
+ \if@mainmatter
+ \thechapter\ \@chapapp .\ %
+ \fi
+ \fi
+ ##1}}{}}%
+ \def\sectionmark##1{%
+ \markright {{%
+ \ifnum \c@secnumdepth >\z@
+ \thesection \ %
+ \fi
+ ##1}}}}
+\else
+ \def\ps@headings{%
+ \let\@oddfoot\@empty
+ \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+ \let\@mkboth\markboth
+ \def\chaptermark##1{%
+ \markright {{%
+ \ifnum \c@secnumdepth >\m@ne
+ \if@mainmatter
+ \thechapter\ \@chapapp .\ %
+ \fi
+ \fi
+ ##1}}}}
+\fi
+\def\ps@myheadings{%
+ \let\@oddfoot\@empty\let\@evenfoot\@empty
+ \def\@evenhead{\thepage\hfil\slshape\leftmark}%
+ \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+ \let\@mkboth\@gobbletwo
+ \let\chaptermark\@gobble
+ \let\sectionmark\@gobble
+ }
+ \if@titlepage
+ \newcommand\maketitle{\begin{titlepage}%
+ \let\footnotesize\small
+ \let\footnoterule\relax
+ \let \footnote \thanks
+ \null\vfil
+ \vskip 60\p@
+ \begin{center}%
+ {\LARGE \@title \par}%
+ \vskip 3em%
+ {\large
+ \lineskip .75em%
+ \begin{tabular}[t]{c}%
+ \@author
+ \end{tabular}\par}%
+ \vskip 1.5em%
+ {\large \@date \par}% % Set date in \large size.
+ \end{center}\par
+ \@thanks
+ \vfil\null
+ \end{titlepage}%
+ \setcounter{footnote}{0}%
+ \global\let\thanks\relax
+ \global\let\maketitle\relax
+ \global\let\@thanks\@empty
+ \global\let\@author\@empty
+ \global\let\@date\@empty
+ \global\let\@title\@empty
+ \global\let\title\relax
+ \global\let\author\relax
+ \global\let\date\relax
+ \global\let\and\relax
+}
+\else
+\newcommand\maketitle{\par
+ \begingroup
+ \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+ \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
+ \long\def\@makefntext##1{\parindent 1em\noindent
+ \hb@xt@1.8em{%
+ \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
+ \if@twocolumn
+ \ifnum \col@number=\@ne
+ \@maketitle
+ \else
+ \twocolumn[\@maketitle]%
+ \fi
+ \else
+ \newpage
+ \global\@topnum\z@ % Prevents figures from going at top of page.
+ \@maketitle
+ \fi
+ \thispagestyle{plain}\@thanks
+ \endgroup
+ \setcounter{footnote}{0}%
+ \global\let\thanks\relax
+ \global\let\maketitle\relax
+ \global\let\@maketitle\relax
+ \global\let\@thanks\@empty
+ \global\let\@author\@empty
+ \global\let\@date\@empty
+ \global\let\@title\@empty
+ \global\let\title\relax
+ \global\let\author\relax
+ \global\let\date\relax
+ \global\let\and\relax
+}
+\def\@maketitle{%
+ \newpage
+ \null
+ \vskip 2em%
+ \begin{center}%
+ \let \footnote \thanks
+ {\LARGE \@title \par}%
+ \vskip 1.5em%
+ {\large
+ \lineskip .5em%
+ \begin{tabular}[t]{c}%
+ \@author
+ \end{tabular}\par}%
+ \vskip 1em%
+ {\large \@date}%
+ \end{center}%
+ \par
+ \vskip 1.5em}
+\fi
+\newcommand*\chaptermark[1]{}
+\setcounter{secnumdepth}{2}
+\newcounter {part}
+\newcounter {chapter}
+\newcounter {section}[chapter]
+\newcounter {subsection}[section]
+\newcounter {subsubsection}[subsection]
+\newcounter {paragraph}[subsubsection]
+\newcounter {subparagraph}[paragraph]
+\renewcommand\thepart {\Roman{part}.}
+\renewcommand\thechapter {\arabic{chapter}.}
+\renewcommand\thesection {\thechapter \arabic{section}.}
+\renewcommand\thesubsection {\thesection \arabic{subsection}.}
+\renewcommand\thesubsubsection {\thesubsection \arabic{subsubsection}.}
+\renewcommand\theparagraph {\thesubsubsection \arabic{paragraph}.}
+\renewcommand\thesubparagraph {\theparagraph \arabic{subparagraph}.}
+\newcommand\@chapapp{\chaptername}
+\newcommand\frontmatter{%
+ \cleardoublepage
+ \@mainmatterfalse
+ \pagenumbering{roman}}
+\newcommand\mainmatter{%
+ \cleardoublepage
+ \@mainmattertrue
+ \pagenumbering{arabic}}
+\newcommand\backmatter{%
+ \if@openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \@mainmatterfalse}
+\newcommand\part{%
+ \if@openright
+ \cleardoublepage
+ \else
+ \clearpage
+ \fi
+ \thispagestyle{plain}%
+ \if@twocolumn
+ \onecolumn
+ \@tempswatrue
+ \else
+ \@tempswafalse
+ \fi
+ \null\vfil
+ \secdef\@part\@spart}
+\def\@part[#1]#2{%
+ \ifnum \c@secnumdepth >-2\relax
+ \refstepcounter{part}%
+ \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
+ \else
+ \addcontentsline{toc}{part}{#1}%
+ \fi
+ \markboth{}{}%
+ {\centering
+ \interlinepenalty \@M
+ \normalfont
+ \ifnum \c@secnumdepth >-2\relax
+ \huge\bfseries \thepart\nobreakspace\partname
+ \par
+ \vskip 20\p@
+ \fi
+ \Huge \bfseries #2\par}%
+ \@endpart}
+\def\@spart#1{%
+ {\centering
+ \interlinepenalty \@M
+ \normalfont
+ \Huge \bfseries #1\par}%
+ \@endpart}
+\def\@endpart{\vfil\newpage
+ \if@twoside
+ \if@openright
+ \null
+ \thispagestyle{empty}%
+ \newpage
+ \fi
+ \fi
+ \if@tempswa
+ \twocolumn
+ \fi}
+\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
+ \thispagestyle{plain}%
+ \global\@topnum\z@
+ \@afterindentfalse
+ \secdef\@chapter\@schapter}
+\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
+ \if@mainmatter
+ \refstepcounter{chapter}%
+ \typeout{\thechapter\space\@chapapp}%
+ \addcontentsline{toc}{chapter}%
+ {\protect\numberline{\thechapter}#1}%
+ \else
+ \addcontentsline{toc}{chapter}{#1}%
+ \fi
+ \else
+ \addcontentsline{toc}{chapter}{#1}%
+ \fi
+ \chaptermark{#1}%
+ \addtocontents{lof}{\protect\addvspace{10\p@}}%
+ \addtocontents{lot}{\protect\addvspace{10\p@}}%
+ \if@twocolumn
+ \@topnewpage[\@makechapterhead{#2}]%
+ \else
+ \@makechapterhead{#2}%
+ \@afterheading
+ \fi}
+\def\@makechapterhead#1{%
+ \vspace*{50\p@}%
+ {\parindent \z@ \raggedright \normalfont
+ \ifnum \c@secnumdepth >\m@ne
+ \if@mainmatter
+ \huge\bfseries \thechapter\space\@chapapp
+ \par\nobreak
+ \vskip 20\p@
+ \fi
+ \fi
+ \interlinepenalty\@M
+ \Huge \bfseries #1\par\nobreak
+ \vskip 40\p@
+ }}
+\def\@schapter#1{\if@twocolumn
+ \@topnewpage[\@makeschapterhead{#1}]%
+ \else
+ \@makeschapterhead{#1}%
+ \@afterheading
+ \fi}
+\def\@makeschapterhead#1{%
+ \vspace*{50\p@}%
+ {\parindent \z@ \raggedright
+ \normalfont
+ \interlinepenalty\@M
+ \Huge \bfseries #1\par\nobreak
+ \vskip 40\p@
+ }}
+\newcommand\section{\@startsection {section}{1}{\z@}%
+ {-3.5ex \@plus -1ex \@minus -.2ex}%
+ {2.3ex \@plus.2ex}%
+ {\normalfont\Large\bfseries}}
+\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1.5ex \@plus .2ex}%
+ {\normalfont\large\bfseries}}
+\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1.5ex \@plus .2ex}%
+ {\normalfont\normalsize\bfseries}}
+\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+ {3.25ex \@plus1ex \@minus.2ex}%
+ {-1em}%
+ {\normalfont\normalsize\bfseries}}
+\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+ {3.25ex \@plus1ex \@minus .2ex}%
+ {-1em}%
+ {\normalfont\normalsize\bfseries}}
+\if@twocolumn
+ \setlength\leftmargini {2em}
+\else
+ \setlength\leftmargini {2.5em}
+\fi
+\leftmargin \leftmargini
+\setlength\leftmarginii {2.2em}
+\setlength\leftmarginiii {1.87em}
+\setlength\leftmarginiv {1.7em}
+\if@twocolumn
+ \setlength\leftmarginv {.5em}
+ \setlength\leftmarginvi {.5em}
+\else
+ \setlength\leftmarginv {1em}
+ \setlength\leftmarginvi {1em}
+\fi
+\setlength \labelsep {.5em}
+\setlength \labelwidth{\leftmargini}
+\addtolength\labelwidth{-\labelsep}
+\@beginparpenalty -\@lowpenalty
+\@endparpenalty -\@lowpenalty
+\@itempenalty -\@lowpenalty
+\renewcommand\theenumi{\@arabic\c@enumi}
+\renewcommand\theenumii{\@alph\c@enumii}
+\renewcommand\theenumiii{\@roman\c@enumiii}
+\renewcommand\theenumiv{\@Alph\c@enumiv}
+\newcommand\labelenumi{\theenumi.}
+\newcommand\labelenumii{(\theenumii)}
+\newcommand\labelenumiii{\theenumiii.}
+\newcommand\labelenumiv{\theenumiv.}
+\renewcommand\p@enumii{\theenumi}
+\renewcommand\p@enumiii{\theenumi(\theenumii)}
+\renewcommand\p@enumiv{\p@enumiii\theenumiii}
+\newcommand\labelitemi{\textbullet}
+\newcommand\labelitemii{\normalfont\bfseries \textendash}
+\newcommand\labelitemiii{\textasteriskcentered}
+\newcommand\labelitemiv{\textperiodcentered}
+\newenvironment{description}
+ {\list{}{\labelwidth\z@ \itemindent-\leftmargin
+ \let\makelabel\descriptionlabel}}
+ {\endlist}
+\newcommand*\descriptionlabel[1]{\hspace\labelsep
+ \normalfont\bfseries #1}
+\newenvironment{verse}
+ {\let\\\@centercr
+ \list{}{\itemsep \z@
+ \itemindent -1.5em%
+ \listparindent\itemindent
+ \rightmargin \leftmargin
+ \advance\leftmargin 1.5em}%
+ \item\relax}
+ {\endlist}
+\newenvironment{quotation}
+ {\list{}{\listparindent 1.5em%
+ \itemindent \listparindent
+ \rightmargin \leftmargin
+ \parsep \z@ \@plus\p@}%
+ \item\relax}
+ {\endlist}
+\newenvironment{quote}
+ {\list{}{\rightmargin\leftmargin}%
+ \item\relax}
+ {\endlist}
+\if@compatibility
+\newenvironment{titlepage}
+ {%
+ \cleardoublepage
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse\newpage
+ \fi
+ \thispagestyle{empty}%
+ \setcounter{page}\z@
+ }%
+ {\if@restonecol\twocolumn \else \newpage \fi
+ }
+\else
+\newenvironment{titlepage}
+ {%
+ \cleardoublepage
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse\newpage
+ \fi
+ \thispagestyle{empty}%
+ \setcounter{page}\@ne
+ }%
+ {\if@restonecol\twocolumn \else \newpage \fi
+ \if@twoside\else
+ \setcounter{page}\@ne
+ \fi
+ }
+\fi
+\newcommand\appendix{\par
+ \setcounter{chapter}{0}%
+ \setcounter{section}{0}%
+ \gdef\@chapapp{\appendixname}%
+ \gdef\thechapter{\@Alph\c@chapter.}}
+\setlength\arraycolsep{5\p@}
+\setlength\tabcolsep{6\p@}
+\setlength\arrayrulewidth{.4\p@}
+\setlength\doublerulesep{2\p@}
+\setlength\tabbingsep{\labelsep}
+\skip\@mpfootins = \skip\footins
+\setlength\fboxsep{3\p@}
+\setlength\fboxrule{.4\p@}
+\@addtoreset {equation}{chapter}
+\renewcommand\theequation
+ {\ifnum \c@chapter>\z@ \thechapter\fi \@arabic\c@equation}
+\newcounter{figure}[chapter]
+\renewcommand \thefigure
+ {\ifnum \c@chapter>\z@ \thechapter\fi \@arabic\c@figure.}
+\def\fps@figure{tbp}
+\def\ftype@figure{1}
+\def\ext@figure{lof}
+\def\fnum@figure{\textbf{\thefigure\nobreakspace\figurename}}
+\newenvironment{figure}
+ {\@float{figure}}
+ {\end@float}
+\newenvironment{figure*}
+ {\@dblfloat{figure}}
+ {\end@dblfloat}
+\newcounter{table}[chapter]
+\renewcommand \thetable
+ {\ifnum \c@chapter>\z@ \thechapter\fi \@arabic\c@table.}
+\def\fps@table{tbp}
+\def\ftype@table{2}
+\def\ext@table{lot}
+\def\fnum@table{\textbf{\thetable\nobreakspace\tablename}}
+\newenvironment{table}
+ {\@float{table}}
+ {\end@float}
+\newenvironment{table*}
+ {\@dblfloat{table}}
+ {\end@dblfloat}
+\newlength\abovecaptionskip
+\newlength\belowcaptionskip
+\setlength\abovecaptionskip{10\p@}
+\setlength\belowcaptionskip{10\p@}
+\newlength{\@contcwidth}
+\newcommand{\captionwidth}[1]{\setlength{\@contcwidth}{#1}}
+\captionwidth{0.85\textwidth}
+\long\def\@makecaption#1#2{%
+\centering
+\parbox{\@contcwidth}{
+ \vskip\abovecaptionskip
+ \sbox\@tempboxa{\small #1\textbf{.} #2}%
+ \ifdim \wd\@tempboxa >\hsize
+ \small #1\textbf{.} #2\par
+ \else
+ \global \@minipagefalse
+ \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+ \fi
+ \vskip\belowcaptionskip}%end parbox
+} %end @makecaption
+\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
+\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
+\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
+\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
+\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
+\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
+\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
+\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
+\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
+\newcommand\@pnumwidth{1.55em}
+\newcommand\@tocrmarg{2.55em}
+\newcommand\@dotsep{4.5}
+\setcounter{tocdepth}{2}
+\newcommand\tableofcontents{%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \chapter*{\contentsname
+ \@mkboth{%
+ \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
+ \@starttoc{toc}%
+ \if@restonecol\twocolumn\fi
+ }
+\newcommand*\l@part[2]{%
+ \ifnum \c@tocdepth >-2\relax
+ \addpenalty{-\@highpenalty}%
+ \addvspace{2.25em \@plus\p@}%
+ \setlength\@tempdima{3em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ {\leavevmode
+ \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
+ \nobreak
+ \global\@nobreaktrue
+ \everypar{\global\@nobreakfalse\everypar{}}%
+ \endgroup
+ \fi}
+\newcommand*\l@chapter[2]{%
+ \ifnum \c@tocdepth >\m@ne
+ \addpenalty{-\@highpenalty}%
+ \vskip 1.0em \@plus\p@
+ \setlength\@tempdima{1.5em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \leavevmode \bfseries
+ \advance\leftskip\@tempdima
+ \hskip -\leftskip
+ #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+ \penalty\@highpenalty
+ \endgroup
+ \fi}
+\newcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
+\newcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
+\newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
+\newcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}}
+\newcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}}
+\newcommand\listoffigures{%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \chapter*{\listfigurename}%
+ \@mkboth{\MakeUppercase\listfigurename}%
+ {\MakeUppercase\listfigurename}%
+ \@starttoc{lof}%
+ \if@restonecol\twocolumn\fi
+ }
+\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
+\newcommand\listoftables{%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse
+ \fi
+ \chapter*{\listtablename}%
+ \@mkboth{%
+ \MakeUppercase\listtablename}%
+ {\MakeUppercase\listtablename}%
+ \@starttoc{lot}%
+ \if@restonecol\twocolumn\fi
+ }
+\let\l@table\l@figure
+\newdimen\bibindent
+\setlength\bibindent{1.5em}
+\newenvironment{thebibliography}[1]
+ {\chapter*{\bibname}%
+ \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
+ \list{\@biblabel{\@arabic\c@enumiv}}%
+ {\settowidth\labelwidth{\@biblabel{#1}}%
+ \leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \@openbib@code
+ \usecounter{enumiv}%
+ \let\p@enumiv\@empty
+ \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+ \sloppy
+ \clubpenalty4000
+ \@clubpenalty \clubpenalty
+ \widowpenalty4000%
+ \sfcode`\.\@m}
+ {\def\@noitemerr
+ {\@latex@warning{Empty `thebibliography' environment}}%
+ \endlist}
+\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
+\let\@openbib@code\@empty
+\newenvironment{theindex}
+ {\if@twocolumn
+ \@restonecolfalse
+ \else
+ \@restonecoltrue
+ \fi
+ \twocolumn[\@makeschapterhead{\indexname}]%
+ \@mkboth{\MakeUppercase\indexname}%
+ {\MakeUppercase\indexname}%
+ \thispagestyle{plain}\parindent\z@
+ \parskip\z@ \@plus .3\p@\relax
+ \columnseprule \z@
+ \columnsep 35\p@
+ \let\item\@idxitem}
+ {\if@restonecol\onecolumn\else\clearpage\fi}
+\newcommand\@idxitem{\par\hangindent 40\p@}
+\newcommand\subitem{\@idxitem \hspace*{20\p@}}
+\newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
+\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
+\renewcommand\footnoterule{%
+ \kern-3\p@
+ \hrule\@width.4\columnwidth
+ \kern2.6\p@}
+\@addtoreset{footnote}{chapter}
+\newcommand\@makefntext[1]{%
+ \parindent 1em%
+ \noindent
+ \hb@xt@1.8em{\hss\@makefnmark}#1}
+\newcommand\contentsname{Aurkibidea}
+\newcommand\listfigurename{Irudien zerrenda}
+\newcommand\listtablename{Taulen zerrenda}
+\newcommand\bibname{Bibliografia}
+\newcommand\indexname{Indizea}
+\newcommand\figurename{irudia}
+\newcommand\tablename{taula}
+\newcommand\partname{atala}
+\newcommand\chaptername{k\vspace{0.01cm}apitulua}
+\newcommand\appendixname{eranskina}
+\def\today{\eusdata}
+\setlength\columnsep{10\p@}
+\setlength\columnseprule{0\p@}
+\pagestyle{headings}
+\pagenumbering{arabic}
+\if@twoside
+\else
+ \raggedbottom
+\fi
+\if@twocolumn
+ \twocolumn
+ \sloppy
+ \flushbottom
+\else
+ \onecolumn
+\fi
+\endinput
+%%
+%% End of file `basque-book_[EUS].tex'.
diff --git a/Master/texmf-dist/source/latex/basque-book/basque-book.dtx b/Master/texmf-dist/source/latex/basque-book/basque-book.dtx
index a5ac02394d0..507ca25f1f8 100644
--- a/Master/texmf-dist/source/latex/basque-book/basque-book.dtx
+++ b/Master/texmf-dist/source/latex/basque-book/basque-book.dtx
@@ -1,6 +1,7 @@
% \iffalse meta-comment
%
-% Copyright (C) 2012 by Edorta Ibarra
+% Copyright (C) 2012-2014 by Edorta Ibarra
+% -----------------------------------
%
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -12,7 +13,13 @@
% and version 1.2 or later is part of all the distributions of
% LaTeX version 1999/12/01 or later.
%
-% This documment class is maintained by Edorta Ibarra
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Edorta Ibarra.
+%
+% This work consists of the files basque-book.dtx, basque-book.ins
+% and the derived files basque-book.cls, basque-book.pdf and
+% basque-book_[EUS].pdf.
%
% \fi
%
@@ -55,13 +62,15 @@
% \changes{v1.00}{12/05/03}{First version}
% \changes{v1.05}{12/05/22}{First public version}
% \changes{v1.20}{12/07/05}{Captions of tables and figures improved}
+% \changes{v1.22}{12/07/11}{Documentation in Basque included}
+% \changes{v1.24}{14/01/25}{Bugs fixed}
%
% \GetFileInfo{basque-book.cls}
%
-% \title{The \textsf{basque-book} document class\thanks{This file has version
-% v1.20 last revised 2012-07-06.}}
+% \title{The \textsf{basque-book} document class\thanks{This file (\textsf{basque-book.dtx})
+% has version v1.24 last revised 2014-01-25.}}
% \author{Edorta Ibarra\\\texttt{gautegiz@yahoo.es}}
-%
+% \date{2014-01-25}
% \maketitle
% \begin{abstract}
@@ -73,7 +82,7 @@
%
% \tableofcontents
%
-% \section{Basque Language and LaTeX}
+% \section{Basque Language and \LaTeX }
%
% \subsection{Introduction}
%
@@ -121,7 +130,7 @@
% \section{Acknowledgements}
%
% I would like to thank Jose Ramon Etxebarria, who tested the package
-% \verb|basque-date| and made suggestions that helped to improve it.
+% \verb|basque-book| and made suggestions that helped to improve it.
%
% \addcontentsline{toc}{section}{References}
%
@@ -135,7 +144,7 @@
%
% \subsection{License}
%
-% Copyright 2012 Edorta Ibarra.
+% Copyright 2012-2014 Edorta Ibarra.
%
% This program can be redistributed and/or modified under the terms of the
% \LaTeX\ Project Public License Distributed from CTAN archives in directory
@@ -146,19 +155,147 @@
% \subsection{Version history}
%
% \begin{itemize}
-% \item \textbf{Version v1.00 (12/05/03).} Initial non-public
+% \item \textbf{Version v1.00 (2012/05/03).} Initial non-public
% version for development.
-% \item \textbf{Version v1.05 (12/05/22).} First public version.
+% \item \textbf{Version v1.05 (2012/05/22).} First public version.
% This version included most of the current features.
-% \item \textbf{Version v1.20 (12/07/06).} Second public version.
+% \item \textbf{Version v1.20 (2012/07/06).} Second public version.
% \begin{itemize}
% \item[(a)] Captions for tables and figures
% were redefined in order to improve the readability of the document.
-% \item[(b)] A minor bugg was corrected (a missing \verb|\RequirePackage|).
+% \item[(b)] A minor bug was corrected (a missing \verb|\RequirePackage|).
% \item[(c)] Some minor changes were performed in the documentation.
% \end{itemize}
+% \item \textbf{Version v1.24 (2014/01/25).} Third public version.
+% \begin{itemize}
+% \item[(a)] Documentation in Basque was provided in the \verb|.dtx| file.
+% \item[(b)] A bug related with equation numbering was fixed.
+% \end{itemize}
% \end{itemize}
%
+%
+%
+% \iffalse
+%<basque>
+%<basque> %%%Documentation of basque-book document class in Basque
+%<basque> \documentclass{ltxdoc}
+%<basque> \begin{document}
+%<basque>
+%<basque> \title{\textsf{basque-book} dokumentu-klasea\thanks{Fitxategi honek
+%<basque> (\textsf{basque-book.dtx}) 1.24. bertsioa du. Azken aldiz errebisatua: 2014-01-25.}}
+%<basque> \author{Edorta Ibarra\\\texttt{gautegiz@yahoo.es}}
+%<basque> \date{2014ko urtarrilaren 25a}
+%<basque> \renewcommand{\contentsname}{Aurkibidea}
+%<basque> \renewcommand{\refname}{Bibliografia}
+%<basque> \renewcommand\thesection{\arabic{section}.}
+%<basque> \renewcommand\thesubsection{\thesection \arabic{subsection}.}
+%<basque> \renewcommand{\abstractname}{Laburpena}
+%<basque> \maketitle
+%<basque>
+%<basque> \begin{abstract}
+%<basque> \LaTeX -eko \verb|book| dokumentu-klasetik eratorritako klasea da hau.
+%<basque> Liburu-motako dokumentuak euskaraz idaztean gertatzen diren arazo gramatikalak
+%<basque> eta numerazio-arazoak konpontzen dituzte hedapenek.
+%<basque> Klase hau oso baliagarria da liburuak, doktorego-tesiak, etab. euskaraz idazteko.
+%<basque> \end{abstract}
+%<basque>
+%<basque> \tableofcontents
+%<basque>
+%<basque> \section{Euskara eta \LaTeX }
+%<basque>
+%<basque> \subsection{Sarrera}
+%<basque> Oro har, ingelesarekin eta inglesaren antzeko hizkuntzekin lan egiteko dago \LaTeX\
+%<basque> diseinatuta. Euskarak ez du ingelesaren antzeko hizkuntzen egiturarik, eta ezta
+%<basque> numerazio-araurik ere. Arrazoi horiek direla-bide, gramatikalki
+%<basque> zuzenak diren eus\-karazko dokumentuak \LaTeX -ekin idaztea ez da beti erraza izaten.
+%<basque>
+%<basque> Aipatutako arazo horiek aski ezagunak dira \LaTeX -erabiltzaile euskaldunen artean.
+%<basque> Adituak ez diren \LaTeX -erabiltzaile euskaldun gehientsuenek ez dute beraien kabuz
+%<basque> dokumentu-klaseak berdefinitzeko gaitasunik; \cite{bib1} erreferentzian aipatzen den
+%<basque> bezala, \LaTeX -eko dokumentu klaseak euskararako
+%<basque> berdefinitzea da arazo horri soluzioa emateko aukeretako bat.
+%<basque>
+%<basque> \subsection{basque-book dokomentu-klasea}
+%<basque>
+%<basque> \LaTeX -eko klase arruntenetakoa eta erabilienetakoa da \verb|book| dokumentu-klasea.
+%<basque> Alde horretatik, \verb|basque-book| izeneko klase eratorria eskeintzen da.
+%<basque> Klase horri esker, gramatika aldetik zuzenak diren euskarazko liburuak idatz daitezke,
+%<basque> eta dokumentu-klasearen kodean zuzenketak edota aldaketak egitea ez da beha\-rrezkoa.
+%<basque> Klase hori oso baliagarria da liburuak, doktorego-tesiak, etab. euskaraz idazteko.
+%<basque>
+%<basque> \section{Dokumentu-klasea nola deitu}
+%<basque>
+%<basque> \verb|\usepackage| komandoa erabiliz deitzen da
+%<basque> \verb|basque-book| dokumentu-klasea:\\ \verb|\documentclass[<options>]{basque-book}|.
+%<basque>
+%<basque> \verb|book| dokumentu-klasearen aukera berdinak eskaintzen ditu \verb|basque-book|
+%<basque> klaseak.
+%<basque>
+%<basque> \verb|basque-book| klaseak funtzionatu ahal izateko, beharrezkoa da \verb|basque-date|
+%<basque> paketea erabiltzea. Euskaltzaindiaren gomendioak jarraituz uneko data inprimatzen du
+%<basque> \verb|basque-date| paketeak. CTANen dago eskuragai aipatutako
+%<basque> paketea\footnote{http://ctan.org/tex-archive/macros/latex/contrib/basque-date}.
+%<basque>
+%<basque> Bateraezintasun-arazoak direla-eta, ez da gomendagarria \verb|babel| paketea eta
+%<basque> \verb|basque-book| dokumentu-klasea batera erabiltzea (dokumentazioaren
+%<basque> ingelesezko bertsioan daude xehetasun teknikoak).
+%<basque>
+%<basque> \section{Eskerrak}
+%<basque>
+%<basque> Jose Ramon Etxebarriari eskerrak eman nahi dizkiot, \verb|basque-book| dokumentu-klasea
+%<basque> probatzeagatik eta hura hobetzeko gomendioak emateagatik.
+%<basque>
+%<basque> \addcontentsline{toc}{section}{Bibliografia}
+%<basque>
+%<basque> \begin{thebibliography}{99}
+%<basque> \bibitem{bib1} J. Arias, J. Lazaro, J. M. Aguirregabiria, ``Basque: A Case Study in Generalizing LaTeX Language Support," {\it International Conference on TeX, XML and Digital Typography}. pp. 27-33, 2004.
+%<basque> \end{thebibliography}
+%<basque>
+%<basque> \appendix
+%<basque>
+%<basque> \renewcommand\thesection{A.}
+%<basque> \renewcommand\thesubsection{\thesection \arabic{subsection}.}
+%<basque>
+%<basque> \section{Eranskinak}
+%<basque>
+%<basque> \subsection{Lizentzia}
+%<basque>
+%<basque> Copyright 2012-2014 Edorta Ibarra.
+%<basque>
+%<basque> CTAN fitxategietan banatutako \LaTeX\ proiektuko lizentzia
+%<basque> publikoaren terminoetan birbanatu edota alda daiteke
+%<basque> programa hau:
+%<basque>
+%<basque> macros/latex/basee/lppl.txe; bai lizentziaren 1.2. bertsioaren
+%<basque> terminoetan, edota ondorengo edozein bertsioren terminoetan.
+%<basque>
+%<basque> \subsection{Bertsioen historia}
+%<basque>
+%<basque> \begin{itemize}
+%<basque> \item \textbf{v1.00. bertsioa (2012/05/03).} Garapenerako bertsio
+%<basque> ez-publikoa.
+%<basque> \item \textbf{v1.05. bertsioa (2012/05/22).} Lehenengo bertsio publikoa.
+%<basque> Azkenengo bertsioaren ezaugarri gehientsuenak ditu bertsio horrek.
+%<basque> \item \textbf{v1.20. bertsioa (2012/07/06).} Bigarren bertsio publikoa.
+%<basque> \begin{itemize}
+%<basque> \item[(a)] Irudien eta taulen oinak berdefinitu dira dokumentua irakurtzeko e\-rra\-zagoa
+%<basque> izan dadin.
+%<basque> \item[(b)] Programazio-errore txiki bat konpondu da
+%<basque> (\verb|\RequirePackage| komando bat faltan zegoen).
+%<basque> \item[(c)] Zenbait aldaketa txiki egin dira dokumentazioan.
+%<basque> \end{itemize}
+%<basque> \item \textbf{v1.24. bertsioa (2014/01/25).} Hirugarren bertsio publikoa.
+%<basque> \begin{itemize}
+%<basque> \item[(a)] Euskarazko dokumentazioa gehitu da \verb|.dtx| fitxategian.
+%<basque> \item[(b)] Ekuazioen numerazioarekin erlazionatutako errore bat arazi da doku\-mentu-klasean.
+%<basque> \end{itemize}
+%<basque> \end{itemize}
+%<basque> \subsection{Inplementazioa}
+%<basque> Ingelesezko dokumentazioan daude irakurgai dokumentu-klasearen
+%<basque> inplementazioari buruzko xehetasun teknikoak.
+%<basque> \end{document}
+% \fi
+%
% \subsection{Implementation}\label{imple}
%
% No changes from the standard \verb|book| document class are implemented
@@ -672,8 +809,11 @@
\setlength\fboxsep{3\p@}
\setlength\fboxrule{.4\p@}
\@addtoreset {equation}{chapter}
+% \end{macrocode}
+% \DescribeMacro{\theequation} The dot after \verb|\thechapter| is eliminated in order to print the equation numbering correctly (without an extra dot):
+% \begin{macrocode}
\renewcommand\theequation
- {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation}
+ {\ifnum \c@chapter>\z@ \thechapter\fi \@arabic\c@equation}
\newcounter{figure}[chapter]
% \end{macrocode}
% \DescribeMacro{\thefigure} Similarly, an extra dot is added in \verb|\thefigure|:
diff --git a/Master/texmf-dist/source/latex/basque-book/basque-book.ins b/Master/texmf-dist/source/latex/basque-book/basque-book.ins
index 80cec6fdc44..b525a2b1b73 100644
--- a/Master/texmf-dist/source/latex/basque-book/basque-book.ins
+++ b/Master/texmf-dist/source/latex/basque-book/basque-book.ins
@@ -1,5 +1,5 @@
-%%
-%% Copyright (C) 2012 by Edorta Ibarra
+%% Copyright (C) 2012-2014 by Edorta Ibarra
+%% -----------------------------------
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -11,7 +11,13 @@
%% and version 1.2 or later is part of all the distributions of
%% LaTeX version 1999/12/01 or later.
%%
-%% This document class is maintained by Edorta Ibarra
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Edorta Ibarra.
+%%
+%% This work consists of the files basque-book.dtx, basque-book.ins
+%% and the derived files basque-book.cls, basque-book.pdf and
+%% basque-book_[EUS].pdf.
\input docstrip.tex
@@ -21,7 +27,7 @@
\preamble
-Copyright (C) 2012 by Edorta Ibarra
+Copyright (C) 2012-2014 by Edorta Ibarra
This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
@@ -33,17 +39,26 @@ version. The latest version of this license is in:
and version 1.2 or later is part of all the distributions of
LaTeX version 1999/12/01 or later.
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Edorta Ibarra.
+
+This work consists of the files basque-book.dtx, basque-book.ins
+and the derived files basque-book.cls, basque-book.pdf and
+basque-book_[EUS].pdf.
+
Description
-The basque-book document class is a derived work from the LaTeX
-standard book document class. This class solves the gramatical issues
-that occur when book-type documents are written in Basque using LaTeX.
+The class is derived from the LaTeX book document class.
+The extensions solve grammatical and numeration issues
+that occur when book-type documents are written in Basque.
+The class is useful for writing books, PhD Theses, etc. in Basque.
-This document class is maintained by Edorta Ibarra
\endpreamble
\generate{\file{basque-book.cls}{\from{basque-book.dtx}{package}}}
+\generate{\file{basque-book_[EUS].tex}{\from{basque-book.dtx}{basque}}}
\obeyspaces
\Msg{****************************************************}
diff --git a/Master/texmf-dist/tex/latex/basque-book/basque-book.cls b/Master/texmf-dist/tex/latex/basque-book/basque-book.cls
index 412274e9396..ef59d018c5d 100644
--- a/Master/texmf-dist/tex/latex/basque-book/basque-book.cls
+++ b/Master/texmf-dist/tex/latex/basque-book/basque-book.cls
@@ -6,7 +6,7 @@
%%
%% basque-book.dtx (with options: `package')
%%
-%% Copyright (C) 2012 by Edorta Ibarra
+%% Copyright (C) 2012-2014 by Edorta Ibarra
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -18,13 +18,21 @@
%% and version 1.2 or later is part of all the distributions of
%% LaTeX version 1999/12/01 or later.
%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Edorta Ibarra.
+%%
+%% This work consists of the files basque-book.dtx, basque-book.ins
+%% and the derived files basque-book.cls, basque-book.pdf and
+%% basque-book_[EUS].pdf.
+%%
%% Description
%%
-%% The basque-book document class is a derived work from the LaTeX
-%% standard book document class. This class solves the gramatical issues
-%% that occur when book-type documents are written in Basque using LaTeX.
+%% The class is derived from the LaTeX book document class.
+%% The extensions solve grammatical and numeration issues
+%% that occur when book-type documents are written in Basque.
+%% The class is useful for writing books, PhD Theses, etc. in Basque.
%%
-%% This document class is maintained by Edorta Ibarra
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{basque-book}
@@ -532,7 +540,7 @@
\setlength\fboxrule{.4\p@}
\@addtoreset {equation}{chapter}
\renewcommand\theequation
- {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation}
+ {\ifnum \c@chapter>\z@ \thechapter\fi \@arabic\c@equation}
\newcounter{figure}[chapter]
\renewcommand \thefigure
{\ifnum \c@chapter>\z@ \thechapter\fi \@arabic\c@figure.}
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index cd2288c2251..dd04a135ad9 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1196,7 +1196,6 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'pxbase' => '&POSTpxbase',
'pxchfon' => '&POSTpxchfon',
'splitindex' => '&POST_do_man',
- 'stix' => '&POSTstix',
'tap', => '&POSTtap',
'texdraw', => '&POSTtexdraw',
'tipa-de' => '&POST_rmsymlink',
@@ -2122,6 +2121,7 @@ my $core_latex = "$Master/texmf-dist/tex/latex";
'apa6e' => 'latex', # requires interaction
'babel-serbianc' => 'latex',# requires interaction
'beamersubframe' => 'latex',# requires interaction
+ 'basque-book' => 'latex', # requires interaction
'basque-date' => 'latex', # requires interaction
'bguq' => 'latex', # requires interaction
'bosisio' => 'latex -translate-file=empty.tcx', # ^^, no 8-bit
@@ -2690,8 +2690,19 @@ for (@ARGV) {
} else {
&donormal;
}
+ &sanitize_file_names ($COOKED_PKG);
+
+ &xchdir ($RAW_DIR); # pop back to top-level raw dir for next package.
+}
- &xchdir ($RAW_DIR);
+
+# we do not want to deal with anything but "normal" characters, a subset
+# of 7-bit ASCII. The file names appear in too many contexts for
+# anything else to reliably work.
+#
+sub sanitize_file_names {
+ my ($dir) = @_;
+ &SYSTEM ("find $dir -print | xargs rename 's![^-_A-Za-z0-9.,/+]!!g'")
}
@@ -5628,14 +5639,6 @@ sub POSTpxchfon {
&SYSTEM ("$MV $srcdir/*.sfd $sfddir/");
}
-sub POSTstix {
- print "POST$package - unspacify\n";
- &SYSTEM ('find . -name \*\ \* -print | rename "s/ /_/g"');
-# . '-exec mv "{}" '
-# . '"`echo \"{}\" | tr -d \ `" '
-# . '\;');
-}
-
sub POSTtap {
print "POST$package - mv tapdoc dir\n";
&SYSTEM ("$MV tapdoc/* .");