]> git.lyx.org Git - lyx.git/blobdiff - lib/external_templates
Remove unused struct members
[lyx.git] / lib / external_templates
index 7eefbb67e91daa49da0e6dcfa93a8baba42dc759..f54a298078eae7a8cca67b59995a22607aabee95 100644 (file)
@@ -41,7 +41,7 @@ Template GnumericSpreadsheet
        GuiName "Spreadsheet"
        HelpText
                A spreadsheet made with Gnumeric, LibreOffice, OpenOffice or Excel.
-               It imports as a long table, so any length
+               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.
@@ -75,6 +75,17 @@ Template GnumericSpreadsheet
                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
@@ -136,9 +147,7 @@ Template RasterImage
                ReferencedFile pdflatex "$$AbsPath$$Basename.$$pngOrjpg"
        FormatEnd
        Format Ascii
-               Product "$$Contents(\"$$AbsPath$$Basename.asc\")"
-               UpdateFormat asciiimage
-               UpdateResult "$$AbsPath$$Basename.asc"
+               Product "[RasterImage: $$FName]"
        FormatEnd
        Format DocBook
                Product "<graphic fileref=\"$$AbsOrRelPathMaster$$Basename.eps\"></graphic>"
@@ -147,6 +156,12 @@ 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
@@ -201,9 +216,7 @@ Template VectorGraphics
                ReferencedFile pdflatex "$$AbsPath$$Basename.pdf"
        FormatEnd
        Format Ascii
-               Product "$$Contents(\"$$AbsPath$$Basename.asc\")"
-               UpdateFormat asciiimage
-               UpdateResult "$$AbsPath$$Basename.asc"
+               Product "[VectorGraphics: $$FName]"
        FormatEnd
        Format DocBook
                Product "<graphic fileref=\"$$AbsOrRelPathMaster$$Basename.eps\"></graphic>"
@@ -212,6 +225,12 @@ 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
@@ -253,9 +272,7 @@ Template XFig
                ReferencedFile pdflatex "$$AbsPath$$Basename.pdf"
        FormatEnd
        Format Ascii
-               Product "$$Contents(\"$$AbsPath$$Basename.asc\")"
-               UpdateFormat asciixfig
-               UpdateResult "$$AbsPath$$Basename.asc"
+               Product "[XFig: $$FName]"
        FormatEnd
        Format DocBook
                Product "<graphic fileref=\"$$AbsOrRelPathMaster$$Basename.eps\"></graphic>"
@@ -264,6 +281,12 @@ 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
 
 
@@ -314,6 +337,11 @@ Template ChessDiagram
        Format DocBook
                Product "[Chess: $$AbsOrRelPathMaster$$Basename]"
        FormatEnd
+       Format XHTML
+               Product "<pre>$$Contents(\"$$AbsPath$$Basename.asc\")</pre>"
+               UpdateFormat asciichess
+               UpdateResult "$$AbsPath$$Basename.asc"
+       FormatEnd
 TemplateEnd
 
 
@@ -364,6 +392,12 @@ Template LilyPond
        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
@@ -406,41 +440,12 @@ Template PDFPages
        Format DocBook
                Product "[PDFPages: $$FName]"
        FormatEnd
-TemplateEnd
-
-
-Template Date
-       GuiName "Date"
-       HelpText
-               Today's date.
-               Read 'info date' for more information.
-       HelpTextEnd
-       InputFormat date
-       FileFilter "*"
-       AutomaticProduction true
-       Preview Off
-       Format LaTeX
-               Product "$$Contents(\"$$Tempname\")"
-               UpdateFormat dateout
-               UpdateResult "$$Tempname"
-       FormatEnd
-       Format PDFLaTeX
-               Product "$$Contents(\"$$Tempname\")"
-               UpdateFormat dateout
-               UpdateResult "$$Tempname"
-       FormatEnd
-       Format Ascii
-               Product "$$Contents(\"$$Tempname\")"
-               UpdateFormat dateout
-               UpdateResult "$$Tempname"
-       FormatEnd
-       Format DocBook
-               Product "$$Contents(\"$$Tempname\")"
-               UpdateFormat dateout
-               UpdateResult "$$Tempname"
+       Format XHTML
+               Product "[PDFPages: $$FName]"
        FormatEnd
 TemplateEnd
 
+
 Template Dia
        GuiName "Dia diagram"
        HelpText
@@ -482,9 +487,7 @@ Template Dia
                ReferencedFile pdflatex "$$AbsPath$$Basename.pdf"
        FormatEnd
        Format Ascii
-               Product "$$Contents(\"$$AbsPath$$Basename.asc\")"
-               UpdateFormat asciiimage
-               UpdateResult "$$AbsPath$$Basename.asc"
+               Product "[Dia: $$FName]"
        FormatEnd
        Format DocBook
                Product "<graphic fileref=\"$$AbsOrRelPathMaster$$Basename.eps\"></graphic>"
@@ -493,5 +496,11 @@ Template Dia
                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