作者yihhung (yih)
看板LaTeX
标题chitex与TeXMaker
时间Sat Sep 4 22:09:59 2010
Hi,
chitex 也有命令线上的编译指令
因此也可以在 TexMaker 上使用 chitex 编译
其实安装了 chitex 就不需用 TexMaker
因为 chitex 的视窗在许多方面
远比 TeXMaker 方便好用
不过有些 user 习惯於某种习惯
也可用使用用 chitex 来编译的 TrXMaker
(这样仍有 "使用 chitex 编写 TeX/LaTeX 文件
与英文 TeX/LaTeX 几乎一样的" 方便)
(已安装有 chitex 者请线上更新一下)
下面介绍
A, chitex 命令线上的编译指令
B. 如何设定 TexMaker 来使用 chitex
A. chitex 命令线上的编译指令:
要使用 chitex 命令线上指令之, 仍然要安装
chitex, 安装後要先启动一次 chitex (click
桌面上 标有 "chitex" 的图示
再设 path 使含有 c:\chitex\bin
chitex 命令线上的编译指令如下(设有文件 math2.tex):
chitex math2 (latex 编译 math2.tex)
(不要有 .tex)
chitex -dvipdfm math2
(latex+dvipdfm+AcroRead)
chitex -pdftex math2 (pdftex)
chitex -pdftex -acroread (pdftex+AcroRead)
chitex -yap math2 (latex+yap)
chitex -gsview math2 (latex+dvips+gsview)
chitex -omega math2 (omega)
chitex -omega -dvipdfm (omega+dvipdfm+Acroread)
-----
(其他的在 \chitex\bin 中下指令 chitex 就会有 help)
B. 如何设定 TexMaker 来使用 chitex
(如 A. 中之说明要先安装 chitex ...)
设定 TexMaker 来使用 chitex 如下:
在 TexMaker 中 click 功能表之 "选项(O)"
再选 "设定 Texmaker" 後出现的视窗中:
在有如下之一栏:
(1) Latex latex -interaction nonstopmode %.tex
Latex 右方之
latex -interaction nonstopmode %.tex
换为
c:\chitex\bin\chitex.bat %
(2) PdfLatex -interaction nonstopmode %.tex
PdfLatex 右方之
pdflatex -interaction nonstopmode %.tex
换为
c:\chitex\bin\chitex.bat -pdftex %
(3) click 视窗左边标有 "快速编辑" 之图示
之後出现的视窗中, click
◎ 自订
然後再 "◎ 自订" 下面一行输入:
c:\chitex\bin\chitex.bat -dvipdfm %
(这样在 "工具(T)" 的功能表中选 "快速编辑"
就可以进行 Latex/TeX+dvipdfm+Aroread )
Hung-Yih Chen
email:
[email protected]
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 111.251.38.129