mktexpk 狂占资源!

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
xyywll
帖子: 338
注册时间: 2008-05-24 1:24
送出感谢: 0
接收感谢: 0

mktexpk 狂占资源!

#1

帖子 xyywll » 2008-11-01 13:10

现在一编译,就发现 mktexpk 运行了,占用 cpu 100% 而且一般都要十来分钟才歇息,请大家帮我诊断诊断,谢谢!~

我的系统:
ubuntu 8.04
texlive 2008
字体 YueWang-zhfonts-final_1.01.tar.bz2 使用 fmtutil --all 转化为2008可用的
使用 cjk 包

编译命令:
latex main.tex && dvipdfmx main.dvi

~ 下生成了一个 missfont.log 文件,6000多行了,选取最后几行:
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimhei41
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimhei56
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimhei60
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimhei59
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimhei64
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimhei61
mktexpk --mfmode / --bdpi 600 --mag 4+129/600 --dpi 2529 gbksimfang49
mktexpk --mfmode / --bdpi 600 --mag 4+129/600 --dpi 2529 gbksimfang58
mktexpk --mfmode / --bdpi 600 --mag 4+129/600 --dpi 2529 gbksimfang60
mktexpk --mfmode / --bdpi 600 --mag 4+129/600 --dpi 2529 gbksimfang55
mktexpk --mfmode / --bdpi 600 --mag 4+129/600 --dpi 2529 gbksimfang56
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimfang46
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimfang37
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimfang26
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimfang60
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimfang39
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimfang40
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimfang43
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 gbksimfang64
mktexpk --mfmode / --bdpi 600 --mag 2+366/600 --dpi 1566 ptmr8t
mktexpk --mfmode / --bdpi 600 --mag 1+120/600 --dpi 720 gbksimsun25
mktexpk --mfmode / --bdpi 600 --mag 1+120/600 --dpi 720 ptmr8t

我的文档格式文件 format.tex 如下:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% CJK环境定义
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{CJK}
\usepackage{indentfirst}
\usepackage[top=1in,bottom=0.8in,left=1in,right=0.8in]{geometry}
%\usepackage{CJKpunct}
\usepackage[bf,small,indentafter,pagestyles]{titlesec}
\usepackage{CJKnumb}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 数学环境定义
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amsmath}
\usepackage{latexsym,bm}

% 英文和数学使用Times字体
\usepackage[T1]{fontenc}
\usepackage{mathptmx}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 代码和伪代码支持
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[lined,algonl,boxed]{algorithm2e}
\usepackage{listings}
\usepackage{xcolor} % 使用颜色宏包

\lstloadlanguages{[ANSI]C}
\lstset{
language=[ANSI]C,
tabsize=4,
keepspaces=true,
breaklines=true,
extendedchars=false,
numbers=left,
basicstyle=\ttfamily\small,
keywordstyle=\color{blue!70},
commentstyle=\color{red!50!green!50!blue!50},
frame=shadowbox,
rulesepcolor=\color{red!20!green!20!blue!20}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 图形支持
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{graphicx}

%\DeclareGraphicsRule{.png}{eps}{.png.bb}{`convert #1 'eps:-' }
%\DeclareGraphicsRule{.jpg}{eps}{.jpg.bb}{`convert #1 'eps:-' }
%\DeclareGraphicsRule{.gif}{eps}{.gif.bb}{`convert #1 'eps:-' }


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 重定义字体名和字号命令
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\song}{\CJKfamily{song}}
\newcommand{\hei}{\CJKfamily{hei}}
\newcommand{\kai}{\CJKfamily{kai}}
\newcommand{\fs}{\CJKfamily{fs}}
\newcommand{\li}{\CJKfamily{li}}
\newcommand{\you}{\CJKfamily{you}}

\newcommand{\xiaochu}{\fontsize{30pt}{40pt}\selectfont} % 小初, 1.5倍行距
\newcommand{\yihao}{\fontsize{26pt}{36pt}\selectfont} % 一号, 1.4倍行距
\newcommand{\erhao}{\fontsize{22pt}{28pt}\selectfont} % 二号, 1.25倍行距
\newcommand{\xiaoer}{\fontsize{18pt}{18pt}\selectfont} % 小二, 单倍行距
\newcommand{\sanhao}{\fontsize{16pt}{24pt}\selectfont} % 三号, 1.5倍行距
\newcommand{\xiaosan}{\fontsize{15pt}{22pt}\selectfont} % 小三, 1.5倍行距
\newcommand{\sihao}{\fontsize{14pt}{21pt}\selectfont} % 四号, 1.5倍行距
\newcommand{\banxiaosi}{\fontsize{13pt}{19.5pt}\selectfont} % 半小四, 1.5倍行距
\newcommand{\xiaosi}{\fontsize{12pt}{18pt}\selectfont} % 小四, 1.5倍行距
\newcommand{\dawuhao}{\fontsize{11pt}{11pt}\selectfont} % 大五号, 单倍行距
\newcommand{\wuhao}{\fontsize{10.5pt}{10.5pt}\selectfont} % 五号, 单倍行距

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 重定义标题
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{CJK*}{GBK}{song}
\end{CJK*}
\titleformat{\chapter}[hang]{\centering\LARGE\bfseries}{\chaptername}{1em}{}
\renewcommand{\chaptername}{第\CJKnumber{\thechapter}章}
\titlespacing{\chapter}{0pt}{*0}{*4}

\newpagestyle{main}{
\sethead{}{\kai\small\chaptername\quad\chaptertitle\qquad\thepage}
\setfoot{}{}{}\headrule}

\newpagestyle{special}{
\sethead{}{}{\kai\small\chaptertitle\qquad\thepage}
\setfoot{}{}{}\headrule}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 重定义目录和参考文献
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\contentsname}{目\quad 录}
\renewcommand{\bibname}{参考文献}

% 1.5倍行距
\renewcommand{\baselinestretch}{1.24}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 罗列环境
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{enumitem}
xyywll
帖子: 338
注册时间: 2008-05-24 1:24
送出感谢: 0
接收感谢: 0

Re: mktexpk 狂占资源!

#2

帖子 xyywll » 2008-11-01 21:44

靠,我cpu都要折寿了,每次编译一回,风扇就狂响5分钟。。。 help~~~
xyywll
帖子: 338
注册时间: 2008-05-24 1:24
送出感谢: 0
接收感谢: 0

Re: mktexpk 狂占资源!

#3

帖子 xyywll » 2008-11-01 22:13

初步看了下,好像这些类似的进程都是 evince-thumbnailer 派生的
回复

回到 “办公、图像、机械电子设计等”