commit 9bc931f28ea88efdcaa02b9a55f4920a2109f5b7
Author: Uwe Stöhr <uwesto...@lyx.org>
Date:   Sun May 21 23:57:53 2017 +0200

    inkscape.xtemplate: fixes issues 3, 6 and 7 of bug #10679
---
 lib/xtemplates/inkscape.xtemplate |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/lib/xtemplates/inkscape.xtemplate 
b/lib/xtemplates/inkscape.xtemplate
index 840d126..ba6b553 100644
--- a/lib/xtemplates/inkscape.xtemplate
+++ b/lib/xtemplates/inkscape.xtemplate
@@ -5,7 +5,6 @@
 # Licence details can be found in the file COPYING.
 #
 # author Asger Alstrup Nielsen
-# author Angus Leeming
 # author Johnathan Burchill
 #
 # Full author contact details are available in file CREDITS.
@@ -34,15 +33,11 @@ Template Inkscape
        GuiName "Inkscape figure"
        HelpText
                An Inkscape figure.
-               This template should work flawlessly with Inkscape 0.48. 
-               For Inkscape 0.91, there is a (reported) bug in the 
-               LaTeX + PDF output which makes a workaround necessary, 
-               see Embedded Objects manual.
                Note that using this template automatically uses the 
                document text in the image (like with the Xfig template).
        HelpTextEnd
        InputFormat svg
-       FileFilter "*.svg"
+       FileFilter "*.{svg}"
        AutomaticProduction true
        Transform Rotate
        Preview InstantPreview
@@ -52,8 +47,9 @@ Template Inkscape
                Product 
"$$RotateFront\\input{$$AbsOrRelPathMaster$$Basename.pdf_tex}$$RotateBack"
                UpdateFormat pdftex
                UpdateResult "$$AbsPath$$Basename.pdf_tex"
-               Requirement "color"
+               Requirement "xcolor"
                Requirement "graphicx"
+               Requirement "mathtools"
                # Preamble WarnNotFound
                # Preamble InputOrWarn
                ReferencedFile pdflatex "$$AbsOrRelPathMaster$$Basename.pdf_tex"
@@ -64,8 +60,9 @@ Template Inkscape
                Product 
"$$RotateFront\\input{$$AbsOrRelPathMaster$$Basename.eps_tex}$$RotateBack"
                UpdateFormat pstex
                UpdateResult "$$AbsPath$$Basename.eps_tex"
-               Requirement "color"
+               Requirement "xcolor"
                Requirement "graphicx"
+               Requirement "mathtools"
                # Preamble WarnNotFound
                # Preamble InputOrWarn
                ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.eps_tex"

Reply via email to