summaryrefslogtreecommitdiff
path: root/macros/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-03-21 03:01:37 +0000
committerNorbert Preining <norbert@preining.info>2020-03-21 03:01:37 +0000
commit3e43bc594a14e8c4fc21d6a71f22a23dd78fe252 (patch)
tree19d1a8bb88da795b5317f91775f645e0b7bd9eb9 /macros/latex
parentc720a4409b388fa706f3eb1ce275f76f7d49d996 (diff)
CTAN sync 202003210301
Diffstat (limited to 'macros/latex')
-rw-r--r--macros/latex/contrib/csbulletin/README2
-rw-r--r--macros/latex/contrib/csbulletin/csbulacronym.sty4
-rw-r--r--macros/latex/contrib/csbulletin/csbulletin.cls4
-rw-r--r--macros/latex/contrib/csbulletin/csbulletin.pdfbin262115 -> 264133 bytes
-rw-r--r--macros/latex/contrib/csbulletin/csbulletin.tex15
-rw-r--r--macros/latex/contrib/csbulletin/csbulobalka.sty6
-rw-r--r--macros/latex/contrib/glosmathtools/README.md2
-rw-r--r--macros/latex/contrib/glosmathtools/glosmathtools.sty51
-rw-r--r--macros/latex/contrib/glosmathtools/sample_glosmathtools.pdfbin369524 -> 322662 bytes
-rw-r--r--macros/latex/contrib/glosmathtools/sample_glosmathtools.tex13
-rw-r--r--macros/latex/contrib/scratch3/README4
-rw-r--r--macros/latex/contrib/scratch3/scratch3-fr.pdfbin508445 -> 508522 bytes
-rw-r--r--macros/latex/contrib/scratch3/scratch3-fr.tex3
-rw-r--r--macros/latex/contrib/scratch3/scratch3.sty10
-rw-r--r--macros/latex/contrib/xltabular/Changes1
-rw-r--r--macros/latex/contrib/xltabular/xltabular-doc.pdfbin70975 -> 71369 bytes
-rw-r--r--macros/latex/contrib/xltabular/xltabular.sty25
17 files changed, 93 insertions, 47 deletions
diff --git a/macros/latex/contrib/csbulletin/README b/macros/latex/contrib/csbulletin/README
index 249dc20855..e54672784c 100644
--- a/macros/latex/contrib/csbulletin/README
+++ b/macros/latex/contrib/csbulletin/README
@@ -1,5 +1,5 @@
=============================================================================
-Package: csbulletin Version 1.2 12 January 2019
+Package: csbulletin 10 January 2020
=============================================================================
The package provides the class for articles for the CSTUG Bulletin
diff --git a/macros/latex/contrib/csbulletin/csbulacronym.sty b/macros/latex/contrib/csbulletin/csbulacronym.sty
index 6663ebdbc8..374627b45b 100644
--- a/macros/latex/contrib/csbulletin/csbulacronym.sty
+++ b/macros/latex/contrib/csbulletin/csbulacronym.sty
@@ -1,4 +1,4 @@
-\ProvidesPackage{csbulacronym}[2008/04/27 Acronyms for CSTUG bulletin]
+\ProvidesPackage{csbulacronym}[2020/01/10 Acronyms for CSTUG bulletin]
\PackageInfo{csbulacronym}{$Id$}
%==================================================== TeX logos
@@ -39,8 +39,6 @@
\DeclareRobustCommand\PiCTeX{\PiC\kern-.11em\TeX}
\DeclareRobustCommand\SliTeX{{\rm S\kern-.06em{\sc l\kern-.035emi}\kern-.06em\TeX}}
\let\SLiTeX\SliTeX
-\let\Protected@TeX\TeX
-\DeclareRobustCommand\TeX{\Protected@TeX}
\DeclareRobustCommand\WPtoLaTeX{%
W\kern-.06em\hbox{P}\kern-.2em\lower.7ex\hbox{2}\kern-.07em\LaTeX}
\let\Protected@LaTeX\LaTeX
diff --git a/macros/latex/contrib/csbulletin/csbulletin.cls b/macros/latex/contrib/csbulletin/csbulletin.cls
index 421a1d2f4c..0b0a63df69 100644
--- a/macros/latex/contrib/csbulletin/csbulletin.cls
+++ b/macros/latex/contrib/csbulletin/csbulletin.cls
@@ -1,4 +1,4 @@
-\ProvidesClass{csbulletin}[2019/01/12 CSTUG Bulletin class]
+\ProvidesClass{csbulletin}[2020/01/10 CSTUG Bulletin class]
\ClassInfo{csbulletin}{$Id$}
% Switch
@@ -79,7 +79,7 @@
\ifpdf
\IfFileExists{microtype.sty}{\RequirePackage
- [protrusion=false,expansion=true,stretch=8,shrink=24,step=4]{microtype}}{}
+ [protrusion=true,expansion=true,stretch=8,shrink=24,step=4]{microtype}}{}
\fi
\IfFileExists{array.sty}{\RequirePackage{array}}{}
diff --git a/macros/latex/contrib/csbulletin/csbulletin.pdf b/macros/latex/contrib/csbulletin/csbulletin.pdf
index 8ad625cd59..00edd67d5b 100644
--- a/macros/latex/contrib/csbulletin/csbulletin.pdf
+++ b/macros/latex/contrib/csbulletin/csbulletin.pdf
Binary files differ
diff --git a/macros/latex/contrib/csbulletin/csbulletin.tex b/macros/latex/contrib/csbulletin/csbulletin.tex
index f3a37600bf..faae0e23a4 100644
--- a/macros/latex/contrib/csbulletin/csbulletin.tex
+++ b/macros/latex/contrib/csbulletin/csbulletin.tex
@@ -1,9 +1,8 @@
%% $Id$
\documentclass{csbulletin}
-\DeclareRobustCommand\version{\unskip~v.\,1.2}
+\DeclareRobustCommand\version{\unskip~2020/01/10}
\let\pkg\textsc
-\usepackage[utf8]{inputenc}
\usepackage[pdftitle=LaTeX\ Class\ for\ CSTUG\ Bulletin, pdfauthor={Zdenek\ Wagner, Vit\ Novotny},
pdfkeywords=CSTUG\ Bulletin,bookmarks=false]{hyperref}
@@ -23,6 +22,7 @@ Tento dokument popisuje třídu pro psaní článků do Zpravodaje Českoslovens
ve stylu pro Zpravodaj, autoři se tedy mohou podívat přímo do zdrojového kódu tohoto manuálu a
napsat svůj článek obdobně.
\end{abstract}
+\klicovaslova: \LaTeX, styl, dokumentová třída, Zpravodaj \CSTUG, dokumentace
\section{English introduction}
\begin{otherlanguage}{english}
@@ -51,7 +51,8 @@ Balíčky, uvedené v~následujícím seznamu, se načítají vždy. Musíte je
\begin{itemize}
\item Balíček \pkg{csbulacronym} definuje běžné akronymy robustním způsobem pomocí \cmd{DeclareRobustCommand} a
-některé speciální akronymy, jako je např. makro \cmd{cstug} pro \cstug. Soubor je dodáván společně s~třídou \pkg{csbulletin}. Definice se používají i mimo Zpravodaj, proto jsou v~samostatném souboru.
+některé speciální akronymy, jako je např. makro \cmd{cstug} pro \cstug. Soubor je dodáván společně s~třídou
+\pkg{csbulletin}. Definice se používají i mimo Zpravodaj, proto jsou v~samostatném souboru.
\item \pkg{fontenc} s~parametrem T1
@@ -104,11 +105,14 @@ makra \cmd{EnglishTitle}. Nepovinně můžete použít makro \cmd{podpis}, jeho
kurzívou na konci článku. Poté použijte makro \cmd{maketitle}.
Abstrakt článku v~jazyce článku zapište v~prostředí \texttt{abstract}. Ve výjimečných případech lze
-abstrakt vynechat.
+abstrakt vynechat. Za prostředí \texttt{abstract} volitelně uveďte jedno a více klíčových slov
+oddělených čárkou a předznamenaných příkazem \cmd{klicovaslova:}, \cmd{klucoveslova:} nebo
+\cmd{keywords:} podle jazyka článku.
Na konci článku uveďte anglický souhrn v~prostředí \texttt{summary}. Anglický název bude vzat
z~příkazu \cmd{EnglishTitle}, přepnutí jazyka se též provede automaticky. Anglický souhrn nemusí být
-přesným překladem abstraktu.
+přesným překladem abstraktu. Na závěr prostředí \texttt{summary} volitelně uveďte jedno a více
+anglických klíčových slov oddělených čárkou a předznamenaných příkazem \cmd{keywords:}.
Redakce se postará o~jazykovou korekturu anglického souhrnu. V~případě, že jej autor nedodá,
postará se o~překlad redakce.
@@ -139,6 +143,7 @@ The package provides the class for articles for the \cstug\ Bulletin (Zpravodaj
sdružení uživatelů \TeX u). You can see the structure of a document by looking to the source file
of this manual. The package can be used and distributed according to the \LaTeX\ Project Public
License.
+ \keywords: \LaTeX, style, document class, \CSTUG{} Bulletin, documentation
\end{summary}
\end{document}
diff --git a/macros/latex/contrib/csbulletin/csbulobalka.sty b/macros/latex/contrib/csbulletin/csbulobalka.sty
index e88e5b9871..2926f1babd 100644
--- a/macros/latex/contrib/csbulletin/csbulobalka.sty
+++ b/macros/latex/contrib/csbulletin/csbulobalka.sty
@@ -1,4 +1,4 @@
-\ProvidesPackage{csbulobalka}[2017/02/17 Obalka + tiraz]
+\ProvidesPackage{csbulobalka}[2020/01/10 Obalka + tiraz]
\PackageInfo{csbulobalka}{$Id$}
%
% 3/4/2003 pridal jsem vetveni pro novou adresu sdruzeni (PS)
@@ -258,7 +258,9 @@ Distribuce:&
Tisk: & WOW, s.\,r.\,o., Praha 1, Washingtonova 25\\
\else
\ifnum\the\rok>2015
+\ifnum\the\rok<2019
Tisk: & ASMETI, Kl\'{a}\v{s}tern\'{i} 1187, 735\,11 Orlov\'{a} \\
+\fi
\else
Tisk a distribuce: &
KONVOJ, spol. s r.\,o., Berkova 22, 612\,00 Brno,\\
@@ -315,7 +317,7 @@ objedn\'{a}vky ti\v st\v en\'e \TeX ov\'e literatury na dob\'irku
\tir@ni www server sdru\v zen\'i:\\
%\pdfurl{http://www.cstug.cz/}{\path|http://www.cstug.cz/|}
-\texttt{http://www.cstug.cz}
+\texttt{https://www.cstug.cz}
\endgroup
diff --git a/macros/latex/contrib/glosmathtools/README.md b/macros/latex/contrib/glosmathtools/README.md
index 906422c625..1c5478f452 100644
--- a/macros/latex/contrib/glosmathtools/README.md
+++ b/macros/latex/contrib/glosmathtools/README.md
@@ -23,7 +23,7 @@ later version.
## Version
-0.5.1 (2019-08-02)
+0.5.2 (2020-03-20)
## Author
diff --git a/macros/latex/contrib/glosmathtools/glosmathtools.sty b/macros/latex/contrib/glosmathtools/glosmathtools.sty
index c117579d29..1eeab40e75 100644
--- a/macros/latex/contrib/glosmathtools/glosmathtools.sty
+++ b/macros/latex/contrib/glosmathtools/glosmathtools.sty
@@ -3,7 +3,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{glosmathtools}%
[%
-2019/08/02 v0.5.1 %
+2020/03/20 v0.5.2 %
Mathematical nomenclature tools based on glossaries package %
Francis Gagnon %
]%
@@ -74,16 +74,6 @@ Francis Gagnon %
\ensuremath{\glsdisp{#2}{\glosmath@MyGlsMacro{#2}}}%
}%
-% ---------- glsvi -------------------------------------------------------
-% show $a_b$ with link to "a" and variable "b"
-% 4 arguments : 2 mandatory arguments and optional 1st and 2nd argument
-% for adding accent on "a" and "b"
-\newcommand*{\glsvi}[1][]%
-{%
- \def\glosmath@ArgI{#1}%
- \glosmath@glsviRelay%
-}%
-
% ---------- glsub -------------------------------------------------------
% show $a_b$ with link to "a" and subscript "sub.b"
% 3 arguments : 2 mandatory arguments and optional 1st argument
@@ -109,6 +99,26 @@ Francis Gagnon %
}%
}%
+% ---------- glsvi -------------------------------------------------------
+% show $a_b$ with link to "a" and variable "b"
+% 4 arguments : 2 mandatory arguments and optional 1st and 2nd argument
+% for adding accent on "a" and "b"
+\newcommand*{\glsvi}[1][]%
+{%
+ \def\glosmath@ArgI{#1}%
+ \glosmath@glsviRelay%
+}%
+
+% ---------- glsvisub ----------------------------------------------------
+% show $a_{b_c}$ with link to "a", variable "b" and subscript "sub.c"
+% 4 arguments : 3 mandatory arguments and optional 1st and 2nd argument
+% for adding accent on "a" and "b"
+\newcommand*{\glsvisub}[1][]%
+{%
+ \def\glosmath@ArgI{#1}%
+ \glosmath@glsvisubRelay%
+}%s
+
% ---------- glslang -----------------------------------------------------
% show full accronyms definition in specified languages
\newcommand*{\glslang}[2][]%
@@ -331,7 +341,24 @@ Francis Gagnon %
\let \glosmath@SecGls \glosmath@MyGlsMacro%
\ensuremath{%
\glsdisp{#2}{%
- \glosmath@FirGls{#2}_{\glsdisp{#3}{\glosmath@SecGls{#3}}}%
+ \glosmath@FirGls{#2}_{%
+ \glsdisp{#3}{\glosmath@SecGls{#3}}}%
+ }%
+ }%
+}%
+
+% ---------- glosmath@glsvisubRelay ---------------------------------------
+% relay macro for two optional aguments in the glsvisub macro
+\newcommand*{\glosmath@glsvisubRelay}[4][]%
+{%
+ \expandafter\glosmath@getMyGlsMacro\expandafter{\glosmath@ArgI}%
+ \let \glosmath@FirGls \glosmath@MyGlsMacro%
+ \glosmath@getMyGlsMacro{#1}%
+ \let \glosmath@SecGls \glosmath@MyGlsMacro%
+ \ensuremath{%
+ \glsdisp{#2}{%
+ \glosmath@FirGls{#2}_{%
+ \glsdisp{#3}{\glosmath@SecGls{#3}_{\gls{sub.#4}}}}%
}%
}%
}%
diff --git a/macros/latex/contrib/glosmathtools/sample_glosmathtools.pdf b/macros/latex/contrib/glosmathtools/sample_glosmathtools.pdf
index 6e48a5476a..ee8409daeb 100644
--- a/macros/latex/contrib/glosmathtools/sample_glosmathtools.pdf
+++ b/macros/latex/contrib/glosmathtools/sample_glosmathtools.pdf
Binary files differ
diff --git a/macros/latex/contrib/glosmathtools/sample_glosmathtools.tex b/macros/latex/contrib/glosmathtools/sample_glosmathtools.tex
index ae1aa12a5d..e4e1c785f8 100644
--- a/macros/latex/contrib/glosmathtools/sample_glosmathtools.tex
+++ b/macros/latex/contrib/glosmathtools/sample_glosmathtools.tex
@@ -11,7 +11,8 @@
\ifxetex\else \usepackage[utf8]{inputenc} \fi
\usepackage{mathtools,siunitx,amsmath,amsfonts}
\usepackage{hyperref} % dernier package chargé sauf glosmathtools
-\usepackage[qtmarkupright,singlelineskip]{glosmathtools}
+% option "toc" passé à glossaries : ajout nomenclature dans signets du PDF :
+\usepackage[qtmarkupright,singlelineskip,toc]{glosmathtools}
%% ===================== preamble ============================================
%% ------------- glosmathtools -----------------------------------------------
\makeglossaries% executé en premier
@@ -22,7 +23,7 @@
\renewcommand*{\glscatnamefmt}[1]{\textbf{#1}} % format des catégories
%% ------------- ulthese ----------------------------------------------------
\titre{Documentation et exemple de \texttt{glosmathtools} dans \texttt{ulthese}}
-\soustitre{v0.5.1}
+\soustitre{v0.5.2}
\auteur{Francis Gagnon}
%% ============================================================================
@@ -58,7 +59,7 @@ Les options du package \texttt{glosmathtools} se résument par :
\item[nodefop] utilisation des opérateurs et accents sans définition
\item[{[autres options]}] passés au package \texttt{glossaries}
\end{description}
-De plus amples informations sont fournies ci-dessous.
+Par exemple, l'option \textbf{toc} du package \texttt{glossaries} peut être ajouté afin d'inclure la nomenclature dans la table des matières. De plus amples informations sont fournies ci-dessous (voir .
\section{Utilisation du package}
\subsection{Symboles, indices et accentuations}
@@ -71,9 +72,9 @@ d"v + \glsub{d}{v} = \SI{10.0}{\centi\meter} = 3.937\qtmark
\end{equation}
Le package peut être chargé avec l'option \texttt{qtmarkupright}. Le caractère \texttt{<">} est alors configuré comme raccourci pour l'écriture d'un indice sans italique en mode \texttt{math} (\texttt{<\_>} pour indice italique) \footnote{ La macro \texttt{\textbackslash qtmark} permet d'insérer le caractère \texttt{<">}. En ISO, les indices représentant l'abréviation d'un mot s'écrivent sans italique, et, celles représentant une variable, en italique.}.
-La macro \texttt{\textbackslash glsvi} permet d'ajouter une variable en indice à une autre variable : \glsvi{T}{k}. Il est aussi possible d'ajouter deux indices séparés par une virgule avec \texttt{\textbackslash glsubs} : \glsubs{D}{w}{a}. En l’occurrence, l'opérateur virgule est ajouté dans la nomenclature, qui doit donc être défini dans le glossaire sous le label \texttt{op.comma}.
+La macro \texttt{\textbackslash glsvi} permet d'ajouter une variable en indice à une autre variable, et \texttt{\textbackslash glsvisub}, une variable indicée à une autre variable : \glsvi{T}{k} et \glsvisub{T}{z}{v}. Finalement, il est possible d'ajouter deux indices séparés par une virgule avec \texttt{\textbackslash glsubs} : \glsubs{D}{w}{a}. En l’occurrence, l'opérateur virgule est ajouté dans la nomenclature, qui doit donc être défini dans le glossaire sous le label \texttt{op.comma}.
-Il est aussi possible d'ajouter des accents sur les variables avec la macro \texttt{\textbackslash glsac} : \glsac[dot]{m} et \glsac[bar]{T}. À leur utilisation respective, un opérateur est ajouté dans la nomenclature. Ils doivent donc être définis à leur label respectif. Les accents disponibles sont:
+Des accents peuvent aussi s'ajouter sur les variables avec la macro \texttt{\textbackslash glsac} : \glsac[dot]{m} et \glsac[bar]{T}. À leur utilisation respective, un opérateur est ajouté dans la nomenclature. Ils doivent donc être définis à leur label respectif. Les accents disponibles sont:
\begin{description}
\item[dot] $\dot{\bullet}$ (défini au label \texttt{op.dot})
\item[ddot] $\ddot{\bullet}$ (défini au label \texttt{op.ddot})
@@ -82,7 +83,7 @@ Il est aussi possible d'ajouter des accents sur les variables avec la macro \tex
\item[vec] $\vec{\bullet}$ (défini au label \texttt{op.vec})
\item[tilde] $\widetilde{\bullet}$ (défini au label \texttt{op.tilde})
\end{description}
-De plus, un argument optionnel permet d'ajouter des accents à toutes les macros précédentes : \glsub[bar]{T}{v} et \glsubs[dot]{m}{v}{a}. Il y a deux arguments optionnels dans le cas de \texttt{\textbackslash glsvi} : \glsvi[dot]{m}{k}, \glsvi[][dot]{k}{m} et \glsvi[bar][dot]{T}{m}. Finalement, il est possible d'utiliser les accents sans définition dans la nomenclature avec l'option \texttt{nodefop}.
+De plus, un argument optionnel permet d'ajouter des accents à toutes les macros précédentes : \glsub[bar]{T}{v} et \glsubs[dot]{m}{v}{a}. Il y a deux arguments optionnels dans le cas de \texttt{\textbackslash glsvi} et \texttt{\textbackslash glsvisub} : \glsvi[dot]{m}{k}, \glsvi[bar][dot]{T}{m} et \glsvisub[][dot]{T}{m}{w}. Finalement, il est possible d'utiliser les accents sans définition dans la nomenclature avec l'option \texttt{nodefop}.
\subsection{Langue, abréviations et nomenclature}
diff --git a/macros/latex/contrib/scratch3/README b/macros/latex/contrib/scratch3/README
index a4ed01f20d..c9829a9dfb 100644
--- a/macros/latex/contrib/scratch3/README
+++ b/macros/latex/contrib/scratch3/README
@@ -3,9 +3,9 @@ ___________________________________
L'extension
scratch3
- v0.15
+ v0.16
- 5 mars 2020
+ 20 mars 2020
___________________________________
Author : Christian Tellechea
diff --git a/macros/latex/contrib/scratch3/scratch3-fr.pdf b/macros/latex/contrib/scratch3/scratch3-fr.pdf
index ade051b2d0..1eb21d8b58 100644
--- a/macros/latex/contrib/scratch3/scratch3-fr.pdf
+++ b/macros/latex/contrib/scratch3/scratch3-fr.pdf
Binary files differ
diff --git a/macros/latex/contrib/scratch3/scratch3-fr.tex b/macros/latex/contrib/scratch3/scratch3-fr.tex
index d9606cce49..da7c723eb7 100644
--- a/macros/latex/contrib/scratch3/scratch3-fr.tex
+++ b/macros/latex/contrib/scratch3/scratch3-fr.tex
@@ -621,4 +621,7 @@ Toute remarque, remonte de bug ---~je n'ose pas dire amlioration du code~---,
\begin{version}{0.15}{05/03/2020}
>Bug corrig dans les blocs normaux: l'chelle est dsormais rinitialise si besoin.
\end{version}
+\begin{version}{0.16}{20/03/2020}
+ >Le bug corrig dans la v0.15 est fautif, \verb|scr_scale| est dsormais initialise dans \verb|\initmoreblocks|.
+\end{version}
\end{document} \ No newline at end of file
diff --git a/macros/latex/contrib/scratch3/scratch3.sty b/macros/latex/contrib/scratch3/scratch3.sty
index f018bb9725..26b771cc27 100644
--- a/macros/latex/contrib/scratch3/scratch3.sty
+++ b/macros/latex/contrib/scratch3/scratch3.sty
@@ -5,9 +5,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
\def\scrname{ scratch3 }%
-\def\scrver { 0.15 }%
+\def\scrver { 0.16 }%
% %
-\def\scrdate{ 2020/03/05 }%
+\def\scrdate{ 2020/03/20 }%
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
@@ -130,7 +130,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\scr_normalblock#1#2{% #1=couleur #2=texte
\def\scr_current_blockcolor{#1}%
- \if_inpicture\def\scr_scale{1}\else\scr_normalizedec\scr_scale scale[0.2,5]\fi% bugfix 0.15
+% \if_inpicture\def\scr_scale{1}\else\scr_normalizedec\scr_scale scale[0.2,5]\fi% bugfix 0.15 (regression) --> bugfix 0.16
\def\scr_currentstuff{%
\if_pen
\scr_drawpen
@@ -358,6 +358,7 @@
\def\scr_currentstuff{%
\useKV[\scrname]{pre text}%
\_inpicturetrue
+ \def\scr_scale{1}% Bugfix 0.16
#1%
\scr_blockstrut
}%
@@ -1236,3 +1237,6 @@ Versions :
| 0.15 | 05/03/2020 | * l'chelle n'tait pas initialise dans les blocs |
| | | normaux |
|---------+------------+------------------------------------------------------|
+| 0.16 | 20/03/2020 | * regression 0.15 --> l'chelle est dsormais |
+| | | initialise dans \initmoreblocks |
+|---------+------------+------------------------------------------------------| \ No newline at end of file
diff --git a/macros/latex/contrib/xltabular/Changes b/macros/latex/contrib/xltabular/Changes
index 05b615fc27..d29caef556 100644
--- a/macros/latex/contrib/xltabular/Changes
+++ b/macros/latex/contrib/xltabular/Changes
@@ -1,3 +1,4 @@
+2.0c 2020/03/20 - restore of original longtable more robust
2.0a 2018/12/16 - better hyperref support; example files
1.0a 2018/05/23 - restore original tabularx must not be statically
0.05 2017-10-26 - set \keepXColumns
diff --git a/macros/latex/contrib/xltabular/xltabular-doc.pdf b/macros/latex/contrib/xltabular/xltabular-doc.pdf
index 882a93aa45..d8b3ba30ef 100644
--- a/macros/latex/contrib/xltabular/xltabular-doc.pdf
+++ b/macros/latex/contrib/xltabular/xltabular-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/xltabular/xltabular.sty b/macros/latex/contrib/xltabular/xltabular.sty
index 4684191127..fc785782fa 100644
--- a/macros/latex/contrib/xltabular/xltabular.sty
+++ b/macros/latex/contrib/xltabular/xltabular.sty
@@ -3,21 +3,18 @@
%% License from CTAN archives in directory macros/latex/base/lppl.txt.
%% Either version 1.3 or, at your option, any later version.
%%
-% Copyright 2018 Herbert Voss <hvoss@tug.org>
-% Rolf Niepraschk <Rolf.Niepraschk@gmx.de>
+% Copyright 2018,... Herbert Voss <hvoss@tug.org>
+% Rolf Niepraschk <Rolf.Niepraschk@gmx.de>
%%
-\ProvidesPackage{xltabular}[2019/01/30 v0.2b `xltabular' package (hv,RN)]
+\ProvidesPackage{xltabular}[2020/03/20 v0.2c `xltabular' package (hv,RN)]
\RequirePackage{tabularx}
\let\XLT@i@tabularx=\tabularx
\let\XLT@i@endtabularx=\endtabularx
\let\XLT@i@TX@endtabularx=\TX@endtabularx
%
-\RequirePackage{ltablex}
-\keepXColumns% xltabular behaves like tabularx
-%
-\let\XLT@ii@tabularx=\tabularx
-\let\XLT@ii@TX@endtabularx=\TX@endtabularx
+\RequirePackage{longtable}
\let\XLT@longtable=\longtable
+\let\XLT@LT@caption=\LT@caption
\let\XLT@LT@start=\LT@start
\let\XLT@LT@array=\LT@array
\@ifundefined{scr@LT@array}{%
@@ -25,7 +22,12 @@
\@ifundefined{adl@LT@array}{}{\let\XLT@adl@LT@array=\adl@LT@array}
}
}{\let\XLT@scr@LT@array=\scr@LT@array}%
-
+%
+\RequirePackage{ltablex}
+\keepXColumns% xltabular behaves like tabularx
+%
+\let\XLT@ii@tabularx=\tabularx
+\let\XLT@ii@TX@endtabularx=\TX@endtabularx
%
% restore original tabularx
\renewenvironment{tabularx}%
@@ -64,11 +66,14 @@
}%
%
\providecommand*\LTcaptype{table}% support of package "caption"
+% restore original longtable
\def\longtable{%
\ifXLT@HypRef
% revert to the unpatched version when \caption is not used
- \global\let\LT@start=\XLT@LT@start
+ \global\let\LT@start=\XLT@LT@start%
\fi
+ \let\LT@array=\XLT@LT@array
+ \let\LT@caption=\XLT@LT@caption
\XLT@longtable
}