2004-08-28 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/key-signature-interface.cc: add style.
+
* Documentation/user/notation.itely (Automatic staff changes):
document new behavior.
* Invoking etf2ly:: Importing Finale.
* Invoking abc2ly:: Importing ABC.
* Invoking mup2ly:: Importing MUP.
+* Other formats::
@end menu
human-generated midi files.
-It is invoked as follows:
+It is invoked from the command-line as follows,
@example
- midi2ly [@var{option}]@dots{} @var{midi-file}
+midi2ly [@var{option}]@dots{} @var{midi-file}
@end example
-The following options are supported by midi2ly:
+
+The following options are supported by midi2ly.
@table @code
@item -a, --absolute-pitches
Technology's Finale product. etf2ly will convert part of an ETF
file to a ready-to-use LilyPond file.
-It is invoked as follows:
+It is invoked from the command-line as follows.
@example
etf2ly [@var{option}]@dots{} @var{etf-file}
@end example
@cindex Mup
@cindex Arkkra
+It is invoked from the command-line as follows.
@example
mup2ly [@var{option}]@dots{} @var{mup-file}
@end example
converted.
+@node Other formats
+@section Other formats
+
+LilyPond itself does not come with support for other formats, but
+there are also external tools that generate LilyPond files.
+
+These tools include
+http://denemo.sourceforge.net/
+@itemize @bullet
+@item @uref{http://www.nongnu.org/xml2ly/, xml2ly}, that imports
+@uref{http://www.musicxml.com/,MusicXML}
+@item
+@uref{http://rnvs.informatik.tu-chemnitz.de/~jan/noteedit/noteedit.html,NoteEdit}
+which imports MusicXML
+@item @uref{http://www.all-day-breakfast.com/rosegarden/,Rosegarden},
+which imports MIDI
+@end itemize
@end lilypond
The following bar types are available
-@lilypondfile[notexidoc]{bar-lines.ly}
+@lilypondfile[]{bar-lines.ly}
For allowing line breaks, there is a special command,
@example
advance. Here is a practical example
@lilypond[quote,verbatim,raggedright]
-\context PianoStaff <<
- \autochange \relative c' {
- g4 a b c d r4 a g } }
- >>
+\context PianoStaff
+ \autochange \relative c'
+ {
+ g4 a b c d r4 a g
+ }
@end lilypond
@code{\semiGermanChords} set these variables. The effect is
demonstrated here,
-@lilypondfile[notexidoc]{chord-names-german.ly}
+@lilypondfile[]{chord-names-german.ly}
There are also two other chord name schemes implemented: an alternate
Jazz chord notation, and a systematic scheme called Banter chords. The
inputencoding = #"latin1"
}
-latinTest = \markup { \latin-i "Hellö" }
+latinTest = \markup {
+ "Hellö"
+}
sizeTest = \markup {
\column <
>
}
+\encoding "latin1"
+
spaceTest = \markup { "two space chars" }
\header {
texidoc = "Make titles using markup. Only in direct PostScript output."
% ugh: encoding char-size
%dedication = "For my öòóôõø so dear Lily"
dedication = \markup { "For my "
- \latin-i { "öòóôõø" }
+ "öòóôõø"
" so dear Lily" }
title = "Title"
subtitle = "(and (the) subtitle)"
%% bookTitle = \markup { \fill-line < \huge\bold \title > > }
}
-%% suggest harder :-)
-%% noPagebreak = #(make-event-chord (list (make-penalty-music 0 1e9)))
-
\book {
\score {
%% FIXME: TODO factor \pagebreak \noPagebreak into regtest
%% Without this, page breaks are better, after measure: 12
- \noPagebreak
+ \noPageBreak
\repeat unfold 30 { a b c d \break }
c1
}
ADD_INTERFACE (Key_signature_interface, "key-signature-interface",
"A group of accidentals, to be printed as signature sign.",
- "c0-position old-accidentals new-accidentals");
+ "style c0-position old-accidentals new-accidentals");
(m (interpret-markup paper props arg)))
(box-stencil m th pad)))
-(if #f
- (def-markup-command (strut paper props) ()
-
- "Create a box of the same height as the space in the current font.
-
-FIXME: is this working?
-"
-
- (let ((m (Text_item::interpret_markup paper props " ")))
- (ly:stencil-set-extent! m X '(1000 . -1000))
- m)))
+;FIXME: is this working?
+(def-markup-command (strut paper props) ()
+
+ "Create a box of the same height as the space in the current font."
+
+ (let ((m (Text_item::interpret_markup paper props " ")))
+ (ly:stencil-set-extent! m X '(1000 . -1000))
+ m))
(define number->mark-letter-vector (make-vector 25 #\A))