no way to compare when less than two revisions

Differences

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


config:lilypond [2019/04/23 07:42] (current) – created colombanw
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>
 +[Extensions]
 +...
 +Lilypond=*.ly
 +...
 +
 +[Groups]
 +...
 +Markup=Lilypond
 +...
 +</code>
 +
 +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
 +
 +[styling=LaTeX]
 +
 +[keywords]
 +# 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
 +
 +
 +[settings]
 +tag_parser=LaTeX
 +lexer_filetype=LaTeX
 +
 +# default extension used when saving files
 +extension=ly
 +
 +# the following characters are these which a "word" can contains, see documentation
 +#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
 +
 +# if only single comment char is supported like # in this file, leave comment_close blank
 +comment_open=%
 +comment_close=
 +
 +# 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
 +comment_use_indent=true
 +
 +# context action command (please see Geany's main documentation for details)
 +context_action_cmd=
 +
 +[build_settings]
 +# %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"
 +
 +[build-menu]
 +FT_00_LB=Compile to _PDF
 +FT_00_CM=lilypond --pdf "%f"
 +FT_00_BD=false
 +FT_01_LB=Compile to PN_G
 +FT_01_CM=lilypond --png "%f"
 +FT_01_BD=false
 +EX_00_LB=V_iew PDF File
 +EX_00_CM=xdg-open "%e.pdf"
 +EX_00_BD=false
 +EX_01_LB=_View PNG File
 +EX_01_CM=xdg-open "%e.png"
 +EX_01_BD=false
 +FT_00_WD=
 +FT_01_WD=
 +FT_02_LB=Play MIDI
 +FT_02_CM=timidity "%e.midi"
 +FT_02_WD=
 +</file>
 +
 +{{tag>configure lilypond music filetype}}
 +~~NOTOC~~
  
Print/export