Add resize facility to inkscape template.

(cherry picked from commit 167e96ca68)
This commit is contained in:
Juergen Spitzmueller 2017-11-04 10:36:36 +01:00
parent 1fb653c674
commit 55002e0c39

View 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"