diff options
author | Karl Berry <karl@freefriends.org> | 2015-12-20 23:16:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-12-20 23:16:55 +0000 |
commit | 92a2a733c11333aa10c9d85d9365f5a6c933a243 (patch) | |
tree | bfb393a418c45c3aa35039d365dd551ffb78796e /Master/texmf-dist | |
parent | 6db964e915c4d62a982a0aed51da9a831a15704f (diff) |
toptesi (19dec15)
git-svn-id: svn://tug.org/texlive/trunk@39154 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/toptesi/README | 32 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/toptesi/manifest.txt | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex.pdf | bin | 1878690 -> 983363 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex.tex | 27 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/toptesi/toptesi.pdf | bin | 405286 -> 406329 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/toptesi/toptesi.dtx | 62 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topcoman.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/topfront.sty | 5 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi.cls | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/toptesi/toptesi.sty | 2 |
10 files changed, 76 insertions, 58 deletions
diff --git a/Master/texmf-dist/doc/latex/toptesi/README b/Master/texmf-dist/doc/latex/toptesi/README index 36d22e7ff57..efcf0fba14d 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.90 of 2015 +TOPtesi bundle version 5.91 of 2015 Copyright 2015 Claudio Beccari LaTeX Project Public Licence LPPL v.1.3 (or later) @@ -16,24 +16,22 @@ 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 of TOPtesi is intended to be compliant also with XeLaTeX +This version 5.91 of TOPtesi is 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. +archivable files from pdfLaTeX, XeLaTeX, and LuaLaTeX. This particular part +is up to date with respect to package pdfx dated 2015/02/17 v.1.5.3 and +to ghostscript 9.16. Version 5.90 has been enhanced with some more class options that allow TOPtesi to be used with external packages for typesetting the title -page with different styles. +page in different styles. Version 5.90 has a completely enhanced and redone Italian documentation file toptesi-it-pdftex.pdf. -Version 5.90 explains in detail how to obtain PDF/A compliant files -for long time archiving. Methods are different for the three main -typesetting programs, particularly delicate for XeLaTeX produced PDF -files. For installation, if the package is not already installed in your -TeX system distribution, either read the Italian documentation in +TeX system distribution, either read the Italian documentation toptesi-it-pdftex.pdf or quickly decompress the toptesi.zip file and move all files to: @@ -42,11 +40,11 @@ and move all files to: Run pdflatex on toptesi.dtx in order to get the class, style and configuration files (and the pdf documentation in English) and move the .tex, .cls, .sty, .xmpdata, .ps and .cfg files (including the -example .tex files) to .../texmf/tex/latex/toptesi/; do move to this -folder also the GuITlogo.pdf, MPlogo.pdf, Logouno.pdf, Logo2,pdf, -Logotre.pdf, Logoblu.pdf, and Logoquattro.pdf. +example .tex and .pdf files) to .../texmf/tex/latex/toptesi/; move to this +folder also the GuITlogo.pdf, MPlogo.pdf, Logouno.pdf, Logodue.pdf, +Logotre.pdf, Logoquattro.pdf, and Logoblu.pdf files. -Move the .txt and .pdf files plus this README file to +Move the .txt and the remaining .pdf files plus this README file to .../texmf/doc/latex/toptesi. If the mentioned folders do not exist, create them. @@ -58,11 +56,13 @@ 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 -that is present in your texmf tree. Remember to refresh the filename database! +that is present in your texmf tree. + +Remember to refresh the filename database if you are using a MiKTeX +installation! If the package is already installed (it is with complete TeXLive or -complete MiKTeX distributions), the texmf folder should be the -<prefix>/texmf-dist system one. But in this case you don't need to +complete MiKTeX distributions. In this case you don't need to decompress anything and move files around. Possibly check if the CTAN repository contains a newer version and, in case, use your package manager to upgrade your installation, but don't ever move or change diff --git a/Master/texmf-dist/doc/latex/toptesi/manifest.txt b/Master/texmf-dist/doc/latex/toptesi/manifest.txt index 6bf06007c70..a728753c7be 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.90) +manifest.txt (TOPtesi version 5.91) Copyright 2008-2015 Claudio Beccari This work may be distributed and/or modified under the conditions of diff --git a/Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex.pdf b/Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex.pdf Binary files differindex 3f88179a492..32bd8fa8284 100644 --- a/Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex.pdf +++ b/Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex.pdf diff --git a/Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex.tex b/Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex.tex index f098434c7df..842fe2272f6 100644 --- a/Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex.tex +++ b/Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex.tex @@ -1,5 +1,5 @@ % !TEX encoding = UTF-8 Unicode -% !TEX TS-program = LuaLaTeX +% !TEX TS-program = pdfLaTeX % %---------------------------- English ---------------------------- % The above auto configuration lines, useful for those LaTeX @@ -1748,36 +1748,33 @@ Suggerisco allora di crearsi una versione modificata di \pack{pdfx} seguendo le \item Si copi il file \file{pdfx.sty} e lo si salvi con un nome diverso, per esempio \file{mypdfx.sty} nella cartella di lavoro o in una cartella appositamente predisposta nel proprio albero personale; in questo caso con \MiKTeX\ è necessario aggiornare il database dei nomi dei file con i comandi di cui quella distribuzione dispone. È chiaro che nel preambolo bisogna poi caricare il pacchetto \pack{mypdfx} che sarebbe bene che sia modificato in modo da restare compatibile con la compilazione mediante \pdfLaTeX. % \item Modificare il nuovo pacchetto \pack{mypdfx} introducendo el seguenti modifiche. -\begin{enumerate}[noitemsep] -\item Dopo le righe:\begin{verbatim} +\begin{quote} +Dopo le righe: +\begin{Verbatim}[fontsize=\small] \ProvidesPackage{pdfx} [2015/02/17 v1.5.3 PDF/X and PDF/A support (CVR/HTH/RRM/PS)] -\end{verbatim} +\end{Verbatim} inserire il codice seguente: \bgroup \color{red}% \begin{verbatim} \RequirePackage{iftex}% \ifLuaTeX - \RequirePackage{pdftexcmds}% \unless\ifcsname pdfmdfivesum\endcsname + \RequirePackage{pdftexcmds}% \let\pdfmdfivesum\pdf@mdfivesum\fi \fi \end{verbatim} \egroup Il pacchetto \pack{iftex} serve per distinguere con quale motore di composizione si sta lavorando e definisce gli switch \cs{ifPDFTeX}, \cs{ifXeTeX} e \cs{ifLuaTeX} come veri o falsi a seconda del motore usato; infatti nel codice precedente le tre righe sono eseguite solo se si sta lavorando con \LuaLaTeX. -\item cercare nel file \emph{ogni} istruzione che indichi l'uso del pacchetto \pack{inputenc} o che usi il comando \cs{inputencoding} (con il suo argomento) e racchiuderla dentro il costrutto logico: -\bgroup\color{red}% -\begin{verbatim} -\ifPDFTeX ... \fi -\end{verbatim} -\egroup -\end{enumerate} -Queste sono le due ragioni di (modesta) incompatibilità fra \pack{pdfx} e \LuaLaTeX. +\end{quote} +Questa è la ragione di (modesta) incompatibilità fra \pack{pdfx} e \LuaLaTeX. -Merita però osservare che se la data del vostro pacchetto \pack{pdfx} è posteriore a quella indicata sopra, è possibile che non sia necessaria nessuna modifica; quindi prima di procedere con queste modifiche si provi ad eseguire \LuaLaTeX\ sul file principale della tesi avendo specificato il normale pacchetto \pack{pdfx} e si veda se la compilazione procede senza errori; se vien comunicato che \cs{pdfmdfivesum} è una ``Undefined control sequence'', allora le modifiche sopra indicate sono necessarie. +Merita però osservare che se la data del vostro pacchetto \pack{pdfx} è posteriore a quella indicata sopra, è possibile che non sia necessaria nessuna modifica; quindi prima di procedere con queste modifiche si provi ad eseguire \LuaLaTeX\ sul file principale della tesi avendo specificato il normale pacchetto \pack{pdfx} e si veda se la compilazione procede senza errori; se viene comunicato che \cs{pdfmdfivesum} è una ``Undefined control sequence'', allora le modifiche sopra indicate sono necessarie. +% +\item Lo ripeto: il pacchetto \pack{mypdfx} è ora compatibile sia con \pdfLaTeX\ sia con \LuaLaTeX, e può essere usato per comporre file PDF/A sia con l'uno sia con l'altro programma. % -\item Lo ripeto: il pacchetto \pack{mypdfx} è ora compatibile sia con \pdfLaTeX\ sia con \LuaLaTeX, e può essere usato per comporre file PDF/A sia con l'uno sia con l'altro programma. Non usare né \pack{pdfx} né \pack{mypdfx} se si compila il documento con \XeLaTeX. +\item Non usare né \pack{pdfx} né \pack{mypdfx} se si compila il documento con \XeLaTeX. \end{enumerate} Si predisponga il preambolo del file sorgente come se lo si dovesse predisporre per \XeLaTeX; font, scelta delle lingue, eccetera, ma si aggiunga anche la chiamata al pacchetto \pack{mypdfx} come si è fatto (o si può fare) per compilare con \pdfLaTeX. Si predisponga il file di metadati come in quel caso. diff --git a/Master/texmf-dist/doc/latex/toptesi/toptesi.pdf b/Master/texmf-dist/doc/latex/toptesi/toptesi.pdf Binary files differindex a413114ad35..e4efe9cb0ac 100644 --- a/Master/texmf-dist/doc/latex/toptesi/toptesi.pdf +++ b/Master/texmf-dist/doc/latex/toptesi/toptesi.pdf diff --git a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx index 956b0a358be..8da3fa99462 100644 --- a/Master/texmf-dist/source/latex/toptesi/toptesi.dtx +++ b/Master/texmf-dist/source/latex/toptesi/toptesi.dtx @@ -107,7 +107,7 @@ lines of the file for how-to information. %<topcmn>\ProvidesPackage{topcoman}[% %<topfrn>\ProvidesPackage{topfront}[% %<*driver,class,topsty,topcmn,topfrn> -2015/12/06 v.5.90 +2015/12/18 v.5.91 %<class>Class for typesetting university theses] %<topsty>Extension for toptesi.cls] %<topcmn>Additional commands for the TOPtesi bundle] @@ -671,12 +671,13 @@ lines of the file for how-to information. % of \XeLaTeX, because the typesetting engine in this case cannot directly % produce a PDF formatted output file. Nevertheless even a PDF produced with % \XeLaTeX\ can be made PDF/A compliant; even better, \LuaLaTeX, whose source -% file is practically the same as that of \XeLaTeX, may produce a PDF/A -% compliant output file if the user forces a little bit the compilation. +% file is practically the same as that of \XeLaTeX, may directly produce a PDF/A +% compliant output file if the user uses a little patch described further on. +% The patch is integrated into TOPtesi, and the user might be interested only +% if s/he used a different class to typeset some of the included files. % -% More details are give in the Italian documentation contained in files -% \texttt{toptesi\discretionary{-}{}{-}it-pdftex}, |toptesi-it-xetex|, and -% |toptesi-it-luatex|. +% More details are given in the Italian documentation contained in files +% \texttt{toptesi\discretionary{-}{}{-}it-pdftex}. % % Politecnico di Torino as well as many other Italian and foreign universities % are moving towards archiving theses in electronic format, specifically in the @@ -705,12 +706,12 @@ lines of the file for how-to information. % information, such as the keywords that ease up library searches. % % Since version 1.40, the program \texttt{pdflatex} is capable of producing -% PDF/A-1b conforming files, provided that some attention is put into the +% PDF/A-1b compliant files, provided that some attention is put into the % manipulation of the source file of the thesis. With the distribution of % the 2008 version of the \TeX\ system, the executable \texttt{pdflatex} has % version number 1.40.9 (or higher) and is capable of producing PDF/A-1b files. % -% The particular attention needed to avoid problems with the PDF/A certification +% The particular attention needed to avoid problems with the PDF/A compliance % is summarised as follows: % \begin{enumerate} % \item The preliminary essential requirement is that the \texttt{pdflatex} @@ -725,15 +726,26 @@ lines of the file for how-to information. % into a PS file; at this point you have lost the possibility of exploiting % the internal commands of |pdflatex| version 1.40.9 or later. You can still % produce a PDF/A final document, but you have to transform it by means of -% |ghostscript|; read the |ghostscript| (version 8.61 or later) documentation -% file |ps2pdf.html| in order to find out how to produce the correct PS to -% PDF/A transformation. A procedure similar to this one is available when +% |ghostscript|; read the |ghostscript| (version 9.16 or later) documentation +% file |ps2pdf.html| in order to find out how to produce the correct +% PS-to-PDF/A transformation. A procedure similar to this one is available when % the thesis is typeset by means of \XeLaTeX, and produces valid results % provided some caution is exercised when using fonts. The documentation in % Italian describes several methods to transform a non compliant PDF/A file % into a compliant one, and how to correct the ``imperfections'' that forbid % any valid transformation. % +% \item As said before, \prog{lualatex} is not fully compatible with package +% \pack{pdfx}, because in spite of having a typesetting engine that has +% a strong resemblance with \prog{pdftex} it does not contain all its +% primitives; in particular it misses the \cs{pdfmdfivesum} primitive. In +% order to supply a patch it is necessary to load the package \pack{pdftexcmds} +% that defines some macros that emulate the missing \prog{pdftex} primitives +% by means of macros. This patch is already integrated into TOPtesi, so when +% the user typesets his/her thesis with \prog{LuaLaTeX}, non ``undefined +% control sequence'' errors show up, and their functionality is preserved by +% means of the above patch. +% % \item Your up-to-date complete \TeX\ distribution should contain the package % \textsf{pdfx}; if it does not, upgrade your \TeX\ system complete % distribution. @@ -749,8 +761,8 @@ lines of the file for how-to information. % \Title{Experiments in Trichotetratomy} % \Author{John Smith} % \end{verbatim} -% Keywords require a specific XML style format that can be examined in the -% package documentation. +% The keyword list requires a specific format that can be examined +% in the package documentation. % % \item Some mathematical symbol commands obtained from the standard \LaTeX\ % set-up and the standard mathematical fonts require some patching that is @@ -758,7 +770,7 @@ lines of the file for how-to information. % that with other fonts similar patches might be requested. The UNICODE % math fonts used by \XeLaTeX\ do not require any patch, but unfortunately % its PDF byproduct is not PDF/A compliant (it must be converted by means -% of \prog{ghostscript}). +% of \prog{ghostscript}). With \LuaLaTeX\ there are no problems with fonts. % % \item Use only PNG and JPEG images with RGB color profiles. % @@ -793,9 +805,10 @@ lines of the file for how-to information. % strong chances that if you follow the general recommendations shown here % and in the document |toptesi-it-xetex.pdf| file, the output file will be % PDF/A compliant. +% % \item If you really have to typeset your document with \prog{xelatex} because % you have to use Opentype fonts or you have to manage languages in a -% different way from what you can di with |babel|, then prefer using +% different way from what you can do with |babel|, then prefer using % \prog{lualatex}, even if you have to force the compilation; formally % \LuaLaTeX\ and package \pack{pdfx} are incompatible (by the end of 2015), % but if at the first error you force the continuation of the compilation @@ -815,8 +828,8 @@ lines of the file for how-to information. % in the free nature of the \prog{pdflatex}, \prog{xelatex}, and \prog{lualatex} % programs, that, on the opposite, according to my experience have a very high % rate of success in producing PDF/A compliant documents. If you stick to the -% default \TeX\ system Type~1 256-glyph, or to the UNICODE encoded otf or ttf -% fonts and use this patched version of \texttt{TOPtesi} you should be able +% default \TeX\ system Type~1 256-glyph fonts, or to the UNICODE encoded otf +% or ttf fonts and use this patched version of \texttt{TOPtesi} you should be able % to avoid most problems. % % \StopEventually{} ^^A Bibliography? @@ -951,7 +964,13 @@ Read documentation toptesi-it-*.pdf, because package pdfx has changed}} % inserting the university logo(s); if the user forgets that this package has % already been loaded nothing dramatic happens, because the |\usepackage| % and |\RequirePackage| macros perform the necessary tests in order to avoid -% reloading the same packages again and again. +% reloading the same packages again and again. In order to produce PDF/A +% compliant files the necessary patches are very simple, but must be done +% directly into a personal copy of the \pack{pdfx} package; see the Italian +% documentation about this point. This notice is done here because this would +% have been a convenient point to introduce the initial single patch I +% found; but this patch by itself is not sufficient. +% % \begin{macrocode} \RequirePackage{graphicx} \RequirePackage{etoolbox} @@ -2316,7 +2335,8 @@ Skipping any redefinition\MessageBreak}% \setlength\interno{\dimexpr\paperwidth/7}}{} \newcommand\logosede[2][\interno]{\def\@logosede{#2}\TPT@logoheight=#1\relax -\ifcsvoid{@logosede}{\sbox{\TPT@logobox}{}}{\begin{lrbox}{\TPT@logobox}\expandafter\fillup@TCP@logobox\@logosede,!}} +\ifcsvoid{@logosede}{\sbox{\TPT@logobox}{}}{\begin{lrbox}{\TPT@logobox}% +\expandafter\fillup@TCP@logobox\@logosede,!}} \def\fillup@TCP@logobox#1,#2!{% \ifblank{#1}{\end{lrbox}\ifdim\wd\TPT@logobox>\textwidth @@ -2357,8 +2377,8 @@ Skipping any redefinition\MessageBreak}% % \Item[CycleName] ``ciclo'' in, say, ``cycle'' % \Item[NomePrimoTomo] ``Tomo primo'' in, say, ``First volume'' % \Item[NomeSecondoTomo] ``Tomo secondo'' in, say, ``Second volume'' -% \item[NomeTerzoTomo] ``Tomo terzo'' in, say, ``Third volume'' -% \item[NomeQuartoTomo] ``Tomo quarto'' in, say, ``Fourth volume'' +% \Item[NomeTerzoTomo] ``Tomo terzo'' in, say, ``Third volume'' +% \Item[NomeQuartoTomo] ``Tomo quarto'' in, say, ``Fourth volume'' % \end{description} % In the above description the first string is generally the default one, % while the second string is just an example of the corresponding string diff --git a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty index 908d1f8cd7b..f48be5ac854 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topcoman.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topcoman.sty @@ -14,7 +14,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2015/01/01] \ProvidesPackage{topcoman}[% -2015/12/06 v.5.90 +2015/12/18 v.5.91 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 1e315cbf3e3..a299188d2f5 100644 --- a/Master/texmf-dist/tex/latex/toptesi/topfront.sty +++ b/Master/texmf-dist/tex/latex/toptesi/topfront.sty @@ -14,7 +14,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2015/01/01] \ProvidesPackage{topfront}[% -2015/12/06 v.5.90 +2015/12/18 v.5.91 Title page for TOPtesi and other classes] \@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}} \ifcsundef{ifclassica}{% @@ -148,7 +148,8 @@ Title page for TOPtesi and other classes] \setlength\interno{\dimexpr\paperwidth/7}}{} \newcommand\logosede[2][\interno]{\def\@logosede{#2}\TPT@logoheight=#1\relax -\ifcsvoid{@logosede}{\sbox{\TPT@logobox}{}}{\begin{lrbox}{\TPT@logobox}\expandafter\fillup@TCP@logobox\@logosede,!}} +\ifcsvoid{@logosede}{\sbox{\TPT@logobox}{}}{\begin{lrbox}{\TPT@logobox}% +\expandafter\fillup@TCP@logobox\@logosede,!}} \def\fillup@TCP@logobox#1,#2!{% \ifblank{#1}{\end{lrbox}\ifdim\wd\TPT@logobox>\textwidth diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls index e8cf65f4a55..fc2579d16d5 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.cls +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.cls @@ -14,7 +14,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2015/01/01] \ProvidesClass{toptesi}[% -2015/12/06 v.5.90 +2015/12/18 v.5.91 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 8adcdcd339c..f7f909e555a 100644 --- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty +++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty @@ -14,7 +14,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2015/01/01] \ProvidesPackage{toptesi}[% -2015/12/06 v.5.90 +2015/12/18 v.5.91 Extension for toptesi.cls] \def\TRON{\tracingcommands \tw@ \tracingmacros \tw@} \def\TROFF{\tracingcommands\z@ \tracingmacros \z@} |