Skip to content

Commit

Permalink
Implement links and index generation
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
  • Loading branch information
Ralf Valerien authored and moritz committed Jun 1, 2010
1 parent 8426d83 commit ce53208
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ build/book.html: $(CHAPTERS) bin/book-to-html
perl bin/book-to-html $(CHAPTERS) > build/book.html

build/book.pdf: build/book.tex build/mmd-table.pdf
cd build && pdflatex book.tex && pdflatex book.tex
cd build && pdflatex book.tex && makeindex book && pdflatex book.tex

build/book.tex: $(CHAPTERS) bin/book-to-latex
perl bin/book-to-latex $(CHAPTERS) > build/book.tex
Expand Down
7 changes: 7 additions & 0 deletions bin/book-to-latex
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ print <<'HEADER';
\usepackage[T1]{fontenc}
\usepackage{bera}
\usepackage[utf8]{inputenc}
\usepackage{makeidx}
\usepackage[colorlinks=true,pagebackref]{hyperref}
\makeindex
\title{Using Perl~6}
\author{Jonathan S. Duff, Moritz Lenz, Carl Mäsak, Patrick R. Michaud, Jonathan Worthington}
Expand All @@ -29,5 +33,8 @@ for (@ARGV) {
}

print <<'FOOTER';
\printindex
\end{document}
FOOTER

0 comments on commit ce53208

Please sign in to comment.