Google

Archives

ubuntu 下 latex 中文支持script & samples

介绍如何在ubuntu 下按章cjk 支持,一下脚本在ubuntu 9.10 + kile 下测试好使。

latex 下安装中文支持,需要安装一系列宏包,然后拷贝生成字体什么的,甚是繁琐。一步抄作出问题,会浪费很多时间。

不如写成一个script, shell 脚本。出问题,或机器重装,运行此脚本即可,一劳永逸。

备忘。 脚本下载:install_cjk

samples :
\documentclass{article}
\usepackage{CJK}
\begin{document}
\begin{CJK}{UTF8}{song}
这是so8848
\end{CJK}
\end{document}

Incoming search terms for the article:latex samples (2)latex中文支持 (2)bib 中文 undefined control sequence (1)latex 中文 ubuntu (1)Latex 中文支持 (1)

Download Whole Website or Directories by using wget in Linux

Download Whole Website or Directories by using wget in Linux

You might have googled a software for downloading a specified website or directory on either Windows or Linux platform . Yes, a bunch of tools can do this for you. Actually, we can do this by using a simple command, wget, on Linux platform. It is [...]

Ubuntu Server 安装图形界面

Ubuntu Server 安装图形界面

1、安装 X 窗口系统:sudo apt-get install x-window-system-core

2、安装登录管理器:sudo apt-get install xdm/gdm/kdm[注]。最常见的图形化登录管理器包括 XDM、GDM、KDM,用户可根据自己的需要选择其中之一

3、 安装桌面环境或窗口管理器:sudo apt-get install ubuntu-desktop/kubuntu-desktop/xubuntu-desktop。这将分别安装 GNOME、KDE、XFCE 桌面环境。对于 GNOME、KDE、XFCE 这些桌面环境来说,为了获得更强的定制效果,也可仅安装最基本的组件,如:sudo apt-get install gnome-core/kde-core/xfce4。

如果不需要桌面环境,也可选择安装窗口管理器代替。那样的话,可以执行指令 sudo apt-get install fluxbox/icewm/enlightenment/fvwm

Incoming search terms for the article:ubuntu server 图形界面 (72)ubuntu 图形界面 (40)ubuntu服务器图形界面 (35)ubuntu 服务器版 图形界面 (17)ubuntu 图形界面安装 (5)

Kile spell check doesn't work

Just for future reference. the following steps were what I followed:
1. open the Synaptic manager and install
Kile
apsell
kcontrol

2. goto Applications->Other->Spell Checker (it seems that it is not necessary)

in client choose Aspell, this will change the dictionary to Aspell (for me by default appeared Ispell as dictionary).

3. restart Kile (if it is open)

Incoming [...]

ubuntu kile下 解决中文问题-CJK{GBK}

1. 安装TexLive 和 Latex 宏包

安装这些其实还可以避免其他很多ubuntu kile 下的问题

打开终端,执行下述命令安装TexLive和常用的一些Latex宏包(可以根据自己的需要增改):

sudo apt-get install texlive texlive-math-extra texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures texlive-science texlive-bibtex-extra texlive-common latex-beamer

如果硬盘充裕的话,直接完整安装也可以:

sudo apt-get install texlive-full latex-beamer

安装完后,就可以安装CJK的相关软件包了,如果只需要获得中文支持,那么执行:

sudo apt-get install latex-cjk-chinese ttf-arphic-* hbf-*

否则,建议安装latex-cjk-all以获取完整支持。

安装 gbkfonts

下载1:  gbkfontsfortetex3.0

下载2: gbkfonts

直接把gbkfonts 文件copy 到 目录/usr/bin, 记得要chmod, 命令: sudo chmod 777 /usr/bin/gbkfonts , 因为这个文件是从别地方copy过来,  not permit.

然后开始拷贝字体

sudo cp /media/hda1/windows/Fonts/sim* /usr/share/fonts/zh_CN/TrueType/

mkdir ~/texmf #如果你不是把目录建在这,比如建在~/.texmf,请参阅附录2作相应修改
cd ~/texmf

gbkfonts [...]