texlive[68566] Master/texmf-dist: csvsimple (16oct23)

commits+karl at tug.org commits+karl at tug.org
Mon Oct 16 21:58:02 CEST 2023


Revision: 68566
          https://tug.org/svn/texlive?view=revision&revision=68566
Author:   karl
Date:     2023-10-16 21:58:01 +0200 (Mon, 16 Oct 2023)
Log Message:
-----------
csvsimple (16oct23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/csvsimple/CHANGES.md
    trunk/Master/texmf-dist/doc/latex/csvsimple/README.md
    trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-doc.sty
    trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-example.pdf
    trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-example.tex
    trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-l3.pdf
    trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-l3.tex
    trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-legacy.pdf
    trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-legacy.tex
    trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple.pdf
    trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple.tex
    trunk/Master/texmf-dist/tex/latex/csvsimple/csvsimple-l3.sty
    trunk/Master/texmf-dist/tex/latex/csvsimple/csvsimple-legacy.sty
    trunk/Master/texmf-dist/tex/latex/csvsimple/csvsimple.sty

Modified: trunk/Master/texmf-dist/doc/latex/csvsimple/CHANGES.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/csvsimple/CHANGES.md	2023-10-16 19:57:52 UTC (rev 68565)
+++ trunk/Master/texmf-dist/doc/latex/csvsimple/CHANGES.md	2023-10-16 19:58:01 UTC (rev 68566)
@@ -16,6 +16,29 @@
 ### Security
 
 
+## [2.5.0] - 2023-10-16
+
+### Added
+- New survey tables (issue #29):
+    - `\csvautotabularray`
+    - `\csvautotabularray*`
+    - `\csvautolongtabularray`
+    - `\csvautolongtabularray*`
+- New corresponding options (issue #29)
+    - `autotabularray`
+    - `autotabularray*`
+    - `autolongtabularray`
+    - `autolongtabularray*`
+
+### Changed
+- Documentation typos fixed (issue #30)
+- Survey tables moved into a separate section
+
+### Fixed
+- `collect data` does not collect `after first line` (issue #28)
+
+
+
 ## [2.4.0] - 2023-05-09
 
 ### Added

Modified: trunk/Master/texmf-dist/doc/latex/csvsimple/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/csvsimple/README.md	2023-10-16 19:57:52 UTC (rev 68565)
+++ trunk/Master/texmf-dist/doc/latex/csvsimple/README.md	2023-10-16 19:58:01 UTC (rev 68566)
@@ -1,4 +1,4 @@
-# The LaTeX package csvsimple - version 2.4.0 (2023/05/09)
+# The LaTeX package csvsimple - version 2.5.0 (2023/10/16)
 
 
 > Copyright (c) 2008-2023 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>

Modified: trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-doc.sty
===================================================================
--- trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-doc.sty	2023-10-16 19:57:52 UTC (rev 68565)
+++ trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-doc.sty	2023-10-16 19:58:01 UTC (rev 68566)
@@ -1,5 +1,5 @@
 % !TeX encoding=UTF-8
-%% The LaTeX package csvsimple - version 2.4.0 (2023/05/09)
+%% The LaTeX package csvsimple - version 2.5.0 (2023/10/16)
 %% csvsimple-doc.sty: style file for the documentation
 %%
 %% -------------------------------------------------------------------------------------------
@@ -18,8 +18,8 @@
 %%
 %% This work consists of all files listed in README.md
 %%
-\def\version{2.4.0}%
-\def\datum{2023/05/09}%
+\def\version{2.5.0}%
+\def\datum{2023/10/16}%
 
 \IfFileExists{csvsimple-doc.cfg}{\input{csvsimple-doc.cfg}}{}\providecommand\csvpkgprefix{}
 

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

Modified: trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-example.tex	2023-10-16 19:57:52 UTC (rev 68565)
+++ trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-example.tex	2023-10-16 19:58:01 UTC (rev 68566)
@@ -1,4 +1,4 @@
-%% The LaTeX package csvsimple - version 2.4.0 (2023/05/09)
+%% The LaTeX package csvsimple - version 2.5.0 (2023/10/16)
 %% csvsimple-example.tex: an example for csvsimple
 %%
 %% -------------------------------------------------------------------------------------------

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

Modified: trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-l3.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-l3.tex	2023-10-16 19:57:52 UTC (rev 68565)
+++ trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-l3.tex	2023-10-16 19:58:01 UTC (rev 68566)
@@ -1,6 +1,7 @@
 % \LaTeX-Main\
 % !TeX encoding=UTF-8
-%% The LaTeX package csvsimple - version 2.4.0 (2023/05/09)
+% !TeX spellcheck=en_US
+%% The LaTeX package csvsimple - version 2.5.0 (2023/10/16)
 %% csvsimple.tex: Manual
 %%
 %% -------------------------------------------------------------------------------------------
@@ -52,7 +53,7 @@
 {\large Thomas F.~Sturm%
   \footnote{Prof.~Dr.~Dr.~Thomas F.~Sturm, Institut f\"{u}r Mathematik und Informatik,
     University of the Bundeswehr Munich, D-85577 Neubiberg, Germany;
-     email: \href{mailto:thomas.sturm at unibw.de}{thomas.sturm at unibw.de}}\par\medskip
+    email: \href{mailto:thomas.sturm at unibw.de}{thomas.sturm at unibw.de}}\par\medskip
 \normalsize\url{https://www.ctan.org/pkg/csvsimple}\par
 \url{https://github.com/T-F-S/csvsimple}
 }
@@ -429,110 +430,7 @@
 \end{dispExample}
 \end{docCommand}
 
-\bigskip
 
-The following |\csvauto...| commands are intended for quick data overview
-with limited formatting potential.
-See Subsection~\ref{subsec:tabsupport} on page \pageref{subsec:tabsupport}
-for the general table options in combination with \refCom{csvreader} and
-\refCom{csvloop}.
-
-\begin{docCommands}[
-    doc parameter = \oarg{options}\marg{file name}
-  ]
-  {
-    { doc name = csvautotabular  },
-    { doc name = csvautotabular*, doc new = 2021-06-25 }
-  }
-  |\csvautotabular| or |\csvautotabular*|
-  is an abbreviation for the application of the option key
-  \refKey{/csvsim/autotabular} or \refKey{/csvsim/autotabular*}
-  together with other \meta{options} to \refCom{csvloop}.
-  This macro reads the whole CSV file denoted by \meta{file name}
-  with an automated formatting.
-  The star variant treats the first line as data line and not as header line.
-\begin{dispExample}
-\csvautotabular*{grade.csv}
-\end{dispExample}
-\begin{dispExample}
-\csvautotabular[filter equal={\csvcoliv}{f}]{grade.csv}
-\end{dispExample}
-\end{docCommands}
-
-\clearpage
-
-\begin{docCommands}[
-    doc parameter = \oarg{options}\marg{file name}
-  ]
-  {
-    { doc name = csvautolongtable  },
-    { doc name = csvautolongtable*, doc new = 2021-06-25 }
-  }
-  |\csvautolongtable| or |\csvautolongtable*|
-  is an abbreviation for the application of the option key
-  \refKey{/csvsim/autolongtable} or \refKey{/csvsim/autolongtable*}
-  together with other \meta{options} to \refCom{csvloop}.
-  This macro reads the whole CSV file denoted by \meta{file name}
-  with an automated formatting.
-  For application, the package |longtable| is required which has to be
-  loaded in the preamble.
-  The star variant treats the first line as data line and not as header line.
-\begin{dispListing}
-\csvautolongtable{grade.csv}
-\end{dispListing}
-\csvautolongtable{grade.csv}
-\end{docCommands}
-
-
-
-\begin{docCommands}[
-    doc parameter = \oarg{options}\marg{file name}
-  ]
-  {
-    { doc name = csvautobooktabular  },
-    { doc name = csvautobooktabular*, doc new = 2021-06-25 }
-  }
-  |\csvautobooktabular| or |\csvautobooktabular*|
-  is an abbreviation for the application of the option key
-  \refKey{/csvsim/autobooktabular} or \refKey{/csvsim/autobooktabular*}
-  together with other \meta{options} to \refCom{csvloop}.
-  This macro reads the whole CSV file denoted by \meta{file name}
-  with an automated formatting.
-  For application, the package |booktabs| is required which has to be
-  loaded in the preamble.
-  The star variant treats the first line as data line and not as header line.
-\begin{dispExample}
-\csvautobooktabular{grade.csv}
-\end{dispExample}
-\end{docCommands}
-
-
-\begin{docCommands}[
-    doc parameter = \oarg{options}\marg{file name}
-  ]
-  {
-    { doc name = csvautobooklongtable  },
-    { doc name = csvautobooklongtable*, doc new = 2021-06-25 }
-  }
-  |\csvautobooklongtable| or |\csvautobooklongtable*|
-  is an abbreviation for the application of the option key
-  \refKey{/csvsim/autobooklongtable} or \refKey{/csvsim/autobooklongtable*}
-  together with other \meta{options} to \refCom{csvloop}.
-  This macro reads the whole CSV file denoted by \meta{file name}
-  with an automated formatting.
-  For application, the packages |booktabs| and |longtable| are required which have to be
-  loaded in the preamble.
-  The star variant treats the first line as data line and not as header line.
-\begin{dispListing}
-\csvautobooklongtable{grade.csv}
-\end{dispListing}
-\csvautobooklongtable{grade.csv}
-\end{docCommands}
-
-
-
-\clearpage
-
 \begin{docCommand}[doc updated = 2021-06-25]{csvset}{\marg{options}}
   Sets \meta{options} for every following
   \refCom{csvreader} and \refCom{csvloop}.
@@ -564,6 +462,7 @@
 \end{dispExample}
 \end{docCommand}
 
+\enlargethispage*{1cm}
 
 \begin{docCommand}{csvnames}{\marg{key}\marg{assignments}}
   Abbreviation for |\csvstyle{|\meta{key}|}{column names=|\marg{assignments}|}|
@@ -723,7 +622,7 @@
   Typesets the current data line number. This is the
   current number of accepted data lines without the header line.
   Despite of the name, there is no associated \LaTeX\ counter |csvrow|,
-  but \refCom{thecsvrow} is an accessor the \LaTeX3 integer
+  but \refCom{thecsvrow} accesses the \LaTeX3 integer
   \refCom{g_csvsim_row_int}.
 \end{docCommands}
 
@@ -736,7 +635,7 @@
   is either computed from the first valid line (header or data) or
   given by \refKey{/csvsim/column count}.
   Despite of the name, there is no associated \LaTeX\ counter |csvcolumncount|,
-  but \refCom{thecsvcolumncount} is an accessor the \LaTeX3 integer
+  but \refCom{thecsvcolumncount} accesses the \LaTeX3 integer
   \refCom{g_csvsim_columncount_int}.
 \begin{dispExample}
 \csvreader{grade.csv}{}{}%
@@ -769,9 +668,213 @@
 
 
 
+\clearpage
+\section{Macros for Automatic Survey Tables}\label{sec:autotable}%
 
+The following |\csvauto...| commands are intended for quick data overview
+with \emph{limited} formatting potential.
+The most customizable |\csvauto...| commands are
+\refCom{csvautotabularray} and friends.
 
+For full control see Subsection~\ref{subsec:tabsupport} on page \pageref{subsec:tabsupport}
+for the general table options in combination with \refCom{csvreader} and
+\refCom{csvloop}.
+
+\begin{docCommands}[
+    doc parameter = \oarg{options}\marg{file name}
+  ]
+  {
+    { doc name = csvautotabular  },
+    { doc name = csvautotabular*, doc new = 2021-06-25 }
+  }
+  |\csvautotabular| or |\csvautotabular*|
+  is an abbreviation for the application of the option key
+  \refKey{/csvsim/autotabular} or \refKey{/csvsim/autotabular*}
+  together with other \meta{options} to \refCom{csvloop}.
+  This macro reads the whole CSV file denoted by \meta{file name}
+  with an automated formatting.
+  The star variant treats the first line as data line and not as header line.
+\begin{dispExample}
+\csvautotabular*{grade.csv}
+\end{dispExample}
+\begin{dispExample}
+\csvautotabular[filter equal={\csvcoliv}{f}]{grade.csv}
+\end{dispExample}
+\end{docCommands}
+
+
+
+\begin{docCommands}[
+    doc parameter = \oarg{options}\marg{file name}
+  ]
+  {
+    { doc name = csvautolongtable  },
+    { doc name = csvautolongtable*, doc new = 2021-06-25 }
+  }
+  |\csvautolongtable| or |\csvautolongtable*|
+  is an abbreviation for the application of the option key
+  \refKey{/csvsim/autolongtable} or \refKey{/csvsim/autolongtable*}
+  together with other \meta{options} to \refCom{csvloop}.
+  This macro reads the whole CSV file denoted by \meta{file name}
+  with an automated formatting.
+  For application, the package \ctanpkg{longtable} is required which has to be
+  loaded in the preamble.
+  The star variant treats the first line as data line and not as header line.
+\begin{dispListing}
+\csvautolongtable{grade.csv}
+\end{dispListing}
+\csvautolongtable{grade.csv}
+\end{docCommands}
+
+
 \clearpage
+
+
+\begin{docCommands}[
+    doc parameter = \oarg{options}\marg{file name}
+  ]
+  {
+    { doc name = csvautobooktabular  },
+    { doc name = csvautobooktabular*, doc new = 2021-06-25 }
+  }
+  |\csvautobooktabular| or |\csvautobooktabular*|
+  is an abbreviation for the application of the option key
+  \refKey{/csvsim/autobooktabular} or \refKey{/csvsim/autobooktabular*}
+  together with other \meta{options} to \refCom{csvloop}.
+  This macro reads the whole CSV file denoted by \meta{file name}
+  with an automated formatting.
+  For application, the package \ctanpkg{booktabs} is required which has to be
+  loaded in the preamble.
+  The star variant treats the first line as data line and not as header line.
+\begin{dispExample}
+\csvautobooktabular{grade.csv}
+\end{dispExample}
+\end{docCommands}
+
+
+\begin{docCommands}[
+    doc parameter = \oarg{options}\marg{file name}
+  ]
+  {
+    { doc name = csvautobooklongtable  },
+    { doc name = csvautobooklongtable*, doc new = 2021-06-25 }
+  }
+  |\csvautobooklongtable| or |\csvautobooklongtable*|
+  is an abbreviation for the application of the option key
+  \refKey{/csvsim/autobooklongtable} or \refKey{/csvsim/autobooklongtable*}
+  together with other \meta{options} to \refCom{csvloop}.
+  This macro reads the whole CSV file denoted by \meta{file name}
+  with an automated formatting.
+  For application, the packages \ctanpkg{booktabs} and \ctanpkg{longtable} are required which have to be
+  loaded in the preamble.
+  The star variant treats the first line as data line and not as header line.
+\begin{dispListing}
+\csvautobooklongtable{grade.csv}
+\end{dispListing}
+\csvautobooklongtable{grade.csv}
+\end{docCommands}
+
+
+\clearpage
+
+\begin{docCommands}[
+    doc parameter = \oarg{options}\marg{file name}\oarg{taboptions 1}\oarg{taboptions 2},
+    doc new = 2023-10-13
+  ]
+  {
+    { doc name = csvautotabularray  },
+    { doc name = csvautotabularray* },
+    { doc name = csvautolongtabularray  },
+    { doc name = csvautolongtabularray* },
+  }
+  These macros are abbreviations for the application of the option keys
+  \refKey{/csvsim/autotabularray}, \refKey{/csvsim/autotabularray*},\\
+  \refKey{/csvsim/autolongtabularray}, or \refKey{/csvsim/autolongtabularray*}
+  together with other \meta{options} to \refCom{csvloop}.
+  These macros read the whole CSV file denoted by \meta{file name}
+  with an automated formatting.
+  For application, the package \ctanpkg{tabularray} is required which has to be
+  loaded in the preamble.
+  \refCom{csvautotabularray} uses the \docAuxEnvironment*{tblr} environment and
+  \refCom{csvautolongtabularray} uses the \docAuxEnvironment*{longtblr} environment.
+  The star variants treat the first line as data line and not as header line.\par
+  Options to the table environments from \ctanpkg{tabularray} may be given
+  by either setting \refKey{/csvsim/generic table options} or
+  using \meta{taboptions 1} and \meta{taboptions 2}.\par
+  The default setting is
+\begin{dispListing}
+generic table options =
+  { {
+    row{1}     = {font=\bfseries},
+    hline{1,Z} = {0.8pt},
+    hline{2}   = {0.4pt},
+  } }
+\end{dispListing}
+  For the star variants, the default setting is
+\begin{dispListing}
+generic table options =
+  { {
+    hline{1,Z} = {0.8pt},
+  } }
+\end{dispListing}
+
+Examples:
+
+\begin{dispExample}
+\csvautotabularray{grade.csv}
+\end{dispExample}
+
+\begin{dispExample}
+\csvautotabularray[table centered,
+    generic table options =
+    {{
+      row{odd}   = {red!85!gray!7},
+      row{1}     = {bg=red!85!gray, fg=white, font=\bfseries},
+    }}
+  ]
+  {grade.csv}
+\end{dispExample}
+
+\clearpage
+
+Alternatively to \refKey{/csvsim/generic table options}
+(and overruling this option), one may give options to
+\docAuxEnvironment*{tblr} or \docAuxEnvironment*{longtblr}
+using \meta{taboptions 1} and \meta{taboptions 2}.
+If \meta{taboptions 2} is \emph{not present}, then \meta{taboptions 1}
+is used as mandatory argument.
+Otherwise, \meta{taboptions 1} is used as optional argument and
+\meta{taboptions 2} as mandatory argument.
+
+\begin{dispExample}
+\csvautotabularray[table centered]
+  {grade.csv}
+  [
+    row{odd}   = {red!85!gray!7},
+    row{1}     = {bg=red!85!gray, fg=white, font=\bfseries},
+  ]
+\end{dispExample}
+
+
+\begin{dispExample}
+\csvautotabularray[table centered]
+  {grade.csv}
+  [
+    tall,
+    caption      = {My table},
+    remark{Note} = {My remark},
+  ]
+  [
+    row{odd}   = {red!85!gray!7},
+    row{1}     = {bg=red!85!gray, fg=white, font=\bfseries},
+  ]
+\end{dispExample}
+
+
+\end{docCommands}
+
+
+\clearpage
 \section{Option Keys}\label{sec:schluessel}%
 For the \meta{options} in \refCom{csvreader} respectively \refCom{csvloop}
 the following |l3keys| keys can be applied. The \meta{module} name |/csvsim/| is not
@@ -1209,7 +1312,7 @@
 
 \begin{docCsvKeys}[
     doc parameter   = {=\marg{floating point expression}},
-    doc description = {style,no default},
+    doc description = {style, no default},
     doc new = {2022-10-21}
   ]
   {
@@ -1223,7 +1326,7 @@
 
 \begin{docCsvKeys}[
     doc parameter   = {=\marg{boolean expression}},
-    doc description = {style,no default},
+    doc description = {style, no default},
     doc new = {2022-10-21}
   ]
   {
@@ -1637,7 +1740,8 @@
 \subsubsection{General Survey Tables}\label{subsubsec:table_survey}
 
 The following |auto| options are the counterparts for the respective quick
-overview commands like \refCom{csvautotabular}. They are listed for
+overview commands like \refCom{csvautotabular}, see Section~\ref{sec:autotable}.
+They are listed for
 completeness, but are unlikely to be used directly.
 
 \begin{docCsvKeys}[
@@ -1695,6 +1799,25 @@
 \end{docCsvKeys}
 
 
+\begin{docCsvKeys}[
+    doc parameter   = {=\meta{file name}},
+    doc description = no default,
+    doc new = {2023-10-13}
+  ]
+  {
+    { doc name = autotabularray },
+    { doc name = autotabularray* },
+    { doc name = autolongtabularray },
+    { doc name = autolongtabularray* },
+  }
+  Reads the whole CSV file denoted \meta{file name} with an automated formatting
+  using the required |tabularray| package.
+  \refKey{/csvsim/autotabularray} uses the \docAuxEnvironment*{tblr} environment and
+  \refKey{/csvsim/autolongtabularray} uses the \docAuxEnvironment*{longtblr} environment.
+  The star variants treat the first line as data line and not as header line.
+\end{docCsvKeys}
+
+
 \clearpage
 \subsection{Special Characters}\label{subsec:specchar}
 Be default, the CSV content is treated like normal \LaTeX\ text, see
@@ -2841,29 +2964,23 @@
 
 \clearpage
 
-The following example displays a \ctanpkg{tabularray} variant of the
-\refCom{csvautotabular} command. Note the \refKey{/csvsim/no head} option
-to read the first line as data line. Also note that \refCom{csvlinetotablerow}
-is used without preceding modifier.
+The following example uses \refCom{csvautotabularray} to display the whole
+table. Note that the \ctanpkg{tabularray} options are given as last
+optional argument.
 
 \begin{dispExample}
 % \usepackage{tabularray}
-\csvreader[
-    no head,
-    centered tabularray =
-      {
-        row{odd} = {blue!85!gray!7},
-        row{1}   = {blue!50!gray!25, font=\bfseries},
-      },
-    table head = {\hline[0.1em,blue!50!black]},
-    table foot = {\hline[0.1em,blue!50!black]},
-    late after first line = {\\\hline[blue!50!black]},
-]{data.csv}{}{%
-  \csvlinetotablerow%
-}
+\csvautotabularray[table centered]{data.csv}
+  [
+    row{odd}   = {blue!85!gray!7},
+    row{1}     = {blue!50!gray!25, font=\bfseries},
+    hline{1,Z} = {0.1em, blue!50!black},
+    hline{2}   = {blue!50!black}
+  ]
 \end{dispExample}
 
 
+
 \clearpage
 \subsection{Imported CSV data}\label{sec:importeddata}%
 If data is imported from other applications, there is not always a choice

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

Modified: trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-legacy.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-legacy.tex	2023-10-16 19:57:52 UTC (rev 68565)
+++ trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple-legacy.tex	2023-10-16 19:58:01 UTC (rev 68566)
@@ -1,6 +1,6 @@
 % \LaTeX-Main\
 % !TeX encoding=UTF-8
-%% The LaTeX package csvsimple - version 2.4.0 (2023/05/09)
+%% The LaTeX package csvsimple - version 2.5.0 (2023/10/16)
 %% csvsimple.tex: Manual
 %%
 %% -------------------------------------------------------------------------------------------

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

Modified: trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple.tex	2023-10-16 19:57:52 UTC (rev 68565)
+++ trunk/Master/texmf-dist/doc/latex/csvsimple/csvsimple.tex	2023-10-16 19:58:01 UTC (rev 68566)
@@ -1,6 +1,6 @@
 % \LaTeX-Main\
 % !TeX encoding=UTF-8
-%% The LaTeX package csvsimple - version 2.4.0 (2023/05/09)
+%% The LaTeX package csvsimple - version 2.5.0 (2023/10/16)
 %% csvsimple.tex: Manual
 %%
 %% -------------------------------------------------------------------------------------------

Modified: trunk/Master/texmf-dist/tex/latex/csvsimple/csvsimple-l3.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/csvsimple/csvsimple-l3.sty	2023-10-16 19:57:52 UTC (rev 68565)
+++ trunk/Master/texmf-dist/tex/latex/csvsimple/csvsimple-l3.sty	2023-10-16 19:58:01 UTC (rev 68566)
@@ -1,4 +1,4 @@
-%% The LaTeX package csvsimple - version 2.4.0 (2023/05/09)
+%% The LaTeX package csvsimple - version 2.5.0 (2023/10/16)
 %% csvsimple-l3.sty: Simple LaTeX CSV file processing (LaTeX3)
 %%
 %% -------------------------------------------------------------------------------------------
@@ -17,7 +17,7 @@
 %%
 %% This work consists of all files listed in README.md
 %%
-\ProvidesExplPackage{csvsimple-l3}{2023/05/09}{2.4.0}
+\ProvidesExplPackage{csvsimple-l3}{2023/10/16}{2.5.0}
   {LaTeX3 CSV file processing}
 
 
@@ -967,6 +967,7 @@
 \cs_new_protected_nopar:Npn \__csvsim_collect_data:
   {
     \__csvsim_gset_tl_to_collect:N \g__csvsim_hook_after_head_tl
+    \__csvsim_gset_tl_to_collect:N \g__csvsim_hook_after_first_line_tl
     \__csvsim_gset_tl_to_collect:N \g__csvsim_hook_after_line_tl
     \__csvsim_gset_tl_to_collect:N \g__csvsim_hook_before_first_line_tl
     \__csvsim_gset_tl_to_collect:N \g__csvsim_hook_before_line_tl
@@ -1325,6 +1326,56 @@
         table~head           = \toprule\endhead
                                \bottomrule\endfoot,
       },
+    _autotabularray_ .meta:n =
+      {
+        file                    = {#1},
+        command                 = \csvlinetotablerow,
+        no~head,
+        generic~collected~table = tblr,
+      },
+    autotabularray   .meta:n =
+      {
+        _autotabularray_        = {#1},
+        generic~table~options   =
+          { {
+            row{1}     = {font=\bfseries},
+            hline{1,Z} = {0.8pt},
+            hline{2}   = {0.4pt},
+          } }
+      },
+    autotabularray*  .meta:n =
+      {
+        _autotabularray_        = {#1},
+        generic~table~options   =
+          { {
+            hline{1,Z} = {0.8pt},
+          } }
+      },
+    _autolongtabularray_ .meta:n =
+      {
+        file                    = {#1},
+        command                 = \csvlinetotablerow,
+        no~head,
+        generic~collected~table = longtblr,
+      },
+    autolongtabularray   .meta:n =
+      {
+        _autolongtabularray_    = {#1},
+        generic~table~options   =
+          { {
+            row{1}     = {font=\bfseries},
+            hline{1,Z} = {0.8pt},
+            hline{2}   = {0.4pt},
+          } }
+      },
+    autolongtabularray*  .meta:n =
+      {
+        _autolongtabularray_    = {#1},
+        generic~table~options   =
+          { {
+            hline{1,Z} = {0.8pt},
+          } }
+      },
   }
 
 
@@ -1380,7 +1431,54 @@
   }
 
 
+\NewDocumentCommand \csvautotabularray { s +O{} m +o +o }
+  {
+    \keys_set:nn { csvsim } { default, every~csv }
+    \IfBooleanTF {#1}
+      {
+        \keys_set:nn { csvsim } { autotabularray*={#3}, #2}
+      }
+      {
+        \keys_set:nn { csvsim } { autotabularray={#3}, #2}
+      }
+    \IfNoValueF {#4}
+      {
+        \IfNoValueTF {#5}
+          {
+            \keys_set:nn { csvsim } { generic~table~options = { { #4 } } }
+          }
+          {
+            \keys_set:nn { csvsim } { generic~table~options = { [ #4 ]{ #5 } } }
+          }
+      }
+    \__csvsim_loop:
+  }
 
+
+\NewDocumentCommand \csvautolongtabularray { s +O{} m +o +o }
+  {
+    \keys_set:nn { csvsim } { default, every~csv }
+    \IfBooleanTF {#1}
+      {
+        \keys_set:nn { csvsim } { autolongtabularray*={#3}, #2}
+      }
+      {
+        \keys_set:nn { csvsim } { autolongtabularray={#3}, #2}
+      }
+    \IfNoValueF {#4}
+      {
+        \IfNoValueTF {#5}
+          {
+            \keys_set:nn { csvsim } { generic~table~options = { { #4 } } }
+          }
+          {
+            \keys_set:nn { csvsim } { generic~table~options = { [ #4 ]{ #5 } } }
+          }
+      }
+    \__csvsim_loop:
+  }
+
+
 %---- sorting
 
 \cs_new_protected_nopar:Npn \__csvsim_key_new_sorting_rule:nn #1#2

Modified: trunk/Master/texmf-dist/tex/latex/csvsimple/csvsimple-legacy.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/csvsimple/csvsimple-legacy.sty	2023-10-16 19:57:52 UTC (rev 68565)
+++ trunk/Master/texmf-dist/tex/latex/csvsimple/csvsimple-legacy.sty	2023-10-16 19:58:01 UTC (rev 68566)
@@ -1,4 +1,4 @@
-%% The LaTeX package csvsimple - version 2.4.0 (2023/05/09)
+%% The LaTeX package csvsimple - version 2.5.0 (2023/10/16)
 %% csvsimple-legacy.sty: Simple LaTeX CSV file processing (LaTeX2e)
 %%
 %% -------------------------------------------------------------------------------------------
@@ -18,7 +18,7 @@
 %% This work consists of all files listed in README.md
 %%
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{csvsimple-legacy}[2023/05/09 version 2.4.0 LaTeX2e CSV file processing]
+\ProvidesPackage{csvsimple-legacy}[2023/10/16 version 2.5.0 LaTeX2e CSV file processing]
 
 
 %---- check package

Modified: trunk/Master/texmf-dist/tex/latex/csvsimple/csvsimple.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/csvsimple/csvsimple.sty	2023-10-16 19:57:52 UTC (rev 68565)
+++ trunk/Master/texmf-dist/tex/latex/csvsimple/csvsimple.sty	2023-10-16 19:58:01 UTC (rev 68566)
@@ -1,4 +1,4 @@
-%% The LaTeX package csvsimple - version 2.4.0 (2023/05/09)
+%% The LaTeX package csvsimple - version 2.5.0 (2023/10/16)
 %% csvsimple.sty: Simple LaTeX CSV file processing
 %%
 %% -------------------------------------------------------------------------------------------
@@ -19,7 +19,7 @@
 %%
 \RequirePackage{l3keys2e}
 
-\ProvidesExplPackage{csvsimple}{2023/05/09}{2.4.0}
+\ProvidesExplPackage{csvsimple}{2023/10/16}{2.5.0}
   {LaTeX CSV file processing}
 
 \cs_if_exist:NT \c__csvsim_package_expl_bool



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