Search code examples
ubuntulatexlibreofficelibreoffice-calc

Reliable means of exporting LibreOffice Calc 3 to LaTeX?


I am trying to export a LaTeX table from LibreOffice Calc. I am not using Excel because I am running Ubuntu.

I have tried using the calc2LaTeX macro, but have not been able to make it work for LibreOffice 3.

I am looking for something with the functionality of the Excel2LaTeX plugin (available here).

Has anyone been able to do this using LibreOffice Calc 3?


Solution

  • Maybe not the most efficent way, but here's what I would do:

    Save the spreadsheet in csv-format.

    In LyX: File -> Import -> Table

    Then: View -> View source.

    Copy the code and paste it in your document.