From 826cfcb9289b9f084253810e2bb65fe2ea98dc85 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 10 Nov 2016 23:04:45 +0000 Subject: toptesi (10nov16) git-svn-id: svn://tug.org/texlive/trunk@42479 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/toptesi/README | 19 ++- Master/texmf-dist/doc/latex/toptesi/manifest.txt | 2 +- .../doc/latex/toptesi/topfront-example.pdf | Bin 150894 -> 104894 bytes .../doc/latex/toptesi/topfront-example.tex | 36 +++-- Master/texmf-dist/doc/latex/toptesi/toptesi-it.pdf | Bin 2007835 -> 2017544 bytes Master/texmf-dist/doc/latex/toptesi/toptesi-it.tex | 173 +++++++++++---------- Master/texmf-dist/doc/latex/toptesi/toptesi.pdf | Bin 408669 -> 408577 bytes Master/texmf-dist/source/latex/toptesi/toptesi.dtx | 101 ++++++------ Master/texmf-dist/tex/latex/toptesi/topcoman.sty | 4 +- Master/texmf-dist/tex/latex/toptesi/topfront.sty | 30 +++- Master/texmf-dist/tex/latex/toptesi/toptesi.cfg | 2 +- Master/texmf-dist/tex/latex/toptesi/toptesi.cls | 4 +- Master/texmf-dist/tex/latex/toptesi/toptesi.sty | 22 +-- Master/tlpkg/bin/ctan2tl | 8 +- 14 files changed, 228 insertions(+), 173 deletions(-) diff --git a/Master/texmf-dist/doc/latex/toptesi/README b/Master/texmf-dist/doc/latex/toptesi/README index fec25284699..2d2527cbed7 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.93 of 2016 +TOPtesi bundle version 5.9.5 of 2016 Copyright 2008-2016 Claudio Beccari LaTeX Project Public Licence LPPL v.1.3 (or later) @@ -16,7 +16,14 @@ multi-language theses that are more and more frequent thanks to the double degree programs of the European Union Erasmus programs or the Life Long Learning European programs. -This version 5.93 of TOPtesi is intended to be compliant also with XeLaTeX +Version 5.9.05 starts a new numbering scheme with version, subversion and +subsubversion; it gives more flexibility to version numbering. + +This new TOPtesi bundle, that uses the new version numbering, contains +some corrections to the topfront.sty module to be used as a standalone +extension to be used with classes other than toptesi.cls. + +Version 5.93 of TOPtesi was intended to be compliant also with XeLaTeX and LuaLaTeX; the documentation explains also how to obtain PDF/A-1b archivable files from pdfLaTeX, XeLaTeX, and LuaLaTeX. This particular part is up to date with respect to package pdfx dated 2016/05/03 v.1.5.8 and @@ -54,7 +61,7 @@ and create these three subtrees: .../texmf/tex/latex/toptesi/ then move the toptesi.zip file to .../texmf/source/latex/toptesi/; -in this directory decompress the .zip file. +in this directory and decompress the .zip file. Run pdflatex on toptesi.dtx in order to get the class, style and configuration files (and the pdf documentation in English) and move @@ -64,9 +71,9 @@ folder also the GuITlogo.pdf, MPlogo.pdf, Logouno.pdf, Logodue.pdf, Logotre.pdf, Logoquattro.pdf, and Logoblu.pdf files. For your personal installation, your personal texmf folder is rooted -in your home directory: ~ on Linux; ~/Library -on Mac OS X; on a path with different names on different Windows -systems, all of them containing in one form or another your login name. +in your home directory: ~ on Linux; ~/Library on Mac OS X; on a path +with different names on different Windows systems, all of them +containing in one form or another your login name. If you are running a Windows platform change the slashes into backslashes and prefix all paths with the drive letter and any other specific prefix diff --git a/Master/texmf-dist/doc/latex/toptesi/manifest.txt b/Master/texmf-dist/doc/latex/toptesi/manifest.txt index b47bfb1e912..54b1c18ff4b 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 (TOPtesi version 5.93) +manifest.txt (TOPtesi version 5.9.05) Copyright 2008-2016 Claudio Beccari This work may be distributed and/or modified under the conditions of diff --git a/Master/texmf-dist/doc/latex/toptesi/topfront-example.pdf b/Master/texmf-dist/doc/latex/toptesi/topfront-example.pdf index 40b2a9a8b78..cbc71b65367 100644 Binary files a/Master/texmf-dist/doc/latex/toptesi/topfront-example.pdf and b/Master/texmf-dist/doc/latex/toptesi/topfront-example.pdf differ diff --git a/Master/texmf-dist/doc/latex/toptesi/topfront-example.tex b/Master/texmf-dist/doc/latex/toptesi/topfront-example.tex index faa072a073f..dfada0c12bb 100644 --- a/Master/texmf-dist/doc/latex/toptesi/topfront-example.tex +++ b/Master/texmf-dist/doc/latex/toptesi/topfront-example.tex @@ -27,7 +27,7 @@ % may be different from the OpenType fonts available to XeLaTeX or LuaLaTeX. -\documentclass[a4paper,11pt,twoside]{report}% it works also with book and article +\documentclass[a4paper,12pt,twoside]{report}% it works also with book and article \usepackage{iftex}% to test if the typesetting engine is pdflatex or xelatex @@ -45,7 +45,8 @@ \fi \usepackage{graphicx} -\usepackage{topfront} +\usepackage[classica]% +{topfront} \begin{document} % These data must be here after \begin{document} and before \frontespizio @@ -53,7 +54,7 @@ % See the toptesi-doc-pdftex.pdf documentation for more details. % % Comment the following line if you want a title page with Italian infix phrases -\selectlanguage{english}% the default language is changed from Italian to English +% \selectlanguage{english}% the default language is changed from Italian to English % % Settings common to both languages @@ -103,17 +104,34 @@ \logosede{logotre,logoquattro}% one logo or a comma separated list of logos \sedutadilaurea{August 1615} \ateneo{West Piedmont University} -% \ateneo{} \nomeateneo{Royal Mountain Campus} \renewcommand*\IDN{\\\quad ID number:\space} }{% Italian language - \ateneo{Universit\`a del Piemonte Occidentale} - \nomeateneo{Studium Monregalensis} +% \ateneo{Universit\`a del Piemonte Occidentale} +% \ateneo{Universit\`a degli studi di Modena e Reggio Emilia} +\DeclareRobustCommand{\uniMRE}{\smash{\parbox[b]{\textwidth}{\centering\Large +\MakeUppercase{Università degli Studi}\\ +\MakeUppercase{di Modena e Reggio Emilia}}}} +% \ateneo{\uniMRE} +% \ateneo{Freie Universt\"at Bozen -- Libera Universit\`a di Bolzano -- Universit\`a Liedia de Bulsan} +\DeclareRobustCommand{\uniBZ}{\smash{\parbox[b]{\textwidth}{\centering\large +\MakeUppercase{Freie Universität Bozen}\\ +\MakeUppercase{Libera Università di Bolzano}\\ +\MakeUppercase{Università Leidia de Bulsan}}}} + \ateneo{\uniBZ} +% \ateneo{Universit\`a della Valle d'Aosta -- Universit\'e de la Vall\'ee d'Aoste} +\DeclareRobustCommand{\uniVdA}{\smash{\parbox[b]{\textwidth}{\centering \Large +\MakeUppercase{Università della Valle d'Aosta}\\ +\MakeUppercase{Universitè de la Vallée d'Aoste}}}} +% \ateneo{\uniVdA} + \nomeateneo{Studium Monregalense} \corsodilaurea{Astronomia applicata} - \titolo{La pressione barometrica di Giove} + \titolo{La pressione barometrica di~Giove} \sottotitolo{Metodo dei satelliti medicei} - \NomeTutoreAziendale{Supervisore aziendale\\Osservatorio Astronomico del Monviso} - \sedutadilaurea{Agosto 1615} + \NomeTutoreAziendale{Supervisore aziendale\\Osservatorio Astronomico del + Monviso} +% \sedutadilaurea{1615-1616} + \annoaccademico{1615-1616} \logosede{logouno,logodue}% one logo or a comma separated list of logos } \end{frontespizio*} diff --git a/Master/texmf-dist/doc/latex/toptesi/toptesi-it.pdf b/Master/texmf-dist/doc/latex/toptesi/toptesi-it.pdf index 67d868109e6..94be36f5454 100644 Binary files a/Master/texmf-dist/doc/latex/toptesi/toptesi-it.pdf and b/Master/texmf-dist/doc/latex/toptesi/toptesi-it.pdf differ diff --git a/Master/texmf-dist/doc/latex/toptesi/toptesi-it.tex b/Master/texmf-dist/doc/latex/toptesi/toptesi-it.tex index 3aed3220caa..75f5deb991c 100644 --- a/Master/texmf-dist/doc/latex/toptesi/toptesi-it.tex +++ b/Master/texmf-dist/doc/latex/toptesi/toptesi-it.tex @@ -33,7 +33,7 @@ LuaLaTeX} \end{filecontents*} % \documentclass[12pt,twoside]{toptesi} -\ProvidesFile{toptesi-it.tex}[2016/06/29 v.0.99e] +\ProvidesFile{toptesi-it.tex}[2016/11/10 v.0.9.15] \ifPDFTeX % \usepackage[a-1b]{pdfx} @@ -64,7 +64,7 @@ LuaLaTeX} \setmathfont{XITS Math} \fi \usepackage{metalogo,longtable,booktabs,array,tabularx,fancyvrb, -enumitem,xspace,fancyvrb} +enumitem,xspace,fancyvrb,ragged2e} %\usepackage[margin=15pt,font=small,labelfont=bf,labelsep=quad]{caption} %\captionsetup[table]{position=above} \usepackage{trace} @@ -1068,6 +1068,43 @@ Si noti che nel corpo dell'ambiente \amb{Preambolo*} si può inserire un intero Compilando questo documento si ottiene un'unica pagina contenente il frontespizio composto, che può poi venire incorporato nella tesi mediante l'uso del pacchetto \pack{pdfpages} che, come si è già detto, consente di inserire pagine scelte di un file PDF dentro un documento da comporre con \pdfLaTeX. In questo modo la composizione del frontespizio e quello della tesi procedono separatamente e non c'è bisogno, ogni volta che si cambino i dati per il frontespizio, di eseguire le tre compilazioni. +\subsection{Casi particolari} +Esistono delle università con nomi lunghissimi, in particolare nomi bi lingui o trilingui. Ne cito due, entrambi italiani: +\begin{itemize}[noitemsep] +\item Università della valle d'Aosta -- Universitè de la Vallée d'Aoste +\item Freie Universitùat Bozen -- Libera Università di Bolzano -- Università Liedia de Bulsan +\end{itemize} +In questi casi se il nome dell'ateneo va in testa al frontespizio in corpo \verb|\Large| o \verb|\LARGE| non solo uscirebbe dalla giustezza della pagina, ma la parte iniziale del nome e quella finale potrebbero finire fuori del foglio. Il pacchetto \pack{topfront} dispone di un meccanismo automatico con il quale riduce in scala il nome dell'ateneo in modo da ridimensionarlo alla giustezza. + +Questa operazione funziona automaticamente in modo decisamente accettabile se il nome dell'ateneo eccede la giustezza di 10 o 15 punti percentuali, ma con nomi così lunghi come quelli elencati sopra, il meccanismo funziona ma il risultato lascia molto a desiderare perché i font con cui è composto il nome dell'ateneo, ridotti di una grossa percentuale, diventano più chiari e inaccettabilmente piccoli per la funzione che il nome dell'ateneo svolge nel frontespizio di una tesi. + +In questi casi sarebbe più consono usare una immagine, come quella del logotipo dell'Università di Bolzano dove, accanto al ``timbro'' dell'università, i tre nomi sono elencati in colonna invece che su un'unica riga. Sono scritti con un carattere piccolo, ma affiancando il ``timbro'' l'insieme è giusto. Ovviamente, usando il logotipo, non è poi necessario usarlo di nuovo come simbolo dell'ateneo a metà della pagina. + +Con i nomi in due sole lingue, come per l'università valdostana, si potrebbe anche pensare ad una soluzione di questo tipo: +\begin{verbatim} +\DeclareRobustCommand{\uniVdA}{\smash{% + \parbox[b]{\textwidth}{\centering \Large + \MakeUppercase{Università della Valle d'Aosta}\\ + \MakeUppercase{Universitè de la Vallée d'Aoste}}}} +\end{verbatim} +e usando il comando \verb|\uniVdA| come argomento per il comando \verb|\ateneo|. +Probabilmente si può usare anche con i nomi in tre lingue, con un corpo leggermente minore, definendo per esempio: +\begin{verbatim} +\DeclareRobustCommand{\uniBZ}{\smash{% + \parbox[b]{\textwidth}{\centering\large + \MakeUppercase{Freie Universität Bozen}\\ + \MakeUppercase{Libera Università di Bolzano}\\ + \MakeUppercase{Università Leidia de Bulsan}}}} +\end{verbatim} + +Questa soluzione si può usare anche con nomi in una sola lingua ma molto lunghi, per esempio: +\begin{verbatim} +\DeclareRobustCommand{\uniMRE}{\smash{% + \parbox[b]{\textwidth}{\centering\Large + \MakeUppercase{Università degli Studi}\\ + \MakeUppercase{di Modena e Reggio Emilia}}}} + \end{verbatim} + \section{Come si comincia}\label{sec:cominciare} Non vi dico niente di come si scriva una tesi; so per @@ -2252,53 +2289,63 @@ Comando\V & Scopo \\[.5ex] \midrule \cs{candidato}\V &Si usa come di solito ma con l'opzione \texttt{classica} produce la scrittura ``Laureando'' invece che ``Candidato''.\\ -\cs{candidata} & Come sopra al femminile. Sia questo comando, sia il precedente - accettano che l'argomento sia scritto nella forma \meta{Nome Cognome - {\normalfont\cs{IDN}} matricola} in alternativa a - \meta{Nome Cognome}.\\ +\cs{candidata} & Come sopra al femminile. Sia questo comando, sia il + precedente accettano che l'argomento sia scritto nella + forma \meta{Nome Cognome{\normalfont\cs{IDN}} matricola} + in alternativa a \meta{Nome Cognome}.\\ \cs{tomo} & Esegue i frontespizi successivi di una tesi divisa in tomi - scrivendovi Tomo primo, Tomo secondo, eccetera, - a seconda del numero progressivo dei volumi in cui è suddivisa la - tesi (massimo quattro). Questo comando viene usato \emph{al posto} + scrivendovi Tomo primo, Tomo secondo, eccetera, a seconda + del numero progressivo dei volumi in cui è suddivisa la tesi + (massimo quattro). Questo comando viene usato \emph{al posto} di \cs{frontespizio}\\ \cs{annoaccademico} & Il suo argomento può essere un anno solare o due anni separati da una lineetta. Viene scritto nel frontespizio della tesi o del singolo tomo con la specificazione che si tratta dell'anno accademico e non della data della presentazione della tesi.\\ -\cs{EnDash} & Produce una lineetta lunga come ---, ma ribassata in modo che stia - bene fra numeri di stile antico.\\ -\cs{nota}\t\d[...] & Serve per comporre una nota senza ricorrere al contatore numerico - di default. - Il simbolo con cui viene richiamata di default è l'asterisco, ma - si può mettere qualunque segno matematico senza esplicitare i segni - di dollaro, per esempio si può scrivere - {\cs{nota}\t[\s\dagger]\{Questa nota ...\}}\\ +\cs{EnDash} & Produce una lineetta lunga come ---, ma ribassata in modo + che stia bene fra numeri in cifre minuscole.\\ +\cs{nota}\t\d[...] & Serve per comporre una nota senza ricorrere al contatore + numerico di default. Il simbolo con cui viene richiamata di + default è l'asterisco, ma si può mettere qualunque segno + matematico senza esplicitare i segni di dollaro, per esempio + si può scrivere {\cs{nota}\t[\s\dagger]\{Questa nota ...\}}\\ \amb{dedica} & È un ambiente con cui si può stampare una pagina di dedica; generalmente questa pagina viene dopo il frontespizio.\\ -\amb{citazioni} & È un ambiente che consente di scrivere una pagina con frasi argute. - L'arguzia dipende dall'autore; spesso nei libri, raramente nelle - tesi, l'autore cita frasi celebri o che in qualche modo hanno - a che fare con il contenuto del testo.\\ +\amb{citazioni} & È un ambiente che consente di scrivere una pagina con frasi + argute. L'arguzia dipende dall'autore; spesso nei libri, + raramente nelle tesi, l'autore cita frasi celebri o che in + qualche modo hanno a che fare con il contenuto del testo.\\ \bottomrule \end{tabular}} \end{table} \clearpage - -\begin {table}[p] -\def\V{\rule{0pt}{2.5ex}} +{\def\V{\rule{0pt}{2.5ex}} \let\s\string\let\t\ttfamily \def\d{\discretionary{\%}{\rule{1em}{0pt}}{}} -\caption{Comandi per il frontespizio della monografia di laurea, della -tesi di laurea e della dissertazione di dottorato -(\emph{continua})}\label{tab:front1} -\makebox[\textwidth]{\tolerance=9999\finalhyphendemerits=0\relax% -\begin {tabular}{p{.3\textwidth}p{.2\textwidth}p{.2\textwidth}p{.25\textwidth}} -\toprule -Comando & Default & Scopo & Esempio d'uso \\ -\midrule +\tolerance=9999\finalhyphendemerits=0\relax +\setlength{\LTcapwidth}{\dimexpr\textwidth-4em}\tabcolsep=3pt\footnotesize +\begin{longtable}{p{.3\textwidth}>{\RaggedRight}p{.18\textwidth}>{\RaggedRight}p{.2\textwidth}p{.225\textwidth}} + \caption[Comandi per il frontespizio della monografia di laurea, della + tesi di laurea e della dissertazione di dottorato]{Comandi per il + frontespizio della monografia di laurea, della tesi di laurea e della + dissertazione di dottorato}\label{tab:front1}\\ + \toprule + Comando & Default & Scopo & Esempio d'uso \\ + \midrule +\endfirsthead + (\emph{continua})\\ + \toprule + Comando & Default & Scopo & Esempio d'uso \\ + \midrule +\endhead + \bottomrule + &&&(\emph{continua}) +\endfoot + \bottomrule +\endlastfoot \cs{ateneo}\t\s{...\s}\V&POLITECNICO DI TORINO& Definisce il nome generico dell'Ateneo & \cs{ateneo}\Arg{II Università di Roma} \\ \cs{nomeateneo}\t\s{...\s}& nessuno& Definisce il nome proprio dell'Ateneo & @@ -2323,26 +2370,10 @@ Comando & Default & Scopo & Esempio d'uso \\ \cs{Materia}\Arg{Remote Sensing} \\ \cs{materia}\t\{...\}&nessuno&sinonimo del comando \cs{Materia} & \cs{materia}\d\Arg{Letteratura ostrogota} \\ -\bottomrule -\end{tabular}} -\end{table} - -\addtocounter{table}{-1} -\begin{table}[p] -\def\V{\rule{0pt}{2.5ex}} -\let\s\string \let\t\ttfamily -\def\d{\discretionary{\%}{\rule{1em}{0pt}}{}} -\caption{Comandi per il frontespizio della monografia di laurea, della -tesi di laurea e della dissertazione di dottorato (\emph{continua})}\label{tab:front2} -\makebox[\textwidth]{% -\begin {tabular}{p{.3\textwidth}p{.15\textwidth}p{.2\textwidth}p{.3\textwidth}} -\toprule -Comando & Default & Scopo & Esempio d'uso \\ -\midrule \cs{relatore}\t\{...\}\V&nessuno& Definisce il nome del relatore& - \cs{relatore}\d\Arg{prof.\s~Albert Einstein} \\ + \cs{relatore}\d\Arg{prof.\s~Albert Einstein} \\ \cs{secondorelatore}\t\{...\}&nessuno&Se c'è, definisce il nome del secondo relatore& - \cs{secondorelatore}\d\Arg{dott.\s~Grazia Deledda}\\ + \cs{secondorelatore}\d\Arg{dott.\s~Grazia Deledda}\\ \cs{terzorelatore}\t\{...\}&nessuno&Se c' è, definisce il nome del terzo relatore& \cs{terzorelatore}\d\Arg{ing.\s~Thomas A.\s~Edison}\\ @@ -2366,28 +2397,10 @@ del secondo candidato& \cs{secondocandidato}\d\Arg{Evangelista Torricelli}\\ \cs{secondacandidata}\t\d\{...\}&nessuno&Se c'è , definisce il nome della seconda candidata& - \cs{secondacandidata}\d\Arg{Rita Levi Montalcini}\\ -\bottomrule -\end{tabular}} -\end{table} - -\addtocounter{table}{-1} -\begin{table} -\def\V{\rule{0pt}{2.5ex}} -\def\d{\discretionary{\%}{\rule{1em}{0pt}}{}}\let\t\ttfamily -\caption{Comandi per il frontespizio della monografia di laurea, della -tesi di laurea e della dissertazione di dottorato. Comando per comporre il verso del frontespizio.}\label{tab:front3} -\makebox[\textwidth]{% -\begin {tabular}{p{.3\textwidth}p{.175\textwidth}p{.2\textwidth}p{.275\textwidth}} -\toprule -Comando & Default & Scopo & Esempio d'uso \\ -\midrule -\cs{terzocandidato}\t\{...\} -&nessuno -& Se c'è, definisce il nome del -terzo candidato -& \cs{terzocandidato}\t\d\Arg{Alessandro~Volta} - \\ + \cs{secondacandidata}\d\Arg{Rita Levi Montalcini}\\ +\cs{terzocandidato}\t\{...\} &nessuno & Se c'è, definisce il nome del + terzo candidato + & \cs{terzocandidato}\t\d\Arg{Alessandro~Volta} \\ \cs{terzacandidata}\t\{...\}&nessuno&Se c'è, definisce il nome della terza candidata& \cs{terzacandidata}\t\d\Arg{Eleonora~Duse}\\\cs{sedutadilaurea}\t\{...\}\V&data corrente &Definisce il mese e l'anno (volendo il giorno) della seduta di laurea& \cs{sedutadilaurea}\t\d\Arg{Dicembre~2025}\\ @@ -2397,22 +2410,20 @@ terzo candidato della scuola di dottorato & \cs{scuoladidottorato}\t\d\Arg{SCUDO}\\ \cs{ciclodidottorato}\t\d\{...\}&nessuno&Definisce il numero ordinale del ciclo di dottorato& - \cs{ciclodidottorato}\t\d\Arg{XV~ciclo} \\ + \cs{ciclodidottorato}\t\d\Arg{XV~ciclo} \\ \cs{logosede}\t[...]\{...\}&nessuno&\raggedright Inserisce nel frontespizio il logo dell'ateneo, specificandone opzionalmente l'altezza (default: 3\,cm)& \cs{logosede}\t\d[2cm]\Arg{logouno,\d logodue}\\ \cs{setlogodistance}\t\d\{...\}& 3\,em & imposta la distanza fra i loghi& \cs{setlogodistance}\t\d\Arg{25mm}\\ -\midrule -\cs{retrofrontespizio}\t\d\{...\}& nessuno& \multicolumn2{p{.5\textwidth}}{Se specificato, serve +\midrule\midrule +\cs{retrofrontespizio}\t\d\{...\}& nessuno& \multicolumn2{p{.475\textwidth}}{Se specificato, serve solitamente per scrivere nel verso - della pagina del frontespizio alcune dichiarazioni di - carattere legale; accetta un argomento composto anche da - diversi capoversi}\\ -\bottomrule -\end{tabular}} -\end{table} + della pagina del frontespizio alcune dichiarazioni + di carattere legale; accetta un argomento composto + anche da diversi capoversi}\\ +\end{longtable}} \begin{table}[p]\tabcolsep=3pt diff --git a/Master/texmf-dist/doc/latex/toptesi/toptesi.pdf b/Master/texmf-dist/doc/latex/toptesi/toptesi.pdf index 09bffdffddc..1ecb6e5b1d1 100644 Binary files a/Master/texmf-dist/doc/latex/toptesi/toptesi.pdf and b/Master/texmf-dist/doc/latex/toptesi/toptesi.pdf differ diff --git a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx index b29223b5075..60295868a28 100644 --- a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx +++ b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx @@ -8,7 +8,7 @@ \preamble ______________________________________________________ The TOPtesi package - Copyright (C) 2015 Claudio Beccari + Copyright (C) 2005-2016 Claudio Beccari All rights reserved License information appended @@ -107,7 +107,7 @@ lines of the file for how-to information. %\ProvidesPackage{topcoman}[% %\ProvidesPackage{topfront}[% %<*driver,class,topsty,topcmn,topfrn> -2016/010/04 v.5.93 +2016/10/10 v.5.9.05 %Class for typesetting university theses] %Extension for toptesi.cls] %Additional commands for the TOPtesi bundle] @@ -138,7 +138,7 @@ lines of the file for how-to information. % % \fi % -% \CheckSum{2829} +% \CheckSum{2842} % % \begin{abstract} % This file describes the TOPtesi bundle; it is a set of files designed to @@ -460,18 +460,19 @@ lines of the file for how-to information. % another qualification, for example ``Tesi di Laurea Magistrale''. % \Item[NomeDissertazione] gets the phrase that describes the doctoral thesis; % by default it is ``Tesi di Dottorato''. -% \Item[InName] infix strings often require adjusting of the prepositions; this macro -% gets the preposition that stands for ``in'' (the default). In German -% it might become ``auf''. -% \Item[NomeAnnoAccademico] defines the infix string that stands for ``Academic year''. -% This macro is defined only if the option \texttt{classica} is in force; -% after all the command |\annoaccademico| is defined only with that -% option. -% \Item[logosede] specifies the name of the file or the files that contain the university -% logos; no default is defined; rather a warning message is issued if no -% name is given or the file is missing, but typesetting goes on without -% the inclusion of any logo. A list of logos can be specified, useful -% when a thesis is carried on in a multiple University environment +% \Item[InName] infix strings often require adjusting of the prepositions; this +% macro gets the preposition that stands for ``in'' (the default). +% In German it might become ``auf''. +% \Item[NomeAnnoAccademico] defines the infix string that stands for ``Academic +% year''. This macro is defined only if the option +% \texttt{classica} is in force; after all the command +% |\annoaccademico| is defined only with that option. +% \Item[logosede] specifies the name of the file or the files that contain +% the university logos; no default is defined; rather a warning +% message is issued if no name is given or the file is missing, +% but typesetting goes on without the inclusion of any logo. +% A list of logos can be specified, useful when a thesis is +% carried on in a multiple University environment % such as, for example, in a double degree Erasmus % program; or under the Erasmus Mundus program. The ``string'' of % logos is scaled properly so that they may fit in |\textwidth|. @@ -1850,34 +1851,7 @@ Skipping any redefinition\MessageBreak}% \fi \fi % \end{macrocode} -% Here |\annoaccademico| is defined to typesets the infix string corresponding to -% ``Anno accademico'' followed by the year range in old style numbers (irrespective -% of the \texttt{oldstyle} option); localisation commands are provided so as -% to set a different string, possibly through the configuration file. In order to set -% an adequate en-dash between the old style numbers a new definition is given that -% takes care to set the dash at a height above the base line that copes with the -% specific shape of the old style numbers. -% \begin{macrocode} -\newcommand*\NomeAnnoAccademico[1]{\gdef\AnnoAccademico{#1}} -\@ifundefined{AnnoAccademico}{\gdef\AnnoAccademico{Anno accademico}}{} % -\def\annoaccademico#1{\ifclassica - \def\@submitdate{{\large\textsc{\AnnoAccademico}} {\Large\s@tanno#1!}} - \else - \PackageWarning{toptesi}{\string\annoaccademico\space is usable only - when the\MessageBreak - `classica' option is in force}% - \def\@submitdate{\AnnoAccademico\ #1 --- Needs `classica' option} - \fi} -\def\s@tanno#1-#2!{\oldstylenums{#1\EnDash#2}} - -\def\EnDash{{\settowidth{\dimen@}{\large\scshape I}% -\setbox\tw@\hbox{2}\dimen\tw@.5\ht\tw@\advance\dimen\tw@-.5\dp\tw@ -\dimen4\dimen\tw@\advance\dimen4by.0385ex\relax -\advance\dimen\tw@-.0385ex\relax -\makebox[1.5\dimen@]{% - \vrule\@width\dimen@\@height\dimen4\@depth-\dimen\tw@}}} -% \end{macrocode} % The footnote rule separator is also longer that the default one. Dealing % with notes the footnote separator is also changed as well as the footnote % skip. But the humanists like to have also unnumbered notes within numbered @@ -2052,7 +2026,11 @@ Skipping any redefinition\MessageBreak}% % \begin{macrocode} \def\ps@classica{\let\@mkboth\markboth \def\@oddhead{\vbox{% - \hbox to \hsize{\hfill {\LARGE\MakeUppercase{\@ateneo}}\hfill}% + \setbox256=\hbox{\LARGE\MakeUppercase{\@ateneo}} + \unless\ifdim\wd256<\textwidth + \setbox256=\hbox{\resizebox{\textwidth}{!}{\box256}}% + \fi + \hbox to \hsize{\hss\box256\hss}% \ifclassica \hbox to \hsize{\hfil\vrule\@width\z@ \@height2ex\vrule\@height1.4\p@\@depth-\p@\@width50mm\hfil}% @@ -2269,6 +2247,41 @@ Skipping any redefinition\MessageBreak}% \def\s@paranumeri#1-#2!{\def\1{#1}\def\2{#2}}% \let\esamedidottorato\sedutadilaurea % \end{macrocode} +% Here |\annoaccademico| is defined to typesets the infix string corresponding +% to ``Anno accademico'' followed by the year range in old style numbers +% (irrespective of the \texttt{oldstyle} option); localisation commands are +% provided so as to set a different string, possibly through the configuration +% file. In order to set an adequate en-dash between the old style numbers a new +% definition is given that takes care to set the dash at a height above the base +% line that copes with the specific shape of the old style numbers. +% Notice that |\annoaccademico| and |\sedutadilaurea| do not do the same +% things, besides the fact that |\annoaccademico| works only with the +% |classica| option in force and a special format is chosen. Therefore +% the user has to use only one of these twocommands, and if s/he uses +% |\annoaccademico| while the |classica| option is not in force, s/he +% gets an warning and the ``date'' gets formatted in a special way so as +% to remember the user that |\annoaccademico| requires the |classica| option. +% \begin{macrocode} +\newcommand*\NomeAnnoAccademico[1]{\gdef\AnnoAccademico{#1}} +\@ifundefined{AnnoAccademico}{\gdef\AnnoAccademico{Anno accademico}}{} +% +\def\annoaccademico#1{\ifclassica + \def\@submitdate{{\large\textsc{\AnnoAccademico}} {\Large\s@tanno#1!}} + \else + \PackageWarning{toptesi}{\string\annoaccademico\space + is usable only when the\MessageBreak + `classica' option is in force}% + \def\@submitdate{\AnnoAccademico\ #1 --- Needs the `classica' option} + \fi} +\def\s@tanno#1-#2!{\oldstylenums{#1}\EnDash\oldstylenums{#2}} + +\def\EnDash{{\settowidth{\dimen@}{\large\scshape I}% +\setbox\tw@\hbox{2}\dimen\tw@.5\ht\tw@\advance\dimen\tw@-.5\dp\tw@ +\dimen4\dimen\tw@\advance\dimen4by.0385ex\relax +\advance\dimen\tw@-.0385ex\relax +\makebox[1.5\dimen@]{% + \vrule\@width\dimen@\@height\dimen4\@depth-\dimen\tw@}}} +% \end{macrocode} % % The next macros are used to assign strings to some literal information % to be typeset in the title page. |\ciclodidottorato| requires an uppercase @@ -2698,7 +2711,7 @@ Skipping any redefinition\MessageBreak}% % \begin{macrocode} \ifcsvoid{@nomeat}{} {\ifbool{topTPTlogos}{\vspace*{3.5ex}}{\vspace*{-3ex}}% - {\centering\Large \@nomeat\par}\vfill} + {\centering\@nomeat\par}\vfill} % \end{macrocode} % Then the faculty name comes next; but for the doctoral school it uses the doctoral diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty index 39637271c0c..467a62a4676 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty @@ -7,14 +7,14 @@ %% toptesi.dtx (with options: `topcmn') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2015 Claudio Beccari +%% Copyright (C) 2005-2016 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2015/01/01] \ProvidesPackage{topcoman}[% -2016/010/04 v.5.93 +2016/10/10 v.5.9.05 Additional commands for the TOPtesi bundle] \RequirePackage{iftex} \ifPDFTeX diff --git a/Master/texmf-dist/tex/latex/toptesi/topfront.sty b/Master/texmf-dist/tex/latex/toptesi/topfront.sty index aedc83506df..e7a2b62830a 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topfront.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topfront.sty @@ -7,14 +7,14 @@ %% toptesi.dtx (with options: `topfrn') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2015 Claudio Beccari +%% Copyright (C) 2005-2016 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2015/01/01] \ProvidesPackage{topfront}[% -2016/010/04 v.5.93 +2016/10/10 v.5.9.05 Title page for TOPtesi and other classes] \@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}} \ifcsundef{ifclassica}{% @@ -55,7 +55,11 @@ Title page for TOPtesi and other classes] } \def\ps@classica{\let\@mkboth\markboth \def\@oddhead{\vbox{% - \hbox to \hsize{\hfill {\LARGE\MakeUppercase{\@ateneo}}\hfill}% + \setbox256=\hbox{\LARGE\MakeUppercase{\@ateneo}} + \unless\ifdim\wd256<\textwidth + \setbox256=\hbox{\resizebox{\textwidth}{!}{\box256}}% + \fi + \hbox to \hsize{\hss\box256\hss}% \ifclassica \hbox to \hsize{\hfil\vrule\@width\z@ \@height2ex\vrule\@height1.4\p@\@depth-\p@\@width50mm\hfil}% @@ -146,6 +150,24 @@ Title page for TOPtesi and other classes] } \def\s@paranumeri#1-#2!{\def\1{#1}\def\2{#2}}% \let\esamedidottorato\sedutadilaurea +\newcommand*\NomeAnnoAccademico[1]{\gdef\AnnoAccademico{#1}} +\@ifundefined{AnnoAccademico}{\gdef\AnnoAccademico{Anno accademico}}{} +\def\annoaccademico#1{\ifclassica + \def\@submitdate{{\large\textsc{\AnnoAccademico}} {\Large\s@tanno#1!}} + \else + \PackageWarning{toptesi}{\string\annoaccademico\space + is usable only when the\MessageBreak + `classica' option is in force}% + \def\@submitdate{\AnnoAccademico\ #1 --- Needs the `classica' option} + \fi} +\def\s@tanno#1-#2!{\oldstylenums{#1}\EnDash\oldstylenums{#2}} + +\def\EnDash{{\settowidth{\dimen@}{\large\scshape I}% +\setbox\tw@\hbox{2}\dimen\tw@.5\ht\tw@\advance\dimen\tw@-.5\dp\tw@ +\dimen4\dimen\tw@\advance\dimen4by.0385ex\relax +\advance\dimen\tw@-.0385ex\relax +\makebox[1.5\dimen@]{% + \vrule\@width\dimen@\@height\dimen4\@depth-\dimen\tw@}}} \def\ciclodidottorato#1{\gdef\@ciclo{#1 \@cyclename}}% \def\corsodilaurea#1{\global\dottoratofalse\gdef\@corso{#1}} \def\corsodidottorato#1{\global\dottoratotrue\global\laureatriennalefalse @@ -305,7 +327,7 @@ Title page for TOPtesi and other classes] } \ifcsvoid{@nomeat}{} {\ifbool{topTPTlogos}{\vspace*{3.5ex}}{\vspace*{-3ex}}% - {\centering\Large \@nomeat\par}\vfill} + {\centering\@nomeat\par}\vfill} \begin{center} {\rmfamily\mdseries diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg b/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg index 6579cda131b..20bad83a242 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cfg @@ -7,7 +7,7 @@ %% toptesi.dtx (with options: `topcfg') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2015 Claudio Beccari +%% Copyright (C) 2005-2016 Claudio Beccari %% All rights reserved %% %% License information appended diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls index 955f8afcf11..6b2132d86d9 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls @@ -7,14 +7,14 @@ %% toptesi.dtx (with options: `class') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2015 Claudio Beccari +%% Copyright (C) 2005-2016 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2015/01/01] \ProvidesClass{toptesi}[% -2016/010/04 v.5.93 +2016/10/10 v.5.9.05 Class for typesetting university theses] \DeclareOption{a4paper}{\PassOptionsToClass{\CurrentOption}{report}} \DeclareOption{titlepage}{\PassOptionsToClass{\CurrentOption}{report}} diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty index f2b6d3b0f5c..9f072d384f4 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty @@ -7,14 +7,14 @@ %% toptesi.dtx (with options: `topsty') %% ______________________________________________________ %% The TOPtesi package -%% Copyright (C) 2015 Claudio Beccari +%% Copyright (C) 2005-2016 Claudio Beccari %% All rights reserved %% %% License information appended %% \NeedsTeXFormat{LaTeX2e}[2015/01/01] \ProvidesPackage{toptesi}[% -2016/010/04 v.5.93 +2016/10/10 v.5.9.05 Extension for toptesi.cls] \def\TRON{\tracingcommands \tw@ \tracingmacros \tw@} \def\TROFF{\tracingcommands\z@ \tracingmacros \z@} @@ -453,24 +453,6 @@ Skipping any redefinition\MessageBreak}% \def\chaptermark##1{\markright{\thechapter\ -- ##1}}} \fi \fi -\newcommand*\NomeAnnoAccademico[1]{\gdef\AnnoAccademico{#1}} -\@ifundefined{AnnoAccademico}{\gdef\AnnoAccademico{Anno accademico}}{} -\def\annoaccademico#1{\ifclassica - \def\@submitdate{{\large\textsc{\AnnoAccademico}} {\Large\s@tanno#1!}} - \else - \PackageWarning{toptesi}{\string\annoaccademico\space is usable only - when the\MessageBreak - `classica' option is in force}% - \def\@submitdate{\AnnoAccademico\ #1 --- Needs `classica' option} - \fi} -\def\s@tanno#1-#2!{\oldstylenums{#1\EnDash#2}} - -\def\EnDash{{\settowidth{\dimen@}{\large\scshape I}% -\setbox\tw@\hbox{2}\dimen\tw@.5\ht\tw@\advance\dimen\tw@-.5\dp\tw@ -\dimen4\dimen\tw@\advance\dimen4by.0385ex\relax -\advance\dimen\tw@-.0385ex\relax -\makebox[1.5\dimen@]{% - \vrule\@width\dimen@\@height\dimen4\@depth-\dimen\tw@}}} \renewcommand\footnoterule{% \kern-6\p@ \hrule\@width.4\columnwidth diff --git a/Master/tlpkg/bin/ctan2tl b/Master/tlpkg/bin/ctan2tl index 4eba4477b8e..8c7a29d0068 100755 --- a/Master/tlpkg/bin/ctan2tl +++ b/Master/tlpkg/bin/ctan2tl @@ -128,10 +128,12 @@ ctan2tds --ctan-dir=$ctan_dir $pkg || exit 1 cd $cooked || exit 1 printf "\n\f cooked\n" find $pkg -name TDS_READY -exec rm '{}' \; # remove sentinel file -find -depth -type d | xargs rmdir 2>/dev/null # remove empty directories +find $pkg -depth -type d | xargs rmdir 2>/dev/null # remove empty directories -if test -n "`find -name \*\ \*`"; then - echo "$0: cooked hierarchy contains files with spaces, goodbye." >&2 +spacenames="`find $pkg -name \*\ \*`" +if test -n "$spacenames"; then + echo "$0: cooked hierarchy contains files with spaces, goodbye:" >&2 + echo "$spacenames" >&2 exit 1 fi -- cgit v1.2.3