forked from marijnh/Eloquent-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrap.tex
More file actions
44 lines (42 loc) · 892 Bytes
/
wrap.tex
File metadata and controls
44 lines (42 loc) · 892 Bytes
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
\documentclass{article}
\usepackage{ifthen}
\newboolean{DBKIsBook}
\setboolean{DBKIsBook}{false}
\IfFileExists{ifxetex.sty}{%
\usepackage{ifxetex}%
}{%
\newif\ifxetex
\xetexfalse
}
\ifxetex
\usepackage{fontspec}
\usepackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont{DejaVu Serif}
\setsansfont{DejaVu Sans}
\setmonofont{DejaVu Sans Mono}
\else
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\fi
\usepackage{fancybox}
\usepackage{makeidx}
\usepackage[hyperlink]{docbook}
\renewcommand{\DBKreleaseinfo}{}
\renewcommand{\DBKrevhistory}{}
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\renewcommand{\DBKdate}{2014-{}06-{}23}
\title{Eloquent JavaScript}
\author{Marijn Haverbeke}
\renewcommand{\DBKindexation}{}
\makeindex
\makeglossary
\begin{document}
\lstsetup
\maketitle
\tableofcontents
\mainmatter
{{CHAPTERS}}
\end{document}
\printindex