Re: [TeX-music] mtx patch suggestion
Dirk Laurie wrote: Cornelius C. Noack skryf: Dirk: for those of us who can't - or don't want to - recompile M-Tx, could you (please) upload a new (Win32) executable ? Well, if you don't code ten-voice scores, you can just ignore the suggested patch. But watch this space: M-Tx 0.60 will be released Real Soon Now. It will have a few extra goodies, not just bug fixes. I'm the one to prepare the Win32- and Mac OSX binaries and have encountered a few problems with that patch, so probably 'Real Soon' is a bit too sanguine expression:-) -- Christian Mondrup, Sheet Music Editor Werner Icking Music Archive http://icking-music-archive.org/ ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music
Re: [TeX-music] mtx patch suggestion
On Mar 18, 2005, at 1:20 PM, Dirk Laurie wrote: I suggest the following patch to lyrics.c (I don't know how that reads in the pascal version) 546c546 < sprintf(l, "\\mtxAssignLyrics%s%s", instr, atag); --- sprintf(l, "\\mtxAssignLyrics{%s}%s", instr, atag); Or even better, sprintf(l, "\\mtxAssignLyrics{%s}{%s}", instr, atag); The TeX code I got by the unpatched version was \mtxAssignLyrics10{2} thus the second argument seems to contain already the curly brackets. Anyhow, this shouldn't matter as TeX should read {{xxx}} in the same way as {xxx}. ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music
Re: [TeX-music] mtx patch suggestion
Cornelius C. Noack skryf: > Dirk: for those of us who can't - or don't want to - > recompile M-Tx, could you (please) upload a new (Win32) executable ? > Well, if you don't code ten-voice scores, you can just ignore the suggested patch. But watch this space: M-Tx 0.60 will be released Real Soon Now. It will have a few extra goodies, not just bug fixes. Dirk ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music
Re: [TeX-music] mtx patch suggestion
On Fri, 18 Mar 2005, Dirk Laurie wrote: Bernhard Lang skryf: when mtx-ing with more than 9 vocal voices, mtx produces under certain circumstances faulty pmx/tex code like \mtxAssignLyrics10{...} which should be \mtxAssignLyrics{10}{...} I suggest the following patch to lyrics.c (I don't know how that reads in the pascal version) 546c546 < sprintf(l, "\\mtxAssignLyrics%s%s", instr, atag); --- sprintf(l, "\\mtxAssignLyrics{%s}%s", instr, atag); Or even better, sprintf(l, "\\mtxAssignLyrics{%s}{%s}", instr, atag); In lyrics.pas, look for l := '\mtxAssignLyrics' + instr + atag; and change it to l := '\mtxAssignLyrics{' + instr + '}{' + atag + '}'; This is a genuine oversight. While scanning lyrics.pas for more of these, I found also: songraise:='\mtx'+s+'LyricsAdjust'+toString(PMXinstr(voiceStave(voice))) +'{'+toString(lyr_adjust)+'}'; which should be changed to songraise:='\mtx'+s+'LyricsAdjust{'+toString(PMXinstr(voiceStave(voice))) +'}{'+toString(lyr_adjust)+'}'; Dirk Dirk: for those of us who can't - or don't want to - recompile M-Tx, could you (please) upload a new (Win32) executable ? Thanks! ccn. -- . Prof.Dr. Cornelius C. Noack Phones: Inst. f. Theor. Physik FB 1 office : +49 (421) 218-2427 Universit"at Bremen secretary: -2422 Otto-Hahn-Allee Fax : -4869 D - 28334 Bremen home : +49 (421) 34 22 36 Fax: 346 7872 E-mail: noack at itp.uni-bremen.de or ccnoack at mailaps.org WWW-page: www.itp.uni-bremen.de/~noack . ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music
Re: [TeX-music] mtx patch suggestion
Bernhard Lang skryf: > > when mtx-ing with more than 9 vocal voices, mtx produces under certain > circumstances faulty pmx/tex code like > > \mtxAssignLyrics10{...} which should be \mtxAssignLyrics{10}{...} > > I suggest the following patch to lyrics.c (I don't know how that reads > in the pascal version) > > 546c546 > < sprintf(l, "\\mtxAssignLyrics%s%s", instr, atag); > --- > > sprintf(l, "\\mtxAssignLyrics{%s}%s", instr, atag); > Or even better, sprintf(l, "\\mtxAssignLyrics{%s}{%s}", instr, atag); In lyrics.pas, look for l := '\mtxAssignLyrics' + instr + atag; and change it to l := '\mtxAssignLyrics{' + instr + '}{' + atag + '}'; This is a genuine oversight. While scanning lyrics.pas for more of these, I found also: songraise:='\mtx'+s+'LyricsAdjust'+toString(PMXinstr(voiceStave(voice))) +'{'+toString(lyr_adjust)+'}'; which should be changed to songraise:='\mtx'+s+'LyricsAdjust{'+toString(PMXinstr(voiceStave(voice))) +'}{'+toString(lyr_adjust)+'}'; Dirk ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music
[TeX-music] mtx patch suggestion
Hi all when mtx-ing with more than 9 vocal voices, mtx produces under certain circumstances faulty pmx/tex code like \mtxAssignLyrics10{...} which should be \mtxAssignLyrics{10}{...} I suggest the following patch to lyrics.c (I don't know how that reads in the pascal version) 546c546 < sprintf(l, "\\mtxAssignLyrics%s%s", instr, atag); --- > sprintf(l, "\\mtxAssignLyrics{%s}%s", instr, atag); By the way, I had some problems compiling the sources under MacOSX. p2c seems not to work out of the box, neither g77. But for compiling the c-sources, p2c.h is needed and some modifications to the makefile have to be done (having some c-files as sources in the c-only version and as targets in the pas->p2c->c version induces a conflict). As p2c is under GNU copyleft, couldn't that file be included in the mtxC distribution? regards Bernhard Bernhard Lang | Physical Chemistry Departement, Sciences II 21, Avenue du Denantou | University of Geneva; 30, Quai Ernest Ansermet CH-1006 Lausanne, Suisse| CH-1211 Geneva 4, Switzerland TEL/FAX: +41(0)21 601 3657 | TEL +41(0)22 379-6535, FAX -6518 bernhard.lang at gmx.ch ___ TeX-music mailing list TeX-music@icking-music-archive.org http://icking-music-archive.org/mailman/listinfo/tex-music