# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.
#
+# author Daniel Gloger
# author Martin Vermeer
#
# based on external templates by:
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"
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"
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