2 # LilyPond External Template
4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
7 # author Asger Alstrup Nielsen
9 # author Johnathan Burchill
11 # Full author contact details are available in file CREDITS.
15 GuiName "Lilypond typeset music"
17 Sheet music typeset by GNU LilyPond,
18 converted to .pdf or .eps for inclusion
19 Using .eps requires at least lilypond 2.6
20 Using .pdf requires at least lilypond 2.9
22 InputFormat "lilypond"
24 AutomaticProduction true
29 Preview InstantPreview
31 TransformOption Rotate RotationLatexOption
32 TransformOption Resize ResizeLatexOption
33 TransformOption Clip ClipLatexOption
34 TransformOption Extra ExtraOption
35 Option Arg "[$$Extra,$$Rotate,$$Resize,$$Clip]"
36 Product "\\includegraphics$$Arg{$$AbsOrRelPathMaster$$Basename}"
38 UpdateResult "$$AbsPath$$Basename.eps"
39 Requirement "graphicx"
40 ReferencedFile latex "$$AbsPath$$Basename.eps"
41 ReferencedFile dvi "$$AbsPath$$Basename.eps"
44 TransformOption Rotate RotationLatexOption
45 TransformOption Resize ResizeLatexOption
46 TransformOption Clip ClipLatexOption
47 TransformOption Extra ExtraOption
48 Option Arg "[$$Extra,$$Rotate,$$Resize,$$Clip]"
49 Product "\\includegraphics$$Arg{$$AbsOrRelPathMaster$$Basename}"
51 UpdateResult "$$AbsPath$$Basename.pdf"
52 Requirement "graphicx"
53 ReferencedFile pdflatex "$$AbsPath$$Basename.pdf"
56 Product "[LilyPond: $$FName]"
59 Product "[LilyPond: $$FName]"
62 Product "<img src=\"$$AbsOrRelPathMaster$$Basename.png\" />"
64 UpdateResult "$$AbsPath$$Basename.png"
65 ReferencedFile xhtml "$$AbsPath$$Basename.png"