Hi Marcello,

        Your document as it stands is correct for a first pass - you need to
run musixflx with your job-name from a command line (or find out how to
configure your IDE to do it - it'll be similar to configuring it to run
tools like makeindex or bibtex).

        Having done that, you will need to ensure that you've put % signs
after any braces at the end of lines as Arjen observed or you will get lots
of \hbox errors messages in pass two. The document then compiles perfectly
as a single line of music. See the musixtex manual for more information on
musixflx.

        As an aside, you could save yourself some typing by adding:

        
\newcommand{\lowerrest}{\def\atnextbar{\znotes\nextstaff\centerpause\en}}
        
\newcommand{\upperrest}{\def\atnextbar{\znotes\centerpause\en}}

        to your preamble. You can then say \lowerrest or \upperrest in your
musixtex code instead of the \def\atnextbar each time...

\startpiece\addspace\afterruleskip
  \upperrest
  \notes\nextstaff\zchar{10}{\smalltype1}\qa{jklm}\en\bar
  \upperrest
  \Notes\nextstaff\zchar{12}{\smalltype5}\ha{nn}\en\bar
  \upperrest
  \notes\nextstaff\qa{mlkj}\en\bar
  \upperrest
  \Notes\nextstaff\zchar{10}{\smalltype2}\ha{kk}\en\bar
  \Notes\zchar{-5}{\smalltype5}\ha{JJ}\en
  \lowerrest
  \notes\qa{KLMN}\en
  \lowerrest
  \Notes\zchar{-5}{\smalltype4}\ha{MM}\en
  \lowerrest
  \NOTEs\zw J\wh N\nextstaff\zw j\wh l\en
\endpiece

        ... which is shorter and doesn't have the problems with spaces at
the end of the lines.

HTH,


David

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]
> On Behalf Of Marcello Anselmi Tamburini
> Sent: 10 July 2009 11:08
> To: [email protected]
> Subject: Re: [TeX-Music] Hi all
> 
> Hi Christof.
> 
> No, I write my code in a ide latex and compile it embedded in latex
> code. In you want, I can send you the enteire .tex file.
> 
> 
> Date: Fri, 10 Jul 2009 10:45:54 +0200
> From: "Christof Hesse" <[email protected]>
> Subject: Re: [TeX-Music] Hi all
> To: Werner Icking Music Archive
>        <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi Marcello,
> 
> did you use musixflx between two rex- Runs?
> 
> REgards Christof
> --
> m.
> skype: marcello.tamburini
> _______________________________________________
> [email protected] mailing list
> If you want to unsubscribe or look at the archives, go to
> http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-
> tex-music

_______________________________________________
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music

Reply via email to