]> git.lyx.org Git - lyx.git/blobdiff - lib/external_templates
example files: fixes and updates by Ignacio
[lyx.git] / lib / external_templates
index 0eef01bdaee91af8bd845f52c9d2d0061ba99ea0..54b6dbde0b45ca61a4536f648e77eded07a2ad5d 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.
@@ -86,11 +86,7 @@ Template RasterImage
        # what the template can provide him with.
        HelpText
                A bitmap file.
-               Use this template to include bitmap images of any kind except
-               photos in JPEG format: These will be uncompressed by this
-               template, therefore it is better to include them with a
-               graphics inset, since the graphics inset preserves the
-               compression if the pdflatex compiler is used.
+               Use this template to include bitmap images of any kind.
        HelpTextEnd
        # ANY file type can be displayed as a RasterImage.
        # Specifically, LyX will attempt to interrogate the file itself
@@ -134,10 +130,10 @@ Template RasterImage
                TransformOption Extra  ExtraOption
                Option Arg "[$$Extra,$$Rotate,$$Resize,$$Clip]"
                Product "\\includegraphics$$Arg{$$AbsOrRelPathMaster$$Basename}"
-               UpdateFormat png
-               UpdateResult "$$AbsPath$$Basename.png"
+               UpdateFormat "$$pngOrjpg"
+               UpdateResult "$$AbsPath$$Basename.$$pngOrjpg"
                Requirement "graphicx"
-               ReferencedFile pdflatex "$$AbsPath$$Basename.png"
+               ReferencedFile pdflatex "$$AbsPath$$Basename.$$pngOrjpg"
        FormatEnd
        Format Ascii
                Product "$$Contents(\"$$AbsPath$$Basename.asc\")"