Hello Jean-Pierre!
On Thu, Jan 19, 2006 at 11:25:37AM +0100, Jean-Pierre Coulon wrote:
> 1: These dots or hyphens don't continue accross line breaks (see third
> line of my example). Is is a bug or a feature? I worked around by putting a
> simple space at bar 9 (see second line).
That's a bug. Thanks for discovering it! I shall soon publish a fixed
musixlyr.tex version. Meanwhile, you can work around it by patching
musixlyr.tex: Replace the 3 occurrences of
\expandafter\ifnum\csname [EMAIL PROTECTED]@name\endcsname=2
by:
\expandafter\ifnum\csname [EMAIL PROTECTED]@name\endcsname>1
> 2: When the same short portion of lyrics shows up several times, is there
> a method more elegant than repeating this portion in \setlyrics as I did?
You can avoid this repetition, but it's a matter of taste which solution
is the most elegant one. First, you can use musixlyr's goto feature:
8<---------------------------------------------------
\setlyrics1{\llabel{start}a-b-c}
\assignlyrics11
\startpiece
\NOtes\qa{ggg}\en\bar
\NOtes\golyr{start}\qa{ggg}\golyr{start}\qa{ggg}\en
\endpiece
8<---------------------------------------------------
Pretty much the same is achieved by putting \setlyrics itself into a
macro and calling it repeatedly:
8<-------------------------------------------
\def\renewlyr{\setlyrics1{a-b-c}}
\assignlyrics11
\startpiece
\NOtes\renewlyr\qa{ggg}\en\bar
\NOtes\renewlyr\qa{ggg}\renewlyr\qa{ggg}\en
\endpiece
8<-------------------------------------------
The drawback of both variants is that you have to "restart" the repeated
lyrics pattern explicitly within the music coding. This can be avoided
by a rather TeXy solution:
8<-------------------------------------------------------------------
\def\mylyrics{a-b-c} % the single definition of the repeated pattern
\edef\repeatlyr{\mylyrics\mylyrics\mylyrics} % the pattern repetition
% pouring the collected lyrics into \setlyrics:
\expandafter\setlyrics\expandafter1\expandafter{\repeatlyr}
\assignlyrics11
\startpiece
\NOtes\qa{ggg}\en\bar % the music code without any
\NOtes\qa{gggggg}\en % lyrics repetition commands
\endpiece
8<-------------------------------------------------------------------
Best regards,
Rainer
_______________________________________________
TeX-music mailing list
[email protected]
http://icking-music-archive.org/mailman/listinfo/tex-music