summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/lualatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-10-10 19:42:04 +0000
committerKarl Berry <karl@freefriends.org>2024-10-10 19:42:04 +0000
commitdcab7d999091cd30200c69989cc5f4ef7dea013f (patch)
tree8123468009adff3e573da2eca64cae9b39c6c352 /Master/texmf-dist/doc/lualatex
parent9bbfb31729eeaccb4217a3f5924db0c1b4050eb1 (diff)
odsfile (10oct24)
git-svn-id: svn://tug.org/texlive/trunk@72514 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/lualatex')
-rw-r--r--Master/texmf-dist/doc/lualatex/odsfile/odsfile.pdfbin97289 -> 100180 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/odsfile/odsfile.tex34
2 files changed, 32 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/lualatex/odsfile/odsfile.pdf b/Master/texmf-dist/doc/lualatex/odsfile/odsfile.pdf
index 20e61a2d0fe..7d6c14e8725 100644
--- a/Master/texmf-dist/doc/lualatex/odsfile/odsfile.pdf
+++ b/Master/texmf-dist/doc/lualatex/odsfile/odsfile.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/odsfile/odsfile.tex b/Master/texmf-dist/doc/lualatex/odsfile/odsfile.tex
index e3b5fcda789..9c0506328d9 100644
--- a/Master/texmf-dist/doc/lualatex/odsfile/odsfile.tex
+++ b/Master/texmf-dist/doc/lualatex/odsfile/odsfile.tex
@@ -8,7 +8,7 @@
\author{Michal Hoftich (\url{michal.h21@gmail.com})}
\title{The \textsf{odsfile} package:\\
accessing of the \textsf{opendocument spreadsheet} from \LaTeX{}
-documents\thanks{Version 0.8, last revisited 2023-09-07.}
+documents\thanks{Version 0.9, last revisited 2024-10-10.}
}
\usepackage[english]{babel}
\lstloadlanguages{[LaTeX]Tex}
@@ -84,7 +84,8 @@ Options are:
format similar to spreadsheet processors, like |a2:c4|, selecting cells
starting at first column, second row and ending and third column, fourth row.
Other variant of supported ranges are \textit{named ranges}, which can be
- saved in the |ods file|.
+ saved in the |ods file|. You can specify multiple ranges to be included, separated
+ by comma, but in this case the range specification must be surrounded by braces: |{a1:b1,a3:b3}|.
\begin{LTXexample}
\begin{tabular}{lll}
@@ -111,6 +112,12 @@ You can omit some or both of the numbers:
\end{LTXexample}
\begin{LTXexample}
+\begin{tabular}{ll}
+\includespread[range={b1:c1,b3:c}]
+\end{tabular}
+\end{LTXexample}
+
+\begin{LTXexample}
\begin{tabular}{lll}
\includespread[range=newrangetest]
\end{tabular}
@@ -163,6 +170,9 @@ as plaintext or input for plotting functions.
\end{tabular}
\end{LTXexample}
+\item[newline] Code that will be inserted instead of |\\| between rows. Default value is |\OdsNl|.
+\item[lastnewline] Code inserted after the last row. Default value is |\OdsLastNl|.
+
\item[template] Templates are simple mechanism to insert whole tabular environment with column specification. All columns are aligned to the left, if you want to do more advanced stuff with column specifications, you must enter them manually as in all previous examples.
\begin{LTXexample}
\includespread[columns=top,template=booktabs,range=a3]
@@ -225,6 +235,20 @@ spreadsheet contains the \verb|\textbf{bold}| command.
\end{tabular}
\end{LTXexample}
+\subsection{Saving the generated table to a file}
+
+Use the \texttt{save} option to save the generated table to a file instead of including it directly into the document.
+
+\begin{LTXexample}
+There should be no table listed
+\includespread[sheet=List1,columns=head,escape=false,save=save-test.tex,debug=true]
+\end{LTXexample}
+
+\subsection{Debugging}
+
+You can print the generated table to the terminal output of \LaTeX\ using the \texttt{debug} option. Possible values are
+\texttt{true} and \texttt{false}.
+
\section{Templates}\label{sec:tpl}
@@ -401,6 +425,12 @@ CC & 5 & 7
\section{Changes}
\begin{description}
+ \item [v0.9]
+ \begin{itemize}
+ \item added the \texttt{save} and \texttt{debug} options
+ \item added support for multiple ranges in the \texttt{range} option
+ \item added \texttt{newline} and \texttt{lastnewline} options
+ \end{itemize}
\item[v0.8]
\begin{itemize}
\item added the escape option for enabling or disabling of the character escaping