Re: [Tex-music] PMX and Mac OS X
OK all. It works now. I cannot tell you why, because I did not do anything than use it the way it did. And now it works the way it should and I can use PMX perfectly. There are just a few problems left, but they are propably human dependent or else I will write again. THANKS Philipp D-40472 --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] PMX and Mac OS X
2010/11/19 Bernhard Lang bernhard.l...@gmx.ch: 1st attempt, run the binary pmxab: the compiled pmxab relies on a dynamically linked library called libgfortran.3.dylib which is supposed to be in the directory /usr/local/gfortran/lib/ which is of course not there. pmxab dyld: Library not loaded: /usr/local/gfortran/lib/libgfortran.3.dylib Referenced from: /Users/bernhard/temp/pmx/pmx2521-OSX-Intel/./pmxab Reason: image not found Trace/BPT trap I'm so sorry. I indeed compiled it with gfortran (don't remember if I used a PKG file or the fink version, but I fink it was think (or the contrary)), but I should have used extra options. I didn't know it would use such a dylib file. 3rd attempt, install f2c from fink: local problem, after reinstalling fink, f2c provided by fink runs now, but the package doesn't provide the necessary library libf2c or similar What about MacPorts? I dont have MacPorts here so I can't tell you if it exists. 2010/11/19 Philipp Neukel phil...@neukel.com: Just to let you know, maybe you can see the mistake: I made a large amount of new test.pmx files playing around with the Smultron encoding settings (all als plain text Document): No effect (but none expected) OK. UTF-8 is better. I completely reinstalled PMX: pmxab and scor2prt to usr/local/bin So I assume: $ which pmxab Returns: “/usr/local/bin/pmxab”? pmx.tex to usr/local/texlive/texmf-local/tex/generic/PMX I assume you downloaded the PPC version (sorry to ask)? I moved pmx.tex to usr/local/texlive/texmf-local/tex/generic/musixtex but moved it back after it did not work This file is important for the compilation of the MusiXTeX file. I made an individual texhash run after each change It is important when you modify the $TEXMFLOCAL folder. I tried all the changes in all possible combinations. Just consider that time! :/ Nothing helped. :( I read Bernhard's Mail today about the compiling and programming problems. I just used the Mac OS X files from the WIMA page. Could that be my mistake? What do I have to do to compile all that myself? Considering I never installed or used anything like that: What do I have to download and install in what order, how, where on the HD? By chance, do you have fink? I assume you don't. Try: $ which fink In the Terminal. This afternoon, I'll be in front of an iMac G5 PPC too. I'll install pmxab again as well and tell you. -- Jill-Jênn http://www.jill-jenn.net --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] PMX and Mac OS X
2010/11/19 Philipp Neukel phil...@neukel.com: Hey everyone, I have a funny thing to tell you: It works now. The question: How? Honestly - I am not sure. It works whenever I have pmxab in the same folder as the pmx-file and I use it via $ cd .../folder $ ./pmxab file.pmx I replaced the pmxab in usr/local/bin many times by now, but it never worked, only when I do it this way. It looks like a property problem. But it cannot be for it won't work when i am logged in as root. Thanks for your help, I would have given up without you and it was you suggestion Jill-Jênn, which gave me the idea and the right command at hand. Thanks a lot. I advise you to make a directory bin is your home directory (~/bin), then put pmxab in it, then: $ emacs .tcshrc I bet the problem lies in it, could you please tell me what you see in it? (Oh, wait, is it indeed written tcsh in the title of your terminal window? If it's written bash, you have to replace .tcshrc with .profile) If you can't use emacs, just do: $ mv .tcshrc LOOOL So you can open LOOOL with Smultron and modify it. Put: setenv PATH $HOME/bin:$PATH at the end. Then, obviously: $ mv LOOOL .tcshrc So ~/bin/pmxab will prevail over /usr/local/bin/pmxab (don't know why this one doesn't work though). And here is my first question as real PMX user: There are so many \hardspace{pt}% in the generated tex-file. It is annoying. It gives me bar 3 ! Missing number, treated as zero. to be read again * argument * ***pt \hardspace #1-\ch...@nopen \...@rmskip \...@v #1 \addspace \...@v \...@spc l.53 \hardspace{pt} % ? basically with every bar. Even if I make two or three pmx-runs. Is this supposed to happen? This is due to your indentation (the last number is the preamble). It should be like 0.085 if it is “Piano”, so maybe 0.09 for “Klarinette in B”. Don't forget to musixflx! -- Jill-Jênn --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] PMX and Mac OS X
Le 18 nov. 2010 à 21:50, Philipp Neukel a écrit : I have been using MusixTeX for some time now because I was not able to get PMX working at all - whatever the reasons may have been. But now that my musical education is getting more serious and therefore my need to write much music in a short time is getting urgent I started learning PMX today. I did a lot of reading and installed everything perfectly. Great idea. PMX FTW \o/ (sorry for the kikoolol messages). 1 1 4 4 0 6 0 -2 1 2 16 10 % Klarinette in B % 0 ./ ( b2 f4- ) r | r2 r4 r8d d15 | ( d2 b4 ) r4 | r4 ( c45 e g4- ) | r4 ( a44 g4+ f ) % Takt 7 b45 r4 r2 | ( d25 b4 c | f44dd a3 g f4 ) r4 % You need to put a slash at the end of each line. ( b2 f4- ) r | r2 r4 r8d d15 | ( d2 b4 ) r4 | r4 ( c45 e g4- ) | r4 ( a44 g4+ f ) / b45 r4 r2 | ( d25 b4 c | f44dd a3 g f4 ) r4 / I hope there are Mac Users out there willing to help Yup. I don't understand why we don't get the same output though. Do you use pmxab or something with TeXShop? -- Jill-Jênn http://www.jill-jenn.net --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] PMX and Mac OS X
Thanks for your help - although it did not help YET Slashes at the line end made no difference. Neither did zip/unzip. Yes i am using pmxab with the terminal. The pmx file is written with textedit and TeXworks. Independently tested. Is there actually a way to use pmx with TeXShop? Philipp D-40472 --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] PMX and Mac OS X
Oh, I think I understood. It's because of the \r on Mac but \n on UNIX (but I don't understand why barsant.pmx didn't work, did you open it with TextEdit as well?). Can you use emacs? Else, try Smultron. http://smultron.sourceforge.net/ Le 18 nov. 2010 à 22:42, Philipp Neukel a écrit : Is there actually a way to use pmx with TeXShop? Don't think so. I asked because I didn't recognize the output. -- Jill-Jênn http://www.jill-jenn.net --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] PMX and Mac OS X
OK, I got emacs and Smultron. What am I to do now? I now used a completely unopened barsant - newly extracted from the zip-file. Still won't work. Philipp D-40472 --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] PMX and Mac OS X
Still won't work. Thanks for your help so far. I am going to spend some time tomorrow with it. What really makes me think in this error: - … Starting second PMX pass Bar 1 Bar 2 Bar 3 Bar 4 Bar 5 Bar 6 Bar 7 Bar 8open: No such file or directory apparent state: unit 12 named… - is the open: No such file or directory part. What is he looking for which is missing? Philipp D-40472 --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music