[Tex-music] TeX Compiling

2011-05-17 Thread Xavier Moch

Hi all !

Something strange happens since I began to use PMX : the way I get from .tex to 
.pdf. Explanations :

Assume I have a .pmx file, named file.pmx. By executing pmxab file, I obtain 
file.tex. That's great, no problem with that.
What shall I do with file.tex ? Since I used (very shortly) MusiXTeX before I 
dowloaded PMX (which changed my life... or at least the time spent to write 
music), I supposed I had to do :

pdflatex file
musixflx file
pdflatex file

But pdflatex gives the error :
! Undefined control sequence \rm

Moreover, it's the same with \nopagenumbers and \bye

That's why I'm using a second file, file2.tex :
\documentclass{article}
\usepackage[ansinew]{inputenc}
\usepackage{etex}
\usepackage[hmargin=1.5cm,vmargin=2cm]{geometry}
\usepackage[french]{babel}
\begin{document}
\def\bye{}
\def\nopagenumbers{}
\include{file}
\end{document}

The command pdflatex file2 works correctly. With musixflx file2 and pdflatex 
file2 again, the score file2.pdf is just great. But all that is a bit strange, 
isn't it ?
Does anyone know (or has an idea) why I have these difficulties with \rm, 
\nopagenumbers, and \bye ?

Thanks for reading that !
Xavier

Config :
Windows XP Pro 2002 SP3 / Vista SP3 (I guess it's the 3rd, I'm not exactly 
sure... but I can check it if it is helpful)
MiKTeX 2.9 with TeXWorks (includes MusiXTeX package ; downloaded in April)
PMX 2.5
  ---
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] TeX Compiling

2011-05-17 Thread Jill-Jênn Vie
Hi!

Le 17 mai 2011 à 14:57, Xavier Moch a écrit :

 What shall I do with file.tex ? Since I used (very shortly) MusiXTeX before I 
 dowloaded PMX (which changed my life... or at least the time spent to write 
 music), I supposed I had to do :
 
 pdflatex file

pdftex file, rather!

-- 
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] TeX Compiling

2011-05-17 Thread Robin Fairbairns
Xavier Moch xa...@hotmail.com wrote:

 Something strange happens since I began to use PMX : the way I get from
 .tex to .pdf. Explanations :
 
 Assume I have a .pmx file, named file.pmx. By executing pmxab file, I
 obtain file.tex. That's great, no problem with that.
 What shall I do with file.tex ? Since I used (very shortly) MusiXTeX
 before I dowloaded PMX (which changed my life... or at least the time
 spent to write music), I supposed I had to do :
 
 pdflatex file
 musixflx file
 pdflatex file
 
 But pdflatex gives the error :
 ! Undefined control sequence \rm

boggle.  there exist classes that suppress that command, but article
doesn't.  i don't understand what's happened to \rm, but it doesn't
really matter

 Moreover, it's the same with \nopagenumbers and \bye

all three are plain tex commands, and you asked for latex.  (\rm is
retained in standard latex, including article, to help people compile
their old documents ... but people haven't learned the new commands,
even though new in this context means since 1994...)

as Jill-Jênn said: use pdftex rather than pdflatex.

robin

---
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] TeX Compiling

2011-05-17 Thread Don Simons
Robin Fairbairns wrote

as Jill-Jênn said: use pdftex rather than pdflatex.

As I've pointed out many times in the MusiXTeX and PMX manuals and in
postings to this list, there is an issue with this approach. Because Type K
postscript slurs look better than the default font-based slurs, all PMX
development in recent years has assumed that Type K slurs had been activated
(although for historical reasons they are not the default). But PDFTEX DOES
NOT PROCESS TYPE K POSTSCRIPT SLURS. The preferred approach is therefore
etex = musixflx = etex = dvips = gsview and you can make a pdf from
within gsview. The extra steps are transparent if you use a batch file, and
even if they weren't, it would be worthwhile to avoid the occasionally
bizarre shapes and other limitations of font-based slurs.

--Don Simons



---
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] TeX Compiling

2011-05-17 Thread Bob Tennent
 | MiKTeX 2.9 with TeXWorks (includes MusiXTeX package ; downloaded in April)

Try

musixtex file

at the command line.

Bob T.

---
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