in ods-Datei schreiben

"\"Grotefeld, Andreas F.W.\"" (via tex-d-l Mailing List) <[email protected]>
Newsgroups gmane.comp.tex.german
Message-ID <[email protected]>
Hallo zusammen,

mir gelingt es nicht mit dem Package "odsfile" etwas in eine ods-Datei 
zu schreiben. Mein Beispiel:

% odsfile.tex
\documentclass{article}
\usepackage{lmodern,*odsfile*,booktabs}

\begin{document}
    \loadodsfile{beispiel.ods}

    \begin{AddRow}
       \AddString{Hallo Welt}{}
    \end{AddRow}

|\includespread[template=booktabs,columns=head] |    \savespreadsheet\end{document}

Wenn ich via lualatex --shell-escape beispiel übersetze, bekomme ich die 
Meldung:

) (/usr/local/texlive/*2021*/texmf-dist/tex/latex/booktabs/booktabs.sty)
(./odsfile.aux) 
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/ts1cmr.fd)[\
directlua]:1: attempt to call a nil value (method 'insert')
stack traceback:
     [\directlua]:1: in main chunk.
\luacode@dbg@exec ...code@maybe@printdbg {#1} #1 }

l.9    \end{AddRow}

wenn ich die neueste "github"-Version verwende.

Nutze ich die Version von TeXLive 2021, bekomme ich:

(./odsfile.aux) 
(/usr/local/texlive/2021/texmf-dist/tex/latex/base/ts1cmr.fd)pos je:     1
[\
directlua]:1: bad argument #1 to 'for iterator' (table expected, got nil)
stack traceback:
     [C]: in function 'next'
     [\directlua]:1: in local 'rowValues'
     [\directlua]:1: in main chunk.
\luacode@dbg@exec ...code@maybe@printdbg {#1} #1 }

l.11 ...ncludespread[template=booktabs,columns=head]

Die ods-Datei "beispiel.ods" enthält eine Zeile mit zwei Spalten

Hilfe ist willkommen.
Danke und Gruß von Andreas

-- 
FAQ: http://texfragen.de/
Durchsuchbares Archiv: https://www.listserv.dfn.de/sympa/arc/tex-d-l 
Unsubscribe/Verwaltung: https://www.listserv.dfn.de/sympa/info/tex-d-l
beispiel.ods (application/vnd.oasis.opendocument.spreadsheet, 9.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.