From 6476d9b56070f64c62d6a81514c0c9b25aad1eda Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 31 Jul 2021 03:00:52 +0000 Subject: CTAN sync 202107310300 --- macros/latex/contrib/vhistory/CHANGES | 19 ------ macros/latex/contrib/vhistory/CHANGES.md | 33 +++++++++ macros/latex/contrib/vhistory/README | 37 ---------- macros/latex/contrib/vhistory/README.md | 17 +++++ macros/latex/contrib/vhistory/doc/de_beispiel.tex | 2 +- macros/latex/contrib/vhistory/doc/de_vhistory.tex | 10 ++- macros/latex/contrib/vhistory/doc/en_example.tex | 2 +- macros/latex/contrib/vhistory/doc/en_vhistory.tex | 10 ++- .../latex/contrib/vhistory/doc/vh_set_example.pdf | Bin 74513 -> 79106 bytes .../latex/contrib/vhistory/doc/vh_set_example.tex | 2 +- macros/latex/contrib/vhistory/doc/vh_sets_de.pdf | Bin 167148 -> 179877 bytes macros/latex/contrib/vhistory/doc/vh_sets_de.tex | 2 +- macros/latex/contrib/vhistory/doc/vh_sets_en.pdf | Bin 161460 -> 174185 bytes macros/latex/contrib/vhistory/doc/vh_sets_en.tex | 2 +- macros/latex/contrib/vhistory/sets.sty | 1 - macros/latex/contrib/vhistory/vhistory.sty | 76 +++++++++++++++------ 16 files changed, 125 insertions(+), 88 deletions(-) delete mode 100644 macros/latex/contrib/vhistory/CHANGES create mode 100644 macros/latex/contrib/vhistory/CHANGES.md delete mode 100644 macros/latex/contrib/vhistory/README create mode 100644 macros/latex/contrib/vhistory/README.md (limited to 'macros/latex/contrib/vhistory') diff --git a/macros/latex/contrib/vhistory/CHANGES b/macros/latex/contrib/vhistory/CHANGES deleted file mode 100644 index ec9ce16af8..0000000000 --- a/macros/latex/contrib/vhistory/CHANGES +++ /dev/null @@ -1,19 +0,0 @@ -2013-04-21: Bugfix release 1.6.1. No new features, but: - - Fixed bug that occurs when the options hideauthorcolumn and - tablegrid are used together - - Corrected lot of typos in the English documentation - - Described the previously undocumented option hideauthorcolumn -2013-01-22: - Added Croation translation - - New option tablegrid - - Introduced possibility to change column width - Thanks to the users for their input which led to these changes. -2010-07-17: - Added French translation. - - Listing of sets improved. - - Dutch translation added and English labels improved. - My thanks go to the friendly people who sent their patches and - comments to me. -2009-03-01: Bug solved that occured when the first two letters of an element - of a set were identical. -2006-01-09: Implementation of \listset changed. It now works within an \edef, - but the element \empty is no longer allowed in a set. -2005-08-13: Documentation: Reference to LPPL added. diff --git a/macros/latex/contrib/vhistory/CHANGES.md b/macros/latex/contrib/vhistory/CHANGES.md new file mode 100644 index 0000000000..fc489b6022 --- /dev/null +++ b/macros/latex/contrib/vhistory/CHANGES.md @@ -0,0 +1,33 @@ +# Release 1.8.0 +- Included Spanish translations supplied by Hector, Fernando and Roberto +- Included Portugese translations supplied by João Ricardo Lourenço + +# 2013-08-05: Release 1.7.0. +New option omittable for people who don't want to have a table with all revisions. + +# 2013-04-21: Bugfix release 1.6.1 +No new features, but: +- Fixed bug that occurs when the options hideauthorcolumn and tablegrid are used together +- Corrected lot of typos in the English documentation +- Described the previously undocumented option hideauthorcolumn + +# 2013-01-22: +- Added Croation translation +- New option tablegrid +- Introduced possibility to change column width +Thanks to the users for their input which led to these changes. + +# 2010-07-17 +- Added French translation. +- Listing of sets improved. +- Dutch translation added and English labels improved. +My thanks go to the friendly people who sent their patches and comments to me. + +# 2009-03-01: Bugfix release +Bug solved that occured when the first two letters of an element of a set were identical. + +# 2006-01-09 +Implementation of \listset changed. It now works within an \edef, but the element \empty is no longer allowed in a set. + +# 2005-08-13 +Documentation: Reference to LPPL added. \ No newline at end of file diff --git a/macros/latex/contrib/vhistory/README b/macros/latex/contrib/vhistory/README deleted file mode 100644 index 67535885e0..0000000000 --- a/macros/latex/contrib/vhistory/README +++ /dev/null @@ -1,37 +0,0 @@ -See below for German version. - -This folder contains the files of the LaTeX packages "vhistory" and "sets". -User documentation can be found in the subdirectory doc. An example for -vhistory can be found there, too. - -All feedback is welcome! Please use the address mentioned in the -documentation. - -REQUIREMENTS: -Requirements are listed in the user documentation. - -LICENSE: -The material in this directory and all of its subdirectories is subject -to the LaTeX Project Public License. See -http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for -the details of that license. - -============================================================================== -GERMAN VERSION: - -Dieser Ordner enthaelt die Dateien der LaTeX-Pakete "vhistory" und "sets". -Die Dokumentation befindet sich im Unterverzeichnis doc. Ein Beispiel für -die Verwendung von vhistory (in englischer Sprache) befindet sich ebenfalls -in diesem Verzeichnis. - -Rueckmeldung ueber Fehler oder Verbesserungsvorschlaege an die in der -Dokumentation angegebene Adresse sind stets willkommen. - -SYSTEMANFORDERUNGEN: -Die Benutzerdokumentation listet alle benoetigten Pakete auf. - -LIZENZ: -Das gesamte Material dieses Verzeichnisses und all seiner Unterverzeichnisse -steht unter der LaTeX Project Public License. Diese kann in englischer Sprache -unter http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html -eingesehen werden. \ No newline at end of file diff --git a/macros/latex/contrib/vhistory/README.md b/macros/latex/contrib/vhistory/README.md new file mode 100644 index 0000000000..add469b1cd --- /dev/null +++ b/macros/latex/contrib/vhistory/README.md @@ -0,0 +1,17 @@ +# vhistory + +This folder contains the files of the LaTeX packages "vhistory" and "sets". +User documentation can be found in the subdirectory doc. An example for +vhistory can be found there, too. + +All feedback is welcome! Please use the address mentioned in the +documentation. + +## Requirements +Requirements are listed in the user documentation. + +## License +The material in this directory and all of its subdirectories is subject +to the LaTeX Project Public License. See +http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for +the details of that license. diff --git a/macros/latex/contrib/vhistory/doc/de_beispiel.tex b/macros/latex/contrib/vhistory/doc/de_beispiel.tex index 7cbedecff6..dad7b9deaa 100644 --- a/macros/latex/contrib/vhistory/doc/de_beispiel.tex +++ b/macros/latex/contrib/vhistory/doc/de_beispiel.tex @@ -14,7 +14,7 @@ \bef\verb@ pdfauthor = {\vhAllAuthorsSet}@ \bef\verb@}@ \bef\verb@@ -\bef\verb@\usepackage{scrpage2}@ +\bef\verb@\usepackage{scrlayer-scrpage}@ \bef\verb@\pagestyle{scrheadings}@ \bef\verb@\ifoot{\docTitle\ -- Version \vhCurrentVersion}@ \bef\verb@\cfoot[]{}@ diff --git a/macros/latex/contrib/vhistory/doc/de_vhistory.tex b/macros/latex/contrib/vhistory/doc/de_vhistory.tex index 42cd15d60a..d97b6c85b7 100644 --- a/macros/latex/contrib/vhistory/doc/de_vhistory.tex +++ b/macros/latex/contrib/vhistory/doc/de_vhistory.tex @@ -13,10 +13,12 @@ Das Paket vhistory versteht einige Optionen, um sein Verhalten anzupassen. Diese \paragraph{tocentry:} Mit dieser Option wird veranlasst, dass die Versionshistorie im Inhaltsverzeichnis aufgeführt wird. Normalerweise wird dieser Eintrag nicht erzeugt. Ist die Option nochapter aktiviert hat tocentry keine Funktion. Hier sind Sie selbst für eventuelle Einträge in das Inhaltsverzeichnis verantwortlich. -\paragraph{owncaptions:} vhistory unterstützt die Sprachen Deutsch, Englisch, Französisch, Kroatisch und Niederländisch. Verwenden Sie eine nicht unterstützte Sprache, werden die Ãœberschriften (z.\,B. "`Versionshistorie"' oder "`Änderungen"') in Englisch ausgegeben. In diesem Fall möchten Sie vielleicht die Ãœberschriften selbst verändern. Die Option own\-capt\-ions unterstützt Sie dabei. Näheres zu diesem Thema finden Sie in Unterabschnitt \ref{sprachen}. +\paragraph{owncaptions:} vhistory unterstützt die Sprachen Deutsch, Englisch, Französisch, Kroatisch, Niederländisch, Portugiesisch und Spanisch. Verwenden Sie eine nicht unterstützte Sprache, werden die Ãœberschriften (z.\,B. "`Versionshistorie"' oder "`Änderungen"') in Englisch ausgegeben. In diesem Fall möchten Sie vielleicht die Ãœberschriften selbst verändern. Die Option own\-capt\-ions unterstützt Sie dabei. Näheres zu diesem Thema finden Sie in Unterabschnitt \ref{sprachen}. \paragraph{tablegrid:} Mit dieser Option wird in der Tabelle mit der Versionshistorie ein Gitternetz angezeigt. +\paragraph{omittable:} In manchen Fällen ist die Ausgabe einer Tabelle nicht gewünscht. Mit dieser Option wird die Ausgabe der Tabelle und die Erzeugung eines Kapitels bzw. eines Abschnitts verhindert. In diesem Fall sind die Optionen nochapter, tocentry, owncaptions und tablegrid ohne Funktion. Die Befehle z.\,B. zur Ausgabe aller Autoren funktionieren weiterhin. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \subsection{Verwendung}\label{verwendung} Die Verwendung von vhistory ist denkbar einfach und soll in diesem Unterabschnitt beschrieben werden. Allgemein gilt, dass vhistory zwei Durchläufe benötigt, da Daten in Dateien geschrieben werden. @@ -83,7 +85,7 @@ Sollte die Breite der Spalten für Autoren und Änderungen in der Versionshistor %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \subsection{Sprachunterstützung}\label{sprachen} -Wie schon in Abschnitt \ref{laden} erwähnt unterstützt vhistory die Sprachen Deutsch, Englisch, Französisch und Niederländisch. Die sprachabhängigen Texte mit ihren Voreinstellungen sind in Tabelle \ref{tab:sprachen} aufgelistet. Soll das Dokument in einer Sprache verfasst werden, die vhistory nicht unterstützt, wird die englische Variante gewählt. +Wie schon in Abschnitt \ref{laden} erwähnt unterstützt vhistory die Sprachen Deutsch, Englisch, Französisch, Niederländisch, Portugiesisch und Spanisch. Die sprachabhängigen Texte mit ihren Voreinstellungen sind in Tabelle \ref{tab:sprachen} aufgelistet. Soll das Dokument in einer Sprache verfasst werden, die vhistory nicht unterstützt, wird die englische Variante gewählt. Mit der Paketoption "`owncaptions"' können eigene Ãœberschriften verwendet werden. Die Option veranlasst vhistory dazu, die Kommandos, die die Ãœberschriften enthalten, mit den Varianten der aktuell gewählten Sprache vorzubelegen. Deshalb ist es sinnvoll, in diesem Fall Pakete wie babel oder ngerman vor vhistory zu laden. @@ -101,7 +103,9 @@ Deutsch & Versionshistorie & Version & Datum & Autor(en) & Änderungen\\ Englisch & Revision History & Revision & Date & Author(s) & Description\\ Französisch & Historique & Version & Date & Auteur(s) & Modifications\\ Kroatisch & Povijest verzija & Verzija & Datum & Autor(ica) & Opis Promjena\\ -Niederländisch & Wijzigingen & Herziening & Datum & Auteur(s) & Beschrijving\\ \hline +Niederländisch & Wijzigingen & Herziening & Datum & Auteur(s) & Beschrijving\\ +Portugiesisch & Tabela de Revis\~{o}es & Revis\~{a}o & Data & Autor(es) & Descri\c{c}\~{a}o\\ +Spanisch & Historial de Revisiones & Versi\'{o}n & Fecha & Autor(es) & Descripci\'{o}n\\ \hline \end{tabular} \end{scriptsize} \caption{sprachabhängige Texte} diff --git a/macros/latex/contrib/vhistory/doc/en_example.tex b/macros/latex/contrib/vhistory/doc/en_example.tex index c4a05c0f7c..7b498e8924 100644 --- a/macros/latex/contrib/vhistory/doc/en_example.tex +++ b/macros/latex/contrib/vhistory/doc/en_example.tex @@ -14,7 +14,7 @@ \bef\verb@ pdfauthor = {\vhAllAuthorsSet}@ \bef\verb@}@ \bef\verb@@ -\bef\verb@\usepackage{scrpage2}@ +\bef\verb@\usepackage{scrlayer-scrpage}@ \bef\verb@\pagestyle{scrheadings}@ \bef\verb@\ifoot{\docTitle\ -- Version \vhCurrentVersion}@ \bef\verb@\cfoot[]{}@ diff --git a/macros/latex/contrib/vhistory/doc/en_vhistory.tex b/macros/latex/contrib/vhistory/doc/en_vhistory.tex index 6610cd5b0d..59fb2aaaba 100644 --- a/macros/latex/contrib/vhistory/doc/en_vhistory.tex +++ b/macros/latex/contrib/vhistory/doc/en_vhistory.tex @@ -15,10 +15,12 @@ Vhistory understands several options to control its behaviour. These are listed \paragraph{tocentry:} With this option you can cause an entry in the table of contents. Normally there won't be such an entry. If the option nochapter is used, tocentry has no effect and you are responsible for toc entries. -\paragraph{owncaptions:} vhistory supports the languages Croatian, Dutch, English, French and German. If you use an unsupported language, all captions (like ``Revision history'' or ``Chan\-ges'') will be in English. In this case you might want to change captions yourself. The option own\-capt\-ions supports you in this case. More information on this topic can be found in subsection \ref{languages}. +\paragraph{owncaptions:} vhistory supports the languages Croatian, Dutch, English, French, German, Portuguese and Spanish. If you use an unsupported language, all captions (like ``Revision history'' or ``Chan\-ges'') will be in English. In this case you might want to change captions yourself. The option own\-capt\-ions supports you in this case. More information on this topic can be found in subsection \ref{languages}. \paragraph{tablegrid:} Setting this option will display a grid in the table representing the revision history. +\paragraph{omittable:} In some applications, the output of a table is not wanted. With this option, the output of the revision history and the creation of a chapter or section is suppressed. In this case, the options nochapter, tocentry, owncaptions and tablegrid are ignored. The commands, e.\,g. to print all authors can still be used. + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \subsection{Usage}\label{usage} The Usage of vhistory is rather easy and is to be described in this subsection. @@ -85,7 +87,7 @@ change the ratio to 2:3 (default is 1:3). When changing the widths, please take %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \subsection{Language support}\label{languages} -As mentioned in section \ref{load}, vhistory supports the languages Croatian, Dutch, English, French and German. All language dependent captions with their defaults are listed in table \ref{tab:languages}. If the document is written in a unsupported language, the English version will be used. +As mentioned in section \ref{load}, vhistory supports the languages Croatian, Dutch, English, French, German, Portuguese and Spanish. All language dependent captions with their defaults are listed in table \ref{tab:languages}. If the document is written in a unsupported language, the English version will be used. By providing the option ``owncaptions'' you can use custom captions. This option causes vhistory to default the commands in the language that was selected when vhistory is loaded. Therefore it makes sense to load packages like babel or ngerman before vhistory. @@ -104,7 +106,9 @@ Croatian & Povijest verzija & Verzija & Datum & Autor(ica) & Opis Promjena\\ Dutch & Wijzigingen & Herziening & Datum & Auteur(s) & Beschrijving\\ English & Revision History & Revision & Date & Author(s) & Description\\ French & Historique & Version & Date & Auteur(s) & Modifications\\ -German & Versionshistorie & Version & Datum & Autor(en) & Änderungen\\ \hline +German & Versionshistorie & Version & Datum & Autor(en) & Änderungen\\ +Portuguese & Tabela de Revis\~{o}es & Revis\~{a}o & Data & Autor(es) & Descri\c{c}\~{a}o\\ +Spanish & Historial de Revisiones & Versi\'{o}n & Fecha & Autor(es) & Descripci\'{o}n\\ \hline \end{tabular} \end{scriptsize} \caption{language dependent captions} diff --git a/macros/latex/contrib/vhistory/doc/vh_set_example.pdf b/macros/latex/contrib/vhistory/doc/vh_set_example.pdf index 73806310a5..bf04a29f94 100644 Binary files a/macros/latex/contrib/vhistory/doc/vh_set_example.pdf and b/macros/latex/contrib/vhistory/doc/vh_set_example.pdf differ diff --git a/macros/latex/contrib/vhistory/doc/vh_set_example.tex b/macros/latex/contrib/vhistory/doc/vh_set_example.tex index bf8e3d9f1b..f1f18050a9 100644 --- a/macros/latex/contrib/vhistory/doc/vh_set_example.tex +++ b/macros/latex/contrib/vhistory/doc/vh_set_example.tex @@ -19,7 +19,7 @@ \newcommand{\docTitle}{} -\usepackage{scrpage2} +\usepackage{scrlayer-scrpage} \pagestyle{scrheadings} \ifoot{An example for vhistory---Version \vhCurrentVersion} diff --git a/macros/latex/contrib/vhistory/doc/vh_sets_de.pdf b/macros/latex/contrib/vhistory/doc/vh_sets_de.pdf index bf26e13529..221b73925a 100644 Binary files a/macros/latex/contrib/vhistory/doc/vh_sets_de.pdf and b/macros/latex/contrib/vhistory/doc/vh_sets_de.pdf differ diff --git a/macros/latex/contrib/vhistory/doc/vh_sets_de.tex b/macros/latex/contrib/vhistory/doc/vh_sets_de.tex index 368ff0c47b..4c9a11ffd2 100644 --- a/macros/latex/contrib/vhistory/doc/vh_sets_de.tex +++ b/macros/latex/contrib/vhistory/doc/vh_sets_de.tex @@ -36,7 +36,7 @@ %----------------------------------------------------------------------------- %---------------- Kopf- und Fuzeilen -------------------------------------- -\usepackage{scrpage2} +\usepackage{scrlayer-scrpage} \pagestyle{scrheadings} %----------------------------------------------------------------------------- diff --git a/macros/latex/contrib/vhistory/doc/vh_sets_en.pdf b/macros/latex/contrib/vhistory/doc/vh_sets_en.pdf index 5a72e01b6d..21f167d4d1 100644 Binary files a/macros/latex/contrib/vhistory/doc/vh_sets_en.pdf and b/macros/latex/contrib/vhistory/doc/vh_sets_en.pdf differ diff --git a/macros/latex/contrib/vhistory/doc/vh_sets_en.tex b/macros/latex/contrib/vhistory/doc/vh_sets_en.tex index 54f42e4c8f..49cfeab8fa 100644 --- a/macros/latex/contrib/vhistory/doc/vh_sets_en.tex +++ b/macros/latex/contrib/vhistory/doc/vh_sets_en.tex @@ -31,7 +31,7 @@ %----------------------------------------------------------------------------- %---------------- Headers and footers -------------------------------------- -\usepackage{scrpage2} +\usepackage{scrlayer-scrpage} \pagestyle{scrheadings} %----------------------------------------------------------------------------- diff --git a/macros/latex/contrib/vhistory/sets.sty b/macros/latex/contrib/vhistory/sets.sty index a2c26bd103..b2f3d2b21b 100644 --- a/macros/latex/contrib/vhistory/sets.sty +++ b/macros/latex/contrib/vhistory/sets.sty @@ -4,7 +4,6 @@ %% %% %% AUTHOR: Jochen Wertenauer %% %% VERSION: 1.3 %% -%% DATE: 2010-07-17 %% %% %% %% LICENSE: This program may be distributed and/or modified under the %% %% conditions of the LaTeX Project Public License, either version 1.2 %% diff --git a/macros/latex/contrib/vhistory/vhistory.sty b/macros/latex/contrib/vhistory/vhistory.sty index b4e515923e..66a5ea39f5 100644 --- a/macros/latex/contrib/vhistory/vhistory.sty +++ b/macros/latex/contrib/vhistory/vhistory.sty @@ -3,8 +3,7 @@ %% FILE: vhistory.sty %% %% %% %% AUTHOR: Jochen Wertenauer %% -%% VERSION: 1.6.1 %% -%% DATE: 2013-01-28 %% +%% VERSION: 1.8.0 %% %% %% %% LICENSE: This program may be distributed and/or modified under the %% %% conditions of the LaTeX Project Public License, either version 1.2 %% @@ -45,6 +44,8 @@ %% - hideauthorcolumn: The history of versions does not contain the column %% %% listing the name(s) of the author(s). %% %% - tablegrid: If provided, the version history will display gridlines %% +%% - omittable: If provided, the table with the version history will not be %% +%% printed, but you can still call \vhCurrentVersion etc. %% %% %% %% REQUIRED PACKAGES: %% %% - sets: Works well with version 1.2 or higher %% @@ -136,6 +137,16 @@ \vh@CroatianCaptions \fi \fi + \vh@Ifundefined{l@spanish}\else + \ifnum \language=\l@spanish\relax + \vh@SpanishCaptions + \fi + \fi + \vh@Ifundefined{l@portuguese}\else + \ifnum \language=\l@portuguese\relax + \vh@PortugueseCaptions + \fi + \fi } \def \vh@EnglishCaptions{% @@ -177,6 +188,23 @@ \def\vhauthorname{Autor(ica)}% \def\vhchangename{Opis Promjena}% } + +\def \vh@SpanishCaptions{% + \def\vhhistoryname{Historial de Revisiones}% + \def\vhversionname{Versi\'{o}n}% + \def\vhdatename{Fecha}% + \def\vhauthorname{Autor(es)}% + \def\vhchangename{Descripci\'{o}n}% +} + +\def \vh@PortugueseCaptions{% + \def\vhhistoryname{Tabela de Revis\~{o}es}% + \def\vhversionname{Revis\~{a}o}% + \def\vhdatename{Data}% + \def\vhauthorname{Autor(es)}% + \def\vhchangename{Descri\c{c}\~{a}o}% +} + %% --------------------------------------------------------------------------- %% -- Options ---------------------------------------------------------------- @@ -185,6 +213,7 @@ \def \vh@owncaptions{0} % By default, the build in captions are used. \def \vh@hideauthor{0} % By default, the authors of a change are shown \def \vh@tablegrid{0} % By default, there is no tablegrid +\def \vh@omittable{0} % By default, we want to see a table \DeclareOption{tocentry}{\def \vh@tocentry{1}}% @@ -192,6 +221,7 @@ \DeclareOption{owncaptions}{\vh@setcaptions \def \vh@owncaptions{1}}% \DeclareOption{hideauthorcolumn}{\def \vh@hideauthor{1}}% \DeclareOption{tablegrid}{\def \vh@tablegrid{1}}% +\DeclareOption{omittable}{\def \vh@omittable{1}}% %% This macro starts a new chapter. If \chapter is undefined, \section is %% used (To work with document class article). The option nochapter will @@ -286,7 +316,7 @@ %% The environment versionhistory. %% -%% At first the macro \decl@revhEntry will be called to allow the user to add +%% At first the macro \vh@declarevhEntry will be called to allow the user to add %% entries to the version history. Second step is to write the tables's head. %% Third step is to delete previous contents of vhAllAuthorsSet. Now the %% captions of the actual language are loaded. Last step is to start a new @@ -298,19 +328,23 @@ %% \newenvironment{versionhistory}{% \vh@declarevhEntry - \vh@writeTable \newsetsimple \vhAllAuthorsSet{}% - \ifnum \vh@owncaptions=0\relax% Defined by the options - \vh@setcaptions + \ifnum \vh@omittable=0\relax + \vh@writeTable + \ifnum \vh@owncaptions=0\relax% Defined by the options + \vh@setcaptions + \fi + \vh@chapter \fi - \vh@chapter }{ - \vh@writeEndTable \vh@writeHstFile \vh@undeclarevhEntry - \IfFileExists{\jobname.ver}{% file exists - \LTXtable{\textwidth}{\jobname.ver}}% - {\@latex@warning{Rerun LaTeX to get the history of versions.}}% + \ifnum \vh@omittable=0\relax + \vh@writeEndTable + \IfFileExists{\jobname.ver}{% file exists + \LTXtable{\textwidth}{\jobname.ver}}% + {\@latex@warning{Rerun LaTeX to get the history of versions.}}% + \fi } @@ -332,15 +366,17 @@ \gdef \vhCurrentVersion{##1}% Update version number \gdef \vhCurrentDate{##2}% Update date \vh@add{##3}% - \vh@verbwrite \vh@verfile {##1}% - \vh@verbwrite \vh@verfile { & ##2}% - \ifnum \vh@hideauthor=0\relax - \vh@verbwrite \vh@verfile { & \listset{##3}}% - \fi - \ifnum \vh@tablegrid=0\relax - \vh@verbwrite \vh@verfile { & ##4\\}% - \else - \vh@verbwrite \vh@verfile { & ##4\\\hline}% + \ifnum \vh@omittable=0\relax + \vh@verbwrite \vh@verfile {##1}% + \vh@verbwrite \vh@verfile { & ##2}% + \ifnum \vh@hideauthor=0\relax + \vh@verbwrite \vh@verfile { & \listset{##3}}% + \fi + \ifnum \vh@tablegrid=0\relax + \vh@verbwrite \vh@verfile { & ##4\\}% + \else + \vh@verbwrite \vh@verfile { & ##4\\\hline}% + \fi \fi }% } -- cgit v1.2.3