texlive[60124] Master/texmf-dist: vhistory (31jul21)

commits+karl at tug.org commits+karl at tug.org
Sat Jul 31 22:54:40 CEST 2021


Revision: 60124
          http://tug.org/svn/texlive?view=revision&revision=60124
Author:   karl
Date:     2021-07-31 22:54:39 +0200 (Sat, 31 Jul 2021)
Log Message:
-----------
vhistory (31jul21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/vhistory/de_beispiel.tex
    trunk/Master/texmf-dist/doc/latex/vhistory/de_vhistory.tex
    trunk/Master/texmf-dist/doc/latex/vhistory/en_example.tex
    trunk/Master/texmf-dist/doc/latex/vhistory/en_vhistory.tex
    trunk/Master/texmf-dist/doc/latex/vhistory/vh_set_example.pdf
    trunk/Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex
    trunk/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.pdf
    trunk/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.tex
    trunk/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.pdf
    trunk/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.tex
    trunk/Master/texmf-dist/tex/latex/vhistory/sets.sty
    trunk/Master/texmf-dist/tex/latex/vhistory/vhistory.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/vhistory/CHANGES.md
    trunk/Master/texmf-dist/doc/latex/vhistory/README.md

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/vhistory/CHANGES
    trunk/Master/texmf-dist/doc/latex/vhistory/README

Deleted: trunk/Master/texmf-dist/doc/latex/vhistory/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/vhistory/CHANGES	2021-07-30 23:48:22 UTC (rev 60123)
+++ trunk/Master/texmf-dist/doc/latex/vhistory/CHANGES	2021-07-31 20:54:39 UTC (rev 60124)
@@ -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.

Added: trunk/Master/texmf-dist/doc/latex/vhistory/CHANGES.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/vhistory/CHANGES.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/vhistory/CHANGES.md	2021-07-31 20:54:39 UTC (rev 60124)
@@ -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


Property changes on: trunk/Master/texmf-dist/doc/latex/vhistory/CHANGES.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/latex/vhistory/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/vhistory/README	2021-07-30 23:48:22 UTC (rev 60123)
+++ trunk/Master/texmf-dist/doc/latex/vhistory/README	2021-07-31 20:54:39 UTC (rev 60124)
@@ -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\xFCr
-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

Added: trunk/Master/texmf-dist/doc/latex/vhistory/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/vhistory/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/vhistory/README.md	2021-07-31 20:54:39 UTC (rev 60124)
@@ -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.


Property changes on: trunk/Master/texmf-dist/doc/latex/vhistory/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/vhistory/de_beispiel.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/vhistory/de_beispiel.tex	2021-07-30 23:48:22 UTC (rev 60123)
+++ trunk/Master/texmf-dist/doc/latex/vhistory/de_beispiel.tex	2021-07-31 20:54:39 UTC (rev 60124)
@@ -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[]{}@

Modified: trunk/Master/texmf-dist/doc/latex/vhistory/de_vhistory.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/vhistory/de_vhistory.tex	2021-07-30 23:48:22 UTC (rev 60123)
+++ trunk/Master/texmf-dist/doc/latex/vhistory/de_vhistory.tex	2021-07-31 20:54:39 UTC (rev 60124)
@@ -13,10 +13,12 @@
 
 \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 @@
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \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 @@
 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}

Modified: trunk/Master/texmf-dist/doc/latex/vhistory/en_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/vhistory/en_example.tex	2021-07-30 23:48:22 UTC (rev 60123)
+++ trunk/Master/texmf-dist/doc/latex/vhistory/en_example.tex	2021-07-31 20:54:39 UTC (rev 60124)
@@ -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[]{}@

Modified: trunk/Master/texmf-dist/doc/latex/vhistory/en_vhistory.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/vhistory/en_vhistory.tex	2021-07-30 23:48:22 UTC (rev 60123)
+++ trunk/Master/texmf-dist/doc/latex/vhistory/en_vhistory.tex	2021-07-31 20:54:39 UTC (rev 60124)
@@ -15,10 +15,12 @@
 
 \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 @@
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \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 @@
 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}

Modified: trunk/Master/texmf-dist/doc/latex/vhistory/vh_set_example.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex	2021-07-30 23:48:22 UTC (rev 60123)
+++ trunk/Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex	2021-07-31 20:54:39 UTC (rev 60124)
@@ -19,7 +19,7 @@
 
 \newcommand{\docTitle}{}
 
-\usepackage{scrpage2}
+\usepackage{scrlayer-scrpage}
 \pagestyle{scrheadings}
 
 \ifoot{An example for vhistory---Version \vhCurrentVersion}

Modified: trunk/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.tex	2021-07-30 23:48:22 UTC (rev 60123)
+++ trunk/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.tex	2021-07-31 20:54:39 UTC (rev 60124)
@@ -36,7 +36,7 @@
 %-----------------------------------------------------------------------------
 
 %----------------  Kopf- und Fuzeilen  --------------------------------------
-\usepackage{scrpage2}
+\usepackage{scrlayer-scrpage}
 \pagestyle{scrheadings}
 %-----------------------------------------------------------------------------
 

Modified: trunk/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.tex	2021-07-30 23:48:22 UTC (rev 60123)
+++ trunk/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.tex	2021-07-31 20:54:39 UTC (rev 60124)
@@ -31,7 +31,7 @@
 %-----------------------------------------------------------------------------
 
 %----------------  Headers and footers  --------------------------------------
-\usepackage{scrpage2}
+\usepackage{scrlayer-scrpage}
 \pagestyle{scrheadings}
 %-----------------------------------------------------------------------------
 

Modified: trunk/Master/texmf-dist/tex/latex/vhistory/sets.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/vhistory/sets.sty	2021-07-30 23:48:22 UTC (rev 60123)
+++ trunk/Master/texmf-dist/tex/latex/vhistory/sets.sty	2021-07-31 20:54:39 UTC (rev 60124)
@@ -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       %%

Modified: trunk/Master/texmf-dist/tex/latex/vhistory/vhistory.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/vhistory/vhistory.sty	2021-07-30 23:48:22 UTC (rev 60123)
+++ trunk/Master/texmf-dist/tex/latex/vhistory/vhistory.sty	2021-07-31 20:54:39 UTC (rev 60124)
@@ -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 at CroatianCaptions
       \fi
     \fi
+    \vh at Ifundefined{l at spanish}\else
+      \ifnum \language=\l at spanish\relax
+        \vh at SpanishCaptions
+      \fi
+    \fi
+    \vh at Ifundefined{l at portuguese}\else
+      \ifnum \language=\l at portuguese\relax
+        \vh at PortugueseCaptions
+      \fi
+    \fi
 }
 
 \def \vh at EnglishCaptions{%
@@ -177,6 +188,23 @@
   \def\vhauthorname{Autor(ica)}%
   \def\vhchangename{Opis Promjena}%
 }
+
+\def \vh at 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 at 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 at owncaptions{0} % By default, the build in captions are used.
 \def \vh at hideauthor{0} % By default, the authors of a change are shown
 \def \vh at tablegrid{0} % By default, there is no tablegrid
+\def \vh at omittable{0} % By default, we want to see a table
 
 
 \DeclareOption{tocentry}{\def \vh at tocentry{1}}%
@@ -192,6 +221,7 @@
 \DeclareOption{owncaptions}{\vh at setcaptions \def \vh at owncaptions{1}}%
 \DeclareOption{hideauthorcolumn}{\def \vh at hideauthor{1}}%
 \DeclareOption{tablegrid}{\def \vh at tablegrid{1}}%
+\DeclareOption{omittable}{\def \vh at 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 at revhEntry will be called to allow the user to add
+%% At first the macro \vh at 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 at declarevhEntry
-  \vh at writeTable
   \newsetsimple \vhAllAuthorsSet{}%
-  \ifnum \vh at owncaptions=0\relax% Defined by the options
-    \vh at setcaptions
+  \ifnum \vh at omittable=0\relax
+    \vh at writeTable
+    \ifnum \vh at owncaptions=0\relax% Defined by the options
+      \vh at setcaptions
+    \fi
+    \vh at chapter
   \fi
-  \vh at chapter
 }{
-  \vh at writeEndTable
   \vh at writeHstFile
   \vh at undeclarevhEntry
-  \IfFileExists{\jobname.ver}{% file exists
-    \LTXtable{\textwidth}{\jobname.ver}}%
-     {\@latex at warning{Rerun LaTeX to get the history of versions.}}%
+  \ifnum \vh at omittable=0\relax
+    \vh at writeEndTable
+    \IfFileExists{\jobname.ver}{% file exists
+      \LTXtable{\textwidth}{\jobname.ver}}%
+       {\@latex at warning{Rerun LaTeX to get the history of versions.}}%
+  \fi
 }
 
   
@@ -332,16 +366,18 @@
     \gdef \vhCurrentVersion{##1}% Update version number
     \gdef \vhCurrentDate{##2}% Update date
     \vh at add{##3}%
-    \vh at verbwrite \vh at verfile {##1}%
-    \vh at verbwrite \vh at verfile {  & ##2}%
-    \ifnum \vh at hideauthor=0\relax
-      \vh at verbwrite \vh at verfile {  & \listset{##3}}%
+    \ifnum \vh at omittable=0\relax
+      \vh at verbwrite \vh at verfile {##1}%
+      \vh at verbwrite \vh at verfile {  & ##2}%
+      \ifnum \vh at hideauthor=0\relax
+        \vh at verbwrite \vh at verfile {  & \listset{##3}}%
+      \fi
+      \ifnum \vh at tablegrid=0\relax
+        \vh at verbwrite \vh at verfile {  & ##4\\}%
+      \else
+        \vh at verbwrite \vh at verfile {  & ##4\\\hline}%
+      \fi
     \fi
-    \ifnum \vh at tablegrid=0\relax
-      \vh at verbwrite \vh at verfile {  & ##4\\}%
-    \else
-      \vh at verbwrite \vh at verfile {  & ##4\\\hline}%
-    \fi
   }%
 }
 



More information about the tex-live-commits mailing list.