X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexternal_templates;h=54b6dbde0b45ca61a4536f648e77eded07a2ad5d;hb=b6eb3f58be6e33da7e9a469322d142d2d6d01aa4;hp=0eef01bdaee91af8bd845f52c9d2d0061ba99ea0;hpb=c500e541a9821e6017e6d5a1f27e367b7b48ef24;p=lyx.git diff --git a/lib/external_templates b/lib/external_templates index 0eef01bdae..54b6dbde0b 100644 --- a/lib/external_templates +++ b/lib/external_templates @@ -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\")"