Re: [Tex-music] TeX Compiling
Thanks all ! There are many advantages in using tex (or etex) rather than pdflatex ; but as a consequence, I've got a question with TeX... Does anyone know whether it is possible to activate the ansinew encoding with TeX (as a LaTeX command, \usepackage[ansinew]{inputenc} will probably not work) ? In french, we keep having difficulties with words like Flûte. For some reasons, I'd rather write it Flûte (ANSI-encoding) and not Fl\^{u}te. Xavier From: dsim...@roadrunner.com To: tex-music@tug.org Date: Tue, 17 May 2011 08:09:16 -0700 Subject: Re: [Tex-music] TeX Compiling 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
Xavier Moch xa...@hotmail.com wrote: Thanks all ! There are many advantages in using tex (or etex) rather than pdflatex ; but as a consequence, I've got a question with TeX... Does anyone know whether it is possible to activate the ansinew encoding with TeX (as a LaTeX command, \usepackage[ansinew]{inputenc} will probably not work) ? In french, we keep having difficulties with words like Fl�te. For some reasons, I'd rather write it Fl�te (ANSI-encoding) and not Fl\^{u}te. that's not an ansi encoding, nor yet is it the slightly tweaked ansinew -- i would guess it's utf-8 (widnoze tends to use unicode nowadays, and most current unices can do so). \usepackage[utf8]{inputenc} may well deal with the problem -- it won't if the file contains a mixture of old (ansinew) stuff and current utf-8 -- but give it a try anyway. robin the latex nerd --- 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
Robin Fairbairns wrote: Xavier Moch xa...@hotmail.com wrote: Thanks all ! There are many advantages in using tex (or etex) rather than pdflatex ; but as a consequence, I've got a question with TeX... Does anyone know whether it is possible to activate the ansinew encoding with TeX (as a LaTeX command, \usepackage[ansinew]{inputenc} will probably not work) ? In french, we keep having difficulties with words like Fl te. For some reasons, I'd rather write it Fl te (ANSI-encoding) and not Fl\^{u}te. that's not an ansi encoding, Yes it is - û is just ANSI character 251. nor yet is it the slightly tweaked ansinew -- i would guess it's utf-8 (widnoze tends to use unicode nowadays, and most current unices can do so). \usepackage[utf8]{inputenc} may well deal with the problem -- it won't if the file contains a mixture of old (ansinew) stuff and current utf-8 -- but give it a try anyway. Xavier was asking how to achieve this in Plain TeX! Assuming you really do mean ANSI encoding (i.e. 8 bit) then you'll need to map the characters you want as active characters to the Plain TeX equivalent sequences (LaTeX's font/input encoding mechanisms do this behind the scenes). For Flûte you'd say \catcode`û=\active \defû{\^{u}} Flûte \bye (making sure that your text editor definitely saves an ANSI, not UTF-8 or other Unicode file - Windows Notepad can definitely do that for you). I don't know if someone has come up with wrappers for LaTeX's input encodings in Plain TeX but if you look in tex/latex/base/ansinew.def then you will see all of the mappings for characters defined there and you could come up with a macro for \DeclareInputText I haven't investigated in detail, but does this archived post help - http://icking-music-archive.org/software/pmxtricks/accents.pdf David --- 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
David Allsopp dra-n...@metastack.com wrote: Robin Fairbairns wrote: Does anyone know whether it is possible to activate the ansinew encoding with TeX (as a LaTeX command, \usepackage[ansinew]{inputenc} will probably not work) ? In french, we keep having difficulties with words like Fl te. For some reasons, I'd rather write it Fl te (ANSI-encoding) and not Fl\^{u}te. that's not an ansi encoding, Yes it is - û is just ANSI character 251. however, the token that appeared in my mail was indeed an utf-8 sequence rather than a single octet. maybe there's something converting to utf-8 when forwarding to me: seems unlikely (since i'm postmaster here, i would know), but it is possible, i guess. of course things like fl\^ute kill hyphenation, but unless the score is accompanied by an essay, that's unlikely to be an issue. latex gets around that. Xavier was asking how to achieve this in Plain TeX! doh! sorry for the mis-reading. r --- 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
Thank you everyone ! Robin : you're right, I'm writing mails with UTF-8 encoding ; but as David pointed out, I'd like TEX to read (Windows') ANSINEW encoding. I guess I try \\input plainenc\relax\inputencoding{cp850}\ ; let's hope cp850 works in my case... Xavier --- 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
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
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
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
| 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