Hello everybody,
It's been a few days I have been using MusiXTeX under TeXniCenter. So far, everything went well until I started to write scores bigger than one line...
Actually, I just discovered (on this forum, thanks guys) that I had to run pdflatex, musixflx, and pdflatex again in order to have a proper layout on my score.
Using TeXnicCenter, I don't really know how to replace my usual "latex to PDF" configuration by this three steps process.
Since I have never done this before, is there anyone here to explain me in simple words how to create a "MusiXTeX to pdf" output profile in TeXnicCenter?
What I have done so far in my "Define output profile" window:
1) Created a new output profile ;
2) In tab "(La)TeX", unchecked the "Run (La)TeX in this profile" box ;
3) In tab "Postprocessor", added a new processor named "musixtex", with the executable located at "C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\musixtex.exe"
If I understand correctly, this process is supposed to do the complete "latex -> pdf -> musixflx -> pdf" thing, reason why I unchecked the box in 2)
Next step I guess is to set arguments to this process, but I don't what to write here...
I attached some images so you can have an idea of what I'm talking about.
Thanks for your help.
Others ⇒ MusiXTeX and TeXnicCenter
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Posts: 2
- Joined: Sat Mar 07, 2015 6:36 pm
MusiXTeX and TeXnicCenter
Ok I'm moving forward, and I changed some elements. Now it appears obvious to me that I should not use musixtex as a postprocess, but as a regular process instead of my usual pdflatex.exe.
So here is my new configuration : Though, I still don't know what argument to give to my compiler...
If I give something like the simple name of my tex file (using "%nm" in texniccenter), musixtex returns me an error "! Undefined control sequence. l1 \documentclass[10pt, a4paper]{article}. ? etex: Bad file descriptor. Musixtex processing of myfile.tex fails." So apparently my file descriptor (??) is bad...
As far as I can understand, the musixtex documentation doesn't give me a single clue about this.
Don't hesitate to ask me for more details if needed!
Thanks a lot.
So here is my new configuration : Though, I still don't know what argument to give to my compiler...
If I give something like the simple name of my tex file (using "%nm" in texniccenter), musixtex returns me an error "! Undefined control sequence. l1 \documentclass[10pt, a4paper]{article}. ? etex: Bad file descriptor. Musixtex processing of myfile.tex fails." So apparently my file descriptor (??) is bad...
As far as I can understand, the musixtex documentation doesn't give me a single clue about this.
Don't hesitate to ask me for more details if needed!
Thanks a lot.
-
- Posts: 6
- Joined: Wed Apr 13, 2011 1:13 pm
Re: MusiXTeX and TeXnicCenter
Hello,
I simply created a profile only for musixflx (see attached).
You use your current LaTeX => PDF profile normally.
Then, when you want to fix the stuff, run musixflx profile once.
The profile has a preprocessor action to delete both .mx1 and mx2 files.
It follows the normal LaTeX processing which creates the .mx1 file.
Then, a post processor Musixflx to create the .mx2 file.
Finally, run your normal LaTeX => PDF profile.
NOTE: the DOS batch file named "del_mx.bat" has the content: del %1 . I recomend to put this file in the folder MiKTeX\miktex\bin (you must have administrative rights), but any other folder will work. Then, in Texniccenter, define this same file location and the argument "%bm.mx*".
Hope that this helps you.
I simply created a profile only for musixflx (see attached).
You use your current LaTeX => PDF profile normally.
Then, when you want to fix the stuff, run musixflx profile once.
The profile has a preprocessor action to delete both .mx1 and mx2 files.
It follows the normal LaTeX processing which creates the .mx1 file.
Then, a post processor Musixflx to create the .mx2 file.
Finally, run your normal LaTeX => PDF profile.
NOTE: the DOS batch file named "del_mx.bat" has the content: del %1 . I recomend to put this file in the folder MiKTeX\miktex\bin (you must have administrative rights), but any other folder will work. Then, in Texniccenter, define this same file location and the argument "%bm.mx*".
Hope that this helps you.
- Attachments
-
- Musixtex.zip
- (1.22 KiB) Downloaded 458 times