File: gnumeric.xtemplate

package info (click to toggle)
lyx 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,444 kB
  • sloc: cpp: 244,268; ansic: 106,398; xml: 72,791; python: 39,384; sh: 7,666; makefile: 6,584; pascal: 2,143; perl: 2,101; objc: 1,084; tcl: 163; sed: 16
file content (65 lines) | stat: -rw-r--r-- 1,877 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#
# 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
		Product "$$Contents(\"$$AbsPath$$Basename.xhtml\")"
		UpdateFormat xhtml_table
		UpdateResult "$$AbsPath$$Basename.xhtml"
	FormatEnd
	Format XHTML
		Product "$$Contents(\"$$AbsPath$$Basename.html\")"
		UpdateFormat html_table
		UpdateResult "$$AbsPath$$Basename.html"
	FormatEnd
TemplateEnd