On Sun, 31 Mar 2002 01:14:27 +0200, Alexandros Droseltis
<[EMAIL PROTECTED]> wrote:

>I tried the same inserting the line
>\startextract\endextract
>before the text (and after the line "\input musixtex") and it worked, but
>this produced a small system (with a clef) before the text. How could I get
>rid of the system?

Hi Alexandros,

Sorry; I didn't actually know that my suggestion wouldn't work if the
document doesn't have at least one instance of \startpiece...\endpiece
vel sim. before the inline music stuff occurs. I've only ever needed
to do this in one file, and that file happens to be full of such
sections.

Anyway, here's a fix that works for me. Put this before the first
instance of inline music symbols (or right after \input musixtex to be
on the safe side):

\newbox\dummybox

\def\extractline{\setbox\dummybox\hbox}
\startextract\zendextract

There is evidently no law that says that, once you've defined the
contents of your dummybox, you've got to do a corresponding
~\unhcopy\dummybox anywhere to make its contents visible. So this
turns out to be a neat way to give TeX what it evidently wants, a
superfluous music system, while preventing the same from actually
showing up in the document.

I love it when a plan comes together. :)

Happy Easter!

Eva


--
"Bach ist der Vater, wir sind die Buben. Wer von uns 
was Rechtes kann, hat's von ihm gelernt." 
            -- W. A. Mozart
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music

Reply via email to