Code Monkey home page Code Monkey logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 7, 2024
在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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 7, 2024
参考文献的格式好像不对,我从哈工大的论文模板网站上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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 7, 2024

Original comment by [email protected] on 2 May 2012 at 7:48

  • Changed state: Fixed

from latex-njust808.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.