2 # Gumeric Spreadsheet External Template
4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
7 # author Asger Alstrup Nielsen
9 # author Johnathan Burchill
11 # Full author contact details are available in file CREDITS.
13 Template GnumericSpreadsheet
16 A spreadsheet made with Gnumeric, LibreOffice, OpenOffice or Excel.
17 It imports as a multi-page table, so any length
18 is ok. Excessive width could be a problem.
19 The gnumeric software is necessary for conversion,
20 both for gnumeric and excel files.
22 InputFormat "gnumeric"
23 FileFilter "*.{gnumeric,ods,xls,xlsx}"
24 AutomaticProduction true
26 Product "\\def\\inputGnumericTable{}\\input{$$AbsOrRelPathMaster$$Basename.tex}"
28 UpdateResult "$$AbsPath$$Basename.tex"
31 Requirement "longtable"
33 Requirement "multirow"
36 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.tex"
39 Product "\\def\\inputGnumericTable{}\\input{$$AbsOrRelPathMaster$$Basename.tex}"
41 UpdateResult "$$AbsPath$$Basename.tex"
44 Requirement "longtable"
46 Requirement "multirow"
49 ReferencedFile pdflatex "$$AbsOrRelPathMaster$$Basename.tex"
52 Product "[Spreadsheet: $$FName]"
55 Product "[Spreadsheet: $$FName]"
58 Product "$$Contents(\"$$AbsPath$$Basename.html\")</p>"
59 UpdateFormat html_table
60 UpdateResult "$$AbsPath$$Basename.html"