[OS X TeX] TexShop engines make me crazy
Ross Moore
ross at ics.mq.edu.au
Sun Aug 6 18:04:17 EDT 2006
Hi Jon,
On 07/08/2006, at 7:33 AM, Jon Breitenbucher wrote:
> Here is what mine looks like and I note it is much different but it
> works.
>
> #!/bin/sh
> location=$(dirname "$1")
> basefname=$(basename "$1" .tex)
> pdflatex -interaction=batchmode "${basefname}"
> if [ -e "${basefname}.pdf" ] ; then
> bibtex "${basefname}"
> makeindex -c -s wooind.ist "${basefname}.idx"
> pdflatex -interaction=batchmode "${basefname}"
> pdflatex -interaction=batchmode "${basefname}"
> fi
> /bin/rm "${basefname}.dvi" "${basefname}.log" "${basefname}.aux" "$
> {basefname}.ps"
I really don't know why you remove the .log and .aux files
with each run. If something actually goes wrong, these are
the places where you can most readily diagnose any errors.
If you just want to remove all but the source and result,
then you might as well remove also the .idx file, and
its derivative .ind, and log-file .ilg; similarly for
the .bbl and .blg files.
But as with the previous paragraph, these intermediary and
log-files are the best places to search for possible errors
in the Index and Bibliography, which you might not otherwise
notice by a cursory glance over the final PDF output.
> I don't know if you could adapt this? Note I have my index style in
> the directory with the root tex file.
> Jon Breitenbucher, Ph. D.
> Adjunct Professor and Instructional Technology Specialist
> The College of Wooster
> Department of Mathematics and Computer Science
> 308 E. University
> Wooster, Ohio 44691
Cheers,
Ross
------------------------------------------------------------------------
Ross Moore ross at maths.mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 +2 9850 8955
Sydney, Australia 2109 fax: +61 +2 9850 8114
------------------------------------------------------------------------
------------------------- 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
mailing list