]> git.lyx.org Git - lyx.git/blobdiff - lib/external_templates
Add an explanatory note for external_templates
[lyx.git] / lib / external_templates
index 4c6278a1aaab270bff1b4b2937b968580f1c4302..7579af62ba60c5309c30106e9557cc65ff748d60 100644 (file)
 # part of the official LyX distribution.
 # Feel free to create your own External Templates, storing them in
 # .lyx/external_templates
+# Note that a user-defined external_templates file would replace this
+# definition. Thus, if you would like to keep the external templates defined
+# in this file, please copy this file and add on futher external templates
+# to the end. For more information, see http://www.lyx.org/trac/ticket/3983.
 
 
 PreambleDef WarnNotFound
@@ -34,9 +38,9 @@ PreambleDef InputOrWarn
 PreambleDefEnd
 
 Template GnumericSpreadsheet
-       GuiName "Gnumeric spreadsheet"
+       GuiName "Spreadsheet"
        HelpText
-               A spreadsheet made with gnumeric, openoffice or excel.
+               A spreadsheet made with Gnumeric, LibreOffice, 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,
@@ -69,7 +73,7 @@ Template GnumericSpreadsheet
                Requirement "multirow"
                Requirement "hhline"
                Requirement "ifthen"
-               ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.tex"
+               ReferencedFile pdflatex "$$AbsOrRelPathMaster$$Basename.tex"
        FormatEnd
 TemplateEnd
 
@@ -284,7 +288,7 @@ Template LilyPond
                TransformOption Extra  ExtraOption
                Option Arg "[$$Extra,$$Rotate,$$Resize,$$Clip]"
                Product "\\includegraphics$$Arg{$$AbsOrRelPathMaster$$Basename}"
-               UpdateFormat pdf
+               UpdateFormat pdf6
                UpdateResult "$$AbsPath$$Basename.pdf"
                Requirement "graphicx"
                ReferencedFile pdflatex "$$AbsPath$$Basename.pdf"
@@ -307,10 +311,13 @@ Template PDFPages
                * pages={x-y} (for a range of pages)
                * pages={x,y,z} (for specific pages)
                * pages=- (to include all pages)
+               * pages=last-1 (to include all pages in reverse order)
+               With the option 'noautoscale' the PDF pages are
+               inserted in their original size.
                Read the documentation of the pdfpages package
                for further options and details.
        HelpTextEnd
-       InputFormat pdf
+       InputFormat pdf6
        FileFilter "*.pdf"
        AutomaticProduction true
        Transform Rotate
@@ -323,7 +330,7 @@ Template PDFPages
                TransformOption Extra  ExtraOption
                Option Arg "[$$Extra,$$Rotate,$$Resize]"
                Product "\\includepdf$$Arg{$$AbsOrRelPathMaster$$Basename}"
-               UpdateFormat pdf
+               UpdateFormat pdf6
                UpdateResult "$$AbsPath$$Basename.pdf"
                Requirement "pdfpages"
                ReferencedFile pdflatex "$$AbsPath$$Basename.pdf"
@@ -404,7 +411,7 @@ Template Dia
                TransformOption Extra  ExtraOption
                Option Arg "[$$Extra,$$Rotate,$$Resize,$$Clip]"
                Product "\\includegraphics$$Arg{$$AbsOrRelPathMaster$$Basename}"
-               UpdateFormat pdf
+               UpdateFormat pdf6
                UpdateResult "$$AbsPath$$Basename.pdf"
                Requirement "graphicx"
                ReferencedFile pdflatex "$$AbsPath$$Basename.pdf"