[OS X TeX] Updated latexmk engines

Herbert Schulz herbs at wideopenwest.com
Thu Jun 7 15:35:15 EDT 2007


On Jun 7, 2007, at 2:12 PM, Peter Dyballa wrote:

>
> Am 07.06.2007 um 18:30 schrieb Herbert Schulz:
>
>> Let me add that normal latexmk behavior wouldn't compile at all if  
>> only a included file was changed. This is what started the  
>> original request.
>
> Is there no way to simulate a 'make depend' with latexmk? This  
> could solve the problem that latexmk "does not see" that some  
> included file has changed ...
>
> Another option would be to rename the original LaTeX root file and  
> pass a copy to latexmk. At the end, no matter whether the run was  
> successful or not, the copy can be removed and the renamed file can  
> be renamed to its original name ...
>
> --
> Greetings
>
>   Pete

Howdy,

You're quicker than I am! :-)

I've experimented with -i option for latexmk which does exactly that!  
I've changed the engine files (yet again!? Sigh...) so that there is  
no `touch` command (to force the compile) but added the -i option to  
the latexmk call in the engine file and it all seems to work: changes  
to a root or included file will force a compile while latexmk will  
not compile if there are no changes. I guess I thought the -i option  
was on by default and just wasn't ``working.'' John Collins, the  
author/maintainer of latexmk, is much smarter than I am!

Update to the latest engines by downloading LatexmkTeXShop.zip from  
<http://homepage.mac.com/herbs2/>.

Please test this out and let me know both whether it works or not for  
you. Hopefully this is the correct solution.

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