Hello Eva,
all MusiXTeX actions concerning the .mx1 and .mx2 files are always
global; you can't thus prepare the ossia box -- which is a complete
"musixflex section" of its own -- in mid of the outer-level piece. But
this is not necessary anyway; you can fill the \ossiaI box right before
starting the actual piece:
8<-------------------------------------------------------------
\input musixtex
\startmuflex
%
% begin ossia code
%
\newbox\ossiaI
\def\extractline{\setbox\ossiaI\hbox}%
\setsize1\tinyvalue
\startextract
\NOtes\qu{efgh}\en
\endextract
%
\startpiece
\NOtes\qu{cdef}\en\bar
\NOtes\zcharnote{x}{%
\loffset 3{~\unhcopy\ossiaI}}\qu{ghij}\en\bar
\NOtes\qu{klmn}\en\bar
\NOtes\qu{opqr}\en
\Endpiece
\endmuflex\bye
8<-------------------------------------------------------------
This time, \bar works again as usual.
Best regards,
Rainer
On Tue, Jan 28, 2003 at 03:20:36PM +0100, [EMAIL PROTECTED] wrote:
> Having received Rainer Dunker's post and followed up his link to the
> list archives, I'm starting to think that this ossia caper is a lot
> more trouble than it's worth!
>
> My best bet (read: about the only thing in this whole arcane mess that
> I have even half a hope of pulling off) is probably going to be the
> TeX box solution. Below is my first try:
> [...]
> Problems with this:
>
> 1. \bar no longer works after the box is posted! (The alternative
> \barre evidently does.)
>
> 2. Setting the ossia fragment to a different staff size results in a
> complete mess that I haven't, so far, been able to flail my way out
> of.
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music