This shows you the differences between two versions of the page.

Link to this comparison view

config:lilypond [2019/04/23 07:42] (current)
colombanw created
Line 1: Line 1:
 +====== Lilypond Filetype ======
 +[[http://​lilypond.org/​|Lilypond]] is a full-featured LaTeX-like music notation language.
 +Add this to the ''​[[https://​www.geany.org/​manual/#​filetype-extensions|filetype_extensions.conf]]''​ file (''​...''​ means existing data):
 +<code ini>
 +And create a new [[https://​www.geany.org/​manual/#​custom-filetypes|filedef]] named ''​filetypes.Lilypond.conf''​ with the following contents:
 +<file properties filetypes.SCSS.conf>​
 +# For complete documentation of this file, please see Geany'​s main documentation
 +# all items must be in one line
 +primary=version header time repeat alternative break bar mark markup italic bold set override once chordmode parenthesize tempo key clef minor major new with consists Staff TabStaff PianoStaff StaffGroup Score
 +# default extension used when saving files
 +# the following characters are these which a "​word"​ can contains, see documentation
 +# if only single comment char is supported like # in this file, leave comment_close blank
 +# set to false if a comment character/​string should start at column 0 of a line, true uses any
 +# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
 + #​command_example();​
 +# setting to false would generate this
 +#​ command_example();​
 +# This setting works only for single line comments
 +# context action command (please see Geany'​s main documentation for details)
 +# %f will be replaced by the complete filename
 +# %e will be replaced by the filename without extension
 +# (use only one of it at one time)
 +compiler=lilypond --pdf "​%f"​
 +# it is called linker, but here it is an alternative compiler command
 +linker=lilypond --png "​%f"​
 +run_cmd=xdg-open "​%e.pdf"​
 +run_cmd2=xdg-open "​%e.png"​
 +FT_00_LB=Compile to _PDF
 +FT_00_CM=lilypond --pdf "​%f"​
 +FT_01_LB=Compile to PN_G
 +FT_01_CM=lilypond --png "​%f"​
 +EX_00_LB=V_iew PDF File
 +EX_00_CM=xdg-open "​%e.pdf"​
 +EX_01_LB=_View PNG File
 +EX_01_CM=xdg-open "​%e.png"​
 +FT_02_LB=Play MIDI
 +FT_02_CM=timidity "​%e.midi"​
 +{{tag>​configure lilypond music filetype}}