I have the following simple document where I want to access an ODS spreadsheet.


% Title Page
\title{odsfile Test}



\end{document}         `

But the compile fails with the following error message:

lualatex --shell-escape odsfile_test.tex
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015/Arch Linux) (rev 5238) 
 \write18 enabled.
LaTeX2e <2015/10/01> patch level 2
Babel <3.9m> and hyphenation patterns for 79 languages loaded.
Document Class: report 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/generic/xkeyval/keyval.tex))))) (./odsfile_test.aux)
! LuaTeX error /usr/share/texmf-dist/tex/lualatex/odsfile/odsfile.lua:71: attemp
t to index local 'x' (a nil value)
stack traceback:
        /usr/share/texmf-dist/tex/lualatex/odsfile/odsfile.lua:71: in function 'getTabl
        /usr/share/texmf-dist/tex/lualatex/odsfile/odsfile.lua:26: in function 'getTabl
        [\directlua]:1: in main chunk.
\luacode@dbg@exec ...code@maybe@printdbg {#1} #1 }

l.13 \includespread{
? quit()
OK, entering \batchmode[peter@rohan groupprojectaudit]

I don't believe my ods file (Libreoffice 5.1.3) to be the problem, as it is just a example with two column headers and two rows with numbers. Edit: I also tried to specify the full path name of my file, but with the same results, again with the same error in line 71 of odsfile.lua


The \includespread uses [] braces instead of {} for the keyval arguments:


% Title Page
\title{odsfile Test}




Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.