2017-03-26 13:32:01 +00:00
|
|
|
#
|
|
|
|
# Gumeric Spreadsheet External Template
|
|
|
|
#
|
|
|
|
# This file is part of LyX, the document processor.
|
|
|
|
# Licence details can be found in the file COPYING.
|
|
|
|
#
|
|
|
|
# author Asger Alstrup Nielsen
|
|
|
|
# author Angus Leeming
|
|
|
|
# author Johnathan Burchill
|
|
|
|
#
|
|
|
|
# Full author contact details are available in file CREDITS.
|
|
|
|
|
|
|
|
Template GnumericSpreadsheet
|
|
|
|
GuiName "Spreadsheet"
|
|
|
|
HelpText
|
|
|
|
A spreadsheet made with Gnumeric, LibreOffice, OpenOffice or Excel.
|
|
|
|
It imports as a multi-page table, so any length
|
|
|
|
is ok. Excessive width could be a problem.
|
|
|
|
The gnumeric software is necessary for conversion,
|
|
|
|
both for gnumeric and excel files.
|
|
|
|
HelpTextEnd
|
|
|
|
InputFormat "gnumeric"
|
|
|
|
FileFilter "*.{gnumeric,ods,xls,xlsx}"
|
|
|
|
AutomaticProduction true
|
|
|
|
Format LaTeX
|
|
|
|
Product "\\def\\inputGnumericTable{}\\input{$$AbsOrRelPathMaster$$Basename.tex}"
|
|
|
|
UpdateFormat latex
|
|
|
|
UpdateResult "$$AbsPath$$Basename.tex"
|
|
|
|
Requirement "color"
|
|
|
|
Requirement "array"
|
|
|
|
Requirement "longtable"
|
|
|
|
Requirement "calc"
|
|
|
|
Requirement "multirow"
|
|
|
|
Requirement "hhline"
|
|
|
|
Requirement "ifthen"
|
|
|
|
ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.tex"
|
|
|
|
FormatEnd
|
|
|
|
Format PDFLaTeX
|
|
|
|
Product "\\def\\inputGnumericTable{}\\input{$$AbsOrRelPathMaster$$Basename.tex}"
|
|
|
|
UpdateFormat latex
|
|
|
|
UpdateResult "$$AbsPath$$Basename.tex"
|
|
|
|
Requirement "color"
|
|
|
|
Requirement "array"
|
|
|
|
Requirement "longtable"
|
|
|
|
Requirement "calc"
|
|
|
|
Requirement "multirow"
|
|
|
|
Requirement "hhline"
|
|
|
|
Requirement "ifthen"
|
|
|
|
ReferencedFile pdflatex "$$AbsOrRelPathMaster$$Basename.tex"
|
|
|
|
FormatEnd
|
|
|
|
Format Ascii
|
|
|
|
Product "[Spreadsheet: $$FName]"
|
|
|
|
FormatEnd
|
|
|
|
Format DocBook
|
2020-10-03 23:43:44 +00:00
|
|
|
Product "$$Contents(\"$$AbsPath$$Basename.xhtml\")"
|
|
|
|
UpdateFormat xhtml_table
|
|
|
|
UpdateResult "$$AbsPath$$Basename.xhtml"
|
2017-03-26 13:32:01 +00:00
|
|
|
FormatEnd
|
|
|
|
Format XHTML
|
2020-09-24 08:14:35 +00:00
|
|
|
Product "$$Contents(\"$$AbsPath$$Basename.html\")"
|
2017-03-26 13:32:01 +00:00
|
|
|
UpdateFormat html_table
|
|
|
|
UpdateResult "$$AbsPath$$Basename.html"
|
|
|
|
FormatEnd
|
|
|
|
TemplateEnd
|
|
|
|
|