summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-07-31 20:54:39 +0000
committerKarl Berry <karl@freefriends.org>2021-07-31 20:54:39 +0000
commite66dfc0f5aa7a2289f0f364e64c4ab2d3a4f68c2 (patch)
tree694ef700da7dec5e343b69d188ef0989eceed41f
parent99147050533d14e6c4ad98b67bf96574721c9677 (diff)
vhistory (31jul21)
git-svn-id: svn://tug.org/texlive/trunk@60124 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/CHANGES19
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/CHANGES.md33
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/README37
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/README.md17
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/de_beispiel.tex2
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/de_vhistory.tex10
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/en_example.tex2
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/en_vhistory.tex10
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/vh_set_example.pdfbin74513 -> 79106 bytes
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex2
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/vh_sets_de.pdfbin167148 -> 179877 bytes
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/vh_sets_de.tex2
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/vh_sets_en.pdfbin161460 -> 174185 bytes
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/vh_sets_en.tex2
-rw-r--r--Master/texmf-dist/tex/latex/vhistory/sets.sty1
-rw-r--r--Master/texmf-dist/tex/latex/vhistory/vhistory.sty76
16 files changed, 125 insertions, 88 deletions
diff --git a/Master/texmf-dist/doc/latex/vhistory/CHANGES b/Master/texmf-dist/doc/latex/vhistory/CHANGES
deleted file mode 100644
index ec9ce16af88..00000000000
--- a/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/vhistory/CHANGES.md b/Master/texmf-dist/doc/latex/vhistory/CHANGES.md
new file mode 100644
index 00000000000..fc489b6022a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/vhistory/README b/Master/texmf-dist/doc/latex/vhistory/README
deleted file mode 100644
index 67535885e03..00000000000
--- a/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/vhistory/README.md b/Master/texmf-dist/doc/latex/vhistory/README.md
new file mode 100644
index 00000000000..add469b1cdb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/vhistory/de_beispiel.tex b/Master/texmf-dist/doc/latex/vhistory/de_beispiel.tex
index 7cbedecff69..dad7b9deaa1 100644
--- a/Master/texmf-dist/doc/latex/vhistory/de_beispiel.tex
+++ b/Master/texmf-dist/doc/latex/vhistory/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/Master/texmf-dist/doc/latex/vhistory/de_vhistory.tex b/Master/texmf-dist/doc/latex/vhistory/de_vhistory.tex
index 42cd15d60a6..d97b6c85b7d 100644
--- a/Master/texmf-dist/doc/latex/vhistory/de_vhistory.tex
+++ b/Master/texmf-dist/doc/latex/vhistory/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/Master/texmf-dist/doc/latex/vhistory/en_example.tex b/Master/texmf-dist/doc/latex/vhistory/en_example.tex
index c4a05c0f7cc..7b498e89244 100644
--- a/Master/texmf-dist/doc/latex/vhistory/en_example.tex
+++ b/Master/texmf-dist/doc/latex/vhistory/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/Master/texmf-dist/doc/latex/vhistory/en_vhistory.tex b/Master/texmf-dist/doc/latex/vhistory/en_vhistory.tex
index 6610cd5b0d6..59fb2aaaba4 100644
--- a/Master/texmf-dist/doc/latex/vhistory/en_vhistory.tex
+++ b/Master/texmf-dist/doc/latex/vhistory/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/Master/texmf-dist/doc/latex/vhistory/vh_set_example.pdf b/Master/texmf-dist/doc/latex/vhistory/vh_set_example.pdf
index 73806310a59..bf04a29f94a 100644
--- a/Master/texmf-dist/doc/latex/vhistory/vh_set_example.pdf
+++ b/Master/texmf-dist/doc/latex/vhistory/vh_set_example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex b/Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex
index bf8e3d9f1b0..f1f18050a96 100644
--- a/Master/texmf-dist/doc/latex/vhistory/vh_set_example.tex
+++ b/Master/texmf-dist/doc/latex/vhistory/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/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.pdf b/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.pdf
index bf26e135296..221b73925a7 100644
--- a/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.pdf
+++ b/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.tex b/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.tex
index 368ff0c47bc..4c9a11ffd2d 100644
--- a/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.tex
+++ b/Master/texmf-dist/doc/latex/vhistory/vh_sets_de.tex
@@ -36,7 +36,7 @@
%-----------------------------------------------------------------------------
%---------------- Kopf- und Fuzeilen --------------------------------------
-\usepackage{scrpage2}
+\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
%-----------------------------------------------------------------------------
diff --git a/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.pdf b/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.pdf
index 5a72e01b6d1..21f167d4d14 100644
--- a/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.pdf
+++ b/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.tex b/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.tex
index 54f42e4c8f7..49cfeab8faa 100644
--- a/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.tex
+++ b/Master/texmf-dist/doc/latex/vhistory/vh_sets_en.tex
@@ -31,7 +31,7 @@
%-----------------------------------------------------------------------------
%---------------- Headers and footers --------------------------------------
-\usepackage{scrpage2}
+\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
%-----------------------------------------------------------------------------
diff --git a/Master/texmf-dist/tex/latex/vhistory/sets.sty b/Master/texmf-dist/tex/latex/vhistory/sets.sty
index a2c26bd103c..b2f3d2b21b1 100644
--- a/Master/texmf-dist/tex/latex/vhistory/sets.sty
+++ b/Master/texmf-dist/tex/latex/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/Master/texmf-dist/tex/latex/vhistory/vhistory.sty b/Master/texmf-dist/tex/latex/vhistory/vhistory.sty
index b4e515923e0..66a5ea39f59 100644
--- a/Master/texmf-dist/tex/latex/vhistory/vhistory.sty
+++ b/Master/texmf-dist/tex/latex/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
}%
}