texlive 2007 for Debian User
BreakDS
posted @ Mon, 06 Oct 2008 19:59:40 +0800
in Debian
, 1854 readers
-->
texlive 2007 的安装1
对于Debian来说,安装可以算说是最简单的一步的了。只要执行
sudo aptitude install texlive
就好了。 当然,如果想安装所有的组件,我们就需要:
sudo aptitude install texlive-full
但是我舍不得1个GB的空间。
安装完成后写了一个tex文件测试:
\documentclass[a4paper,12pt]{article} \title{Haha Test} \author{BreakDS} \date{6/Oct/2008} \usepackage{amsmath} \begin{document} \maketitle Let's begin our work: \begin{flalign*} r^2 &= \frac{x}{y}\\ & = \frac{y}{x} \end{flalign*} \end{document}
用命令latex,texi2pdf这两个我最常用的命令测试它们。 同时,我们也测试了它们是不是成功地被加到了PATH里头。
中文化配置
在之前的
上,采用的是texet+
+
的方法安装TeX的。但是现在因为texet已经完全停止更新了,故采用texlive 2007。 它的中文配置有点繁琐,最终我采用的是Yule Wang方法:
但是由于他不是通过Debian的apt安装的,所以要加入些许修改,具体如下:
准备工作
- 需要安装一个fontforge。 Yule Wang推荐的是2005版本的,不然在生成字体的时候会很痛苦,时间很漫长。 但是现在的源里面很少有2005的,要从网上下。 如果你不会也没关系,执行fontforge的时候去做饭就好了^_^。
- 还需要的一个东西是latex-cjk-common。源里面也有。其实安装了latex-cjk的那些东西就可以中文了,但是并不好,它提供的字体里面有许多字无法显示。
字体拷贝
- Setup System path这步不再需要,具体原因见上面^_^。
- 建立一个临时文件夹放,存放生成字体的中间文件。 这里跟Yule Wang的做法一致,放在~/font下头。
- 从windows底下copy那些需要的字体过来。Yule Wang举的例子是黑体,那我就举下仿宋,换汤不换药的。将那个simfang.ttf放到~/font下面。
- 这步也是和Yule Wang的不一样的,我们需要拷贝需要的sfd文件等,具体如下:
cd /usr/share/latex-cjk-common/utils/subfonts cp * ~/font/ cd /usr/share/texmf-texlive/fonts/sfd cp *.sfd ~/font/
字体生成
这步完全参照Yule Wang的即可。 注意把所有的hei改成fang。 其实fontforge那边的那个hei是你为这个字体命名,以后你在tex文件中要用
\begin<CJK><UTF8><hei>
来使用而已。 你大可以把它命名成myHeiFont之类的。但是注意这也要将后面的hei改成
。
把生成的字体拷贝到texmf里头
我们或许找不到Yule Wang所说的~/.texlive2007。 但是我们可以找到~/.texmf-var。 你看,连建立这个文件夹的事情都省了...
cd入这个文件夹,然后参照Yule Wang的即可。
最后,尽情测试吧。十分感谢Yule Wang的文章给予的帮助。 我只弄了hei和fang。 因为我的午饭太简单了吧~。
[1] 其实texlive 2008已经发布了,但是源里还没有,据说配置中文好简单。
Fri, 02 Oct 2009 23:14:19 +0800
Excuse me. Let us so live that when we come to die even the undertaker will be sorry. Help me! It has to find sites on the: Airbrush tanning elk grove. I found only this - <a href="http://www.bigumcms.dk/Members/Tanning">airbrush Tanning dallas</a>. Competing on a classification of manufacturers, a sense may analyse for and be directed a key for the tender, or the purview of diminishing the bit, ordering strategy components not for also 20 things. This is buying more and more single in the size distributor, where prescribers can produce long companies suitable as company and pharmaceutical drugs finished as base vs. Best regards :-), Nancy from Belgium.
Sat, 10 Oct 2009 11:28:59 +0800
Badly need your help. I am not an adventurer by choice but by fate. Help me! It has to find sites on the: Itip human hair extensions. I found only this - <a href="http://bwmonumental.spellcaster.com.br/Members/Extensions">10 human hair Extensions</a>. Groundbreaking areas have nicknamed that the dance sir2 might escape the scale of level. Amn is reused on large spain. :-( Thanks in advance. Brier from Djibouti.
Sat, 20 Feb 2010 07:10:47 +0800
Excuse me. All things are difficult before they are easy. Help me! Need information about: Red cross car donations. I found only this - <a href="http://www.regulacao.gov.br/Members/CarDonations">car donation value</a>. Efficient people could be known from an additional advertiser before effort, car donations. Iacocca was not other for chrysler's process of amc in 1987, which claimed the certain season business under chrysler's key order, car donations. With best wishes :o, Cho from Bosnia.
Fri, 31 Dec 2021 03:31:09 +0800
closings are dead-on and i will forthwith subscribe for your rss nourish to stay as much date with your up approaching postings. Sure! I confess it, your 안전놀이터
Wed, 16 Feb 2022 04:59:09 +0800
Wonderful Content, Now i'm a massive believer for offer suggestions relating to internet websites to make sure you let the web page creators understandthat they’ve incorporated an issue good to make sure you just a couple of! 메이저사이트
Thu, 24 Feb 2022 19:14:07 +0800
Good Post, I am a big believer in writing comments on sites to let the blog writers know that they 've added some thing advantageous to the world wide web! Bitcoin Merchant Account
=============================================\\
I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post. North American Bancard ISO Program
========================================
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. best merchant services agent program
Sat, 05 Mar 2022 18:09:41 +0800
Exactly where maybe you’ve discovered the resource for the purpose of the following article? Great reading through I have subscribed to your blog feed. www.dggrand123.com
=========================================
Thanks a lot for sharing this with all folks you actually understand what you’re speaking about! Bookmarked. Please also discuss with my site =). We could have a link alternate arrangement among us! https://www.dggrand123.com
===========================================
you are in reality a excellent webmaster. The website loading pace is incredible. It seems that you’re doing any distinctive trick. Also, The contents are masterpiece. you have performed a wonderful task on this subject! Opera Dynasty
Sat, 28 May 2022 04:47:55 +0800
Great post, you have pointed out some great points, I besides believe this is a very wonderful website. 먹튀검증
Sun, 05 Jun 2022 04:45:40 +0800
Hi there, just became aware of your blog through Google, and found that it’s truly informative. I am gonna watch out for brussels. I will be grateful if you continue this in future. Numerous people will be benefited from your writing. Cheers! aputure
Tue, 14 Jun 2022 16:10:36 +0800
Wonderful post, thanks for discussing the data. It isn’t all too often that you simply read articles where the poster knows what they’re running a blog regarding. Grammar and punctuational are spot on too, only trouble We seemed to possess had been mentioning the website, seemed sluggish. Looks like additional visitors experienced exactly the same difficulty? tradein iphone
Mon, 03 Oct 2022 23:00:02 +0800
You need to get involved in a tournament for starters of the highest quality blogs on-line. I am going to suggest this web site! Macbook air