]> git.lyx.org Git - lyx.git/blobdiff - lib/xtemplates/inkscape.xtemplate
Restore dynamic insets
[lyx.git] / lib / xtemplates / inkscape.xtemplate
index e4fc14d5319ed1c611582d9d2297d2aa23fb58a5..ff0b6b5ae747adcd47370baaa67a50d68c3481d0 100644 (file)
@@ -46,11 +46,12 @@ Template Inkscape
        FileFilter "*.{svg}"
        AutomaticProduction true
        Transform Rotate
+       Transform Resize
        Preview InstantPreview
        Format PDFLaTeX
                TransformCommand Rotate RotationLatexCommand
-               # Resize is not desirable here, as fonts are sized to surrounding LaTeX font
-               Product "$$RotateFront\\input{$$AbsOrRelPathMaster$$Basename.pdf_tex}$$RotateBack"
+               TransformCommand Resize ResizeLatexCommand
+               Product "$$RotateFront$$ResizeFront\\input{$$AbsOrRelPathMaster$$Basename.pdf_tex}$$ResizeBack$$RotateBack"
                UpdateFormat pdftex
                UpdateResult "$$AbsPath$$Basename.pdf_tex"
                Requirement "xcolor"
@@ -63,7 +64,8 @@ Template Inkscape
        FormatEnd
        Format LaTeX
                TransformCommand Rotate RotationLatexCommand
-               Product "$$RotateFront\\input{$$AbsOrRelPathMaster$$Basename.eps_tex}$$RotateBack"
+               TransformCommand Resize ResizeLatexCommand
+               Product "$$RotateFront$$ResizeFront\\input{$$AbsOrRelPathMaster$$Basename.eps_tex}$$ResizeBack$$RotateBack"
                UpdateFormat pstex
                UpdateResult "$$AbsPath$$Basename.eps_tex"
                Requirement "xcolor"