[OS X TeX] verbatim problems
adam.goldstein at jhu.edu
Thu Jul 6 01:23:18 EDT 2006
On Jul 6, 2006, at 12:30 AM, Anthony Morton wrote:
>> I actually have this as a script called mac2unix, created
>> analogously to what David described. Its content is a bit shorter -
>> tr "\015" "\012" < $1 > $2
>> That's all - you'd invoke this with "mac2unix INTEXTFILE
>> OUTTEXTFILE" from the Terminal command line.
> I have a similar set of hand-rolled scripts for this sort of thing:
> here's one that does much the same as the above, but handles
> multiple files at once and also optionally replaces the original file.
> # Shell script to convert files named by arguments from Mac to Unix
> line breaks
> # Default is to place in new .utxt files; specify -f to replace
> List Archive: http://tug.org/pipermail/macostex-archives/
Maybe it's obvious or wrong, and that's why no one's mentioned it
yet, but there are some macros that do this included with TeXShop.
They are in Macros > Applescript, and they are called Convert to MAC
and the like. They've worked for me before and I highly recommend them.
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the MacOSX-TeX