RE: [TeX-music] Text in two columns in TeX

2003-09-08 Thread Arjen Bax
Jean-Pierre Coulon wrote:

 I wish to append some comments in two languages, two columns, at
 the end of a MusiXTeX document.

 I know how to do this in LaTeX (see the attached example), but
 AFAIK, you have to speak TeX instead of LaTeX to add significant
 text to a MusiXTeX file.

 Does anybody know how to translate the attached LaTeX file into
 TeX ?

André Van Ryckeghem already provided the code to attach text to the
PMX-generated musixtex-code; perhaps this will help to create the
two-column look:

In essence, the \parbox[t] in LaTeX boils down to a \vtop TeX
primitive. This is the same as a \vbox, except that its baseline
lines up with the topmost line in the box instead of the bottom
line.

\vtop{\strut\hsize=6cm Since Coulonnus was an expert in ancient
music he would have played bars 120 and ff like this and
blablabla:\strut\par}
\hfill
\vtop{\strut\hsize=6cm Comme Coulonnus \'etait un expert en
musique ancienne il aurait jou\'e les mesures 120 et suivantes
comme ceci et blablabla et en Francais le texte est plus long et
blablabla:\strut\par}
\par

You might also consider going the other way round and include the
PMX-generated code in a LaTeX document. You have post-process the
PMX-output though, like stripping the \bye command and some other
contructs. I don't have the script I use for that purpose at hand
now, but I can look it up at home if you're interested.

HTH,
Arjen Bax
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music


RE: [TeX-music] M-Tx on Windows: starting up problems

2003-03-06 Thread Arjen Bax
Aloha,

Dirk wrote:

 The most common cause of this error on a Unix system is that 
 a file called mozart.mtx exists but is empty.

Another cause may be that the input file for MTX contains LF (unix) line
endings where MTX expects CRLF (DOS) line endings. (I don't know this for
sure and can't test it: my system is the other way round. If the MTX input
file contains CRLF line endings where the program expects only LF, then you
get an error message like:

You have not defined Meter, assuming C : WARNING on line 240
Unknown line label: ERROR on line 1
)

HTH,
Arjen Bax

-- 
Arjen Bax, consultant | LogicaCMG | Eemsgolaan 1 | 9727 DW Groningen |
Postbus 70237 | 9704 AE Groningen | The Netherlands | ICQ # 171090809 |
T: +31-50-5219500 | F: +31-50-5219501 | W: http://www.logicacmg.com
Violence is the last refuge of the incompetent. -- Isaac Asimov
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music


RE: [TeX-music] OT: Acrobat Bug

2003-02-12 Thread Arjen Bax
Takanori Uchiyama [mailto:[EMAIL PROTECTED]] wrote on Thursday,
February 13, 2003 3:06 AM (is this local time or UT?):

 Please try it and let me know the results.

I tried and the horizontal slurs display OK in Acrobat Reader 5.0.5,
whereas with the previous xslz20.pdf they did not display.

I tried the following routes from tex to pdf and all failed (and with
Takanori Uchiyama's new font succeeded) in the same way:

tex - latex - dvi - dvipdfm - pdf
tex - pdflatex - pdf
tex - latex - dvi - dvips - ps - ps2pdf(gs) - pdf

 If it works well, can I replace the current font in
 musixps-unix.tar.gz with the font generated as David's suggestion?

Yes, please do.

Greetz,

Arjen

-- 
Arjen Bax, consultant | LogicaCMG | Eemsgolaan 1 | 9727 DW Groningen |
Postbus 70237 | 9704 AE Groningen | The Netherlands | ICQ # 171090809 |
T: +31-50-5219500 | F: +31-50-5219501 | W: http://www.logicacmg.com
Violence is the last refuge of the incompetent. -- Isaac Asimov
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



RE: [TeX-music] PMX/MusixTeX with pdftex

2003-01-20 Thread Arjen Bax
Michael Brinkmann [mailto:[EMAIL PROTECTED]] wrote Saturday,
January 18, 2003 11:44 AM:

 However, if I use pdftex together with pmx instead of plain tex, the
 slur in the first line of code is not displayed in the PDF-viewer. 

Not only in pdftex, but also with dvipdfm the slur does not show up in
Acrobat 5.x.

 May this be a bug in the ps-fonts of musixtex?

No, it is a bug in Acrobat Reader 5.x: it does not display slurs that
are horizontal, i.e., that start and end on the same note height. I
suspect that this is caused by an optimization in Acrobat Reader:
characters with height 0 don't display. The slurs show up correctly
when viewed with Ghostscript and in Acrobat Reader 4.x, which can be
obtained from the Icking Archive, as indicated on the Introduction
page.

HTH,
Arjen


-- 
Arjen Bax | LogicaCMG B.V. NNL | Postbus 70237 | 9704 AE Groningen |
Eemsgolaan 1 | 9727 DW Groningen | The Netherlands | ICQ # 171090809 |
TEL +31-50-5219500 | FAX +31-50-5219501 | WEB http://www.logicacmg.com
Violence is the last refuge of the incompetent. -- Isaac Asimov
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



RE: [TeX-music] Printer problem: will do either ties or dynamics, but not both...

2003-01-17 Thread Arjen Bax
Aloha Evita,

You wrote:

 2. Has anyone found a solution to the slur/tie problem in Acrobat
 Reader 5 (and, on my system, 4.05 as well)? Do Stanislav's postscript
 slurs (which I haven't so far been using) work around the problem?

I'm using Hiroaki MORIMOTO's musixpss.tex (with Metapost slurs) with
dvipdfm and they work fine (correct display  print in Acrobat Reader
5.x).

When using dvipdfm or dvips as dvi renderer, you may issue
\psslursimplepositioningtrue to avoid the third tex pass. I didn't try
musixpss with pdftex yet.

HTH,
Arjen

-- 
Arjen Bax | LogicaCMG B.V. NNL | Postbus 70237 | 9704 AE Groningen |
Eemsgolaan 1 | 9727 DW Groningen | The Netherlands | ICQ # 171090809 |
TEL +31-50-5219500 | FAX +31-50-5219501 | WEB http://www.logicacmg.com
Violence is the last refuge of the incompetent. -- Isaac Asimov
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



RE: [TeX-music] I want your tests

2003-01-08 Thread Arjen Bax
Danaiel Taupin wrote:

 I'm really reluctant, once more, because of the problem of register
 consumption.  This make musixadd and musixmadd not compatible with
 other register consuming packages, especially in LaTeX.

I agree with Daniel. I have encountered some problems with MusiXTeX
(T109) in combination with LaTeX due to the limit of 255 dimen
registers. Vanilla LaTeX still works, but as soon as one adds some
popular packages (graphicx, fancyhdr) the ceiling is hit. :-(

Greetz,
Arjen

-- 
Arjen Bax | LogicaCMG B.V. NNL | Postbus 70237 | 9704 AE Groningen |
Eemsgolaan 1 | 9727 DW Groningen | The Netherlands | ICQ # 171090809 |
TEL +31-50-5219500 | FAX +31-50-5219501 | WEB http://www.logicacmg.com
Violence is the last refuge of the incompetent. -- Isaac Asimov
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



RE: [TeX-music] Bar number control in PMX

2002-12-11 Thread Arjen Bax
Aloha,

Alexandros Droseltis [mailto:[EMAIL PROTECTED]] writes on
Tuesday, December 10, 2002 5:14 PM:

 Is it possible not to have the bar number at the beginning of each
 system in PMX? I have inserted my own \\def\freqbarno{5}\ in a PMX
 file, but the system-bars keep on appearing.

pmx.tex issues a \systemnumbers declaration, which must be revoked
(countermanded?) by a \barnumbers or \nobarnumbers command. Furthermore
it may be necessary to redefine \writebarno, which is extensively
modified in pmx.tex (with respect to the definition in musixtex.tex).

While the topic arises: Hello Don Simons! Are you standing by please? Is
it possible to split the \writebarno macro in pmx.tex in parts: one part
that does the actual writing of the bar number (the \boxit{ ... } stuff)
and another part that does the baseline computation stuff? Then it will
be easier to adapt the number writing part without having to duplicate
the other part.

Furthermore I observed that there are some hard-coded font selection
commands in pmx.tex (like \tenrm and \eightit), which make it
non-trivial to change to different (PS) fonts. Maybe it's possible to
replace these by style-switching commands (\normtype\rm, \smalltype\it)?

HTH,
Arjen Bax

-- 
Arjen Bax | CMG Noord-Nederland B.V. | Postbus 70237 | 9704 AE Groningen
| Eemsgolaan 1 | 9727 DW Groningen | The Netherlands | ICQ # 171090809 |
TEL +31-50-5219500 | FAX +31-50-5219501 | WEB http://www.cmg.nl
Violence is the last refuge of the incompetent. -- Isaac Asimov
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



RE: [TeX-music] Litetrature on music engraving

2002-12-11 Thread Arjen Bax
Aloha,

David Bobroff [mailto:[EMAIL PROTECTED]] wrote Wednesday, December 11,
2002 1:32 PM:

 The following entry is from the Lilypond website.  
...
 Especially the section on Music Typewriters is amusing HWN.

I wondered what was meant with HWN, until I realized that it stands for
Han-Wen Nienhuys, one of the authors of Lilypond.

Greetz,
Arjen

-- 
Arjen Bax | CMG Noord-Nederland B.V. | Postbus 70237 | 9704 AE Groningen
| Eemsgolaan 1 | 9727 DW Groningen | The Netherlands | ICQ # 171090809 |
TEL +31-50-5219500 | FAX +31-50-5219501 | WEB http://www.cmg.nl
Violence is the last refuge of the incompetent. -- Isaac Asimov
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



RE: [TeX-music] Automated bar cutting

2002-12-06 Thread Arjen Bax
Aloha,

Matthieu Quignard [mailto:[EMAIL PROTECTED]] writes:
 I would like to typeset two instrument parts without 
 beat-alignment and with very long bar.

Just an idea; I don't know if this works:

Insert bar rules at feasible breakpoints, but use \hidebarrule to
prohibit displaying. Then use \Showbarrule for those bar rules that
are real and that should appear in the score.

HTH,
Arjen Bax

-- 
Arjen Bax | CMG Noord-Nederland B.V. | Postbus 70237 | 9704 AE Groningen
| Eemsgolaan 1 | 9727 DW Groningen | The Netherlands | ICQ # 171090809 |
TEL +31-50-5219500 | FAX +31-50-5219501 | WEB http://www.cmg.nl
Violence is the last refuge of the incompetent. -- Isaac Asimov
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



RE: [TeX-music] pmx: big and small accidentals

2002-11-26 Thread Arjen Bax
Aloha,

Don Simons [mailto:[EMAIL PROTECTED]] wrote:

 It has occurred to me from time to time that a default-override file
 might be useful. There are a few drawbacks, though. Now, the output
 from a given pmx file depends *only* on the binary, and that's a very
 good thing. Among other advantages, that makes problem-solving via the
 list a whole lot easier. Anyone with the same binary will get the same
 tex file.

Putting in my EUR 0.02:

This is a very true remark and I heartily agree with it (both with the
pro and the con). In my carreer as a professional programmer I've learnt
that there are two important things in a growing software program:
tracing  logging and configurability.

When a software system grows, users (and testers) want different methods
to configure it: e.g., by command line options, user  system
configuration files, environment variables. Usually I support all of
these, with different levels of preference, sometimes one method
overriding the other, other times one augmenting the other. Btw, one of
the difficulties is always the bootstrap: how do I configure the
configuration (chicken/egg-problem)?

But when the number of configurable options grows, so grows the need for
a concise tracing  logging subsystem, so that at each point of the
execution the user (or customer support, or the programmer) exactly
knows which configuration options are in effect and where these have
been set.

Summarizing: Don, if you ever will give a second thought to expanding
the configurability of pmx, maybe you can also consider the traceability
of it. But don't feel yourself pushed: I've no complaints about pmx; on
the contrary!

Greetz,
Arjen

-- 
Arjen Bax | CMG Noord-Nederland B.V. | Postbus 70237 | 9704 AE Groningen
| Eemsgolaan 1 | 9727 DW Groningen | The Netherlands | ICQ # 171090809 |
TEL +31-50-5219500 | FAX +31-50-5219501 | WEB http://www.cmg.nl
Violence is the last refuge of the incompetent. -- Isaac Asimov

___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music




RE: [TeX-music] BWV 474

2002-09-12 Thread Arjen Bax

Rita (Portus Info [mailto:[EMAIL PROTECTED]]) wrote on Wednesday,
September 11, 2002 5:38 PM:

 I am looking for a MIDI or MP3 File from the BWV474: Jesus ist mein
 schoenstes Licht. Does anybody have this?

Have a look at this page:

http://www.angel.ne.jp/~kcn/?.midi1a
http://www.angel.ne.jp/~kcn/midi.cgi/b0474.mid

Found with Google (http://www.google.com/search?q=BWV474+midi), it was
the first hit.

HTH,
Arjen

-- 
Arjen Bax | CMG Noord-Nederland B.V. | Sector Telecommunications 
Utilities | Postbus 70237 | 9704 AE  Groningen | The Netherlands | TEL
+31-50-5219500 | FAX +31-50-5219504 | WEB http://www.cmg.nl
Adding manpower to a late software project makes it later.
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



RE: [TeX-music] Update: MS-DOS woes

2002-04-23 Thread Arjen Bax

Mike Chapman [mailto:[EMAIL PROTECTED]] wrote
Monday, April 22, 2002 11:21 AM:

 Regarding my pathetic position: I tried one last thing, and it works.
 Namely, copying the executables and batch file to my working directory
 and executing the batch file does produce the desired results, so at
 least I know that the programs are working.

Seems that your PATH is not set correctly: the BAT file will be found,
because you enetered its full path specification during the creation of
the shortcut, but the programs that are started from the BAT-file
(prepmx, pmx, etc) will not be found.

To set your PATH variable in Win2000, go to the Control Panel, select
System. A window System Properties pops up. Select tab Advanced. Push
button Environment Variables. A window enabling you to modify your own
(User) variables and the System variables pops up. Depending on your
access rights (set by the W2k system administrator) you may not be able
to change system environment variables. Insert the full directory name
of the executable's directory in either the User PATH or the System
PATH. Use a semicolon (;) to separate entries. These PATHs will be
merged together whenever a new program (e.g., CMD.EXE) is started. Also,
the effect is immediate, so no need anymore to restart your PC.

Hope this helps,
Arjen.

-- 
Arjen Bax | CMG Noord-Nederland B.V. | Sector Telecommunications 
Utilities | Postbus 70237 | 9704 AE  Groningen | The Netherlands | TEL
+31-50-5219500 | FAX +31-50-5219504 | WEB http://www.cmg.nl
To define recursion, we must first define recursion
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



RE: [TeX-music] teTeX and Type 1 fonts

2002-04-16 Thread Arjen Bax

Aloha,

Stefan Svensson [mailto:[EMAIL PROTECTED]] wrote Tuesday, April 16,
2002 11:49 AM:

 Half way done, half way to go. Any ideas on how to make teTeX also use
 the type 1 TeX fonts?

As a matter of fact I had to do this myself this weekend after a
harddisk crash (for MikTeX, but I suppose it's not MikTeX but dvips
specific).

Of course, you need the cm fonts in pfb format.

Then, search for dvips's configuration file, config.ps. In this file,
search for the following block:

% To use the CM Type1 fonts. Or use -Pcmz and -Pamz
% p +bsr.map
% real bakoma instead of interpolated bsr
% p +bakomaextra.map
% this one *or* the previous one. Not both!
% p +bsr-interpolated.map

I uncommented the second line:

p +bsr.map

et voilá! It worked. Perhaps you need to regenerate the TeX filename
database.

-- 
Arjen Bax | CMG Noord-Nederland B.V. | Sector  Telecommunications 
Utilities | Postbus 70237 | 9704 AE  Groningen | The Netherlands | TEL
+31-50-5219500 | FAX +31-50-5219504 | WEB http://www.cmg.nl
I can handle any crisis: I have children
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



RE: [TeX-music] missing slurs in Acrobat 5.0

2002-01-08 Thread Arjen Bax

 ... not to mention find a copy of Acrobat 4 to install. Where does one
 go to find outdated versions of software, if one doesn't have an old
 copy on disk somewhere? Which I, for one, don't -- IIRC, I went
 straight from version three-something to the current one with its
 intermittent symptoms of brain damage.

http://download.adobe.com/pub/adobe/acrobatreader/win/4.x/ar405eng.exe

HTH,
-- 
Arjen Bax | CMG Noord-Nederland B.V. | Sector Telecommunications  Utilities
Postbus 70237 | 9704 AE  Groningen | The Netherlands
 TEL +31-50-5219500 | FAX +31-50-5219504 | WEB http://www.cmg.nl
 There are three types of people: those who can count, and those who cannot.
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



RE: [TeX-music] Slurs missing in Acrobat Reader

2001-11-13 Thread Arjen Bax

Christian Mondrup [mailto:[EMAIL PROTECTED]] wrote:

 I'm inclined to recommend a downgrade to version 4 for those
 wanting to view MusiXTeX scores with it.

That's exactly what I'm going to do.

Thanks for the feedback, AcroRead v5 seems too buggy for reliable use. I'll
wait for the next upgrade version...

Greetz,
Arjen.

-- 
Arjen Bax | CMG Noord-Nederland B.V. | Sector Telecommunications  Utilities
Postbus 70237 | 9704 AE  Groningen | The Netherlands
 TEL +31-50-5219500 | FAX +31-50-5219504 | WEB http://www.cmg.nl
 There are three types of people: those who can count, and those who cannot.
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



RE: [TeX-music] adding musixtex, pmx, m-tx to MiKTeX

2001-08-27 Thread Arjen Bax

Aloha Maurizio,

 since at the moment I am stuck with windows, I installed MiKTeX. But I am
not
 really sure how to add the necessary files for MusixTeX (on Unix and Linux
I
 always did it by hand, it kinda work).  Any quick tutorial? I skimmed
through
 the Music Archives without luck, but it could have been just me.

When installing MiKTeX, one has to define a tex-directory (c:\texmf) and a
localtex-directory (c:\localtexmf). The former is reserved for miktex itself
(may be overwritten by later updates), the latter is for your own installed
stuff (like musixtex). I installed the musixtex tex-files (*.sty, *.tex) in
C:\localtexmf\tex\generic\musixtex, the metafont stuff (*.mf) in
C:\localtexmf\fonts\source\musixtex and the tfm files in
C:\localtexmf\fonts\tfm\musixtex.

(For configuration details and file search rules: see file
C:\texmf\miktex\config\miktex.ini. Be reluctant in change this file.)

After that, one has to refresh the filename database (MiKTeX options -
General
- Refresh now).

HTH,
Arjen.

-- 
Arjen Bax | CMG Noord-Nederland B.V. | Sector Telecommunications  Utilities
Postbus 70237 | 9704 AE  Groningen | The Netherlands
 TEL +31-50-5219500 | FAX +31-50-5219504 | WEB http://www.cmg.nl
  There are three type of people: those who can count, and those who cannot.
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music



RE: [TeX-music] Png icons

2001-06-06 Thread Arjen Bax

Aloha Christian,

The GIF/PNG-story continues... Regarding your experiments:

 I've done some experiments with converting our icons (found at
 previews, sound files etc) from gif format to png by means of the
 ImageMagick 'convert' tool. To see the results of that you may
 have a look at my web archive of recorder music scores found in a
 section of The Recorder Player's Page
 http://www.saers.com/recorder/mondrup/. 

 For this page I have been reusing the icons of the Icking archive
 converted (allmost all of them) to png format. You'll notice (at
 least with Netscape browsing) that the background colour of the
 sound file icon found near the top of the page is not transparent
 to the background color of the web page as is the case with the
 original gif image used in our archive.

I viewed your page at www.saers.com with Internet Exploder 5.0 and
noticed that the transparency of sound.png is OK. So, I fear that it is
Netscape that does not (yet?) support transparency in PNG-files.
Consulting the PNG website http://www.libmng.com/pub/png/pngapbr.html
revealed the following w.r.t. Netscape vs PNG:

snip
Netscape Navigator [Netscape Communications] (Unix/X, Windows 9x/NT,
Mac OS, OS/2) - version 4.04 and later; progressive display
(replicating method); full alpha and gamma support as of version
6.0PR2 (see Mozilla above) but no transparency or gamma support
whatsoever in version 4.x;
/snip

My guess is, that you use Netscape 4.x or older...

 What I would like from you is some technical advice on gif-png
 conversion of our icons.  Besides I would also appreciate some
 references to collections of png icons.  The results of my own web
 search for such collections were poor:-(

Personally, I use giftoppm --alpha and pnmtopng -alpha in a 2-step
process. (Cannot do it in a pipe, because the latter tries to read the
alpha channel file before the former has fully written it.). I suppose
that ImageMagick's convert does the same.

For a nice collection of (useful?) PNG images, have a look at
http://www.pngart.com/IMAGES.HTM.

HTH,
Arjen

-- 
Arjen Bax | CMG Noord-Nederland B.V. | Sector Telecommunications  Utilities
Postbus 70237 | 9704 AE  Groningen | The Netherlands
 TEL +31-50-5219500 | FAX +31-50-5219504 | WEB http://www.cmg.nl
  Java? I've heard of it. It is what I drink while hacking Perl.
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music