summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/toptesi
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-11-05 21:33:47 +0000
committerKarl Berry <karl@freefriends.org>2016-11-05 21:33:47 +0000
commit7d093de2b0b0e71f14058e72670e0686d8d12e93 (patch)
tree20ebe143d8a239170c9dc5c97cef8f1d5c7b8b9c /Master/texmf-dist/source/latex/toptesi
parent1b32964ca770763e87a76f3c1573b6744b338851 (diff)
toptesi (5nov16)
git-svn-id: svn://tug.org/texlive/trunk@42441 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/toptesi')
-rw-r--r--Master/texmf-dist/source/latex/toptesi/toptesi.dtx126
1 files changed, 79 insertions, 47 deletions
diff --git a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx
index 60655e0fac6..b29223b5075 100644
--- a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx
+++ b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx
@@ -16,7 +16,7 @@
\endpreamble
\postamble
-Copyright 2005-2015 Claudio Beccari
+Copyright 2005-2016 Claudio Beccari
Distributable under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
@@ -107,7 +107,7 @@ lines of the file for how-to information.
%<topcmn>\ProvidesPackage{topcoman}[%
%<topfrn>\ProvidesPackage{topfront}[%
%<*driver,class,topsty,topcmn,topfrn>
-2016/06/29 v.5.92
+2016/010/04 v.5.93
%<class>Class for typesetting university theses]
%<topsty>Extension for toptesi.cls]
%<topcmn>Additional commands for the TOPtesi bundle]
@@ -138,30 +138,31 @@ lines of the file for how-to information.
%</driver>
% \fi
%
-% \CheckSum{2779}
+% \CheckSum{2829}
%
% \begin{abstract}
% This file describes the TOPtesi bundle; it is a set of files designed to
% typeset a university final report that in Italian is generally
% called ``tesi''; it was originally developed at the Technical University
-% of Turin (Politecnico di Torino) but it was adapted for typesetting theses in any
-% Italian university. Well\dots\ since the Erasmus student mobility is very
-% extended and many Italian students participate in the so called \textit{double degree}
-% programs, their theses, or whatever they are called in other countries,
-% may be typeset so as to comply also with the host university rules; therefore this
-% set of files has the ambition to be suited for typesetting theses in any university
-% in the world\dots\ This ambition can't be fulfilled, though, because of the complexity
-% of the title page (and possibly of the legal page) requirements. This version is
-% experimentally compliant with the \XeLaTeX\ and the \LuaLaTeX\ programs. Up to now
-% the few conflicts that have been spotted have been solved with suitable corrections
-% or additions. The most important feature with \XeLaTeX\ is that the option pdfa
-% cannot be used any more; this is due to the fact that
-% the typesetting engine \XeTeX\ does not produce directly any PDF output but
-% a modified, extended DVI output, that is immediately converted into a PDF file
-% through xdvipdfmx, a special version of the conversion program. Another minor
-% \XeLaTeX\ feature is that it cannot fully exploit the typesetting facilities
-% of the microtype package, but the wide choice of OpenType fonts replaces almost
-% completely such missing features.
+% of Turin (Politecnico di Torino) but it was adapted for typesetting theses in
+% any Italian university. Well\dots\ since the Erasmus student mobility is very
+% extended and many Italian students participate in the so called \textit{double
+% degree} programs, their theses, or whatever they are called in other countries,
+% may be typeset so as to comply also with the host university rules; therefore
+% this set of files has the ambition to be suited for typesetting theses in any
+% university in the world\dots\ This ambition can't be fulfilled, though,
+% because of the complexity of the title page (and possibly of the legal page)
+% requirements. This version is experimentally compliant with the \XeLaTeX\
+% and the \LuaLaTeX\ programs. Up to now the few conflicts that have been
+% spotted have been solved with suitable corrections or additions.
+% The most important feature with \XeLaTeX\ is that the option pdfa cannot be
+% used any more; this is due to the fact that the typesetting engine \XeTeX\
+% does not produce directly any PDF output but a modified, extended DVI
+% output, that is immediately converted into a PDF file through xdvipdfmx,
+% a special version of the conversion program. Another minor \XeLaTeX\
+% feature is that it cannot fully exploit the typesetting facilities
+% of the microtype package, but the wide choice of OpenType fonts replaces
+% almost completely such missing features.
% \end{abstract}
%
% \section{Introduction}
@@ -1711,32 +1712,25 @@ Skipping any redefinition\MessageBreak}%
% definitions.
%
% \subsection{The \texttt{classica} option}
-% As mentioned above, the \texttt{classica} option was devised in order to cope with
-% theses in humanities and the specifications came from Paolo Ciacchi, a student of
-% the University of Trieste, who was preparing a master thesis in classical Greek
-% philology. The necessity of the large normal size derived from the necessity of
-% having clear mark-up signs among the myriad signs philologists use, that sometimes
+% As mentioned above, the \texttt{classica} option was devised in order
+% to cope with theses in humanities and the specifications came from
+% Paolo Ciacchi, a student of the University of Trieste, who was
+% preparing a master thesis in classical Greek philology. The necessity
+% of the large normal size derived from the necessity of having clear
+% mark-up signs among the myriad signs philologists use, that sometimes
% I believe that the philological mark-up requires typesetting environments
-% similar to the mathematical ones: in facts the material to be typeset does not form
-% linear sequences, as in plain text, but bi-dimensional structures as in mathematics.
+% similar to the mathematical ones: in facts the material to be typeset
+% does not form linear sequences, as in plain text, but bi-dimensional
+% structures as in mathematics.
%
-% The other requirements involve the title page and I agreed to implement them, since
-% they are likely to be useful for other universities as well; the effort for
-% localising this bundle makes this point less stringent compared to the previous
-% versions, but there are other layout fine points that cannot be solved with a simple
-% substitution of infix strings.
+% The other requirements involve the title page and I agreed to implement
+% them, since they are likely to be useful for other universities as well;
+% the effort for localising this bundle makes this point less stringent
+% compared to the previous versions, but there are other layout fine
+% points that cannot be solved with a simple substitution of infix strings.
%
-% The singular and plural masculine and feminine strings for ``candidate'' are redefined.
-% For other languages the configuration file comes in handy.
-% \begin{macrocode}
-\ifTOPfront
-\ifclassica
-\def\Candidato{Laureando}
-\def\Candidata{Laureanda}
-\def\Candidati{Laureandi}
-\def\Candidate{Laureande}
-\fi\fi
-% \end{macrocode}
+% The singular and plural masculine and feminine strings for ``candidate'
+%' are redefined in the |topfront| module. For other languages the configuration file comes in handy.
%
% Since theses in humanities may end up to occupy several volumes (classically
% ``tomo'' in Italian means ``volume'', although the latter word is valid
@@ -1990,13 +1984,30 @@ Skipping any redefinition\MessageBreak}%
% set its value to |false|. This implies two points: we need a powerful
% macro package to test a ``switch'', and when this |topfront| module is
% used as a stand-alone one, the settings of the |classica| options are
-% not available.
+% not available. This requires to define switches and counters, besides
+% options for this package, even if they may be specified to the |toptesi|
+% class; of course when |topfront| is used as a standalone package, the
+% class might not be |toptesi| therefore a complete set up even with the
+% |classica| option must be set again.
% \begin{macrocode}
\@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}}
\ifcsundef{ifclassica}{%
- \newif\ifclassica
- \classicafalse
+\newif\ifclassica \classicafalse
+\newif\if@utoretitolo \@utoretitolofalse
+\newif\if@ldstyle \@ldstylefalse
+\newif\if@xivpt \@xivptfalse
+\newif\if@binding \@bindingfalse
}{}
+\ifcsundef{ifTOPfront}{\newif\ifTOPfront \TOPfronttrue}{}
+\ifcsundef{c@tomo}{\newcounter{tomo}}{}
+\DeclareOption{cucitura}{\@bindingtrue}
+\DeclareOption{14pt}{\@xivpttrue}
+\DeclareOption{classica}{\classicatrue}
+\DeclareOption{autoretitolo}{\ifclassica\@utoretitolotrue\fi}
+\DeclareOption{oldstyle}{\ifclassica\@ldstyletrue\fi}
+\ProcessOptions*\relax
+
+\if@xivpt\@ifl@aded{clo}{size14}{}{\input{size14.clo}}\fi
% \end{macrocode}
%
% For the title page we need a special style, in order to put some information
@@ -2082,6 +2093,16 @@ Skipping any redefinition\MessageBreak}%
\newif\iflaureatriennale \laureatriennalefalse
% \end{macrocode}
%
+% The infix word for the |classica| option are redefined.
+% \begin{macrocode}
+\ifTOPfront
+\ifclassica
+\def\Candidato{Laureando}
+\def\Candidata{Laureanda}
+\def\Candidati{Laureandi}
+\def\Candidate{Laureande}
+\fi\fi
+% \end{macrocode}
%
% The thesis title is specified by means of the following commands; |\monografia|,
% the name of the bachelors degree final report, sets also the corresponding
@@ -2497,6 +2518,17 @@ Skipping any redefinition\MessageBreak}%
\@ifundefined{TerzoTomo}{\def\TerzoTomo{Tomo terzo}}{}
\@ifundefined{QuartoTomo}{\def\QuartoTomo{Tomo quarto}}{}
% \end{macrocode}
+%
+% The infix word for the |classica| option are redefined.
+% \begin{macrocode}
+\ifTOPfront
+\ifclassica
+\def\Candidato{Laureando}
+\def\Candidata{Laureanda}
+\def\Candidati{Laureandi}
+\def\Candidate{Laureande}
+\fi\fi
+% \end{macrocode}
% If the final exam date is not given the default value is the current month and the
% current year typeset in Italian; therefore the user is strongly requested to enter
% a date either with the |\sedutadilaurea| or the |\esamedidottorato| commands. The