"Gert Kessels" <[EMAIL PROTECTED]> wrote... > Hi, > > Thank you all for your help. It was line-endings after all, after EDIT in > DOS, add some spaces and exit and save it worked. So I'm happy now. > > I subscribed only yesterday and I'm very glad that there is so much > expertise available. M-Tx saves really a lot of TeX-typing, so if I can > really use it, I'll be very glad. >
Wow... Leave for a day and you miss a lot... I am glad to hear that Gert found the answer needed. I want to add that I frequently use a utility called FLIP to convert whole directories from Unix to MS-DOS line endings. There are many utilities named FLIP, so a search on Google will bring up a lot, but this FLIP is the one I recommend. (This is for Windows PC Systems, where the user knows how to use the MS-DOS Prompt and do basic operations from the 'command line.') Noting (first of all) that FLIP is ... Copyright 1989 Rahul Dhesi, all rights reserved. Permission is granted to copy, use, and distribute for any commercial or noncommercial purpose in accordance with the requirements of version 1.0 of the GNU General Public license. ... you can download and use a copy from: http://www.simtel.net/pub/pd/51483.html or ftp://ftp.simtel.net/pub/simtelnet/msdos/txtutl/flip1exe.zip The source code can be obtained from: http://www.simtel.net/pub/pd/51484.html I believe this is a port of the popular Unix utility of the same name. Just unzip it in a directory in your DOS path (like the MusixTex bin for example.) What is so useful with this particular program is that it can convert an entire directory. You enter (from the DOS command line): flip -m *.* and it will convert only those files that are good candidates to convert, like ASCII Files, and skip the binary files. It will also tell you what was skipped. It will convert the files 'in place' (it replaces the original file), which is more convenient than dangerous, particularly when you have extracted the files from a zip archive. (You can also force it to convert any file if you want.) This version of Flip makes it very easy to extract a massive archive and then process the entire directory just to be sure that any Unix sources are converted to MS-DOS. (It will not convert a file that is already okay either!! :-) I do not know how well it works on Long File Names... but then, MusiXTex isn't quite one of those tools troubling those waters, either. One (of several) good MAN pages on this version of FLIP can be viewed at: http://pinkstuff.publication.org.uk/cgi-bin/man2html?flip+1 And, finally, the standard MusixTex distribution (at least up to T99) contained two utilities UTOD.EXE and DTOU.exe, to do just this very thing on any given file, so there it is (for now)... Enjoy. Using Windows 95, 98 and Windows 2000, MikTex, and what's left of MS-DOS :-) Joel Hunsberger ----- Original Message ----- From: "Gert Kessels" <[EMAIL PROTECTED]> To: "'Tomas Lundberg '" <[EMAIL PROTECTED]>; "Gert Kessels" <[EMAIL PROTECTED]> Cc: "'''MusiXTeX ' ' '" <[EMAIL PROTECTED]> Sent: Thursday, March 06, 2003 11:07 AM Subject: RE: [TeX-music] M-Tx on Windows: starting up problems > Hi, > > Thank you all for your help. It was line-endings after all, after EDIT in > DOS, add some spaces and exit and save it worked. So I'm happy now. > > I subscribed only yesterday and I'm very glad that there is so much > expertise available. M-Tx saves really a lot of TeX-typing, so if I can > really use it, I'll be very glad. > > Regards, > Gert. > > > > -----Original Message----- > From: Tomas Lundberg > To: Gert Kessels > Cc: ''MusiXTeX ' ' > Sent: 6-3-2003 16:32 > Subject: Re: [TeX-music] M-Tx on Windows: starting up problems > > Gert Kessels wrote: > > Sorry Christof, I can't find any news in the HOW TO section. I have a > > running environment for both, MusixTeX and PMX. It should be possible > to use > > the binary executable from the zip-file, but the only way left seems > > donwloading TurboPascal and figuring out why prepmx produces the > errors. > > > > I'm quite sure that the problem is UNIX vs. DOS line endings. The > example scores have UNIX line endings, and if you run those > through prepmx without converting them to DOS line endings you > get the error message you described. So the answer is to convert > the example scores to DOS line endings. This is done automagically > if you use "unzip" with the "-a" option; this is stated in the > "README" file. I'm not sure if WinZip can do this automagically; > if not, you can do as stated in the "README" file under "Text > file formats" or use a separate tool for converting, such as > e.g. "tofrodos" ( http://www.thefreecountry.com/tofrodos/index.shtml ). > > Tomas > > -- > Tomas Lundberg, Ph.D. E-mail: [EMAIL PROTECTED] > EAB/TVP/P Tel: +46 (0)920 - 202361 > Ericsson AB Mobile: +46 (0)70 - 2736815 > Luleå, Sweden Fax: +46 (0)920 - 202099 > _______________________________________________ > TeX-music mailing list > [EMAIL PROTECTED] > http://sunsite.dk/mailman/listinfo/tex-music > _______________________________________________ TeX-music mailing list [EMAIL PROTECTED] http://sunsite.dk/mailman/listinfo/tex-music