Re: [TeX-music] Zigzag lyrics (Was: anyone knows this a-capella march?

2005-10-26 Thread Dirk Laurie
Bodo Meissner skryf:
 
 Does anyone know this march?
 
No, but the comments at the bottom caught my eye:

 % Note:
 %
 % I changed the definition of \setlyrstrut in my copy of musixlyr.tex
 % (version MusiXLYRics 2.1c June 10, 2003)
 %
 % \def\setlyrstrut{% set up strut according to currently active font
 %   \setbox0=\hbox{(\Ag)}%
 %   \setbox\lyrstrutbox=\hbox{\vrule height 1.1\ht0 depth 1.1\dp0  
 [EMAIL PROTECTED]
 %
 % The original had \hbox{()} which does not work for pncr font.
 %
 % Without this change in musixlyr.tex you may get zigzag lyrics lines.
 % The following TeX command in a line before \setlyrstrut will help.
 %
 %  
 %%\def\setlyrstrut{\setbox0=\hbox{(\Ag)}\setbox\lyrstrutbox=\hbox{\vrule  
 height 1.1\ht0 depth 1.1\dp0 width 0pt}}
 %

This is a useful tip.  I have also experienced problems with zigzag 
lyrics in non-Knuthian fonts.

Dirk
___
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music


[TeX-music] M-TX ignores PMX MIDI macros after last bar

2005-10-26 Thread Bodo Meissner

Hello all,

I want to use PMX MIDI macros to implement repeats and D.C. al Fine for  
MIDI output.


Because the last bar has a D.C. al Fine I tried to insert the  
appropriate MIDI macro play commands after the last bar.


When the macros are a separate input block after the last bar they are  
ignored by M-Tx.


I found this problem in the piece I included in my message with subject  
anyone knows this a-capella march?


It can be reproduced with this simple example:

Title: MIDI macro test
Style: Singer
Sharps: 1
Meter: 3/4
Pages: 1
Systems: 2
Size: 16
%%\nobarnumbers

%%Iipit120
%%IMR1
|: g4 b d | d b g | c a f

%%IM
V1 g b d |

%%IMP1
%%IMR2
U: ~ ~ !ppff Fine
Vb2 g- b g :|

%%IM
Vb g b d | g- b d | g- b d |

U: \vbox{\hbox{D.C.}\hbox{al~Fine}}
d2d |]

%%IMP1
%%IMP2


These are the last lines of the generated PMX file:

%Bar 8
g4- b4 d4 | /

% Paragraph 6 line 25 bar 9
\mtxZchar{10}{\ppff{\vbox{\hbox{D.C.}\hbox{al~Fine\ d2d /

 RD
% Coded by M-Tx


When I remove the empty line before these commands they will be  
inserted before the last bar like this:


% Paragraph 6 line 25 bar 9
IMP1
IMP2
\mtxZchar{10}{\ppff{\vbox{\hbox{D.C.}\hbox{al~Fine\ d2d RD
 /

% Coded by M-Tx


This replays the recorded parts before the last bar, not after this bar.

When I manually add the MIDI commands at the end of the .pmx file or  
just before the  RD line, PMX generates MIDI output as intended.



I think, M-TX should not ignore PMX commands in %% comments after the  
last notation block.



Bodo
___
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music