mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
Add resize facility to inkscape template.
This commit is contained in:
parent
d3c90fcbb3
commit
167e96ca68
@ -46,11 +46,12 @@ Template Inkscape
|
|||||||
FileFilter "*.{svg}"
|
FileFilter "*.{svg}"
|
||||||
AutomaticProduction true
|
AutomaticProduction true
|
||||||
Transform Rotate
|
Transform Rotate
|
||||||
|
Transform Resize
|
||||||
Preview InstantPreview
|
Preview InstantPreview
|
||||||
Format PDFLaTeX
|
Format PDFLaTeX
|
||||||
TransformCommand Rotate RotationLatexCommand
|
TransformCommand Rotate RotationLatexCommand
|
||||||
# Resize is not desirable here, as fonts are sized to surrounding LaTeX font
|
TransformCommand Resize ResizeLatexCommand
|
||||||
Product "$$RotateFront\\input{$$AbsOrRelPathMaster$$Basename.pdf_tex}$$RotateBack"
|
Product "$$RotateFront$$ResizeFront\\input{$$AbsOrRelPathMaster$$Basename.pdf_tex}$$ResizeBack$$RotateBack"
|
||||||
UpdateFormat pdftex
|
UpdateFormat pdftex
|
||||||
UpdateResult "$$AbsPath$$Basename.pdf_tex"
|
UpdateResult "$$AbsPath$$Basename.pdf_tex"
|
||||||
Requirement "xcolor"
|
Requirement "xcolor"
|
||||||
@ -63,7 +64,8 @@ Template Inkscape
|
|||||||
FormatEnd
|
FormatEnd
|
||||||
Format LaTeX
|
Format LaTeX
|
||||||
TransformCommand Rotate RotationLatexCommand
|
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
|
UpdateFormat pstex
|
||||||
UpdateResult "$$AbsPath$$Basename.eps_tex"
|
UpdateResult "$$AbsPath$$Basename.eps_tex"
|
||||||
Requirement "xcolor"
|
Requirement "xcolor"
|
||||||
|
Loading…
Reference in New Issue
Block a user