]> git.lyx.org Git - lyx.git/blob - lib/xtemplates/gnumeric.xtemplate
Gnumeric conversions to html: Remove wrong closing </p> flag
[lyx.git] / lib / xtemplates / gnumeric.xtemplate
1 #
2 # Gumeric Spreadsheet External Template
3 #
4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
6 #
7 # author Asger Alstrup Nielsen
8 # author Angus Leeming
9 # author Johnathan Burchill
10 #
11 # Full author contact details are available in file CREDITS.
12
13 Template GnumericSpreadsheet
14         GuiName "Spreadsheet"
15         HelpText
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.
21         HelpTextEnd
22         InputFormat "gnumeric"
23         FileFilter "*.{gnumeric,ods,xls,xlsx}"
24         AutomaticProduction true
25         Format LaTeX
26                 Product "\\def\\inputGnumericTable{}\\input{$$AbsOrRelPathMaster$$Basename.tex}"
27                 UpdateFormat latex
28                 UpdateResult "$$AbsPath$$Basename.tex"
29                 Requirement "color"
30                 Requirement "array"
31                 Requirement "longtable"
32                 Requirement "calc"
33                 Requirement "multirow"
34                 Requirement "hhline"
35                 Requirement "ifthen"
36                 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.tex"
37                 FormatEnd
38         Format PDFLaTeX
39                 Product "\\def\\inputGnumericTable{}\\input{$$AbsOrRelPathMaster$$Basename.tex}"
40                 UpdateFormat latex
41                 UpdateResult "$$AbsPath$$Basename.tex"
42                 Requirement "color"
43                 Requirement "array"
44                 Requirement "longtable"
45                 Requirement "calc"
46                 Requirement "multirow"
47                 Requirement "hhline"
48                 Requirement "ifthen"
49                 ReferencedFile pdflatex "$$AbsOrRelPathMaster$$Basename.tex"
50         FormatEnd
51         Format Ascii
52                 Product "[Spreadsheet: $$FName]"
53         FormatEnd
54         Format DocBook
55                 Product "[Spreadsheet: $$FName]"
56         FormatEnd
57         Format XHTML
58                 Product "$$Contents(\"$$AbsPath$$Basename.html\")"
59                 UpdateFormat html_table
60                 UpdateResult "$$AbsPath$$Basename.html"
61         FormatEnd
62 TemplateEnd
63