Using Perl 6 - a Perl 6 book in development
Perl TeX Perl 6
Pull request Compare This branch is 14 commits ahead, 20 commits behind perl6:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
dist
docs
lib
src
test
wip
.gitignore
Makefile
README
TODO
authors.pod
book-ideas
outline.pod

README

We are writing a book about Perl 6.

我们正在写一本 Perl 6 的书。

It will be some kind of example-driven introduction to Perl 6, and at
the same time showing off the reasons why we love that language.

这本书将采用以实例导引的形式介绍 Perl 6 ,同时展现我们喜爱这门语言的因由。

We plan to have monthly releases, see docs/release-guide.pod

我们计划每月更新,参见 docs/release-guide.pod (文档/更新指南)。

"We" are Carl Mäsak, Jonathan Worthington, Patrick Michaud, Moritz
Lenz, Jonathan Scott Duff (Scott) and anybody who's willing to work on
it.  If you're not on that list yet, you're still very welcome to join
us.

“我们”包括 Carl Mäsak, Jonathan Worthington, Patrick Michaud, Moritz
Lenz, Jonathan Scott Duff (Scott),还有所有愿意为它付出的人们。如果你尚未在此列表,
仍旧非常之欢迎你的加入。

You can find us on #perl6book on irc.freenode.net.  Logs of the IRC
discussions: <http://irclog.perlgeek.de/perl6book/> (If you do not
have an IRC client, you can use a web-based client at
<http://webchat.freenode.net/?randomnick=1&channels=perl6book&prompt=1>
)

你可以在 irc.freenode.net 的 #perl6book 上找到我们。IRC 谈论的记录在:<http://irclog.perlgeek.de/perl6book/> (如果你没有安装 IRC 客户端,你可以使用一个
基于 web 的客户端:<http://webchat.freenode.net/?randomnick=1&channels=perl6book&prompt=1>
)

To build the PDF version of this book, you need to have the following
software installed (for HTML output only, the first section of the prereqs
is enough; 'make html' will be your friend):

如果想制作本书的 PDF 版本,你需要安装下列软件(如果只是想输出 HTML,有第一部分即可。 ‘make html' 将是你的良友):
    
    * GNU make
    * perl 5.10
    * the Perl 5 modules:
      Pod::PseudoPod::LaTeX version 1.101050 or newer
      Template version 2.22 or newer
    * inkscape (for svg -> pdf conversion)

    * A number of LaTeX packages (see lib/*.sty). Ubuntu 10.04
      supplies most of what is needed with its texlive-latex-base,
      texlive-latex-extra, texlive-xetex, texlive-fonts-extra,
      texlive-latex-recommended and texlive-font-utils packages.

    * Adobe's fonts and B&H Luxi Sans. To get those, install
      ttf-xfree86-nonfree (and uninstall t1-xfree86-nonfree) and
      Acrobat Reader then copy *.otf from
      /opt/Adobe/Reader9/Resource/Font/ to ~/.fonts/
	
    * Run 'sudo fc-cache -f -v' to rebuild the cache in case the fonts
      are not found.

The book is produced from src/*.pod chapters ultimately rendered into
dist/*.pdf using bin/* and lib/* files.

本书内容来自 src/*.pod 的章节,使用 bin/* 和 lib/* 下的程序最终生成到 dist/*.pdf 。

Just type 'make' on your command line, and the book should be built in
dist/UsingPerl6.a4.pdf, with an A4 paper size; to get U.S. letter
size, type 'make PAPER=letter'. To get any PAPER width and height type
'make PAPER=6.125in,9.25in'; accepted length units are pt, in, cm and mm.

只需在命令行敲下 'make' 然后本书就创建到 dist/UsingPerl6.a4.pdf ,默认 A4 纸大小。若要 U.S. letter 大小的页面,就输 'make PAPER=letter'。想得到任何宽高的 PAPER 只需键入如 'make PAPER=6.125in,9.25in'即可;可接受的长度单位有 pt, in, cm 和 mm。 

PDF versions of this book can be found at 
http://puffin.ch/perl/6/ and http://github.com/perl6/book/downloads

本书 PDF 版本:
http://puffin.ch/perl/6/ and http://github.com/perl6/book/downloads

All material in this repository is licensed under a CC-by-nc-sa
license: <http://creativecommons.org/licenses/by-nc-sa/2.5/>
(attribution, noncommercial, share-alike), unless explicitly stated
otherwise.

(Maybe we'll open up towards removing the noncommercial part at some
point).

本资源库的所有内容遵循 CC-by-nc-sa 许可:<http://creativecommons.org/licenses/by-nc-sa/2.5/>
(出处归属,非商业,版权继承),有明确声明的除外。