texlive[45446] Master/texmf-dist: xltabular (1oct17)

commits+karl at tug.org commits+karl at tug.org
Sun Oct 1 23:32:42 CEST 2017


Revision: 45446
          http://tug.org/svn/texlive?view=revision&revision=45446
Author:   karl
Date:     2017-10-01 23:32:42 +0200 (Sun, 01 Oct 2017)
Log Message:
-----------
xltabular (1oct17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/xltabular/Changes
    trunk/Master/texmf-dist/doc/latex/xltabular/README.md
    trunk/Master/texmf-dist/doc/latex/xltabular/xltabular-doc.pdf
    trunk/Master/texmf-dist/doc/latex/xltabular/xltabular-doc.tex
    trunk/Master/texmf-dist/tex/latex/xltabular/xltabular.sty

Modified: trunk/Master/texmf-dist/doc/latex/xltabular/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xltabular/Changes	2017-10-01 21:32:30 UTC (rev 45445)
+++ trunk/Master/texmf-dist/doc/latex/xltabular/Changes	2017-10-01 21:32:42 UTC (rev 45446)
@@ -1,3 +1,4 @@
+0.03  2017-10-01  - fix for \caption* in longtable
 0.02  2017-09-28  - added optional argument for horizontal alignment
                   - extended documentation
 0.01  2017-09-27  - first CTAN version

Modified: trunk/Master/texmf-dist/doc/latex/xltabular/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xltabular/README.md	2017-10-01 21:32:30 UTC (rev 45445)
+++ trunk/Master/texmf-dist/doc/latex/xltabular/README.md	2017-10-01 21:32:42 UTC (rev 45446)
@@ -5,6 +5,6 @@
 
 
 
-%% This file is distributed under the terms of the LaTeX Project Public
-%% License from CTAN archives in directory  macros/latex/base/lppl.txt.
-%% Either version 1.3 or, at your option, any later version.
+This file is distributed under the terms of the LaTeX Project Public
+License from CTAN archives in directory  macros/latex/base/lppl.txt.
+Either version 1.3 or, at your option, any later version.

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

Modified: trunk/Master/texmf-dist/doc/latex/xltabular/xltabular-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/xltabular/xltabular-doc.tex	2017-10-01 21:32:30 UTC (rev 45445)
+++ trunk/Master/texmf-dist/doc/latex/xltabular/xltabular-doc.tex	2017-10-01 21:32:42 UTC (rev 45446)
@@ -1,4 +1,4 @@
-%% $Id: xltabular-doc.tex 592 2017-09-29 06:52:56Z herbert $
+%% $Id: xltabular-doc.tex 598 2017-09-30 19:52:25Z herbert $
 %
 \listfiles
 \documentclass[paper=a4,fontsize=11pt,DIV=13,parskip=half-,
@@ -14,6 +14,7 @@
   BoldFont      =*-Bold,
   ItalicFont    =*-Italic,
   BoldItalicFont=*-BoldItalic,
+  RawFeature    = -rlig,
 ]
 \setsansfont{GilliusADF}[
   UprightFont   =*-Regular,
@@ -20,6 +21,7 @@
   BoldFont      =*-Bold,
   ItalicFont    =*-Italic,
   BoldItalicFont=*-BoldItalic,
+  RawFeature    = -rlig,
 ]
 \setmonofont{Anonymous Pro}[Scale=MatchLowercase,FakeStretch=0.9]
 
@@ -29,8 +31,8 @@
 \automark*[subsection]{}
 \pagestyle{scrheadings}
 
-\usepackage{selnolig}
-\nolig{oe}{o|e}
+%\usepackage{selnolig}
+%\nolig{oe}{o|e}
 
 \usepackage{xltabular}
 \makeatletter
@@ -201,7 +203,7 @@
 
 Here comes another \texttt{tabularx} but without a caption. It should
 \emph{not} increase the \texttt{table} counter. The following tabular
-in the next section should have the correct number!
+in the last section should have the correct number!
 
 \begin{tabularx}{\linewidth}{@{} >{\ttfamily}l>{\RaggedRight}X @{}}\hline
 .ext & Beschreibung\\\hline
@@ -215,6 +217,26 @@
 \end{tabularx}
 
 
+\subsection{\texttt{xltabular} with the star version of caption}
+
+Here comes another \texttt{xltabular} with \cs{caption*}. It should
+\emph{not} increase the \texttt{table} counter. The following tabular
+in the next section should have the correct number!
+
+\begin{xltabular}{\linewidth}{@{} >{\ttfamily}l>{\RaggedRight}X @{}}
+\caption*{A caption as star version: no number no entry in the List of Tables}\\\hline
+.ext & Beschreibung\\\hline
+ aux & (auxiliary) Hilfsdatei, enthält Querverweise usw. \\ 
+ bbl & (bibliography) Hilfsdatei, enthält die Einträge für die Literatur\\ 
+ bib & (bibtex) enthält die Literaturdaten\\ 
+ blg & (bibliography log) enthält die Ausgaben eines Bib\TeX-Laufs\\ 
+ cfg & (config) Konfigurationsdatei\\ 
+ clo & (class options) Definitionen für die Dokumentenklasse und die entsprechenden
+         Klassen-Optionen\\ 
+\end{xltabular}
+
+
+
 \subsection{\texttt{xltabular} with header/footer definitions}
 
 \begin{Verbatim}[frame=lines]

Modified: trunk/Master/texmf-dist/tex/latex/xltabular/xltabular.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/xltabular/xltabular.sty	2017-10-01 21:32:30 UTC (rev 45445)
+++ trunk/Master/texmf-dist/tex/latex/xltabular/xltabular.sty	2017-10-01 21:32:42 UTC (rev 45446)
@@ -1,4 +1,4 @@
-%% $Id: xltabular.sty 592 2017-09-29 06:52:56Z herbert $
+%% $Id: xltabular.sty 602 2017-10-01 13:47:08Z herbert $
 %%
 %% This file is distributed under the terms of the LaTeX Project Public
 %% License from CTAN archives in directory  macros/latex/base/lppl.txt.
@@ -7,9 +7,9 @@
 % Copyright 2017 Herbert Voss <hvoss at tug.org>
 %                Rolf Niepraschk <Rolf.Niepraschk at gmx.de>
 %%
-\def\xltabular at version{0.02 }
+\def\xltabular at version{0.03 }
 \ProvidesPackage{xltabular}
-          [2017/09/28 v\xltabular at version `xltabular' package (hv,rn)]
+          [2017/10/01 v\xltabular at version `xltabular' package (hv,rn)]
 
 \RequirePackage{tabularx}
 \let\ORIGi at tabularx=\tabularx
@@ -21,7 +21,7 @@
 \let\ORIGii at TX@endtabularx=\TX at endtabularx
 %
 \let\ORIG at longtable=\longtable
-\let\ORIG at LT@capti at n=\LT at capti@n
+\let\ORIG at LT@c at ption=\LT at c@ption
 %
 % restore original tabularx
 \let\tabularx=\ORIGi at tabularx
@@ -44,15 +44,21 @@
   {\def\@currenvir{tabularx}}
 %
 % In "longtable" increase the counter "table" only if "\caption" is used 
-\def\LT at capti@n{%
-	\refstepcounter{table}%
-	\ORIG at LT@capti at n
-}
+
+\def\LT at c@ption#1{%
+  \noalign{%
+    \ifx#1\@firstofone
+      \refstepcounter{table}%
+    \fi}%
+  \ORIG at LT@c at ption{#1}%
+} 
+%
 \def\longtable{%
-	\addtocounter{table}\m at ne
-	\ORIG at longtable
+  \addtocounter{table}\m at ne
+  \ORIG at longtable
 }  
-
+%
 \endinput
 %%
 %% End of file `xltabular.sty'.
+



More information about the tex-live-commits mailing list