[Tikzdevice-bugs] getMetrics error

Shaun Siau gandalfmuaddib at gmail.com
Thu Sep 15 13:07:07 CEST 2011



On Tuesday, 2 August 2011 17:48:25 UTC+10, Berner Larsen wrote:
>
>
> 1.      When MiKTeX 2.9 is installed the default MiKTeX option of "Install 
> missing packages on-the fly" is "Ask me first". A better choice is probably 
> "Yes". This is due to the fact that when tikzDevice computes the Latex 
> string width it calls Latex and uses the Latex package "preview" which is 
> not part of the basic MiKTeX installation. (I think few persons install the 
> complete MiKTeX system as this is very time and disc consuming.) The 
> pdflatex run is aborted if the preview package is not present and a 
> getMetrics error occurs.
>

I think this is worth emphasizing. I spent an hour figuring out what's wrong 
with my MiKTeX installation (since the pgf package has already been 
installed).
But yeah, the preview package is also necessary for proper functioning.

Maybe a brief notice to MiKTeX users would be useful here?

Regards,
Shaun


More information about the Tikzdevice-bugs mailing list