Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Inspired by this question: Using external tables in TikZ, I would like to know whether it is technically possible to use a xlsx (Office Open XML) file directly with luaLaTeX, i.e. can luaLaTeX call some external unzip program and then parse the extracted XML file? Or is that pushing the envelope too hard?

share|improve this question

1 Answer 1

up vote 9 down vote accepted

This is of course possible, as "LuaTeX is the new Mac Gyver". You can use the built-in luazip to unzip the contents of the xlsx file and then use an Lua-XML parser (see for an XML enabled LuaTeX).

share|improve this answer
You can of course create your own XML parser. LuaTeX's built in lpeg library uses grammars as an input almost exactly in the format as given by the w3c for XML. – topskip Oct 6 '11 at 10:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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