mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
inkscape.xtemplate: fixes issues 3, 6 and 7 of bug #10679
This commit is contained in:
parent
b5229cc5a2
commit
9bc931f28e
@ -5,7 +5,6 @@
|
|||||||
# Licence details can be found in the file COPYING.
|
# Licence details can be found in the file COPYING.
|
||||||
#
|
#
|
||||||
# author Asger Alstrup Nielsen
|
# author Asger Alstrup Nielsen
|
||||||
# author Angus Leeming
|
|
||||||
# author Johnathan Burchill
|
# author Johnathan Burchill
|
||||||
#
|
#
|
||||||
# Full author contact details are available in file CREDITS.
|
# Full author contact details are available in file CREDITS.
|
||||||
@ -34,15 +33,11 @@ Template Inkscape
|
|||||||
GuiName "Inkscape figure"
|
GuiName "Inkscape figure"
|
||||||
HelpText
|
HelpText
|
||||||
An Inkscape figure.
|
An Inkscape figure.
|
||||||
This template should work flawlessly with Inkscape 0.48.
|
|
||||||
For Inkscape 0.91, there is a (reported) bug in the
|
|
||||||
LaTeX + PDF output which makes a workaround necessary,
|
|
||||||
see Embedded Objects manual.
|
|
||||||
Note that using this template automatically uses the
|
Note that using this template automatically uses the
|
||||||
document text in the image (like with the Xfig template).
|
document text in the image (like with the Xfig template).
|
||||||
HelpTextEnd
|
HelpTextEnd
|
||||||
InputFormat svg
|
InputFormat svg
|
||||||
FileFilter "*.svg"
|
FileFilter "*.{svg}"
|
||||||
AutomaticProduction true
|
AutomaticProduction true
|
||||||
Transform Rotate
|
Transform Rotate
|
||||||
Preview InstantPreview
|
Preview InstantPreview
|
||||||
@ -52,8 +47,9 @@ Template Inkscape
|
|||||||
Product "$$RotateFront\\input{$$AbsOrRelPathMaster$$Basename.pdf_tex}$$RotateBack"
|
Product "$$RotateFront\\input{$$AbsOrRelPathMaster$$Basename.pdf_tex}$$RotateBack"
|
||||||
UpdateFormat pdftex
|
UpdateFormat pdftex
|
||||||
UpdateResult "$$AbsPath$$Basename.pdf_tex"
|
UpdateResult "$$AbsPath$$Basename.pdf_tex"
|
||||||
Requirement "color"
|
Requirement "xcolor"
|
||||||
Requirement "graphicx"
|
Requirement "graphicx"
|
||||||
|
Requirement "mathtools"
|
||||||
# Preamble WarnNotFound
|
# Preamble WarnNotFound
|
||||||
# Preamble InputOrWarn
|
# Preamble InputOrWarn
|
||||||
ReferencedFile pdflatex "$$AbsOrRelPathMaster$$Basename.pdf_tex"
|
ReferencedFile pdflatex "$$AbsOrRelPathMaster$$Basename.pdf_tex"
|
||||||
@ -64,8 +60,9 @@ Template Inkscape
|
|||||||
Product "$$RotateFront\\input{$$AbsOrRelPathMaster$$Basename.eps_tex}$$RotateBack"
|
Product "$$RotateFront\\input{$$AbsOrRelPathMaster$$Basename.eps_tex}$$RotateBack"
|
||||||
UpdateFormat pstex
|
UpdateFormat pstex
|
||||||
UpdateResult "$$AbsPath$$Basename.eps_tex"
|
UpdateResult "$$AbsPath$$Basename.eps_tex"
|
||||||
Requirement "color"
|
Requirement "xcolor"
|
||||||
Requirement "graphicx"
|
Requirement "graphicx"
|
||||||
|
Requirement "mathtools"
|
||||||
# Preamble WarnNotFound
|
# Preamble WarnNotFound
|
||||||
# Preamble InputOrWarn
|
# Preamble InputOrWarn
|
||||||
ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.eps_tex"
|
ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.eps_tex"
|
||||||
|
Loading…
Reference in New Issue
Block a user