Thank you Don! I agree with you about this solution. But, on the other hand, I have just a couple of scores in which a changed filename of the parts was needed for an automatic compilation (with Makefile) of the score and parts. So isn't definitely not crucial the presence of backward incompatibility for me in this case.
Luigi On Wed, 27 Mar 2013 19:46:28 -0700 Don Simons <[email protected]> wrote: > Well (blush) I do have that version, and it seems to work, but it still > doesn't do what I was expecting. > > Lately I had in my mind that "AN" was supposed to do something different > than what 2.511 did. I thought is should change the instrument name that is > printed in the part from what is specified in the setup in the score file. > Versions 2.5 and 2.6 of the manual say "The option N to the A command allows > you to specify arbitrary names for the instrument of any or all part files > generated by scor2prt." That's kind of ambiguous. (It would be less so if > you replace "of" with "in", but then it would simply be wrong). When I ran > s2p2511, what it did do was to change the names of the part files to (value > given in "AN").pmx, but then inside that file for the part, the name under > "Ti" was the one from the setup area of the main file. I assume that's what > you got. > > I'm leaning toward simply fixing 2.70 to do what 2.511 was doing, and > clarifying the wording in the manual. That's despite the fact that I think > it's kind of risky to change part file names this way due to the obvious > danger of over-writing existing part files from another score that may have > changed part file names the same way. And PMX does not check if you are > over-writing existing files, it just plows ahead. Plus, I have a hard time > understanding why anyone would want to change the part file names, while > there are sometimes good reason to change the printed part name in a part > file from that in the score. > > But as I said, and to avoid introducing yet another backward > incompatibility, I'm leaning toward reverting the behavior of "AN" to > 2.511's, at least unless I hear strong and convincing objections. > > Besides, using other PMX devices, it is already possible to get different > part names printed in parts than those in the setup data in the score. I > actually did it in one of my published volumes (Cornelius, you might want to > add this to the tips and tricks): > > ============================== > 4 4 1 4 0 5 0 3 > 19 80 20 0.08 > Basso > \vbox{\llap{Basso}\llap{di Viola}} > %% > \vbox{\llap{Second}\llap{Treble}} > %3Second Treble > %% > Violin > %4Violin or Flute > bbtt > .\ > ... > ============================== > > --Don > > > > >-----Original Message----- > >From: TeX-Music [mailto:[email protected]] On Behalf Of Luigi > Cataldi > >Sent: Wednesday, March 27, 2013 11:01 AM > >To: [email protected] > >Subject: Re: [Tex-music] AN command in 2.615 scor2prt > > > >Version 2511 that you can find in the archive in this place > > > >http://icking-music-archive.org/software/pmx/s2p2511.zip > > > >works well both under linux debian and, if I remember well, windows. > > > >Luigi > > > > > >On Wed, 27 Mar 2013 08:07:53 -0700 > >Don Simons <[email protected]> wrote: > > > >> Great catch, Luigi, almost Werner-like! > >> > >> This one is quite a mystery. I've tried every version of scor2prt back to > >> 2.0 (1999) and "AN" doesn't work in any of them. When I look at the code, > I > >> can see where the info from "AN" is input and where the part names are > >> output, but I can't find any connection between the two. If anyone can > find > >> an old version where "AN" does work, that would be helpful, especially if > >> you also had the source code. Otherwise I'll just have to reinvent some > >> coding, and I'm afraid I don't see an easy fix, basically since the "AN" > >> arguments are input AFTER the header info with the original part names is > >> initially output (to a set of scratch files). > >> > >> --Don > >> > >> >-----Original Message----- > >> >From: TeX-Music [mailto:[email protected]] On Behalf Of Luigi > >> Cataldi > >> >Sent: Tuesday, March 26, 2013 8:11 AM > >> >To: [email protected] > >> >Subject: [Tex-music] AN command in 2.615 scor2prt > >> > > >> >Dear all and especially Don, > >> > > >> >it seems that the last scor2prt version (2.615) doesn't recognize "AN" > >> command. I've > >> >found that for instance I can't produce the right part's filename from > the > >> following > >> >source. > >> > > >> >Luigi > >> > > >> > > >> >4 4 4 4 0 6 0 0 > >> >1 2 20 .07 > >> >Vc > >> >Va > >> >Vl II > >> >Vl I > >> >batt > >> >./ > >> >% > >> >Ab > >> >AN4"vl1" > >> >AN3"vl2" > >> >AN2"vla" > >> >AN1"vc" > >> >% > >> >c0- | d | e | f | g | a | b | c / > >> >c2- c | d d | e e | f f | g g | a a | b b | c c / > >> >c4 c c c | d d d d | e e e e | f f f f | g g g g | a a a a | b b b b | c > c > >> c c / > >> >c4 c c c | d d d d | e e e e | f f f f | g g g g | a a a a | b b b b | c > c > >> c c / > >> > > >> > > >> >-- > >> >Luigi Cataldi <[email protected]> > >> >------------------------------- > >> >[email protected] mailing list > >> >If you want to unsubscribe or look at the archives, go to > >> >http://tug.org/mailman/listinfo/tex-music > >> > >> > >> ------------------------------- > >> [email protected] mailing list > >> If you want to unsubscribe or look at the archives, go to > >http://tug.org/mailman/listinfo/tex-music > > > > > >-- > >Luigi Cataldi <[email protected]> > >------------------------------- > >[email protected] mailing list > >If you want to unsubscribe or look at the archives, go to > >http://tug.org/mailman/listinfo/tex-music > > > ------------------------------- > [email protected] mailing list > If you want to unsubscribe or look at the archives, go to > http://tug.org/mailman/listinfo/tex-music -- Luigi Cataldi <[email protected]> ------------------------------- [email protected] mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music

