ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: startTEXapplication and music?
Date: Thu, 07 Nov 2002 12:09:44 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20021107120840.0317ddc8@server-1> (raw)
In-Reply-To: <20021107095426.16677@news.comp.lancs.ac.uk>

At 09:54 AM 11/7/2002 +0000, you wrote:
>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

I'll send you a test file. The problem is: how to set up musictex to 
provide a nicely cropped box. I have no time to look into that now, so 
that's up to you to find out

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

  reply	other threads:[~2002-11-07 11:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-07  9:54 Adam Lindsay
2002-11-07 11:09 ` Hans Hagen [this message]
2002-11-07 19:06 ` Willi Egger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20021107120840.0317ddc8@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ref.ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).