[OS X TeX] TeXShop, latexmk and included files. Was: TeXShop 2.10beta10
Herbert Schulz
herbs at wideopenwest.com
Sat Jun 2 19:16:41 EDT 2007
On Jun 2, 2007, at 10:14 AM, S P Suresh wrote:
>
> Hi,
>
> While we are at it, here's one for Herb. Sometimes when I make
> changes to a non-master source and try Cmd-T or even Cmd-S followed
> by Cmd-T (when using pdflatexmk via TeXShop), I get a message
> saying that <...>.pdf is up to date. I have to make an artificial
> change in the TeX-master file to force a recompile. Have others run
> into this?
>
> Cheers,
> Suresh
>
Howdy,
You can get the (pdf/xe)latexmk engines to always compile the root
(or only if there are no included files) file by putting the lines
# make sure latexmk will compile even immediately after a run
touch "$1"
just after the setting of BIBINPUTS in the three engine files. This
just updated the time of the root file so latexmk ``thinks'' it has
changed and runs (pdf/xe)latex at least once.
Good Luck,
Herb Schulz
(herbs at wideopenwest.com)
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX
mailing list