X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexternal_templates;h=61dbddf2fc3d2253330c04e558c0fea3e60b7a54;hb=9da2f1bc9ab68b186bfa9ab1f1c958d24d6c616f;hp=86ac7ec151c14e82e2b9fd0c5326957792ed0826;hpb=b17f13a5e5b4f1708cee3b81dc8e8e7e559c3f20;p=lyx.git diff --git a/lib/external_templates b/lib/external_templates index 86ac7ec151..61dbddf2fc 100644 --- a/lib/external_templates +++ b/lib/external_templates @@ -33,6 +33,45 @@ PreambleDef InputOrWarn \IfFileExists{#1}{\input{#1}}{\warnNotFound{#1}}} PreambleDefEnd +Template GnumericSpreadsheet + GuiName "Spreadsheet" + HelpText + A spreadsheet made with gnumeric, openoffice or excel. + It imports as a long 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}" + 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 latex "$$AbsOrRelPathMaster$$Basename.tex" + FormatEnd +TemplateEnd Template RasterImage # By default, InsetExternal is displayed as a grey button @@ -273,6 +312,7 @@ Template PDFPages HelpTextEnd InputFormat pdf FileFilter "*.pdf" + AutomaticProduction true Transform Rotate Transform Resize Transform Extra