(1) 假设texmf目录在D:盘根目录下,删除pgf相关的所有目录,执行如下DOS命令
rd /s D:\texmf\tex\plain\pgf
rd /s D:\texmf\tex\latex\pgf
rd /s D:\texmf\tex\generic\pgf
rd /s D:\texmf\tex\doc\generic\pgf
rd /s D:\texmf\tex\context\pgf
(2)重建TeX文件名数据库,执行DOS命令:
texhash
(3)上网下载最新宏包压缩包
(4)解压压缩包,把该包下的tex子目录拷贝至D:\texmf\ 下,全部覆盖即可。
在Windows XP 和 ChinaTeX20060918测试通过,如下例
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Author : Andrei Sobolevski (April 2009)
% License : Creative Commons attribution license
% Title : Map of scientific interactions of researchers
% affiliated in 2008 to the J.-V. Poncelet laboratory
% (UMI 2615 CNRS, http://www.poncelet.ru)
% Notes : Produced for the 2008 annual report of the lab;
% layout of subnodes is a result of manual optimization
% Tags : mindmap, layers
% Submitted to TeXample.net on 16 January 2010
\documentclass{article}
%%%<
\usepackage{verbatim}
%%%>
\begin{comment}
:Title: Scientific interactions
Map of scientific interactions of researchers
affiliated in 2008 to the J.-V. Poncelet laboratory
(UMI 2615 CNRS, ``_)
\end{comment}