| 1 |
Introduction |
| 2 |
------------ |
| 3 |
|
| 4 |
The odsfile is LuaLaTeX package and lua library for working with |
| 5 |
opendocument spreadsheet (ods) documents from Open/Libre Office Calc. |
| 6 |
It is possible to select cells from sheets and typeset them as LaTeX tables, |
| 7 |
it is also possible to pass these data to LaTeX macros and make some plots, |
| 8 |
for example. |
| 9 |
|
| 10 |
There is also simple interface to add data to existing spreadsheets. This |
| 11 |
functionality requires external zip utility. |
| 12 |
|
| 13 |
This package uses LuaTeX's zip library and scripting to read these files. |
| 14 |
It also requires LuaXML library, which is available to download from |
| 15 |
CTAN site. |
| 16 |
|
| 17 |
Because of lua scripting, it is not possible to use this package with pdfLaTeX |
| 18 |
or XeLaTeX. On the other side, odsfile.lua library can be used from PlainTeX, |
| 19 |
ConTeXt or pure lua scripts. |
| 20 |
|
| 21 |
It may be distributed and/or modified under the conditions of the |
| 22 |
LaTeX Project Public License (LPPL), either version 1.3c of this license or |
| 23 |
(at your option) any later version. The latest version of this license is in |
| 24 |
|
| 25 |
http://www.latex-project.org/lppl.txt |
| 26 |
|
| 27 |
and version 1.3 or later is part of all distributions of LaTeX version |
| 28 |
2005/12/01 or later. |
| 29 |
|
| 30 |
Basic usage |
| 31 |
----------- |
| 32 |
|
| 33 |
\usepackage{odsfile,booktabs} |
| 34 |
|
| 35 |
... |
| 36 |
|
| 37 |
\begin{tabular}{l l} |
| 38 |
\includespread[file=pokus.ods] |
| 39 |
\end{tabular} |
| 40 |
|
| 41 |
... |
| 42 |
|
| 43 |
You can also use templates to specify tabular properties automaticaly |
| 44 |
\includespread[columns=top,template=booktabs,range=a3:c5] |
| 45 |
|
| 46 |
Author |
| 47 |
------ |
| 48 |
Michal Hoftich |
| 49 |
Email: [email protected] |
| 50 |
|
| 51 |
If you are interested in the process of development you may observe |
| 52 |
|
| 53 |
https://github.com/michal-h21/odsfile |