]> git.lyx.org Git - features.git/commitdiff
Inkscape.xtemplate: Add missing output formats
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 10 Sep 2017 16:07:05 +0000 (18:07 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 10 Sep 2017 16:08:53 +0000 (18:08 +0200)
lib/xtemplates/inkscape.xtemplate

index 867800f4075bb943d87839e9f4ab6b8d820635bc..e4fc14d5319ed1c611582d9d2297d2aa23fb58a5 100644 (file)
@@ -75,5 +75,21 @@ Template Inkscape
                ReferencedFile latex "$$AbsPath$$Basename.eps"
                ReferencedFile dvi   "$$AbsPath$$Basename.eps"
        FormatEnd
+       Format Ascii
+               Product "[InkscapeGraphics: $$FName]"
+       FormatEnd
+       Format DocBook
+               Product "<graphic fileref=\"$$AbsOrRelPathMaster$$Basename.eps\"></graphic>"
+               UpdateFormat eps
+               UpdateResult "$$AbsPath$$Basename.eps"
+               ReferencedFile docbook     "$$AbsPath$$Basename.eps"
+               ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
+       FormatEnd
+       Format XHTML
+               Product "<img src=\"$$AbsOrRelPathMaster$$Basename.svg\" />"
+               UpdateFormat svg
+               UpdateResult "$$AbsPath$$Basename.svg"
+               ReferencedFile xhtml "$$AbsPath$$Basename.svg"
+       FormatEnd
 TemplateEnd