summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-06 23:16:47 +0000
committerKarl Berry <karl@freefriends.org>2011-10-06 23:16:47 +0000
commitecb16646aa9df1a8cc61a9583c8056844ba12b05 (patch)
tree47361e9b654eb230805bba115f747de4af981b10
parentebcdd9921ff34291f79453030c0357c9bf4f9802 (diff)
toptesi (6oct11)
git-svn-id: svn://tug.org/texlive/trunk@24225 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/toptesi/README2
-rw-r--r--Master/texmf-dist/doc/latex/toptesi/manifest.txt12
-rw-r--r--Master/texmf-dist/doc/latex/toptesi/toptesi.pdfbin386554 -> 387132 bytes
-rw-r--r--Master/texmf-dist/source/latex/toptesi/toptesi.dtx56
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/topcoman.sty3
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/topfront.sty4
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/toptesi.cls5
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/toptesi.sty5
8 files changed, 46 insertions, 41 deletions
diff --git a/Master/texmf-dist/doc/latex/toptesi/README b/Master/texmf-dist/doc/latex/toptesi/README
index a255b05e938..5aa46645bf4 100644
--- a/Master/texmf-dist/doc/latex/toptesi/README
+++ b/Master/texmf-dist/doc/latex/toptesi/README
@@ -1,4 +1,4 @@
-TOPtesi bundle version 5.59a of 2011/09/08
+TOPtesi bundle version 5.59b of 2011/10/06
Copyright 2011 Claudio Beccari
LaTeX Project Public Licence LPPL v.1.3 (or later)
diff --git a/Master/texmf-dist/doc/latex/toptesi/manifest.txt b/Master/texmf-dist/doc/latex/toptesi/manifest.txt
index 84e50c938cc..6d461954ef9 100644
--- a/Master/texmf-dist/doc/latex/toptesi/manifest.txt
+++ b/Master/texmf-dist/doc/latex/toptesi/manifest.txt
@@ -1,4 +1,4 @@
-manifest.txt (version 5.59a)
+manifest.txt (version 5.59b)
Copyright 2008-2011 Claudio Beccari
This work may be distributed and/or modified under the conditions of
@@ -38,9 +38,9 @@ The files derived from the work are the following:
toptesi-example-xetex.pdf
The toptesi.dtx file is self extracting and self documenting; if you run
-pdflatex on it you get at the same time the class, the style and the configuration files, together with the English documented file.
+pdfLaTeX on it you get at the same time the class, the style and the configuration files, together with the English documented file.
-The Italian documentation is obtained by running xelatex on
+The Italian documentation is obtained by running XeLaTeX on
toptesi-doc-xetex.tex
The two documentations pdf files, toptesi.pdf and toptesi-doc-xetex.pdf,
@@ -53,10 +53,10 @@ The files
toptesi-example.tex and toptesi-example-xetex.tex
are examples of the usage of this work, the former to be run with pdfLaTeX,
-the latter with XeLaTeX; they may be used as templates, but in themselves, although part of this Work, they may be used but the end user the way s/he likes best, in order to use ithem as templates, but the files should not be modified unless their names are changed.
+the latter with XeLaTeX; they may be used as templates, but in themselves, although part of this Work, they may be used by the end user the way s/he likes best, in order to use them as templates, but the files should not be modified unless their names are changed.
The files toptesi-example.xmpdata and toptesi-doc-xetex-def.ps
are examples of the contents and format of the metadata that must be
-included into the same directatory as the thesis main file in order to be
-able to use pdflatex or ghostscript for producing a file that hopefully is
+included into the same directotory as the thesis main file in order to be
+able to use pdfLaTeX or XeLaTeX + ghostscript for producing a file that hopefully is
PDF/A-1b compliant (PDF/A-1b is the "weak" archivable PDF format).
diff --git a/Master/texmf-dist/doc/latex/toptesi/toptesi.pdf b/Master/texmf-dist/doc/latex/toptesi/toptesi.pdf
index 97ccd4fb834..34f1d3f1de3 100644
--- a/Master/texmf-dist/doc/latex/toptesi/toptesi.pdf
+++ b/Master/texmf-dist/doc/latex/toptesi/toptesi.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx
index c1b42740f40..e74e3c9ffa6 100644
--- a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx
+++ b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx
@@ -85,7 +85,7 @@ another example of how to use toptesi.
% \iffalse
%<*driver>
\documentclass{ltxdoc}
-\ProvidesFile{toptesi.dtx}[2011/09/08 v.5.59a Documented TeX file for
+\ProvidesFile{toptesi.dtx}[2011/10/06 v.5.59b Documented TeX file for
the TOPtesi bundle]
\GetFileInfo{toptesi.dtx}
\title{The TOPtesi bundle}
@@ -102,7 +102,7 @@ the TOPtesi bundle]
%</driver>
% \fi
%
-% \CheckSum{2550}
+% \CheckSum{2559}
%
%% \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
@@ -166,7 +166,7 @@ the TOPtesi bundle]
% \item A third extension package \texttt{topcoman.sty} that defines a certain number
% of user commands suitable for typesetting technical matters.
% \item Previous version of this bundle contained also the logos of a certain number of
-% universities; These logos are not distributed anymore because of legal constraints. Every
+% universities. These logos are not distributed anymore because of legal constraints. Every
% one who is working on his/her degree course final report must retrieve the logo of his/her
% university, but s/he should pay attention to use it according to the rules and limitations
% of the university.
@@ -178,10 +178,10 @@ the TOPtesi bundle]
%
% The above files are complemented with a configuration file that any user may
% personalize at will; these personalizations make it easy to configure the
-% bundle so as to make it suitable for another language; in facts the \textsf{babel}
-% package contains localizations for many languages, but such localisations deal
-% with the standard infix \LaTeX\ names and phrases and do not cope with the thesis
-% title page requirements.
+% bundle so as to make it suitable for another language; in facts the \textsf{babel} and
+% \textsf{polyglossia} packages contains localizations for many languages, but such
+% localisations deal with the standard infix \LaTeX\ names and phrases and do not cope
+% with the thesis title page requirements.
%
% TOPtesi was specifically conceived for typesetting theses with the \LaTeX\ mark-up, and
% initially was using the \textsf{tex} typesetting engine; later on this engine was
@@ -387,9 +387,9 @@ the TOPtesi bundle]
%
% As a final remark notice that the commands for typesetting the title page are contained
% in the package \texttt{topfront.sty}, which can be used as an autonomous extension to the
-% \texttt{report} document class. One could easily typeset just the title page with a separate
-% \TeX\ source file so as to test the completeness of the commands and coherence of the
-% configuration file or for just printing the isolated title page.
+% \texttt{report} or \texttt{book} document class. One could easily typeset just the title
+% page with a separate \TeX\ source file so as to test the completeness of the commands and
+% coherence of the configuration file or for just printing the isolated title page.
%
% \subsection{Typesetting commands}
% The bundle and the TOPtesi document class accept all \LaTeX\ commands provided by
@@ -676,8 +676,8 @@ the TOPtesi bundle]
% \begin{macrocode}
%<*class>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{toptesi}%
-[2011/09/08 v.5.59a Class for typesetting university theses]
+\ProvidesClass{toptesi}
+ [2011/10/06 v.5.59b Class for typesetting university theses]
% \end{macrocode}
%
% The class itself is very simple since it requires just the \texttt{report}
@@ -699,6 +699,7 @@ the TOPtesi bundle]
\RequirePackage{ifxetex}
\ifxetex
\RequirePackage{fontspec}
+ \@ifundefined{define@boolkey}{\RequirePackage{xkeyval}}{\relax}
\RequirePackage{polyglossia}
\setmainlanguage{italian}
\setotherlanguage{english}
@@ -724,8 +725,7 @@ the TOPtesi bundle]
% \begin{macrocode}
%<*topsty>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{toptesi}%
-[2011/09/08 v.5.59a Extension for toptesi.cls]%
+\ProvidesPackage{toptesi}[2011/10/06 v.5.59b Extension for toptesi.cls]%
% \end{macrocode}
%
% We start with defining the debugging macros; these trace commands and macros
@@ -1379,7 +1379,7 @@ Skipping any redefinition\MessageBreak}%
% \end{macrocode}
%
% At last the subsidiary and independent packages \texttt{topcoman} and \texttt{topfront}
-% are requested for input. For using XeLaTeX as the typesetting engine it's necessary to load such packages at the ``begin document'' step, so that all a the other settings, especially fonts are already established. May be it should be better done also when using pdf\/\LaTeX\ as the typesetting engine, but the past experience has not shown any inconvenience.
+% are requested for input. For using XeLaTeX as the typesetting engine it's necessary to load such packages at the ``begin document'' step, so that all a the other settings, especially fonts, are already established. May be it should be better done also when using pdf\/\LaTeX\ as the typesetting engine, but the past experience has not shown any inconvenience.
% \begin{macrocode}
\ifxetex
\AtBeginDocument{\RequirePackage{topfront}
@@ -1513,7 +1513,7 @@ Skipping any redefinition\MessageBreak}%
% definition in file \texttt{toptesi.sty} already uses |\lapagina| as the typeset folio
% indicator.
% \begin{macrocode}
-\renewcommand*{\lapagina}{%
+\renewcommand*{\lapagina}{%ƒ
\ifnumeriromani
\thepage
\else
@@ -1713,24 +1713,29 @@ Skipping any redefinition\MessageBreak}%
% \begin{macrocode}
%<*topfrn>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{topfront}[2011/09/08 v.5.59a Title page for TOPtesi]
+\ProvidesPackage{topfront}[2011/10/06 v.5.59b Title page for TOPtesi]
% \end{macrocode}
%
% The title page information depends on the type of ``thesis' that is being typeset.
-% The following commands specify the kind of information that is going to be typeset.
+% Since the topfront package may be used independently form the accompanying class \texttt{toptesi},
+% it's necessary to define the switch |\ifclassica| in case it was not already defined.
+% Therefore we thest if the switch is undefined, and in case we define ti.
+% Furthermore the following commands specify the kind of information that is going to be typeset.
% Some boolean variables are automatically set by the commands in order to change some
% formatting depending on the kind of thesis. For languages that distinguish feminine from
% masculine adjectives or qualifications some automatic machinery is set up in order to format
% some infix strings in a way that copes with the singular or plural forms; in particular when
-% there is a multitude of authors (maximum three) of different gender the adjectives or
+% there is a multitude of authors (maximum three) of different gender, the adjectives or
% qualifications are set masculine plurals, while when there is just one author or the authors
% are of the same gender the adjectives or qualifications are set according to number and
-% gender. Al this is done by setting or resetting the truth value associated to the boolean
+% gender. All this is done by setting or resetting the truth value associated to the boolean
% variable \texttt{femminile}. The boolean variable \texttt{dottorato} controls the PhD thesis
% format, while the other variable \texttt{laureatriennale} controls the formatting of the
% bachelor's degree report. All other theses are treated as master theses, and in all cases
-% the appropriate infix string is typeset in the title page
+% the appropriate infix string is typeset in the title page.
% \begin{macrocode}
+\@ifundefined{ifclassica}{%
+ \expandafter\newif\csname ifclassica\endcsname}{\relax}
\newif\iffemminile
\newif\ifdottorato \dottoratofalse
\newif\iflaureatriennale \laureatriennalefalse
@@ -2437,8 +2442,7 @@ Skipping any redefinition\MessageBreak}%
% \begin{macrocode}
%<*topcmn>
\NeedsTeXFormat{LaTeX2e} % lavora solo con LaTeX 2e
-\ProvidesPackage{topcoman}%
- [2011/09/08 v.5.59a Additional commands for the TOPtesi bundle]
+\ProvidesPackage{topcoman}[2011/10/06 v.5.59b Additional TOPtesi commands]
% \end{macrocode}
% The new command |\DeclareSlantedCapitalGreekLetters| optionally sets the capital
% Greek letters in math mode with the glyphs taken from the math italic fonts, not from
@@ -2550,8 +2554,8 @@ Skipping any redefinition\MessageBreak}%
% sure to typeset these numerals with script size capitals; this solution is not probably the
% best one but it works; it typesets these roman numerals with the current font; in TOPtesi
% roman numerals are used only for folios, but in order to be compliant with the package
-% |hyperref|, I avoided using this new macro for folios; in other situations there are no more
-% any problems with the choice of font shapes and series. We need a robust command in order to
+% |hyperref|, I avoided using this new macro for folios; in other situations there are no
+% problems with the choice of font shapes and series. We need a robust command in order to
% set the script math size
% \begin{macrocode}
\DeclareRobustCommand*{\simulatedSC}[1]{%
@@ -2559,7 +2563,7 @@ Skipping any redefinition\MessageBreak}%
% \end{macrocode}
%
% A user, Antonio Mele, suggested and requested the possibility of having
-% the figure and table name inserted automatically when the |\ref|command is
+% the figure and table names inserted automatically when the |\ref|command is
% issued. For single citations the solution works fine, but for range
% references it does not work. In Italian the name must be lower case while in
% other languages, specifically in English, the name has a capital initial.
diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty
index a369f80fcc1..59829f8fc4f 100644
--- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty
@@ -28,8 +28,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e} % lavora solo con LaTeX 2e
-\ProvidesPackage{topcoman}%
- [2011/09/08 v.5.59a Additional commands for the TOPtesi bundle]
+\ProvidesPackage{topcoman}[2011/10/06 v.5.59b Additional TOPtesi commands]
\RequirePackage{ifxetex}
\ifxetex\else
\newcommand*\DeclareSlantedCapitalGreekLetters{%
diff --git a/Master/texmf-dist/tex/latex/toptesi/topfront.sty b/Master/texmf-dist/tex/latex/toptesi/topfront.sty
index 3e080cc2ecc..8e63eb06eaa 100644
--- a/Master/texmf-dist/tex/latex/toptesi/topfront.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/topfront.sty
@@ -28,7 +28,9 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{topfront}[2011/09/08 v.5.59a Title page for TOPtesi]
+\ProvidesPackage{topfront}[2011/10/06 v.5.59b Title page for TOPtesi]
+\@ifundefined{ifclassica}{%
+ \expandafter\newif\csname ifclassica\endcsname}{\relax}
\newif\iffemminile
\newif\ifdottorato \dottoratofalse
\newif\iflaureatriennale \laureatriennalefalse
diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls
index 1e357e4b723..18133588270 100644
--- a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls
+++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls
@@ -28,14 +28,15 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{toptesi}%
-[2011/09/08 v.5.59a Class for typesetting university theses]
+\ProvidesClass{toptesi}
+ [2011/10/06 v.5.59b Class for typesetting university theses]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}
\ProcessOptions\relax
\LoadClass[a4paper]{report}
\RequirePackage{ifxetex}
\ifxetex
\RequirePackage{fontspec}
+ \@ifundefined{define@boolkey}{\RequirePackage{xkeyval}}{\relax}
\RequirePackage{polyglossia}
\setmainlanguage{italian}
\setotherlanguage{english}
diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
index 2f9f1de4040..d11331cf8e2 100644
--- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
@@ -28,8 +28,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{toptesi}%
-[2011/09/08 v.5.59a Extension for toptesi.cls]%
+\ProvidesPackage{toptesi}[2011/10/06 v.5.59b Extension for toptesi.cls]%
\def\TRON{\tracingcommands \tw@ \tracingmacros \tw@}
\def\TROFF{\tracingcommands\z@ \tracingmacros \z@}
\let\TROF\TROFF
@@ -398,7 +397,7 @@ Skipping any redefinition\MessageBreak}%
\fi
\newcounter{tomo}
\newcommand*{\tomo}{\clearpage\stepcounter{tomo}\frontespizio}
-\renewcommand*{\lapagina}{%
+\renewcommand*{\lapagina}{%ƒ
\ifnumeriromani
\thepage
\else