[OS X TeX] The `%!TEX TSprogram = TeXify' line used in TeXShop ...

Jung-Tsung Shen jushen at gmail.com
Thu Feb 14 02:46:10 CET 2008


Maarten, Herbert, and David,

Thanks for the reply. I will try the "% file name" and additional %
tricks and see if that go through.

Also, Herbert, I believe that I copy the

%!TEX TSprogram = Texify

from other people's post a while back. Strangely, it seems to work for
me without '-' between TS and program ...

JT


On 2/13/08, David Watson <dewatson at mac.com> wrote:
> This is not the first time this issue has come up. It appears that
> their AutoTeX engine uses "file magic" to determine if the file is of
> valid type. Perhaps the arxiv.org maintainers could add a
> %!TEX
> description to their "magic" file (on Mac OS X, at /usr/share/file/
> magic) or perhaps the authors of AutoTeX could edit their script to
> look for that, but then that would require the archiv.org people to
> upgrade.
>
> On Feb 13, 2008, at 3:46 PM, Jung-Tsung Shen wrote:
>
> > I was submitting a manuscript to http://arxiv.org/ earlier today. The
> > files were one main tex file and three eps figures. My main tex file
> > contained the following two lines at the very beginning:
> >
> > %!TEX encoding = UTF-8 Unicode
> > %!TEX TSprogram = TeXify
> >
> > All the files passed the submission check and could be processed
> > without problems. (The system declines the submission if there's any
> > problems in processing the tex files) But when I tried to view the
> > generated PDF file, the system kept triggering the remote server and
> > simply failed to generate it. While I was trying to see where it went
> > wrong (I thought it's due to figures since I had to compress them a
> > lot to meet the file size requirement), I got a message from arXiv's
> > very helpful administrator, saying
> >
> > "Your main LaTeX source file contained a PostScript %! line, which was
> > misinterpreted by our AutoTeX engine.  We have removed this line from
> > your LaTeX file, and your submission now correctly generates a PDF
> > file."
> >
> > I also submitted the same paper, with the above two lines, to one
> > journal of APS (Americal Physical Society) and it went through and
> > generated PDF without any problem.
> >
> > Except manually removing the lines, is there any other way to make the
> > tex file mostly portable? [The answer probably is not ...]
> >
> > Thanks.
> >
> > JT
>
>
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>
>
>



More information about the macostex-archives mailing list