[OS X TeX] latexmk configuration file

Herbert Schulz herbs at wideopenwest.com
Wed Sep 29 21:29:54 CEST 2010


On Sep 29, 2010, at 2:26 PM, Christian Pleul wrote:

> Hi,
> 
> I am playing around with a rc files for latexmk and for some reason I resist to understand...
> 
> The following simple stuff is in my file called "latexmkrc"
> 
> @default_files = ("test");
> $pdflatex = "pdflatex  -halt-on-error %O %S";
> 
> For calling the "latexmkrc" file, I used in the terminal
> 
> latexmk -r latexmkrc
> 
> It starts to translate the file, but created a dvi file and can not find images, which are available as png files.
> 
> 
> Could somebody point me in the right direction and give some hints?
> 
> 
> Thanks,
> --
> 	Christian

Howdy,

Try to add the -pdf option to your command line so that it will use pdflatex rather than latex->dvips->ps2pdf. Going the dvi route will only deal with eps graphics.

latexmk -pdf -r latexmkrc

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list