Re: [Tex-music] scor2prt and irregular time signatures

2021-01-29 Thread Bob Tennent
>|> In the case of scor2prt, an unusual and apparently >|> obsolete format is being accepted by gfortran but has >|> confused the most recent version of f2c. This has now >|> been fixed and a corrected version of the pmx package >|> has been uploaded to WIMA and CTAN. It will no doubt be >|>

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-29 Thread dsimons
Hi, Bob-- Thanks again for your attention to this bothersome matter. You wrote > In the case of scor2prt, an unusual and apparently obsolete format is being > accepted by gfortran but has confused the most recent version of f2c. This > has now been fixed and a corrected version of the pmx

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-29 Thread Bob Tennent
Thanks Christian. gfortran is indeed an alternative but perhaps you need to be reminded why translation to C is important: TeXLive won't accept Fortran (or Pascal or Oberon) sources. So the reason PMX and M-Tx are distributed in TeXLive and available without compilation for all their supported

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-29 Thread Christian Mondrup
Den 28.01.2021 kl. 22.45 skrev Bob Tennent: >|When I need to compile a new PMX release I've been using gfortran for a >|while since f2c caused trouble. Hi Christian. I use the following Makefile: all: pmxab.c scor2prt.c pmxab.c: pmx294.for f2c -g -\!bs < pmx294.for > pmxab.c

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-28 Thread Bob Tennent
>|When I need to compile a new PMX release I've been using gfortran for a >|while since f2c caused trouble. Hi Christian. I use the following Makefile: all: pmxab.c scor2prt.c pmxab.c: pmx294.for f2c -g -\!bs < pmx294.for > pmxab.c scor2prt.c: scor2prt.for f2c -g -\!bs <

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-28 Thread Bob Tennent
>|I suppose you could try replacing that statement with the more >|conventional >|form: >| >| write(*,'(a33,i3,a26)')'33H Any whole-bar rests of duration',lenbar, >| * '/64 will not be recognized' This works if I use a sinle line: write(*,'(a33,i3,a26)')'33H Any whole-bar

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-28 Thread dsimons
Bob Tennent wrote >...Here are the lines in your source that it can't deal with: > >write(*,'(33H Any whole-bar rests of duration ,i3, > *26H/64 will not be recognized)') lenbar > >Anything "non-standard" there? This is not a format I use regularly at all, so I had to look

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-28 Thread Christian Mondrup
Den 28.01.2021 kl. 21.06 skrev Bob Tennent: I recall some interactions a while back where I needed to make some changes in the PMX FORTRAN to make it more compatible with something, but I'd have to do some real digging to find the details. I also don't recall whether I made those same kinds of

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-28 Thread Kalvin Lee
Hi Bob, It works! All the parts come out neatly; thank you for the fix. Cheers — Kalvin On 1/28/21 11:48 AM, Bob Tennent wrote: Kalvin: It seems the version of f2c used for pmx-2.94 inserted a spurious \r in line 3043 of scor2prt.c. After deleting this and re-building a tarball, it seems to

[Tex-music] scor2prt and irregular time signatures

2021-01-28 Thread Bob Tennent
> I recall some interactions a while back where I needed > to make some changes in the PMX FORTRAN to make it more > compatible with something, but I'd have to do some real > digging to find the details. I also don't recall whether > I made those same kinds of changes in scor2prt. I'm > pretty

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-28 Thread dsimons
Archive ; Don Simons Subject: Re: [Tex-music] scor2prt and irregular time signatures Kalvin: It seems the version of f2c used for pmx-2.94 inserted a spurious \r in line 3043 of scor2prt.c. After deleting this and re-building a tarball, it seems to work on your examples. I've uploaded

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-28 Thread Bob Tennent
Kalvin: It seems the version of f2c used for pmx-2.94 inserted a spurious \r in line 3043 of scor2prt.c. After deleting this and re-building a tarball, it seems to work on your examples. I've uploaded an archive to WIMA as pmx-2.94a.zip:

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-28 Thread Kalvin Lee
Bob, for what it's worth, I got a backtrace with /some/ locals visible, just in case it helps (see the attachment). Thanks! Kalvin On 1/28/21 10:56 AM, Bob Tennent wrote: Hi Kalvin.  That changes the diagnosis.  I had assumed from a message Don sent me that the problem was in the Windows

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-28 Thread Bob Tennent
Hi Kalvin. That changes the diagnosis. I had assumed from a message Don sent me that the problem was in the Windows executables in the archive. But after further testing I see that scor2prt in TeXLive is similarly broken, at least on Linux, though surprisingly scor2prt in MiKTeX seems to be OK.

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-28 Thread Kalvin Lee
Hi Bob, I tried building scor2prt from WIMA's copy of pmx-2.94.zip (unzip, cd down, extract Linux tarball, ./configure, make scor2prt), but unfortunately it seems to have the same problem as the distribution package: [j39m@flaglock6 ~/Downloads/tmp] $ ~/.local/bin/scor2prt-2.94 ./klaus.pmx  

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-28 Thread Bob Tennent
>|Thanks for stepping in. I've attached two samples that >|currently cause scor2prt to crash for me. (pmxab by >|itself is happy to create the combined score.) Kalvin: Thanks for the report. The problem seems to be in the executables I created using cross-compiling with mingw on Linux, which

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-27 Thread Kalvin Lee
Hi Don, Thanks for stepping in. I've attached two samples that currently cause scor2prt to crash for me. (pmxab by itself is happy to create the combined score.) FWIW the manpage identifies my copy as version 2.7.3, dated 2 Feb 2016. Thanks — Kalvin Kalvin-- I’d be happy to look into

Re: [Tex-music] scor2prt and irregular time signatures

2021-01-26 Thread dsimons
Of Kalvin Lee Sent: Tuesday, January 26, 2021 12:18 AM To: tex-music@tug.org Subject: [Tex-music] scor2prt and irregular time signatures Hi all, I'm using( what I think is) a fairly up-to-date TeX distribution that includes pmxab and scor2prt. I think I observe a pattern where scor2prt crashes

[Tex-music] scor2prt and irregular time signatures

2021-01-26 Thread Kalvin Lee
Hi all, I'm using( what I /think/ is) a fairly up-to-date TeX distribution that includes pmxab and scor2prt. I think I observe a pattern where scor2prt crashes on the second part when it reads "irregular" time signatures. Take an existing score I completed some months ago. I previously