From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9749 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: startTEXapplication and music? Date: Thu, 07 Nov 2002 12:09:44 +0100 Sender: ntg-context-admin@ref.ntg.nl Message-ID: <5.1.0.14.1.20021107120840.0317ddc8@server-1> References: <20021107095426.16677@news.comp.lancs.ac.uk> Reply-To: ntg-context@ref.ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1036667638 31695 80.91.224.249 (7 Nov 2002 11:13:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 7 Nov 2002 11:13:58 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 189kbk-0008F5-00 for ; Thu, 07 Nov 2002 12:13:56 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 9BDA310B35; Thu, 7 Nov 2002 12:15:26 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 6608D10B2E for ; Thu, 7 Nov 2002 12:13:00 +0100 (MET) Original-Received: from server-1.pragma-ade.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id gA7CAhiS003325 for ; Thu, 7 Nov 2002 13:10:44 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-ade.nl (8.12.2/8.12.2) with ESMTP id gA7BCtgm022622 for ; Thu, 7 Nov 2002 12:12:56 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ref.vet.uu.nl In-Reply-To: <20021107095426.16677@news.comp.lancs.ac.uk> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9749 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9749 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 -------------------------------------------------------------------------