[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lilypond API
From: |
Luc |
Subject: |
Re: Lilypond API |
Date: |
Tue, 19 Dec 2006 01:26:06 -0800 (PST) |
Luc,
When I did this for Context I scanned the manual and all the regression test
cases, it took me a while to do it. I'm using Context, but I'd be
interested in trying Notepad++ also as a backup. Can you maybe upload the
configuration files for Notepad/lilypond at some point for others to use?
Rick
Here is what I installed for myself with your ConText file of LilyPond
expressions.
For the auto-completing you need a file with all the keywords - sorted and
without comments - in C:\programme...\
...\Notepad++\plugins\APIs\LilyPond.api. If needed I can deliver that.
If somebody is interested in executing ("running") command to produce and
view LilyPond scores under Notepad++ I can send the necessary information.
For hilighting: In "userDefineLang.xml" (in Documents and
settings\...\Notepad++\) you must add the following (alternatively you also
can/must enter the different keywords in the interactive dialog when
creating the new user language)
<UserLang name="LilyPond" ext="ly">
<Settings>
<Global caseIgnored="no" />
<TreatAsSymbol comment="no" commentLine="no" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">000000</Keywords>
<Keywords name="Folder+">< << { (</Keywords>
<Keywords name="Folder-">> >> } )</Keywords>
<Keywords name="Operators">' * .</Keywords>
<Keywords name="Comment">1%{ 2%} 0%</Keywords>
<Keywords
name="Words1">Accidental_engraver
aDueText
alignAboveContext
alignBassFigureAccidentals
alignBelowContext
allowBeamBreak
Ambitus_engraver
Arpeggio_engraver
associatedVoice
associatedVoiceContext
autoAccidentals
autoBeamCheck
autoBeaming
autoBeamSettings
autoCautionaries
automaticBars
Auto_beam_engraver
Axis_group_engraver
barAlways
barCheckLastFail
barCheckSynchronize
barNumberVisibility
Bar_engraver
Bar_number_engraver
bassFigureFormatFunction
bassStaffProperties
beamMelismaBusy
Beam_engraver
Beam_performer
beatGrouping
beatLength
breakableSeparationItem
Break_align_engraver
Breathing_sign_engraver
busyGrobs
ChoirStaff
chordChanges
chordNameExceptions
chordNameExceptionsFull
chordNameExceptionsPartial
chordNameFunction
ChordNames
chordNameSeparator
chordNoteNamer
chordPrefixSpacer
chordRootNamer
Chord_name_engraver
Chord_tremolo_engraver
clefGlyph
clefOctavation
clefPosition
Clef_engraver
Cluster_spanner_engraver
Collision_engraver
Completion_heads_engraver
connectArpeggios
countPercentRepeats
createKeyOnClefChange
createSpacing
crescendoSpanner
crescendoText
CueVoice
currentBarNumber
currentCommandColumn
currentMusicalColumn
Custos_engraver
decrescendoSpanner
decrescendoText
defaultBarType
Default_bar_line_engraver
Devnull
Dot_column_engraver
doubleSlurs
drumPitchTable
DrumStaff
drumStyleTable
DrumVoice
Drum_notes_engraver
Drum_note_performer
dynamicAbsoluteVolumeFunction
Dynamics
Dynamic_engraver
Dynamic_performer
Engraver
Engraver_group
explicitClefVisibility
explicitKeySignatureVisibility
Extender_engraver
extraNatural
extraVerticalExtent
FiguredBass
figuredBassAlterationDirection
figuredBassCenterContinuations
figuredBassFormatter
figuredBassPlusDirection
Figured_bass_engraver
finalizations
fingeringOrientations
Fingering_engraver
firstClef
followVoice
fontSize
Font_size_engraver
Forbid_line_break_engraver
forceClef
Glissando_engraver
Global
graceSettings
Grace_beam_engraver
Grace_engraver
GrandStaff
GregorianTranscriptionStaff
GregorianTranscriptionVoice
GregorianVoice
gridInterval
Grid_line_span_engraver
Grid_point_engraver
Grob_pq_engraver
Hara_kiri_engraver
harmonicAccidentals
highStringOne
Horizontal_bracket_engraver
Hyphen_engraver
ignoreBarChecks
ignoreMelismata
implicitBassFigures
InnerChoirStaff
InnerStaffGroup
instr
instrument
instrumentEqualizer
instrumentSupport
instrumentTransposition
Instrument_name_engraver
keepAliveInterfaces
keyAlterationOrder
keySignature
Key_engraver
Key_performer
Laissez_vibrer_engraver
lastKeySignature
Ledger_line_engraver
Ligature_bracket_engraver
localKeySignature
localKeySignatureChanges
Lyrics
Lyric_engraver
Lyric_performer
majorSevenSymbol
markFormatter
Mark_engraver
measureLength
measurePosition
Measure_grouping_engraver
melismaBusy
melismaBusyProperties
Melisma_translator
Melody_engraver
MensuralStaff
MensuralVoice
Mensural_ligature_engraver
metronomeMarkFormatter
Metronome_mark_engraver
middleCPosition
midiInstrument
midiMaximumVolume
midiMinimumVolume
minimumFret
minimumVerticalExtent
Multi_measure_rest_engraver
New_fingering_engraver
NoteNames
Note_heads_engraver
Note_head_line_engraver
Note_name_engraver
Note_performer
Note_swallow_translator
originalCentralCPosition
ottavation
Ottava_spanner_engraver
Output_property_engraver
Paper_column_engraver
Parenthesis_engraver
Part_combine_engraver
pedalSostenutoStrings
pedalSostenutoStyle
pedalSustainStrings
pedalSustainStyle
pedalUnaCordaStrings
pedalUnaCordaStyle
Percent_repeat_engraver
Phrasing_slur_engraver
PianoStaff
Piano_pedal_engraver
Piano_pedal_performer
Pitched_trill_engraver
Pitch_squash_engraver
printKeyCancellation
printOctaveNames
printPartCombineTexts
proportionalNotationDuration
quotedEventTypes
recordEventSequence
rehearsalMark
repeatCommands
Repeat_acknowledge_engraver
Repeat_tie_engraver
restNumberThreshold
Rest_collision_engraver
Rest_engraver
Rest_swallow_translator
RhythmicStaff
Rhythmic_column_engraver
rootSystem
Score
scriptDefinitions
Script_column_engraver
Script_engraver
Separating_line_group_engraver
shapeNoteStyles
skipBars
skipTypesetting
Skip_event_swallow_translator
Slash_repeat_engraver
slurMelismaBusy
Slur_engraver
Slur_performer
soloIIText
soloText
Spacing_engraver
Span_arpeggio_engraver
Span_bar_engraver
Span_dynamic_performer
squashedPosition
Staff
StaffContainer
StaffGroup
Staff_collecting_engraver
Staff_performer
Staff_symbol_engraver
stanza
Stanza_number_align_engraver
Stanza_number_engraver
stavesFound
stemLeftBeamCount
stemRightBeamCount
Stem_engraver
stringNumberOrientations
stringOneTopmost
stringTunings
String_number_engraver
subdivideBeams
suggestAccidentals
Swallow_engraver
Swallow_performer
systemStartDelimiter
systemStartDelimiterHierarchy
System_start_delimiter_engraver
tablatureFormat
TabStaff
TabVoice
Tab_note_heads_engraver
Tab_staff_symbol_engraver
Tempo_performer
Text_engraver
Text_spanner_engraver
tieMelismaBusy
tieWaitForNote
Tie_engraver
Tie_performer
timeSignatureFraction
Time_signature_engraver
Time_signature_performer
timing
Timing_translator
tonic
Translator
trebleStaffProperties
tremoloFlags
Trill_spanner_engraver
tupletFullLength
tupletNumberFormatFunction
tupletSpannerDuration
Tuplet_engraver
Tweak_engraver
useBassFigureExtenders
VaticanaStaff
VaticanaVoice
Vaticana_ligature_engraver
verticalExtent
verticallySpacedContexts
Vertically_spaced_contexts_engraver
Vertical_align_engraver
vocalName
vocNam
Voice
voltaOnThisStaff
voltaSpannerDuration
Volta_engraver
whichBar
\ChoirStaff
\ChordNames
\CueVoice
\Devnull
\DrumStaff
\DrumVoice
\FiguredBass
\Global
\GrandStaff
\GregorianTranscriptionStaff
\GregorianTranscriptionVoice
\GregorianVoice
\include
\InnerChoirStaff
\InnerStaffGroup
\Lyrics
\MensuralStaff
\MensuralVoice
\NoteNames
\PianoStaff
\renameinput
\RhythmicStaff
\Score
\score
\sourcefilename
\Staff
\StaffGroup
\TabStaff
\TabVoice
\VaticanaStaff
\VaticanaVoice
\version
\Voice</Keywords>
<Keywords
name="Words2">Accidental
accidental-grob
accidental-grobs
AccidentalPlacement
accidentals
AccidentalSuggestion
add-cauda
add-join
add-stem
add-stem-support
adjacent-hairpins
after-line-breaking
align-dir
all-elements
alteration-alist
Ambitus
AmbitusAccidental
AmbitusLine
AmbitusNoteHead
Arpeggio
arpeggio-direction
arrow
arrow-length
arrow-width
ascendens
auctum
auto-knee-gap
average-spacing-wishes
avoid-note-head
avoid-slur
axes
axis-group-parent-X
axis-group-parent-Y
balloon-padding
balloon-text
balloon-text-offset
balloon-text-props
bar-size
BarLine
BarNumber
barre-type
bars
base-shortest-duration
baseline-skip
BassFigure
BassFigureAlignment
BassFigureBracket
BassFigureContinuation
BassFigureLine
Beam
beam-thickness
beam-width
beamed-stem-shorten
beaming
before-line-breaking
begin-of-line-visible
between-cols
bound-padding
bounded-by-me
bracket
bracket-flare
bracket-visibility
break-align-orders
break-align-symbol
break-overshoot
break-visibility
breakable
BreakAlignGroup
BreakAlignment
BreathingSign
c0-position
cause
cautionary
cautionary-style
cavum
chord-tremolo
ChordName
Clef
ClusterSpanner
ClusterSpannerBeacon
collapse-height
color
columns
CombineTextScript
common-shortest-duration
concaveness
conditional-elements
connect-to-neighbor
context-info
control-points
Custos
damping
dash-fraction
dash-period
default-direction
delta-pitch
deminutum
descendens
details
direction
direction-source
dot
dot-color
dot-count
dot-radius
DotColumn
Dots
DoublePercentRepeat
DoublePercentRepeatCounter
duration-log
DynamicLineSpanner
DynamicText
DynamicTextSpanner
eccentricity
edge-height
edge-text
elements
enclose-bounds
encompass-objects
expand-limit
extra-offset
extra-X-extent
extra-Y-extent
figures
finger-code
Fingering
flag-count
flag-style
flexa-height
flexa-width
font
font-encoding
font-family
font-magnification
font-name
font-series
font-shape
font-size
force-hshift
forced-distance
fraction
french-beaming
fret-count
full-size-change
gap
gap-count
Glissando
glyph
glyph-name
grace-space-factor
GridLine
GridPoint
grow-direction
hair-thickness
Hairpin
head-direction
head-width
heads
height
height-limit
horizontal-shift
HorizontalBracket
ideal-distances
implicit
inclinatum
inspect-quants
InstrumentName
interfaces
Internal
items-worth-living
join-heads
join-right-amount
keep-inside-line
kern
KeyCancellation
KeySignature
knee
knee-spacing-correction
label-dir
LaissezVibrerTie
LaissezVibrerTieColumn
layer
layout
least-squares-dy
ledger-line-thickness
LedgerLineSpanner
left-items
left-neighbors
left-padding
LeftEdge
length
length-fraction
LigatureBracket
line-break-system-details
line-count
line-positions
line-thickness
linea
long-text
LyricExtender
LyricHyphen
LyricSpace
LyricText
measure-count
measure-length
MeasureGrouping
MelodyItem
MensuralLigature
merge-differently-dotted
merge-differently-headed
meta
MetronomeMark
minimum-distance
minimum-distances
minimum-length
minimum-length-fraction
minimum-space
minimum-X-extent
minimum-Y-extent
MultiMeasureRest
MultiMeasureRestNumber
MultiMeasureRestText
neutral-direction
neutral-position
next
no-ledgers
no-spacing-rods
no-stem-extend
non-default
NonMusicalPaperColumn
note-columns
note-head
note-heads
note-names
NoteCollision
NoteColumn
NoteHead
NoteName
NoteSpacing
number-type
OctavateEight
original-stencil
oriscus
OttavaBracket
packed-spacing
padding
page-penalty
PaperColumn
ParenthesesItem
pedal-text
penalty
PercentRepeat
PercentRepeatCounter
pes-or-flexa
PhrasingSlur
PianoPedalBracket
positioning-done
positions
prefix-set
primitive
properties
quant-score
quantize-position
quantized-positions
quilisma
ratio
RehearsalMark
remove-empty
remove-first
RepeatSlash
RepeatTie
RepeatTieColumn
Rest
rest-collision
RestCollision
rests
right-items
right-neighbors
right-padding
same-direction-correction
Script
script-priority
script-stencil
ScriptColumn
self-alignment-X
self-alignment-Y
SeparatingGroupSpanner
SeparationItem
shorten
shorten-pair
shortest-duration-space
shortest-playing-duration
shortest-starter-duration
side-axis
side-relative-direction
side-support-elements
size
slope
Slur
slur-padding
SostenutoPedal
SostenutoPedalLineSpanner
space-alist
spaceable-staves
spacing-increment
spacing-wishes
SpacingSpanner
SpanBar
springs-and-rods
stacking-dir
staff-padding
staff-position
staff-space
staff-symbol
StaffSpacing
StaffSymbol
StanzaNumber
Stem
stem-attachment
stem-end-position
stem-info
stem-spacing-correction
stemlet-length
stems
StemTremolo
stencil
strict-note-spacing
string-count
StringNumber
stroke-style
stropha
style
SustainPedal
SustainPedalLineSpanner
System
SystemStartBar
SystemStartBrace
SystemStartBracket
SystemStartSquare
TabNoteHead
text
text-direction
TextScript
TextSpanner
thick-thickness
thickness
thin-kern
threshold
tie
tie-configuration
TieColumn
TimeSignature
transparent
tremolo-flag
TrillPitchAccidental
TrillPitchGroup
TrillPitchHead
TrillSpanner
tuplet-number
TupletBracket
TupletNumber
tuplets
UnaCordaPedal
UnaCordaPedalLineSpanner
uniform-stretching
use-breve-rest
used
User
VaticanaLigature
VerticalAlignment
VerticalAxisGroup
virga
VoiceFollower
VoltaBracket
when
width
word-space
X-extent
X-offset
Y-extent
Y-offset
zigzag-length
zigzag-width
\staff-space</Keywords>
<Keywords
name="Words3">\accepts
\addlyrics
\addQuote
\alias
\alternative
\applyContext
\applyMusic
\applyOutput
\arpeggioBracket
\arpeggioDown
\arpeggioNeutral
\arpeggioUp
\assertBeamQuant
\autoBeamOff
\autoBeamOn
\autochange
\barNumberCheck
\book
\break
\break
\cadenzaOff
\cadenzaOn
\change
\chordmode
\chords
\clef
\consists
\context
\cueDuring
\denies
\displayLilyMusic
\displayMusic
\dotsDown
\dotsNeutral
\dotsUp
\drummode
\dynamicDown
\dynamicNeutral
\dynamicUp
\figuremode
\figures
\frenchChords
\germanChords
\header
\hideNotes
\hideStaffSwitch
\italianChords
\keepWithTag
\key
\layout
\lyricmode
\lyricsto
\makeClusters
\midi
\name
\new
\newSpacingSection
\noBeam
\noBreak
\noPageBreak
\once
\oneVoice
\outputProperty
\override
\overrideProperty
\pageBreak
\paper
\parenthesize
\partcombine
\partial
\phrasingSlurDown
\phrasingSlurNeutral
\phrasingSlurUp
\pitchedTrill
\quoteDuring
\relative
\remove
\RemoveEmptyStaffContext
\removeWithTag
\repeat
\repeatTie
\revert
\sacredHarpHeads
\score
\semiGermanChords
\set
\setEasyHeads
\shiftOff
\shiftOn
\shiftOnn
\shiftOnnn
\showStaffSwitch
\skip
\slurDashed
\slurDotted
\slurDown
\slurNeutral
\slurSolid
\slurUp
\sostenutoDown
\sostenutoUp
\startGroup
\startStaff
\startTextSpan
\startTrillSpan
\stemDown
\stemNeutral
\stemUp
\stopGroup
\stopStaff
\stopTextSpan
\stopTrillSpan
\sustainDown
\sustainUp
\tag
\tempo
\textSpannerDown
\tieDashed
\tieDotted
\tieDown
\tieNeutral
\tieSolid
\tieUp
\time
\times
\transpose
\transposition
\treCorde
\tupletDown
\tupletNeutral
\tupletUp
\tweak
\type
\unaCorda
\unfoldRepeats
\unHideNotes
\unset
\voiceFour
\voiceOne
\voiceThree
\voiceTwo
\with
</Keywords>
<Keywords
name="Words4">after-title-space
alto
annotate-headers
annotate-page
annotate-spacing
arranger
aug
baritone
bass
before-title-space
between-system-padding
between-system-space
between-title-space
bookTitleMarkup
bottom-margin
breakbefore
composer
copyright
date
dedication
dim
enteredby
evenFooterMarkup
evenHeaderMarkup
exampleindent
first-page-number
fold
fontload
foot-separation
footer
fragment
french
G2
hairpinToBarline
head-separation
headerMarkup
horizontal-shift
indent
interscoreline
landscape
lastupdated
left-margin
line-width
m
maintainer
maintainerEmail
maj
meter
mezzosoprano
mono
mutopiacomposer
mutopiainstrument
mutopiaopus
mutopiapublicdomain
mutopiatitle
nofragment
noindent
notime
oddFooterMarkup
oddHeaderMarkup
opus
packed
page-top-space
paper-height
paper-width
percent
percussion
piece
pipeSymbol
poet
portrait
print-page-number
printallheaders
printfilename
printfirst-page-number
quote
ragged-bottom
ragged-last
ragged-last-bottom
ragged-right
relative
roman
sans
scoreTitleMarkup
soprano
source
staffsize
style
subbass
subsubtitle
subtitle
sus
system-count
systemSeparatorMarkup
tab
tagline
tenor
texidoc
texttranslator
title
top-margin
top-most
treble
tremolo
typewriter
unfold
varbaritone
verbatim
violin
volta
width
\accent
\accentus
\acciaccatura
\aeolian
\afterGrace
\aikenHeads
\appoggiatura
\arpeggio
\arrow-head
\ascendens
\auctum
\augmentum
\augmentumFinis
\augmentumInitium
\bar
\beam
\bigger
\bold
\bookTitleMarkup
\box
\bracket
\bracketed-y-column
\breathe
\breve
\caesura
\caps
\cavum
\center-align
\char
\circle
\circulus
\cm
\coda
\column
\combine
\deminutum
\descendens
\dir-column
\divisioMaior
\divisioMaxima
\divisioMinima
\dorian
\doubleflat
\doublesharp
\downbow
\downmordent
\downprall
\draw-circle
\dynamic
\emptyText
\episemFinis
\episemInitium
\epsfile
\espressivo
\evenFooterMarkup
\evenHeaderMarkup
\f
\fatText
\fermata
\fermataMarkup
\ff
\fff
\ffff
\fill-line
\filled-box
\finalis
\finger
\flageolet
\flat
\flexa
\fontsize
\fp
\fraction
\fret-diagram
\fret-diagram-terse
\fret-diagram-verbose
\fromproperty
\general-align
\glissando
\grace
\halign
\harmonic
\hbracket
\hcenter
\hcenter-in
\hspace
\huge
\ictus
\in
\inclinatum
\ionian
\italic
\justify
\justify-field
\justify-string
\laissezVibrer
\large
\left-align
\lheel
\line
\linea
\lineprall
\locrian
\longa
\longfermata
\lookup
\lower
\ltoe
\lydian
\magnify
\major
\marcato
\mark
\markalphabet
\markletter
\markup
\maxima
\medium
\melisma
\melismaEnd
\mf
\minor
\mixolydian
\mm
\mordent
\mp
\musicglyph
\natural
\normal-size-sub
\normal-size-super
\normal-text
\normalsize
\note
\note-by-number
\null
\number
\oddFooterMarkup
\oddHeaderMarkup
\on-the-fly
\open
\oriscus
\override
\p
\pad-around
\pad-markup
\pad-to-box
\pad-x
\pes
\phrygian
\portato
\portattenuto
\postscript
\pp
\ppp
\pppp
\ppppp
\prall
\pralldown
\prallmordent
\prallprall
\prallup
\put-adjacent
\quilisma
\raise
\rest
\reverseturn
\rfz
\rheel
\right-align
\roman
\rtoe
\sans
\score
\scoreTitleMarkup
\segnlongfermata
\segno
\semicirculus
\semiflat
\semisharp
\sesquiflat
\sesquisharp
\sf
\sff
\sfz
\sharp
\shortfermata
\signumcongruentiae
\simple
\slashed-digit
\small
\smallCaps
\smaller
\sp
\spp
\staccatissimo
\staccato
\stencil
\stopped
\stropha
\strut
\sub
\super
\teeny
\tenuto
\text
\thumb
\tiny
\translate
\transparent
\triangle
\trill
\turn
\typewriter
\upbow
\upmordent
\upprall
\upright
\varcoda
\vcenter
\verbatim-file
\verylongfermata
\virga
\virgula
\whiteout
\with-color
\with-dimensions
\with-url
\wordwrap
\wordwrap-field
\wordwrap-string</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000"
bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="FF8040"
bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="FF8000"
bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="000000"
bgColor="FFFF80" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="000000"
bgColor="808040" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="000000"
bgColor="0080FF" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="000000"
bgColor="FF80FF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT" styleID="1" fgColor="000000"
bgColor="80FF80" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="000000"
bgColor="CEF3BE" fontName="" fontStyle="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="FF0000"
bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="000000"
bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="FF0000"
bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="00FF40"
bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000"
bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
--
View this message in context:
http://www.nabble.com/Lilypond-API-tf2819657.html#a7944064
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.