Code Monkey home page Code Monkey logo

flickering's Introduction

火光摇曳

下载编译好的版本

  1. 查看 release 目录获取编译好的版本
  2. 这里下载:http://pan.baidu.com/s/1V77Vg

自己编译这本书?

  • Win

    安装CTex-full, 打开 main.tex, 通过 XeLatex 编译。

  • Linux & Mac

    $> xelatex main.tex

编译出错 ?

  • Win

    确认在UTF-8 编码下打开通过 CTex 下的 WinEdt 打开 main.tex, 点击对应的 XeLatex 按钮进行编译。如果安装的 CTex-full 完全版,则缺省字体都支持。

  • Linux & Mac

    编译前预计需要配置一下XeLatex 字体, 配置过程参考 http://www.douban.com/note/322135009/

    我目前的XeLatex 字体配置文件: /usr/local/texlive/2013/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.def

    % ctex-xecjk-winfonts.def: Windows 的 xeCJK 字体设置,默认为六种中易字体
    % vim:ft=tex
    \setCJKmainfont[BoldFont={SimHei},ItalicFont={KaiTi_GB2312}]{SimSun}
    \setCJKsansfont{SimHei}
    \setCJKmonofont{FangSong_GB2312}
    
    \setCJKfamilyfont{zhsong}{SimSun}
    \setCJKfamilyfont{zhhei}{SimHei}
    \setCJKfamilyfont{zhkai}{KaiTi_GB2312}
    \setCJKfamilyfont{zhfs}{FangSong_GB2312}
    \setCJKfamilyfont{zhli}{LiSu}
    \setCJKfamilyfont{zhyou}{YouYuan}
    
    \newcommand*{\songti}{\CJKfamily{zhsong}} % 宋体
    \newcommand*{\heiti}{\CJKfamily{zhhei}}   % 黑体
    \newcommand*{\kaishu}{\CJKfamily{zhkai}}  % 楷书
    \newcommand*{\fangsong}{\CJKfamily{zhfs}} % 仿宋
    \newcommand*{\lishu}{\CJKfamily{zhli}}    % 隶书
    \newcommand*{\youyuan}{\CJKfamily{zhyou}} % 幼圆
    
    \endinput
    

FAQ

  • 看到某些图片覆盖了一些文字?

    目前在 Win 下用 CTex 编译的时候不会出现这个情况。 但是在 Linux & Mac 下编译的时候, 会出现某些图片覆盖文字的情况。 如果把图片转换为 eps 格式,再进行编译则不会出现这些问题。 是否有更好的解决方案,请Latex高手指点。

flickering's People

Contributors

zhihuijin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flickering's Issues

编译有不少错误

This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
%&-line parsing enabled.
kpathsea: Running mktexfmt xetex.fmt
fmtutil: running `xetex -ini -jobname=xetex -progname=xetex -etex xetex.ini' ...
This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6) (INITEX)
%&-line parsing enabled.
entering extended mode
(/usr/share/texmf/tex/plain/config/xetex.ini
(/usr/share/texmf/tex/generic/xetexconfig/unicode-letters.tex)
(/usr/share/texmf/tex/plain/etex/etex.src
(/usr/share/texmf/tex/plain/base/plain.tex Preloading the plain format: codes,
registers, parameters, fonts, more fonts, macros, math definitions,
output routines, hyphenation (/usr/share/texmf/tex/generic/hyphen/hyphen.tex
[skipping from \patterns to end-of-file...]))
(/usr/share/texmf/tex/plain/etex/etexdefs.lib Skipping module "grouptypes";
Loading module "interactionmodes"; Skipping module "nodetypes";
Skipping module "iftypes";) (/var/lib/texmf/tex/plain/config/language.def
(/usr/share/texmf/tex/generic/hyphen/hyphen.tex))
Augmenting the Plain TeX definitions: \tracingall;
Adding new e-TeX definitions: \eTeX, \loggingall, \tracingnone,
register allocation; extended register allocation;
Recycling: \addlanguage, @nswer (not defined), @sk, \b@dresponsetrue,
\b@dresponsefalse, \ch@ckforyn, \mayber@cycle, \et@xabort, \et@xbuf,
\et@xfmtsrc, \et@xfilehdr, \et@xinf, \et@xpatterns, \l@ngdefnfile, \n@xt,
\p@rse (not defined), \pr@mpt (not defined), \pr@mptloop (not defined),
\forcer@cycle, \usef@llback, \usef@llbacktrue, \usef@llbackfalse,
Retaining: \et@xerr, \et@xinput, \et@xlibhdr, \et@xmsg, \et@xtoks, \et@xwarn,
\et@xl@@d, \et@xl@ad, \et@xload, \et@xlang, \et@xhash, \eTeX, \etexhdrchk,
\etexstatus, \module, \uselanguage, \r@tain, \r@cycle,) )
Beginning to dump on file xetex.fmt
(format=xetex 2015.12.18)
67645 strings of total length 34090
7993 memory locations dumped; current usage is 197&7295
1174 multiletter control sequences
\font\nullfont=nullfont
\font\tenrm=cmr10
\font\sevenrm=cmr7
\font\fiverm=cmr5
\font\teni=cmmi10
\font\seveni=cmmi7
\font\fivei=cmmi5
\font\tensy=cmsy10
\font\sevensy=cmsy7
\font\fivesy=cmsy5
\font\tenex=cmex10
\font\tenbf=cmbx10
\font\sevenbf=cmbx7
\font\fivebf=cmbx5
\font\tentt=cmtt10
\font\tensl=cmsl10
\font\tenit=cmti10
4739 words of font info for 16 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 6076 has 181 ops out of 35111
181 for language 0
No pages of output.
Transcript written on xetex.log.
fmtutil: /root/.texlive2007/texmf-var/web2c/xetex/xetex.fmt installed.
entering extended mode
(./main.tex
! Undefined control sequence.
l.5 \documentclass
[12pt]{ctexrep}
?
! Undefined control sequence.
l.6 \usepackage
{float}
?
! Undefined control sequence.
l.7 \usepackage
{cite}
?
! Undefined control sequence.
l.8 \usepackage
{diagbox}
?
! Undefined control sequence.
l.9 \usepackage
{amsmath}
?
! Undefined control sequence.
l.10 \usepackage
{amsthm}
?
! Undefined control sequence.
l.11 \usepackage
{graphicx}
?
! Undefined control sequence.
l.12 \usepackage
{algorithm}
?
! Undefined control sequence.
l.13 \usepackage
{algorithmic}
?
! Undefined control sequence.
l.14 \usepackage
[colorlinks,bookmarks=false,CJKbookmarks=false,unicode=true,
?

Overfull \hbox (185.16322pt too wide) in paragraph at lines 5--16
[]\tenrm [12pt]ctexrep float cite di-ag-box ams-math am-sthm graph-icx al-go-ri
thm al-go-rith-mic [col-or-links,bookmarks=false,CJKbookmarks=false,unicode=tru
e,|
! Undefined control sequence.
l.18 \graphicspath
{{img/}}
?
! Undefined control sequence.
l.21 \newtheoremstyle
{mystyle}{3pt}{3pt}{\songti}{0cm}{\heiti}{}{1em}{}
?
! Undefined control sequence.
l.21 \newtheoremstyle{mystyle}{3pt}{3pt}{\songti
}{0cm}{\heiti}{}{1em}{}
?
! Undefined control sequence.
l.21 ...le{mystyle}{3pt}{3pt}{\songti}{0cm}{\heiti
}{}{1em}{}
?
! Undefined control sequence.
l.22 \theoremstyle
{mystyle}
?
! Undefined control sequence.
l.24 \newtheorem
{definition}{\hspace{2em}定义}[section]
?
! Undefined control sequence.
l.24 \newtheorem{definition}{\hspace
{2em}定义}[section]
?
! Undefined control sequence.
l.25 \newtheorem
{theorem}[definition]{\hspace{2em}定理}
?
! Undefined control sequence.
l.25 \newtheorem{theorem}[definition]{\hspace
{2em}定理}
?
! Undefined control sequence.
l.26 \newtheorem
{axiom}[definition]{\hspace{2em}公理}
?
! Undefined control sequence.
l.26 \newtheorem{axiom}[definition]{\hspace
{2em}公理}
?
! Undefined control sequence.
l.27 \newtheorem
{lemma}[definition]{\hspace{2em}引理}
?
! Undefined control sequence.
l.27 \newtheorem{lemma}[definition]{\hspace
{2em}引理}
?
! Undefined control sequence.
l.28 \newtheorem
{proposition}[definition]{\hspace{2em}命题}
?
! Undefined control sequence.
l.28 \newtheorem{proposition}[definition]{\hspace
{2em}命题}
?
! Undefined control sequence.
l.29 \newtheorem
{corollary}[definition]{\hspace{2em}推论}
?
! Undefined control sequence.
l.29 \newtheorem{corollary}[definition]{\hspace
{2em}推论}
?
! Undefined control sequence.
l.30 \newtheorem
{remark}{\hspace{2em}注}[section]
?
! Undefined control sequence.
l.30 \newtheorem{remark}{\hspace
{2em}注}[section]
?

Overfull \hbox (51.524pt too wide) in paragraph at lines 24--31
[]\tenrm definition2em[section] the-o-rem[definition]2em ax-iom[definition]2em
lemma[definition]2em propo-si-tion[definition]2em|
! Undefined control sequence.
l.32 \DeclareMathOperator
{\argmax}{arg,max}
?
! Undefined control sequence.
l.32 \DeclareMathOperator
{\argmax
}{arg,max}
?
! Missing $ inserted.

$

\mskip
,->\mskip
\thinmuskip
l.32 \DeclareMathOperator_{\argmax}{arg,
max}
?
! Extra }, or forgotten $.
l.32 \DeclareMathOperator_{\argmax}{arg,max}

?
! Undefined control sequence.
l.33 \DeclareMathOperator
{\argmin}{arg,min}
?
! Undefined control sequence.
l.33 \DeclareMathOperator
{\argmin
}{arg,min}
?
! Missing $ inserted.

$

\par
l.34

?
! Undefined control sequence.
l.36 \begin
{document}
?
! Undefined control sequence.
l.38 \include
{chapter/head}
?
! Undefined control sequence.
l.39 \include
{chapter/normal-distribution}
?
! Undefined control sequence.
l.40 \include
{chapter/gamma-function}
?
! Undefined control sequence.
l.41 \include
{chapter/beta-dirichlet}
?
! Undefined control sequence.
l.42 \include
{chapter/mcmc}
?
! Undefined control sequence.
l.43 \include
{chapter/lda-intro}
?
! Undefined control sequence.
l.44 \include
{chapter/stirling}
?
! Undefined control sequence.
l.45 \include
{chapter/language-entropy}
?
! Undefined control sequence.
l.46 \include
{chapter/hypothesis-test}
?
! Undefined control sequence.
l.47 \include
{chapter/collocation}
?
! Undefined control sequence.
l.48 \include
{chapter/statistics-in-war}
?

Overfull \hbox (7.19038pt too wide) in paragraph at lines 38--49
[]\tenrm chapter/head chapter/normal-distribution chapter/gamma-function chapte
r/beta-dirichlet chap-ter/mcmc|

Overfull \hbox (63.66267pt too wide) in paragraph at lines 38--49
\tenrm chapter/lda-intro chap-ter/stirling chapter/language-entropy chapter/hyp
othesis-test chap-ter/collocation chapter/statistics-|
[1] )
(\end occurred inside a group at level 1)

simple group (level 1) entered at line 32 ({)

bottom level

Output written on main.pdf (1 page).
Transcript written on main.log.

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.