New glyph etc

here are a couple of minor additions:

- a longa rest glyph, see pull request #36 (+ TC)
- rehearsal mark support (+ TC)
- support for articulations on chords (+ TC)

I also changed the alphabetic duration codes in `tables.js` (q, w, b, l) to numbers. This fixes one issue: When the duration of a chord is not specified in the chord element, but in one of the note children, the chord duration gets calculated by converting the durations to numbers and finding the smallest value. Obviously, this doesn't work when letters are used, too. In addition to 1 (whole note) and 2 (half note), I used the numbering scheme proposed by @zolaemil: 0.5 for the breve, 0.25 for the longa
Yes, you're right. I was thinking about that, too, but hesitated because 
there are already so many changes to VexFlow. Go ahead if you like to 
change it, otherwise I'll do it. Writing something like 
/(\d\.?\d*|[a-z])(d*)([nrhms]|$)/could work, too -- we would only have 
to change that one line then.



Am 23.06.2014 12:39, schrieb Zoltan Komives:
>
> In src/vexflow-overrides.js:
>
> >
> > -    return Hyphen;
> > -  }());
> > +/*******************************************************************/
> > +/***************************** NOTE ********************************/
> > +/* Actually, the longa and breve codes 5 and 25 should
> > +   correspond to the values specified in mei2vf's tables.js,
> > +   i.e. 0.5 and 0.25. They have to be 5 and 25, because
> > +   in VexFlow's Vex.Flow.parseNoteDurationString() (tables.js)
> > +   cuts off "0." due to a regex there. */
>
> Unless the regex is modified to |/((0\.)?\d+)|([a-z])(d*)([nrhms]|$)/|
> In this case the additional brackets would require to modify two 
> further lines:
>
> |   var dots = result[3].length;
>    var type = result[4];
> |
>
> in order to reflect the different number of results. Don't you think 
> this would be a bit nicer?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/TEI-Music-SIG/MEItoVexFlow/pull/37/files#r14069015>.
>