-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
69 lines (50 loc) · 2.5 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
We are writing a book about 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.
We plan to have monthly releases, see 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.
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>
)
To build the PDF version of book, you need to have the following
software installed:
* 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.
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.
PDF versions of this book can be found at
http://puffin.ch/perl/6/ and http://github.com/perl6/book/downloads
To build the HTML version of book, you need to have the following
software installed:
* Pod::PseudoPod::HTML
Type 'make html' on your command line to build the book in
build/UsingPerl6.letter.html .
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).