Comments (3)
在Ubuntu 10.04下解决办法:
1.
有两个宏包flotflt和hypernat这两个宏包找不到,Google一下,从CT
AN上下载安装。
2. 安装中文字体,从Windows
7的C:\Windows\Fonts把中文字体都拷贝到/usr/share/fonts/truetype/winfont
s目录下,然后安装字体。
3. 将setup/packages.tex中的\CJKlanguage{zh-cn}去掉,编译时找不到。
4. 将setup/Definition.tex字体设置改一下,由于Windows
7中的FangSong和KaiTi都不是GB2312,需要改正,如下:
\setCJKfamilyfont{fs}{FangSong} % windows 7
\setCJKfamilyfont{kai}{KaiTi} % windows 7
%\setCJKfamilyfont{fs}{FangSong_GB2312} % windows xp
%\setCJKfamilyfont{kai}{KaiTi_ixGB2312} % windows xp
5. 将main.tex中第一行usewhat选项改为
\def\usewhat{xelatex},默认的是pdflatex,现在改为xelatex。
6. 编译文件。在main.tex目录下,命令如下
$ xelatex main.tex
大功告成。
注意:
1. 这里安装的是TexLive
2009,Ubuntu默认的,完全安装,所以宏都已经存在,如果没有�
��自己安装。
2. 字体若是从windows xp下拷贝,就不用修改字体设置。
3. 新装的宏包放在与main.tex相同的目录即可。
Original comment by [email protected]
on 30 Mar 2011 at 1:15
from latex-njust808.
参考文献的格式好像不对,我从哈工大的论文模板网站上http:
//code.google.com/p/plutothesis/下载了1.9.4.20100419模板,用新的chinese
bst2005_GBK.bst后,然后把reference/reference.bib也改成哈工大的模式
。在xelatex的makefile中,需要在bibtex main之后加入sed -i
'1\i\\\XeTeXinputencoding "gbk"'
main.bbl,以便告诉xelatex编码,然后可以编译正确。
Original comment by [email protected]
on 31 Mar 2011 at 9:14
from latex-njust808.
Original comment by [email protected]
on 2 May 2012 at 7:48
- Changed state: Fixed
from latex-njust808.
Related Issues (8)
- 南京理工大学工学博士学位论文LATEX模板 HOT 1
- 新的南京理工大学LATEX模版-有cls文件
- 声明与授权书那一页的变动
- 编译错误 HOT 1
- ctex与vista系统的兼容性
- 生成的PDF书签乱码问题 HOT 5
- 关于论文字数统计
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latex-njust808.