[OS X TeX] TexShop engines make me crazy

Jon Breitenbucher kahless at mac.com
Mon Aug 7 02:07:08 CEST 2006


Ross,

On Aug 6, 2006, at 6:04 PM, Ross Moore wrote:

> 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.
>

This is the last engine I use to get the final product. I do a  
regular LaTeX, BibTeX, Makeindex, LaTeX, LaTeX and then just run  
LaTeX while working on the document.

>
>> 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/
>

______________________________________
A Mathematician is a machine for turning coffee into theorems. (Paul  
Erdös)

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

work:   (330)263-2207
e-mail: jbreitenbuch at wooster.edu
web:    http://jbreitenbuch.wooster.edu/~jonb/
blog:   http://jbreitenbuch.blogs.wooster.edu/
cal:    http://jon.breitenbucher.net/ical/


------------------------- 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 macostex-archives mailing list