diff options
author | Karl Berry <karl@freefriends.org> | 2014-02-09 22:59:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-02-09 22:59:41 +0000 |
commit | 3c5263791a2db0a013beab5b5a3bcfed77acf2db (patch) | |
tree | 677f04634e8e4b12a7b3a4add6be6c91b18d7f32 /Master/texmf-dist/source | |
parent | d45c9a3cac64d7bf085c5991284536244b8cb94e (diff) |
basque-book
git-svn-id: svn://tug.org/texlive/trunk@32924 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/basque-book/basque-book.dtx | 166 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/basque-book/basque-book.ins | 31 |
2 files changed, 176 insertions, 21 deletions
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{****************************************************} |