X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexternal_templates;h=ec2193483bfbf43db4a75b77890890cf2050d9bb;hb=5555661bf6558e1d0f3f5abb68c1aaba559a453d;hp=0eef01bdaee91af8bd845f52c9d2d0061ba99ea0;hpb=c500e541a9821e6017e6d5a1f27e367b7b48ef24;p=lyx.git diff --git a/lib/external_templates b/lib/external_templates index 0eef01bdae..ec2193483b 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\")" @@ -497,5 +493,11 @@ Template Dia ReferencedFile docbook "$$AbsPath$$Basename.eps" ReferencedFile docbook-xml "$$AbsPath$$Basename.eps" FormatEnd + Format XHTML + Product "" + UpdateFormat svg + UpdateResult "$$AbsPath$$Basename.svg" + ReferencedFile xhtml "$$AbsPath$$Basename.svg" + FormatEnd TemplateEnd