Windows下编译buptthesis

290 views
Skip to first unread message

Yunpeng

unread,
Nov 21, 2011, 3:16:53 AM11/21/11
to buptthesis
大家好,

我想用这个模板写毕业论文,使用的是Win7 64bit + texlive2010, 运行makethesis.bat。但是一直不能编译完,看
到是一直在重复一段命令,但一直没有成功:

kpathsea: Running mktexpk --mfmode / --bdpi 300 --mag 1+122/300 --dpi
422 cyberb
5e

The command name is D:\texlive\2010\bin\win32\mktexpk

kpathsea: Running mktexmf cyberb5e.mf

The command name is D:\texlive\2010\bin\win32\mktexmf
name = cyberb5e, rootname = cyberb5e, pointsize =
mktexmf: empty or non-existent rootfile!
Cannot find cyberb5e.mf .
I try ps2pk --> gsftopk --> ttf2pk --> hbf2gf.
ps2pk cannot be used.
I try gsftopk.
gsftopk.exe cyberb5e 422
^C终止批处理操作吗(Y/N)?

我看到讨论群里说的是(http://buptthesis.googlecode.com/hg-history/
d65d9b29c125d8b464446d5e689bb3280c20c21d/sample/README.txt)

如果编译过程出错,有可能是Makefile或者makethesis.bat中的环境变量设置与运行的系统不一致,
请自行编辑这两个文件,进行必要的修改。

我对编译这个不太懂,有同学能帮助我应该怎么修改吗?以前用latex写过论文和报告,但是都是直接在主文件打开,直接在texnicCenter里编
译,没用过这种make编译的,所以请教各位现在我应该如何处理呢?

谢谢!

Yu Zhang

unread,
Nov 21, 2011, 12:18:48 PM11/21/11
to buptthesis
这个是因为你的tex没有中文字体。你可以用ctex试试。

Yunpeng

unread,
Nov 22, 2011, 10:04:48 PM11/22/11
to buptthesis
我在bt上下了CTeX_2.9.0.152_Full,卸载了我原来的texlive再装上CTeX后,运行makethesis.bat,还是不能
通过,报如下的错miktex-makemf: The unisong source file could not be found.。看来还是
字体的问题,但是我在网上查了挺久,说应该CTeX装好后就没有字体错误了。实在不知道该怎么处理了。

(D:\CTEX\MiKTeX\tex\generic\oberdiek\ifvtex.sty)(D:\CTEX\MiKTeX\tex
\generic\ifxetex\ifxetex.sty)(D:\CTEX\MiKTeX\tex\latex\oberdiek
\hycolor.sty(D:\CTEX\MiKTeX\tex\latex\oberdiek\xcolor-patch.sty))(D:
\CTEX\MiKTeX\tex\latex\oberdiek\letltxmacro.sty)(D:\CTEX\MiKTeX\tex
\latex\oberdiek\kvoptions.sty)(D:\CTEX\MiKTeX\tex\latex\hyperref
\pd1enc.def)(D:\CTEX\MiKTeX\tex\generic\oberdiek\intcalc.sty)(D:\CTEX
\MiKTeX\tex\latex\00miktex\hyperref.cfg)(D:\CTEX\MiKTeX\tex\latex
\hyperref\puenc.def)
Package hyperref Warning: Option `a4paper' is no longer used.
(D:\CTEX\MiKTeX\tex\latex\ltxmisc\url.sty)(D:\CTEX\MiKTeX\tex\generic
\oberdiek\bitset.sty(D:\CTEX\MiKTeX\tex\generic\oberdiek
\bigintcalc.sty))(D:\CTEX\MiKTeX\tex\generic\oberdiek\atbegshi.sty))
Package hyperref Message: Driver: hdvips.
(D:\CTEX\MiKTeX\tex\latex\hyperref\hdvips.def(D:\CTEX\MiKTeX\tex\latex
\hyperref\pdfmark.def(D:\CTEX\MiKTeX\tex\latex\oberdiek
\rerunfilecheck.sty(D:\CTEX\MiKTeX\tex\latex\oberdiek\atveryend.sty)(D:
\CTEX\MiKTeX\tex\generic\oberdiek\uniquecounter.sty))))(D:\CTEX\MiKTeX
\tex\latex\breakurl\breakurl.sty(D:\CTEX\MiKTeX\tex\latex\xkeyval
\xkeyval.sty(D:\CTEX\MiKTeX\tex\generic\xkeyval\xkeyval.tex)))(D:\CTEX
\MiKTeX\tex\latex\glossaries\base\glossaries.sty(D:\CTEX\MiKTeX\tex
\latex\base\ifthen.sty)(D:\CTEX\MiKTeX\tex\latex\glossaries\base
\mfirstuc.sty)(D:\CTEX\MiKTeX\tex\latex\xfor\xfor.sty)(D:\CTEX\MiKTeX
\tex\latex\glossaries\styles\glossary-hypernav.sty)(D:\CTEX\MiKTeX\tex
\latex\glossaries\styles\glossary-list.sty)(D:\CTEX\MiKTeX\tex\latex
\glossaries\styles\glossary-long.sty)(D:\CTEX\MiKTeX\tex\latex
\glossaries\styles\glossary-super.sty(D:\CTEX\MiKTeX\tex\latex
\supertabular\supertabular.sty))(D:\CTEX\MiKTeX\tex\latex\glossaries
\styles\glossary-tree.sty)))(I:\Simon\11.23\thesis_lyp\BUPTThesis.cfg)
(I:\Simon\11.23\thesis_lyp\acronyms.tex)(I:\Simon\11.23\thesis_lyp
\bare_thesis.aux(I:\Simon\11.23\thesis_lyp\ch01-xxx.aux) (I:\Simon
\11.23\thesis_lyp\pubs.aux))(D:\CTEX\MiKTeX\tex\latex\base\ts1cmr.fd)
(D:\CTEX\MiKTeX\tex\latex\psnfss\t1ptm.fd)
Package caption Warning: \caption will not be redefined since it's
already(caption) redefined by a document class or
package which is(caption) unknown to the caption
package.See the caption package documentation for explanation.

LaTeX Warning: Command \selectfont has changed. Check
if current package is valid.
(D:\CTEX\MiKTeX\tex\latex\hyperref\nameref.sty(D:\CTEX\MiKTeX\tex\latex
\oberdiek\refcount.sty)(D:\CTEX\MiKTeX\tex\generic\oberdiek
\gettitlestring.sty))(I:\Simon\11.23\thesis_lyp\bare_thesis.out)(I:
\Simon\11.23\thesis_lyp\bare_thesis.out)(D:\CTEX\MiKTeX\tex\latex\cjk
\UTF8\UTF8.bdg)(D:\CTEX\MiKTeX\tex\latex\cjk\UTF8\UTF8.enc)(D:\CTEX
\MiKTeX\tex\latex\cjk\UTF8\UTF8.chr)(D:\CTEX\CTeX\tex\latex\CJK
\UTF8\c70song.fd)(I:\Simon\11.23\thesis_lyp\abstract.tex)
<buptname.eps>(D:\CTEX\CTeX\tex\latex\CJK\UTF8\c70hei.fd)
<buptlogo.eps>(D:\CTEX\MiKTeX\tex\latex\psnfss\ot1ztmcm.fd)(D:\CTEX
\MiKTeX\tex\latex\psnfss\omlztmcm.fd)(D:\CTEX\MiKTeX\tex\latex\psnfss
\omsztmcm.fd)(D:\CTEX\MiKTeX\tex\latex\psnfss\omxztmcm.fd)(D:\CTEX
\MiKTeX\tex\latex\psnfss\ot1ptm.fd)Underfull \hbox (badness 3826) in
paragraph at lines 34--34[]|\C70/song/m/n/18.06749/98 ?\C70/song/m/n/
18.06749/76 顋\C70/song/m/n/18.06749/ff |
Overfull \hbox (24.09pt too wide) in paragraph at lines 34--34[][][1]
[2] [3] [4]Underfull \vbox (badness 10000) has occurred while \output
is activeOverfull \hbox (4.57715pt too wide) has occurred while
\output is active [][1] [2]Underfull \vbox (badness 10000) has
occurred while \output is activeOverfull \hbox (4.57715pt too wide)
has occurred while \output is active [][3] [4] (I:\Simon
\11.23\thesis_lyp\bare_thesis.toc)(I:\Simon\11.23\thesis_lyp
\notations.texUnderfull \vbox (badness 10000) has occurred while
\output is activeOverfull \hbox (4.57715pt too wide) has occurred
while \output is active [][5] [6])Underfull \vbox (badness 10000) has
occurred while \output is activeOverfull \hbox (4.57715pt too wide)
has occurred while \output is active [][7] [8] (I:\Simon
\11.23\thesis_lyp\ch01-xxx.tex
Package natbib Warning: Citation `BUPT_Thesis_Format_2004' on page 1
undefinedon input line 11.

Package natbib Warning: Citation `latex-bupt' on page 1 undefined on
input line 17.

Package natbib Warning: Citation `BUPT_Thesis_Format_2004' on page 1
undefinedon input line 18.
(D:\CTEX\MiKTeX\tex\latex\psnfss\ts1ptm.fd)
Package natbib Warning: Citation `thuthesis' on page 1 undefined on
input line26.

Package natbib Warning: Citation `BUPT_Thesis_Format_2004' on page 1
undefinedon input line 27.

Package natbib Warning: Citation `BUPT_Thesis_Format_2004' on page 1
undefinedon input line 28.

Underfull \vbox (badness 10000) has occurred while \output is
activeOverfull \hbox (4.57715pt too wide) has occurred while \output
is active [][1]
Package natbib Warning: Citation `BUPT_Thesis_Format_2004' on page 2
undefinedon input line 65.

Underfull \vbox (badness 7576) has occurred while \output is
activeUnderfull \vbox (badness 10000) has occurred while \output is
activeOverfull \hbox (2.28857pt too wide) has occurred while \output
is active[][2] (I:\Simon\11.23\thesis_lyp\ch01-xxx.bbl))Underfull
\vbox (badness 10000) has occurred while \output is activeOverfull
\hbox (4.57715pt too wide) has occurred while \output is active [][3]
(I:\Simon\11.23\thesis_lyp\bare_thesis.acr [4])(I:\Simon
\11.23\thesis_lyp\ackgt.texUnderfull \vbox (badness 10000) has
occurred while \output is activeOverfull \hbox (4.57715pt too wide)
has occurred while \output is active [][5] [6])Underfull \vbox
(badness 10000) has occurred while \output is activeOverfull \hbox
(4.57715pt too wide) has occurred while \output is active [][7] (I:
\Simon\11.23\thesis_lyp\pubs.tex [8]
Package natbib Warning: Citation `BSTnoetal' undefined on input line
8.
(I:\Simon\11.23\thesis_lyp\pubs.bbl)
Package natbib Warning: Citation `paper1' undefined on input line 13.

Package natbib Warning: Citation `paper2' undefined on input line 14.

Package natbib Warning: Citation `patent1' undefined on input line 19.
)Underfull \vbox (badness 10000) has occurred while \output is
activeOverfull \hbox (4.57715pt too wide) has occurred while \output
is active [][9] [10]
Package natbib Warning: There were undefined citations.
(I:\Simon\11.23\thesis_lyp\bare_thesis.aux(I:\Simon\11.23\thesis_lyp
\ch01-xxx.aux) (I:\Simon\11.23\thesis_lyp\pubs.aux)))(see the
transcript file for additional information)Output written on
bare_thesis.dvi (22 pages, 60596 bytes).Transcript written on
bare_thesis.log.This is dvips(k) 5.99 Copyright 2010 Radical Eye
Software (www.radicaleye.com)' TeX output 2011.11.23:1054' ->
bare_thesis.ps<D:\CTEX\UserData\fonts\pk\modeless\chinese\unisong
\dpi422\unisong5b.pk><D:\CTEX\UserData\fonts\pk\modeless\chinese
\unisong\dpi422\unisong7e.pk><D:\CTEX\UserData\fonts\pk\modeless
\chinese\unisong\dpi422\unisongff.pk><D:\CTEX\UserData\fonts\pk
\modeless\chinese\unisong\dpi422\unisong55.pk><D:\CTEX\UserData\fonts
\pk\modeless\chinese\unisong\dpi422\unisong4e.pk><D:\CTEX\UserData
\fonts\pk\modeless\chinese\unisong\dpi422\unisong79.pk><D:\CTEX
\UserData\fonts\pk\modeless\chinese\unisong\dpi422\unisong4f.pk><D:
\CTEX\UserData\fonts\pk\modeless\chinese\unisong
\dpi422\unisong67.pk><D:\CTEX\UserData\fonts\pk\modeless\chinese
\unisong\dpi422\unisong96.pk><D:\CTEX\UserData\fonts\pk\modeless
\chinese\unisong\dpi422\unisong5e.pk><D:\CTEX\UserData\fonts\pk
\modeless\chinese\unihei\dpi964\unihei53.pk><D:\CTEX\UserData\fonts\pk
\modeless\chinese\unihei\dpi964\unihei58.pk><D:\CTEX\UserData\fonts\pk
\modeless\chinese\unihei\dpi964\unihei78.pk><D:\CTEX\UserData\fonts\pk
\modeless\chinese\unihei\dpi964\unihei7a.pk><D:\CTEX\UserData\fonts\pk
\modeless\chinese\unihei\dpi964\unihei75.pk><D:\CTEX\UserData\fonts\pk
\modeless\chinese\unihei\dpi964\unihei5b.pk><D:\CTEX\UserData\fonts\pk
\modeless\chinese\unihei\dpi964\unihei4f.pk><D:\CTEX\UserData\fonts\pk
\modeless\chinese\unihei\dpi964\unihei8b.pk><D:\CTEX\UserData\fonts\pk
\modeless\chinese\unihei\dpi964\unihei65.pk><D:\CTEX\UserData\fonts\pk
\modeless\chinese\unisong\dpi542\unisong98.pk><D:\CTEX\UserData\fonts
\pk\modeless\chinese\unisong\dpi542\unisong76.pk><D:\CTEX\UserData
\fonts\pk\modeless\chinese\unisong\dpi542\unisongff.pk><D:\CTEX
\UserData\fonts\pk\modeless\chinese\unisong\dpi542\unisong53.pk><D:
\CTEX\UserData\fonts\pk\modeless\chinese\unisong
\dpi542\unisong4e.pk><D:\CTEX\UserData\fonts\pk\modeless\chinese
\unisong\dpi542\unisong90.pk><D:\CTEX\UserData\fonts\pk\modeless
\chinese\unisong\dpi542\unisong75.pk><D:\CTEX\UserData\fonts\pk
\modeless\chinese\unisong\dpi542\unisong59.pk><D:\CTEX\UserData\fonts
\pk\modeless\chinese\unisong\dpi542\unisong5b.pk><D:\CTEX\UserData
\fonts\pk\modeless\chinese\unisong\dpi542\unisong4f.pk><D:\CTEX
\UserData\fonts\pk\modeless\chinese\unisong\dpi542\unisong8b.pk><D:
\CTEX\UserData\fonts\pk\modeless\chinese\unisong
\dpi542\unisong65.pk><D:\CTEX\UserData\fonts\pk\modeless\chinese
\unisong\dpi542\unisong6a.pk><D:\CTEX\UserData\fonts\pk\modeless
\chinese\unisong\dpi542\unisong67.pk><D:\CTEX\UserData\fonts\pk
\modeless\chinese\unisong\dpi542\unisong79.pk><D:\CTEX\UserData\fonts
\pk\modeless\chinese\unisong\dpi542\unisong68.pk><D:\CTEX\UserData
\fonts\pk\modeless\chinese\unisong\dpi422\unisong53.pk><D:\CTEX
\UserData\fonts\pk\modeless\chinese\unisong\dpi422\unisong59.pk>Trying
to make PK font unisong54 at 422 DPI...Running miktex-
makemf.exe...miktex-makemf: The unisong source file could not be
found.Running ttf2pk.exe...Running ttf2pk.exe...Creating
unisong54.pk...
<D:\CTEX\UserData\fonts\pk\modeless\chinese\unisong
\dpi422\unisong54.pk>Trying to make PK font unisong75 at 422
DPI...Running miktex-makemf.exe...miktex-makemf: The unisong source
file could not be found.Running ttf2pk.exe...Running
ttf2pk.exe...Creating unisong75.pk...
<D:\CTEX\UserData\fonts\pk\modeless\chinese\unisong
\dpi422\unisong75.pk>Trying to make PK font unisong8d at 422
DPI...Running miktex-makemf.exe...miktex-makemf: The unisong8d source
file could not be found.Running ttf2pk.exe...Running
ttf2pk.exe...Creating unisong8d.pk...
<D:\CTEX\UserData\fonts\pk\modeless\chinese\unisong
\dpi422\unisong8d.pk>Trying to make PK font unisong7c at 422
DPI...Running miktex-makemf.exe...miktex-makemf: The unisong7c source
file could not be found.Running ttf2pk.exe...Running
ttf2pk.exe...Creating unisong7c.pk...
<D:\CTEX\UserData\fonts\pk\modeless\chinese\unisong
\dpi422\unisong7c.pk>Trying to make PK font unisong60 at 422
DPI...Running miktex-makemf.exe...miktex-makemf: The unisong source
file could not be found.Running ttf2pk.exe...Running
ttf2pk.exe...Creating unisong60.pk...
<D:\CTEX\UserData\fonts\pk\modeless\chinese\unisong
\dpi422\unisong60.pk>Trying to make PK font unisong90 at 422
DPI...Running miktex-makemf.exe...miktex-makemf: The unisong source
file could not be found.Running ttf2pk.exe...Running
ttf2pk.exe...Creating unisong90.pk...
<D:\CTEX\UserData\fonts\pk\modeless\chinese\unisong
\dpi422\unisong90.pk>Trying to make PK font unisong5d at 422
DPI...Running miktex-makemf.exe...miktex-makemf: The unisong5d source
file could not be found.Running ttf2pk.exe...Running
ttf2pk.exe...Creating unisong5d.pk...
<D:\CTEX\UserData\fonts\pk\modeless\chinese\unisong
\dpi422\unisong5d.pk>Trying to make PK font unisong7a at 422
DPI...Running miktex-makemf.exe...miktex-makemf: The unisong7a source
file could not be found.Running ttf2pk.exe...Running
ttf2pk.exe...Creating unisong7a.pk...
<D:\CTEX\UserData\fonts\pk\modeless\chinese\unisong
\dpi422\unisong7a.pk>Trying to make PK font unisong30 at 422
DPI...Running miktex-makemf.exe...miktex-makemf: The unisong source
file could not be found.Running ttf2pk.exe...Running
ttf2pk.exe...Creating unisong30.pk...
<D:\CTEX\UserData\fonts\pk\modeless\chinese\unisong
\dpi422\unisong30.pk>Trying to make PK font unihei72 at 422
DPI...Running miktex-makemf.exe...miktex-makemf: The unihei source
file could not be found.Running ttf2pk.exe...Running
ttf2pk.exe...Creating unihei72.pk...
<D:\CTEX\UserData\fonts\pk\modeless\chinese\unihei
\dpi422\unihei72.pk>Trying tomake PK font unihei52 at 422
DPI...Running miktex-makemf.exe...miktex-makemf: The unihei source
file could not be found.Running ttf2pk.exe...Running
ttf2pk.exe...Creating unihei52.pk...

Yu Zhang

unread,
Nov 24, 2011, 1:36:47 PM11/24/11
to buptt...@googlegroups.com
这个你是过没?
http://code.google.com/p/buptthesis/wiki/SetupFontUnderCTeX28

> --
> 您收到这封邮件是因为您订阅了Google Groups上的”BUPTThesis“讨论组。
> 如需向该讨论组发贴,请发送邮件到buptt...@googlegroups.com
> 停止订阅,请发送邮件到buptthesis+...@googlegroups.com
> 获得更多选项,请访问http://groups.google.com/group/buptthesis?hl=zh-CN

Yunpeng Li

unread,
Nov 24, 2011, 8:31:53 PM11/24/11
to buptt...@googlegroups.com
以前没有,果然好了。。。非常感谢!

看来我对wiki的使用太不熟了。

2011/11/25 Yu Zhang <dazzl...@gmail.com>



--
Yunpeng Li
School of Information and Communication Engineering
Beijing University of Posts and Telecommunications
Tel: +86-13581903856
Reply all
Reply to author
Forward
0 new messages