[OS X TeX] A beginner problem in TexShop macros

Claus Gerhardt gerhardt at math.uni-heidelberg.de
Mon Feb 22 00:33:16 CET 2010

I can't decide if there is an error in the macro since I can't run it (the shell script flip would require Rosetta),  and looking only at the code doesn't reveal an obvious flaw.

However, there are three other macros linebreak-unix, linebreak-dos and linebreak-mac which I have written myself some years ago and which worked just fine then. Try these, but observe that they change the line endings of the file opened in TS and do not modify a copy, i.e., you should first copy the file and open the copy, but beware that the filename should not contain spaces.


On Feb 22, 2010, at 0:07, André Bellaïche wrote:

> Since you are all speaking of TeXShop macros:
> I could never figure out how to use Macros>AppleScript>Convert to Unix (or Windows). I always get the error message (in French):
> AppleScript Error
> Il est impossible de rendre characters 1 thru -1 of "" en type string.
> Maybe the script is not intended to convert the current file, but another file, but how to tell him which file?
> (When I need to convert a set of files form Mac to Windows, I use TextEdit to convert the files one by one.)
> André Bellaïche
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the macostex-archives mailing list