Comprehensive TeX Archive Network

Direc­tory tex-archive/macros/luatex/latex/odsfile


The odsfile is LuaLaTeX package and lua library for working with 
opendocument spreadsheet (ods) documents from Open/Libre Office Calc. 
It is possible to select cells from sheets and typeset them as LaTeX tables,
it is also possible to pass these data to LaTeX macros and make some plots,
for example.   

There is also simple interface to add data to existing spreadsheets. This 
functionality requires external zip utility.
This package uses LuaTeX's zip library and scripting to read these files. 
It also requires LuaXML library, which is available to download from
CTAN site.  

Because of lua scripting, it is not possible to use this package with pdfLaTeX 
or XeLaTeX. On the other side, odsfile.lua library can be used from PlainTeX, 
ConTeXt or pure lua scripts.

It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this license or
(at your option) any later version. The latest version of this license is in


and version 1.3 or later is part of all distributions of LaTeX version
2005/12/01 or later.

Basic usage



\includespread[\begin{tabular}{l l}


You can also use templates to specify tabular properties automaticaly

Michal Hoftich
Email: michal.h21@gmail.com

If you are interested in the process of development you may observe



Name Size Date Notes
README 1604 2015-09-23 14:37
ods­file.lua 8076 2015-09-23 14:37
ods­file.pdf 253761 2015-09-23 14:37
ods­file.sty 7236 2015-09-23 14:37
ods­file.tex 14343 2015-09-23 14:37
pokus.ods 15481 2015-09-23 14:37

Down­load the con­tents of this pack­age in one zip archive (270.3k).

ods­file – Read OpenDoc­u­ment Spread­sheet doc­u­ments as LaTeX ta­bles

The dis­tri­bu­tion in­cludes a pack­age and a lua li­brary that can to­gether read OpenDoc­u­ment spread­sheet doc­u­ments as LaTeX ta­bles. Cells in the ta­bles may be pro­cessed by LaTeX macros, so that (for ex­am­ple) the pack­age may be used for draw­ing some plots.

The pack­age uses lua’s zip li­brary.

Pack­age De­tailsods­file
Ver­sion0.6 2015-09-20
Li­censeThe LaTeX Project Public Li­cense 1.3
Main­tainerMichal Hoftich
Con­tained inTeX Live as ods­file
MiKTeX as ods­file
Topics LuaTeX and pack­ages that re­quire it
ta­ble type­set­ting
im­port files in a non-TeX (or dif­fer­ent TeX) for­mat
Guest Book Sitemap Contact Contact Author