both for gnumeric and excel files.
HelpTextEnd
InputFormat "gnumeric"
- FileFilter "*.{gnumeric,ods,xls}"
+ FileFilter "*.{gnumeric,ods,xls,xlsx}"
AutomaticProduction true
Format LaTeX
Product "\\def\\inputGnumericTable{}\\input{$$AbsOrRelPathMaster$$Basename.tex}"
Requirement "ifthen"
ReferencedFile pdflatex "$$AbsOrRelPathMaster$$Basename.tex"
FormatEnd
+ Format Ascii
+ Product "[Spreadsheet: $$FName]"
+ FormatEnd
+ Format DocBook
+ Product "[Spreadsheet: $$FName]"
+ FormatEnd
+ Format XHTML
+ Product "$$Contents(\"$$AbsPath$$Basename.html\")</p>"
+ UpdateFormat html_table
+ UpdateResult "$$AbsPath$$Basename.html"
+ FormatEnd
TemplateEnd
Template RasterImage
ReferencedFile docbook "$$AbsPath$$Basename.eps"
ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
FormatEnd
+ Format XHTML
+ Product "<img src=\"$$AbsOrRelPathMaster$$Basename.png\" />"
+ UpdateFormat png
+ UpdateResult "$$AbsPath$$Basename.png"
+ ReferencedFile xhtml "$$AbsPath$$Basename.png"
+ FormatEnd
TemplateEnd
Template VectorGraphics
ReferencedFile docbook "$$AbsPath$$Basename.eps"
ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
FormatEnd
+ Format XHTML
+ Product "<img src=\"$$AbsOrRelPathMaster$$Basename.svg\" />"
+ UpdateFormat svg
+ UpdateResult "$$AbsPath$$Basename.svg"
+ ReferencedFile xhtml "$$AbsPath$$Basename.svg"
+ FormatEnd
TemplateEnd
Template XFig
ReferencedFile docbook "$$AbsPath$$Basename.eps"
ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
FormatEnd
+ Format XHTML
+ Product "<img src=\"$$AbsOrRelPathMaster$$Basename.svg\" />"
+ UpdateFormat svg
+ UpdateResult "$$AbsPath$$Basename.svg"
+ ReferencedFile xhtml "$$AbsPath$$Basename.svg"
+ FormatEnd
+TemplateEnd
+
+
+Template Inkscape
+ GuiName "Inkscape figure"
+ HelpText
+ An Inkscape figure.
+ This template should work flawlessly with Inkscape 0.48.
+ For Inkscape 0.91, there is a (reported) bug in the
+ LaTeX + PDF output which makes a workaround necessary,
+ see Embedded Objects manual.
+ Note that using this template automatically uses the
+ document text in the image (like with the Xfig template).
+ HelpTextEnd
+ InputFormat svg
+ FileFilter "*.svg"
+ AutomaticProduction true
+ Transform Rotate
+ Preview InstantPreview
+ Format PDFLaTeX
+ TransformCommand Rotate RotationLatexCommand
+ # Resize is not desirable here, as fonts are sized to surrounding LaTeX font
+ Product "$$RotateFront\\input{$$AbsOrRelPathMaster$$Basename.pdf_tex}$$RotateBack"
+ UpdateFormat pdftex
+ UpdateResult "$$AbsPath$$Basename.pdf_tex"
+ Requirement "color"
+ Requirement "graphicx"
+ # Preamble WarnNotFound
+ # Preamble InputOrWarn
+ ReferencedFile pdflatex "$$AbsOrRelPathMaster$$Basename.pdf_tex"
+ ReferencedFile pdflatex "$$AbsPath$$Basename.pdf"
+ FormatEnd
+ Format LaTeX
+ TransformCommand Rotate RotationLatexCommand
+ Product "$$RotateFront\\input{$$AbsOrRelPathMaster$$Basename.eps_tex}$$RotateBack"
+ UpdateFormat pstex
+ UpdateResult "$$AbsPath$$Basename.eps_tex"
+ Requirement "color"
+ Requirement "graphicx"
+ # Preamble WarnNotFound
+ # Preamble InputOrWarn
+ ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.eps_tex"
+ ReferencedFile latex "$$AbsPath$$Basename.eps"
+ ReferencedFile dvi "$$AbsPath$$Basename.eps"
+ FormatEnd
TemplateEnd
Format DocBook
Product "[Chess: $$AbsOrRelPathMaster$$Basename]"
FormatEnd
+ Format XHTML
+ Product "<pre>$$Contents(\"$$AbsPath$$Basename.asc\")</pre>"
+ UpdateFormat asciichess
+ UpdateResult "$$AbsPath$$Basename.asc"
+ FormatEnd
TemplateEnd
Format DocBook
Product "[LilyPond: $$FName]"
FormatEnd
+ Format XHTML
+ Product "<img src=\"$$AbsOrRelPathMaster$$Basename.png\" />"
+ UpdateFormat png
+ UpdateResult "$$AbsPath$$Basename.png"
+ ReferencedFile xhtml "$$AbsPath$$Basename.png"
+ FormatEnd
TemplateEnd
Template PDFPages
Format DocBook
Product "[PDFPages: $$FName]"
FormatEnd
+ Format XHTML
+ Product "[PDFPages: $$FName]"
+ FormatEnd
TemplateEnd
ReferencedFile docbook "$$AbsPath$$Basename.eps"
ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
FormatEnd
+ Format XHTML
+ Product "<img src=\"$$AbsOrRelPathMaster$$Basename.svg\" />"
+ UpdateFormat svg
+ UpdateResult "$$AbsPath$$Basename.svg"
+ ReferencedFile xhtml "$$AbsPath$$Basename.svg"
+ FormatEnd
TemplateEnd