summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTong Hui <tonghuix@gmail.com>2016-10-05 19:02:26 +0800
committerGitHub <noreply@github.com>2016-10-05 19:02:26 +0800
commite6678a23fb2329409b590f23bcd9339a76590ea3 (patch)
tree16e1e71b440fc6e2966e14c5353cdd23e9ef4fd6
parentfc8e2d015bfed654d10c16340784006f7005285d (diff)
parentc2d9f3810b4005851de6fb9d5bb4ea7516ab2342 (diff)
downloadfsfs-zh-e6678a23fb2329409b590f23bcd9339a76590ea3.tar.xz
Merge pull request #140 from beijinglug/pandoc-xetex-pdf
Merge pdf generated via Pandoc
-rwxr-xr-xMakefile7
-rw-r--r--docs/applying-free-sw-criteria.md1
-rw-r--r--docs/can-you-trust.md1
-rw-r--r--docs/categories.md1
-rw-r--r--docs/compromise.md1
-rw-r--r--docs/copyleft.md3
-rw-r--r--docs/copyright-vs-community.md1
-rw-r--r--docs/danger-of-software-patents.md1
-rw-r--r--docs/ebooks-must-increase-freedom.md1
-rw-r--r--docs/edu-schools.md1
-rw-r--r--docs/fdl.md1
-rw-r--r--docs/free-doc.md1
-rw-r--r--docs/free-hardware-designs.md1
-rw-r--r--docs/free-software-even-more-important.md1
-rw-r--r--docs/free-sw.md1
-rw-r--r--docs/freedom-or-power.md1
-rw-r--r--docs/government-free-software.md1
-rw-r--r--docs/gpl.md1
-rw-r--r--docs/imperfection-isnt-oppression.md1
-rw-r--r--docs/initial-announcement.md5
-rw-r--r--docs/javascript-trap.md1
-rw-r--r--docs/lgpl.md1
-rw-r--r--docs/license-recommendations.md1
-rw-r--r--docs/licenses-introduction.md1
-rw-r--r--docs/limit-patent-effect.md1
-rw-r--r--docs/linux-and-gnu.md1
-rw-r--r--docs/misinterpreting-copyright.md1
-rw-r--r--docs/nonfree-games.md1
-rw-r--r--docs/not-ipr.md3
-rw-r--r--docs/open-source-misses-the-point.md1
-rw-r--r--docs/pragmatic.md1
-rw-r--r--docs/programs-must-not-limit-freedom-to-run.md1
-rw-r--r--docs/push-copyright-aside.md1
-rw-r--r--docs/right-to-read.md1
-rw-r--r--docs/rms-why-gplv3.md1
-rw-r--r--docs/selling-exceptions.md1
-rw-r--r--docs/selling.md1
-rw-r--r--docs/social-inertia.md1
-rw-r--r--docs/software-literary-patents.md1
-rw-r--r--docs/surveillance-vs-democracy.md1
-rw-r--r--docs/the-danger-of-ebooks.md1
-rw-r--r--docs/thegnuproject.md1
-rw-r--r--docs/university.md1
-rw-r--r--docs/who-does-that-server-really-serve.md1
-rw-r--r--docs/why-call-it-the-swindle.md1
-rw-r--r--docs/why-copyleft.md1
-rw-r--r--docs/why-gnu-linux.md1
-rw-r--r--docs/words-to-avoid.md1
-rw-r--r--docs/x.md1
-rwxr-xr-xinstall.latex.ubuntu.sh4
-rw-r--r--pdf/template.tex10
51 files changed, 63 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 92fdeea..e50d86c 100755
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ METADATA = ebook/metadata.xml
TOC = --toc --toc-depth=2 --epub-chapter-level=2
COVER_IMAGE = docs/cover.png
LATEX_CLASS = book
+PANDOC_TEX = pandoc -f markdown_mmd $(TOC) --latex-engine=xelatex -V documentclass=book
TEMPLATE=./pdf
PREFACES = docs/foreword-trans.md \
docs/foreword-v3.md \
@@ -93,9 +94,9 @@ $(BOOKNAME).html: $(PREFACES) $(CHAPTERS) $(APPENDIXS)
mkdocs build --clean
$(BOOKNAME).pdf: $(TITLE) $(PREFACES) $(CHAPTERS) $(APPENDIXS)
- multimarkdown -t latex ${TEMPLATE}/meta.txt ${PREFACES} -o preface.tex
- multimarkdown -t latex ${TEMPLATE}/meta.txt ${CHAPTERS} -o chapters.tex
- multimarkdown -t latex ${TEMPLATE}/meta.txt ${APPENDIXS} -o appendix.tex
+ $(PANDOC_TEX) ${PREFACES} -o preface.tex
+ $(PANDOC_TEX) ${CHAPTERS} -o chapters.tex
+ $(PANDOC_TEX) ${APPENDIXS} -o appendix.tex
${call pdfgen}
# pandoc $(TOC) --latex-engine=xelatex -V documentclass=$(LATEX_CLASS) --template=$(TEMPLATE) -o $@ $^
rm -fr fs-translations
diff --git a/docs/applying-free-sw-criteria.md b/docs/applying-free-sw-criteria.md
index 1e02a5c..12f01b3 100644
--- a/docs/applying-free-sw-criteria.md
+++ b/docs/applying-free-sw-criteria.md
@@ -1,3 +1,4 @@
+\newpage
## 应用自由软件判断准则
> Copyright (C) 2015 理查德·斯托曼(Richard Stallman)
diff --git a/docs/can-you-trust.md b/docs/can-you-trust.md
index beb5cc3..8e09b50 100644
--- a/docs/can-you-trust.md
+++ b/docs/can-you-trust.md
@@ -1,5 +1,6 @@
# 陷阱和挑战
+\newpage
## 您能够信任您的计算机吗?
> Copyright © 2002, 2007, 2014, 2015 Richard Stallman 本文首先于 2002 年发表于 <http://gnu.org>。
diff --git a/docs/categories.md b/docs/categories.md
index 469b428..8c4cbf1 100644
--- a/docs/categories.md
+++ b/docs/categories.md
@@ -1,3 +1,4 @@
+\newpage
## 自由与非自由软件的分类
> Copyright (C) 1996–1998, 2001, 2006, 2007, 2009, 2011, 2012, 2014, 2015 自由软件基金会。本文最初于 1996 年发表于 <http://gnu.org>
diff --git a/docs/compromise.md b/docs/compromise.md
index 3822997..158d7e1 100644
--- a/docs/compromise.md
+++ b/docs/compromise.md
@@ -1,5 +1,6 @@
# 珍视社区和你的自由
+\newpage
## 避免破坏性的妥协
> Copyleft (C) 2008, 2009, 2014, 2015 理查德·斯托曼(Richard Stallman)。本文最早于 2008 年发表于 <http://gnu.org>
diff --git a/docs/copyleft.md b/docs/copyleft.md
index 986832b..7a6ff2b 100644
--- a/docs/copyleft.md
+++ b/docs/copyleft.md
@@ -1,6 +1,7 @@
+\newpage
## 什么是 Copyleft?
->Copyright © 1996–2009, 2013 自由软件基金会。此文最初于发表1996年发表在<http://gnu.org>。
+> Copyright © 1996–2009, 2013 自由软件基金会。此文最初于发表1996年发表在<http://gnu.org>。
Copyleft 是一种使一个程序或其它工作自由的通用方法,并要求该程序(或其他作品)的所有修改和衍生版本也是自由的。
diff --git a/docs/copyright-vs-community.md b/docs/copyright-vs-community.md
index a388570..e0734c0 100644
--- a/docs/copyright-vs-community.md
+++ b/docs/copyright-vs-community.md
@@ -1,3 +1,4 @@
+\newpage
## 计算机网络时代的版权与社区之争
> 本文是 Richard Stallman 所做主题演讲之抄本,该主题演讲于 2009 年十月在新西兰基督城(克赖斯特彻奇)会展中心所举行的新西兰奥特亚罗瓦图书馆与信息协会(LIANZA)会议上进行。
diff --git a/docs/danger-of-software-patents.md b/docs/danger-of-software-patents.md
index 8bad9b0..7a4c7e8 100644
--- a/docs/danger-of-software-patents.md
+++ b/docs/danger-of-software-patents.md
@@ -1,3 +1,4 @@
+\newpage
## 软件专利的威胁
> Copyright (C) 2009, 2010, 2014 Richard Stallman 此抄本最初于 2009 年发表于 <http://gnu.org>。
diff --git a/docs/ebooks-must-increase-freedom.md b/docs/ebooks-must-increase-freedom.md
index 4a6bd65..f205c21 100644
--- a/docs/ebooks-must-increase-freedom.md
+++ b/docs/ebooks-must-increase-freedom.md
@@ -1,3 +1,4 @@
+\newpage
## 电子书必须增进我们的自由而非限制我们的自由
> Copyright (C) 2012 理查德·斯托曼(Richard Stallman)。本文最初于 2012 年 4 月 17 日以标题“Technology Should Help Us Share, Not Constrain Us”,发表于英国卫报<http://guardian.co.uk>,并带有一些特别的修订。此版本整合了部分修订,同时恢复了部分原文。
diff --git a/docs/edu-schools.md b/docs/edu-schools.md
index ae00fbb..ad22833 100644
--- a/docs/edu-schools.md
+++ b/docs/edu-schools.md
@@ -1,3 +1,4 @@
+\newpage
## 为什么学校应该只使用自由软件
> Copyright © 2003, 2009, 2014 Richard Stallman 此文最早于2003年发布在 <http://gnu.org>。 参考中译 JODOO <http://blog.fujiji.com/why-schools-should-exclusively-use-free-software/> 2015年10月,略有改动
diff --git a/docs/fdl.md b/docs/fdl.md
index 8134c8c..0b0df9e 100644
--- a/docs/fdl.md
+++ b/docs/fdl.md
@@ -1,3 +1,4 @@
+\newpage
## GNU 自由文档许可证
> 本版本由 Leo-Hong (leohca (at) yahoo.com) 翻译整理。 源网页:<http://www.thebigfly.com/gnu/FDLv1.3/>。
diff --git a/docs/free-doc.md b/docs/free-doc.md
index 748095e..4ee4540 100644
--- a/docs/free-doc.md
+++ b/docs/free-doc.md
@@ -1,3 +1,4 @@
+\newpage
## 为什么自由软件需要自由的文档
>Copyright © 1996–2007,2009 自由软件基金会。
diff --git a/docs/free-hardware-designs.md b/docs/free-hardware-designs.md
index afe8a99..f69ef95 100644
--- a/docs/free-hardware-designs.md
+++ b/docs/free-hardware-designs.md
@@ -1,3 +1,4 @@
+\newpage
## 自由硬件和自由硬件设计
> Copyright © 2015 Richard Stallman。本文分成两部分,分别以标题“为什么我们需要自由的电子硬件设计” (Wired, 11 March 2015, <http://wired.com/2015/03/need-free-digital-hardware-designs>) 和“硬件设计必须自由,如何行动见此” (Wired, 18 March 2015, <http://wired.com/2015/03/richard-stallman-how-to-make-hardware-designs-free>),发表于《连线》杂志网站。2015年本文发布于 <http://gnu.org> 。
diff --git a/docs/free-software-even-more-important.md b/docs/free-software-even-more-important.md
index d4014c3..4114377 100644
--- a/docs/free-software-even-more-important.md
+++ b/docs/free-software-even-more-important.md
@@ -1,3 +1,4 @@
+\newpage
## 如今自由软件更加重要
> Copyright © 2015 Richard Stallman。此文大幅修改后发表于[《连线》杂志](Wired)网站,标题是[Why Free Software Is More Important Now Than Ever Before”](http://wired.com/opinion/2013/09/why-free-software-is-more-important-now-than-ever-before),2013年9月28日。
diff --git a/docs/free-sw.md b/docs/free-sw.md
index 2e8a3ab..937c11e 100644
--- a/docs/free-sw.md
+++ b/docs/free-sw.md
@@ -1,5 +1,6 @@
# GNU 计划和自由软件
+\newpage
## 什么是自由软件?
> Copyright © 1996–2002,2004–2007, 2009–2015 自由软件基金会。此文最初于1996年发表在<http://gnu.org>。
diff --git a/docs/freedom-or-power.md b/docs/freedom-or-power.md
index 3739502..114117f 100644
--- a/docs/freedom-or-power.md
+++ b/docs/freedom-or-power.md
@@ -1,3 +1,4 @@
+\newpage
## 自由还是权力?
> 本文由 Bradley M. Kuhn 和 Richard Stallman 撰写。
diff --git a/docs/government-free-software.md b/docs/government-free-software.md
index a0ce117..cedcd48 100644
--- a/docs/government-free-software.md
+++ b/docs/government-free-software.md
@@ -1,3 +1,4 @@
+\newpage
## 政府推动自由软件的措施
> Copyright © 2011–2014 自由软件基金会,此文首发于2011年 <http://gnu.org>。
diff --git a/docs/gpl.md b/docs/gpl.md
index 6c536c8..f9faa7c 100644
--- a/docs/gpl.md
+++ b/docs/gpl.md
@@ -1,3 +1,4 @@
+\newpage
## GNU 通用公共许可证
> 中文翻译:bergwolf <bergwolf@gmail.com> ,源出处:<https://sites.google.com/site/bergwolf02/gplv3_zh>
diff --git a/docs/imperfection-isnt-oppression.md b/docs/imperfection-isnt-oppression.md
index af7c916..feeab66 100644
--- a/docs/imperfection-isnt-oppression.md
+++ b/docs/imperfection-isnt-oppression.md
@@ -1,3 +1,4 @@
+\newpage
## 缺陷并不等同于压迫
> Copyright (C) 2014 自由软件基金会
diff --git a/docs/initial-announcement.md b/docs/initial-announcement.md
index 16af237..67642ed 100644
--- a/docs/initial-announcement.md
+++ b/docs/initial-announcement.md
@@ -1,3 +1,4 @@
+\newpage
## GNU 操作系统的初始公告
这是 GNU 工程的原始通告,由理查德·斯托曼(Richard Stallman)于 1983 年 9 月 27 日发表。
@@ -11,9 +12,7 @@ From mit-vax!mit-eddie!RMS@MIT-OZ
Subject: new Unix implementation
Date: Tue, 27-Sep-83 12:35:59 EST
Organization: MIT AI Lab, Cambridge, MA
-```
-<quate>
自由的 Unix!
今年的感恩节我要去写一个完整的类 UNIX 软件系统,命名为 GNU (Gnu's Not Unix),并以
@@ -73,7 +72,7 @@ Usenet:
Richard Stallman
166 Prospect St
Cambridge, MA 02139
-</quate>
+```
[^init-1]:这里用词没有注意,初衷是想说没有人需要为使用 GNU 系统而索要*授权*。然而这个词没有说的很清晰,结果人们经常以为获取 GNU 的副本需要很少或者免费。而这从来都是不是目的。
diff --git a/docs/javascript-trap.md b/docs/javascript-trap.md
index f0a7840..05f57b0 100644
--- a/docs/javascript-trap.md
+++ b/docs/javascript-trap.md
@@ -1,3 +1,4 @@
+\newpage
## JavaScript 陷阱
> Copyright (C) 2009–2013 Richard Stallman
diff --git a/docs/lgpl.md b/docs/lgpl.md
index 6010048..e779854 100644
--- a/docs/lgpl.md
+++ b/docs/lgpl.md
@@ -1,3 +1,4 @@
+\newpage
## GNU 宽通用许可证
> 中文翻译 Leo <leohca@yahoo.com> 源网页:<http://www.thebigfly.com/gnu/lgpl/lgpl-v3.php>
diff --git a/docs/license-recommendations.md b/docs/license-recommendations.md
index 328b43d..40b5242 100644
--- a/docs/license-recommendations.md
+++ b/docs/license-recommendations.md
@@ -1,3 +1,4 @@
+\newpage
## 如何为你的作品选择一份许可证
> Copyright © 2011, 2013, 2014 自由软件基金会。此文于2011年首发于<http://gnu.org>。
diff --git a/docs/licenses-introduction.md b/docs/licenses-introduction.md
index e419af1..dc02824 100644
--- a/docs/licenses-introduction.md
+++ b/docs/licenses-introduction.md
@@ -1,5 +1,6 @@
# 自由软件许可证
+\newpage
## 许可证简介
> Copyright © 2010 自由软件基金会。由 Brett Smith 和 Richard Stallman 撰写。
diff --git a/docs/limit-patent-effect.md b/docs/limit-patent-effect.md
index a003468..bca51d2 100644
--- a/docs/limit-patent-effect.md
+++ b/docs/limit-patent-effect.md
@@ -1,3 +1,4 @@
+\newpage
## 保护软件领域免受专利困扰
> Copyright (C) 2012, 2013 自由软件基金会,本文的一个版本最初以标题 “Let’s Limit the Effect of Software Patents, Since We Can’t Eliminate Them” 发表于《连线》杂志 Wired 网站 (Wired, 1 November 2012, <http://wired.com/opinion/2012/11/richard-stallman-software-patents/>)。该版本于 2012 年发表于 <http://gnu.org>
diff --git a/docs/linux-and-gnu.md b/docs/linux-and-gnu.md
index 2f7514f..91f5b7c 100644
--- a/docs/linux-and-gnu.md
+++ b/docs/linux-and-gnu.md
@@ -1,3 +1,4 @@
+\newpage
## Linux 和 GNU 操作系统
> Copyright © 1997–2002, 2007, 2014 Richard Stallman
diff --git a/docs/misinterpreting-copyright.md b/docs/misinterpreting-copyright.md
index 36ad870..7fd523c 100644
--- a/docs/misinterpreting-copyright.md
+++ b/docs/misinterpreting-copyright.md
@@ -1,3 +1,4 @@
+\newpage
## 对版权的错误解读——一系列错误
> Copyright (C) 2002, 2003, 2007, 2009–2011 自由软件基金会。本文最初于 2002 年发表于 <http://gnu.org>
diff --git a/docs/nonfree-games.md b/docs/nonfree-games.md
index 7eb2ef2..122443e 100644
--- a/docs/nonfree-games.md
+++ b/docs/nonfree-games.md
@@ -1,3 +1,4 @@
+\newpage
## GNU/Linux 上带有数字限制管理(DRM)的私有游戏:是好是坏?
> Copyright (C) 2013 自由软件基金会
diff --git a/docs/not-ipr.md b/docs/not-ipr.md
index 31e148f..f1e6c65 100644
--- a/docs/not-ipr.md
+++ b/docs/not-ipr.md
@@ -1,4 +1,5 @@
-## 您说过“知识产权”吗?这是一种迷惑性的幻景
+\newpage
+## 您说过“知识产权”吗?这是一种迷惑的幻景
> Copyright (C) 2004, 2006, 2007, 2009, 2010, 2013, 2015 Richard Stallman。本文创作于 2004 年并且发表在 Policy Futures in Education, vol. 4, n. 4, pp. 334–336, 2006。
diff --git a/docs/open-source-misses-the-point.md b/docs/open-source-misses-the-point.md
index e6e8d18..55eacde 100644
--- a/docs/open-source-misses-the-point.md
+++ b/docs/open-source-misses-the-point.md
@@ -1,3 +1,4 @@
+\newpage
## 为什么说开源漏掉了自由软件的要点
> Copyright © 2007, 2008,2010, 2012–2015 Richard Stallman 此文最早于2007年发布于 <http://gnu.org>
diff --git a/docs/pragmatic.md b/docs/pragmatic.md
index 528ff9c..182aa55 100644
--- a/docs/pragmatic.md
+++ b/docs/pragmatic.md
@@ -1,3 +1,4 @@
+\newpage
## Copyleft:务实的理想主义
> Copyright © 1998, 2003 自由软件基金会
diff --git a/docs/programs-must-not-limit-freedom-to-run.md b/docs/programs-must-not-limit-freedom-to-run.md
index 2ff30c3..0918481 100644
--- a/docs/programs-must-not-limit-freedom-to-run.md
+++ b/docs/programs-must-not-limit-freedom-to-run.md
@@ -1,3 +1,4 @@
+\newpage
## 程序不得限制它们的自由运行
> Copyright © 2012 自由软件基金会。此文2012年首发于<http://gnu.org>
diff --git a/docs/push-copyright-aside.md b/docs/push-copyright-aside.md
index 0b8154a..ec3ed14 100644
--- a/docs/push-copyright-aside.md
+++ b/docs/push-copyright-aside.md
@@ -1,3 +1,4 @@
+\newpage
## 科学必须摆脱版权束缚
> Copyright (C) 2001, 2012 Richard Stallman。本文最初于 2001 年六月 8 日发表于 Nature 杂志的 Web Debates 论坛。
diff --git a/docs/right-to-read.md b/docs/right-to-read.md
index 92028bc..34e30ad 100644
--- a/docs/right-to-read.md
+++ b/docs/right-to-read.md
@@ -1,5 +1,6 @@
# 版权和不公
+\newpage
## 阅读的权利
> Copyright (C) 1996, 2002, 2007, 2009, 2010, 2014 Richard Stallman。本文撰写于 1996 年并以标题 “The Right to Read: A Dystopian Short Story”(阅读的权利:一段反乌托邦的短故事)于 1997 年二月发表于 Communications of the ACM, vol. 40, n. 2。
diff --git a/docs/rms-why-gplv3.md b/docs/rms-why-gplv3.md
index 21e0e68..b6f4df6 100644
--- a/docs/rms-why-gplv3.md
+++ b/docs/rms-why-gplv3.md
@@ -1,3 +1,4 @@
+\newpage
## 为何升级到 GPLv3
> Copyright © 2007, 2009 理查德·斯托曼(Richard Stallman)本文首发于2007年在 <http://gnu.org>。
diff --git a/docs/selling-exceptions.md b/docs/selling-exceptions.md
index f4236b2..def5276 100644
--- a/docs/selling-exceptions.md
+++ b/docs/selling-exceptions.md
@@ -1,3 +1,4 @@
+\newpage
## 关于出售例外对GNU GPL的影响
> Copyright © 2009, 2010 理查德·斯托曼(Richard Stallman)
diff --git a/docs/selling.md b/docs/selling.md
index d1cfd51..a734766 100644
--- a/docs/selling.md
+++ b/docs/selling.md
@@ -1,3 +1,4 @@
+\newpage
## 售卖自由软件
很多人认为 GNU 工程的精神就是不该对软件发行的副本收费,或者应只收取很少的钱——只要是成本价即可。这是一种误解。
diff --git a/docs/social-inertia.md b/docs/social-inertia.md
index 13a4460..5274622 100644
--- a/docs/social-inertia.md
+++ b/docs/social-inertia.md
@@ -1,3 +1,4 @@
+\newpage
## 克服社会惯性
> Copyright © 2007, 2009 理查德·斯托曼(Richard Stallman),本文最初于 2007 年发布于 <http://gnu.org>
diff --git a/docs/software-literary-patents.md b/docs/software-literary-patents.md
index ca147e1..1613f9f 100644
--- a/docs/software-literary-patents.md
+++ b/docs/software-literary-patents.md
@@ -1,5 +1,6 @@
# 软件专利:对程序员的威胁
+\newpage
## 软件专利和文学专利
>Copyright © 2005, 2007, 2008 Richard Stallman 本文最初于 2005 年六月 23 日以标题“Patent Absurdity”发表于英国卫报,并且针对当时被提出的“欧洲软件专利指导意见”。
diff --git a/docs/surveillance-vs-democracy.md b/docs/surveillance-vs-democracy.md
index 05fad49..6f03cb0 100644
--- a/docs/surveillance-vs-democracy.md
+++ b/docs/surveillance-vs-democracy.md
@@ -1,3 +1,4 @@
+\newpage
## 民主可以承受多少监控?
> 著作权所有 (C) 2015 Richard Stallman 本文最初以相同的标题发表于《连线》杂志(Wired, 2013年10月14)<http://www.wired.com/opinion/2013/10/a-necessary-evil-what-it-takes-for-democracy-to-survive-surveillance>
diff --git a/docs/the-danger-of-ebooks.md b/docs/the-danger-of-ebooks.md
index c63bb40..bd353fe 100644
--- a/docs/the-danger-of-ebooks.md
+++ b/docs/the-danger-of-ebooks.md
@@ -1,3 +1,4 @@
+\newpage
## 电子书的威胁
> Copyright (C) 2011, 2014 Richard Stallman
diff --git a/docs/thegnuproject.md b/docs/thegnuproject.md
index 50ff9da..4ef5176 100644
--- a/docs/thegnuproject.md
+++ b/docs/thegnuproject.md
@@ -1,3 +1,4 @@
+\newpage
## GNU工程
> Copyright © 1998, 2001, 2002, 2005–2008, 2010 Richard Stallman。本文最初以标题“GNU 操作系统和自由软件运动”发表于由 Chris DiBona 等人编写的《开放源码:开源革命之声》(Sebastopol: O’Reilly Media, 1999)。尽管我不是 “开放源码”的支持者,我还是贡献了这篇文章, 这样自由软件运动的思想不会在那本书中完全失声。
diff --git a/docs/university.md b/docs/university.md
index 2b63c10..fc54a54 100644
--- a/docs/university.md
+++ b/docs/university.md
@@ -1,3 +1,4 @@
+\newpage
## 如果您在大学工作,请发布自由软件
> Copyright (C) 2002, 2014 理查德·斯托曼(Richard Stallman)。本文最初于 2002 年发表于 <http://gnu.org>。
diff --git a/docs/who-does-that-server-really-serve.md b/docs/who-does-that-server-really-serve.md
index abd157b..473329b 100644
--- a/docs/who-does-that-server-really-serve.md
+++ b/docs/who-does-that-server-really-serve.md
@@ -1,3 +1,4 @@
+\newpage
## 服务器真正是在为谁服务?
> Copyright (C) 2010, 2013, 2015 理查德·斯托曼(Richard Stallman)。本文最初于 2010 年三月 8 日以标题“What Does That Server Really Serve?”发表于 Boston Review 在线版。
diff --git a/docs/why-call-it-the-swindle.md b/docs/why-call-it-the-swindle.md
index 19cea78..34f13ac 100644
--- a/docs/why-call-it-the-swindle.md
+++ b/docs/why-call-it-the-swindle.md
@@ -1,3 +1,4 @@
+\newpage
## 为何称之为诈骗(Swindle)?
> Copyright (C) 2013 Richard Stallman。
diff --git a/docs/why-copyleft.md b/docs/why-copyleft.md
index 880c0be..95417ec 100644
--- a/docs/why-copyleft.md
+++ b/docs/why-copyleft.md
@@ -1,3 +1,4 @@
+\newpage
## 为什么使用 Copyleft
> Copyright © 2003, 2007, 2008, 2013 自由软件基金会。 此文原载于 <http://gnu.org>
diff --git a/docs/why-gnu-linux.md b/docs/why-gnu-linux.md
index 5c3beba..55e7e62 100644
--- a/docs/why-gnu-linux.md
+++ b/docs/why-gnu-linux.md
@@ -1,5 +1,6 @@
# 名字的含义
+\newpage
## 名字的含义?
> Copyright © 2000, 2006, 2007 Richard Stallman。此文原中译 monnand,此处略有修改
diff --git a/docs/words-to-avoid.md b/docs/words-to-avoid.md
index a480c41..6817165 100644
--- a/docs/words-to-avoid.md
+++ b/docs/words-to-avoid.md
@@ -1,3 +1,4 @@
+\newpage
## 应避免使用(或慎用)的词语,由于它们是不公正的或者引起混淆的
> Copyright (C) 1996–1999,2001–2004,2007–2015,自由软件基金会。本列单最初于 1996 年发表于 <http://gnu.org>。
diff --git a/docs/x.md b/docs/x.md
index 9f6b094..eff3886 100644
--- a/docs/x.md
+++ b/docs/x.md
@@ -1,3 +1,4 @@
+\newpage
## X Window 系统的陷阱
> Copyright (C) 1998, 1999, 2009 理查德·斯托曼(Richard Stallman)。本文最初于 1998 年发表在 <http://gnu.org>。
diff --git a/install.latex.ubuntu.sh b/install.latex.ubuntu.sh
index 0af07b1..6a05fdd 100755
--- a/install.latex.ubuntu.sh
+++ b/install.latex.ubuntu.sh
@@ -1,9 +1,9 @@
sudo apt-get -y install texlive-xetex
sudo apt-get -y install texlive-latex-recommended # main packages
-sudo apt-get -y install texlive-latex-extra # package titlesec
+sudo apt-get -y install texlive-latex-extra texlive-lang-cjk # package titlesec and ctex
sudo apt-get -y install ttf-wqy-microhei ttf-wqy-zenhei # from WenQuanYi
sudo apt-get -y install texlive-fonts-recommended
-sudo apt-get -y install latex-cjk-all fonts-liberation ttf-liberation
+sudo apt-get -y install latex-cjk-all fonts-liberation ttf-liberation latex-cjk-chinese
sudo apt-get -y install fonts-arphic-gkai00mp fonts-arphic-ukai latex-cjk-chinese-arphic-gkai00mp #install Kaiti font
sudo apt-get -y install fonts-arphic-gbsn00lp latex-cjk-chinese-arphic-gbsn00lp
sudo fc-cache
diff --git a/pdf/template.tex b/pdf/template.tex
index 00f4acf..762383b 100644
--- a/pdf/template.tex
+++ b/pdf/template.tex
@@ -30,11 +30,10 @@
\usepackage{changepage}
\usepackage{pdfpages}
-\usepackage{geometry}
-\geometry{left=1.5cm,right=1.5cm,top=2cm,bottom=2cm}
+\usepackage[bindingoffset=0.5cm, margin=1.5cm, includeheadfoot]{geometry}
% To support tables so required tabulary package
-\usepackage{tabulary}
+\usepackage{longtable,tabulary}
\definecolor{colorchapter}{RGB}{0,0,0} % All black
\definecolor{colorsection}{RGB}{0,0,0}
@@ -49,6 +48,9 @@
\definecolor{editorOcher}{rgb}{1, 0.5, 0} % #FF7F00 -> rgb(239, 169, 0)
\definecolor{editorGreen}{rgb}{0, 0.4, 0.1} % #007C00 -> rgb(0, 150, 25)
+% for pandoc
+\providecommand{\tightlist}{%
+ \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\lstdefinelanguage{JavaScript}{
keywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break},
@@ -329,7 +331,7 @@ framexleftmargin=20pt
\renewcommand{\thetab}{\thechapter.\arabic{tab}}
\newcommand{\prechap}{第}
-\newcommand{\postchap}{章}
+\newcommand{\postchap}{部分}
\newcommand{\presect}{}
\newcommand{\postsect}{节}
\renewcommand{\chaptermark}[1]{\markboth{\textbf{\prechap \thechapter \postchap}\hspace*{1ex}#1}{}}