If the problem persists, then please mail me.
+Q: Some of your neat scripts fail, what directories do you use:
+
+A:
+
+ ~/something
+ lilypond # the directory as unpacked from the tarball
+ releases # directory for .tar.gz releases
+ patches # directory for patches between different releases
+
+~/something/lilypond/bin is in the PATH, and contains symlinks to the
+compiled executables.
=head2 Language: mudela
Q: I want a DOS/NT/W95 port.
-A.0: Reconsider. Try Linux/GNU. It's fun!
+A.0: Reconsider. Try Linux. It's fun!
A.1: Currently (patchlevel 27), GNU LilyPond (and flowerLib) compiles, links
and runs on windhoos-nt, using the cygnus gnu port (release b17.1).
=head2 Words
-Keywords are preceded by a backslash "\". They contain alphabetic
+Keywords are preceded by a backslash: '\'. They contain alphabetic
characters only.
Identifiers in their normal form consist start with a alpha character,
aid the eye in reading, for chords the < and the > are used as
nesting braces.
+=head2 Constants
+
+Please note that -.5 is no Real.
+
+ "I am a string"
+ -1.2e3 % a real
+ 12 % an int
+
+
+
=head2 Identifiers
=head2 Hierarchical structures
[c8 e8(] [)g8 <c'8] e'8>
% NO nesting!
- [c8 c8 c8]2/3 % a triplet
+ [2/3 c8 c8 c8]1/1 % a triplet
=head2 Slurs and Ties
% It has a lot of hard-wired stringconstants
%
+
table_sixteen=
\symboltables {
"upbow" "\upbow" -1\pt 6\pt 0\pt 5\pt
"downbow" "\downbow" 0\pt 5\pt 0\pt 7.5\pt
"back" "\backorfront" 0\pt 6\pt 0\pt 3\pt
- "-front" "\backorfront" -3\pt 5\pt 0\pt 3\pt
-% oeps, segfault
-% "heel" "\heel" 0\pt 6\pt -.5\pt 2\pt
+ "-front" "\backorfront" 0\pt 6\pt 0\pt 3\pt
"heel" "\heel" 0\pt 6\pt -1\pt 5\pt
"toe" "\toe" 0\pt 6\pt -1\pt 5\pt
"bheel" "\bheel" 0\pt 6\pt -1\pt 5\pt
*/
#include "varray.hh"
-
#include "proto.hh"
#include "dimen.hh"
#include "beam.hh"
/* *************** */
-void
-Beam::do_break_at(PCol*l, PCol*r)
-{
- assert (l->line_l_ == r->line_l_);
-}
#include "bow.hh"
#include "paper-def.hh"
+#include "molecule.hh"
#include "lookup.hh"
Bow::Bow()
(c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
*/
+#include "molecule.hh"
#include "dimen.hh"
#include "crescendo.hh"
#include "lookup.hh"
/* *************** */
- NAME_MEMBERS(Beam);
+ NAME_MEMBERS();
Beam();
void add(Stem*);
protected:
virtual Interval do_width()const;
virtual Offset center() const;
- virtual void do_break_at(PCol *, PCol *);
virtual void set_default_dir();
virtual void do_pre_processing();
virtual void do_post_processing();
void add(Note_column*);
protected:
virtual void set_default_dir();
- virtual void do_break_at( PCol*, PCol*) ;
virtual void do_post_processing();
virtual void do_substitute_dependency(Score_elem*, Score_elem*);
virtual void do_pre_processing();
SPANNER_CLONE(Slur)
- NAME_MEMBERS(Slur);
+ NAME_MEMBERS();
};
#endif // SLUR_HH
class Spanner_elem_group : public Spanner, public Element_group {
protected:
- void do_break_at(PCol*,PCol*);
virtual Interval do_width()const;
virtual void do_print() const;
SPANNER_CLONE(Spanner_elem_group)
- NAME_MEMBERS(Spanner_elem_group);
+ NAME_MEMBERS();
};
#endif // SPANNER_ELEM_GROUP_HH
%{ // -*-Fundamental-*-
#include <iostream.h>
-#define MUDELA_VERSION "0.0.57"
+#define MUDELA_VERSION "0.0.58"
#include "script-def.hh"
#include "symtable.hh"
%type <box> box
-%type <c> open_request_parens close_request_parens close_plet_parens
+%type <c> open_request_parens close_request_parens
+%type <c> open_plet_parens close_plet_parens
%type <chord> music_chord music_chord_body init_music_chord
%type <el> voice_elt full_element lyrics_elt command_elt
%type <i> int
$2->set_spot( THIS->here_input());
THIS->post_reqs.push($2);
}
- | post_requests close_plet_parens INT '/' INT {
- THIS->post_reqs.push( THIS->get_parens_request($2) );
- THIS->post_reqs.push( get_plet_request( $2, $3, $5 ) );
- }
;
post_request:
$$->set_spot( THIS->here_input());
}
;
+
pure_post_request_choice:
close_request_parens {
$$ = THIS->get_parens_request($1);
*/
steno_melodic_req:
NOTENAME_ID {
- $$ = $1->clone()->melodic();
+ $$ = $1->clone()->musical()->melodic();
$$->octave_i_ += THIS->default_octave_i_;
}
| steno_melodic_req POST_QUOTES {
;
close_plet_parens:
- ']' {
+ ']' INT '/' INT {
$$ = ']';
+ THIS->default_duration_.set_plet($2,$4);
}
;
| ']' {
$$ = ']';
}
+ | close_plet_parens {
+ }
| E_SMALLER {
$$ = '<';
}
}
;
+open_plet_parens:
+ '[' INT '/' INT {
+ $$ = '[';
+ THIS->default_duration_.set_plet($2,$4);
+ }
+ ;
+
open_request_parens:
E_EXCLAMATION {
$$ = '!';
| '[' {
$$='[';
}
+ | open_plet_parens {
+ }
;
script_body:
STRING int int int int {
- $$ = new Script_def(*$1,$2, $3,$4,$5);
+ $$ = new Script_def;
+ $$->set_from_input(*$1,$2, $3,$4,$5);
delete $1;
}
;
$$ = new Array<Melodic_req*>;
}
| pitch_list NOTENAME_ID {
- $$->push($2->clone()->melodic());
+ $$->push($2->clone()->musical()->melodic());
}
;
left_col_l_ = encompass_arr_[0]->pcol_l_;
}
-void
-Slur::do_break_at(PCol*l, PCol*r)
-{
- assert(l->line_l_ == r->line_l_);
-
- Array<Note_column*> old_encompass_arr = encompass_arr_;
- encompass_arr_.set_size(0);
- for (int i =0; i < old_encompass_arr.size(); i++) {
- if (old_encompass_arr[i]->pcol_l_->line_l_==l->line_l_)
- encompass_arr_.push(old_encompass_arr[i]);
- }
-}
void
Slur::do_substitute_dependency(Score_elem*o, Score_elem*n)
#include "p-col.hh"
#include "spanner-elem-group.hh"
-void
-Spanner_elem_group::do_break_at(PCol*c1, PCol*c2 )
-{
- Line_of_score * line_C = c1->line_l_;
- Array<Score_elem*> old_elems=elem_l_arr_;
- elem_l_arr_.set_size(0);
- for (int i=0; i < old_elems.size(); i++) {
- if (old_elems[i]->line_l() == line_C) {
- add_element(old_elems[i]);
- }
- }
-}
IMPLEMENT_STATIC_NAME(Spanner_elem_group);
(c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
*/
+#include "interval.hh"
#include "paper-def.hh"
#include "dimen.hh"
#include "staff-side.hh"
#include "staff-sym.hh"
#include "lookup.hh"
#include "paper-def.hh"
+#include "molecule.hh"
#include "debug.hh"
+/*
+ template3.cc -- instantiate Atom
+
+ source file of the GNU LilyPond music typesetter
+
+ (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+#include "symbol.hh"
#include "request.hh"
#include "input-score.hh"
#include "input-staff.hh"
Summary: A preprocessor to make TeX typeset music.
URL: http://www.stack.nl/~hanwen/lilypond
Packager: Han-Wen Nienhuys <hanwen@stack.nl>
-Icon: lelie_icon.gif
+Icon: lelie_icon.xpm
Buildroot: /tmp/lilypond_build
%description
/usr/lib/texmf/texmf/tex/lilypond/
/usr/lib/texmf/texmf/fonts/source/lilypond/
/usr/share/lilypond/
-
%post
-echo please run texhash to update TeX directory listings
+echo please run texhash to update TeX directory listings 1>&2