Hi ConTeXters,
Here's another oddball question to see what's possible.
I'm trying to get musictex (or musixtex, if the first one is a success)
to work from within ConTeXt. Musictex code like that at the bottom of my
message doesn't work directly in ConTeXt, and I don't feel the pressing
need to make it work. However, it works fine when fed through pdftex.
While doing a quick grep through the source files, I came across the
\startTEXapplication and \startTEXpage macros used in the pstricks
module, and they look like they handle the spirit of what I'm trying to
accomplish. However, the pass through texexec again (and to some extent
the dependency on ps2pdf, which I need to get from ghostscript and isn't
in my TeXLive) means that ConTeXt fails on a tmp file, right?
Would this be a good time to learn about buffers? Should I copy-paste the
definitions involved with TEXapplication and modify them to something to
my needs? Is there something that exists already that runs a simple
pdftex on a code block and inserts it as a figure?
thanks,
adam
musictex code follows:
\input musicnft
\input musictex
\def\nbinstruments{1}\relax % a single instrument
\generalmeter{\meterfrac{4}{4}}\relax % 4/4 meter chosen
\debutextrait % starting real score
\normal % normal 12 pt note spacing
\temps\Notes\ibu0f0\qh0{cge}\tbu0\qh0g\enotes
\finextrait % terminate excerpt
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Adam Lindsay +44(0)1524 594 537
[EMAIL PROTECTED]
http://www.comp.lancs.ac.uk/computing/users/atl/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://ref.ntg.nl/mailman/listinfo/ntg-context