forked from heroku/erlang-in-anger
-
Notifications
You must be signed in to change notification settings - Fork 9
/
text-ja.tex
121 lines (85 loc) · 2.71 KB
/
text-ja.tex
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
\documentclass[autodetect-engine, dvipdfmx-if-dvi, base=11pt, ja=standard, openany]{bxjsbook}
% !TEX encoding = UTF-8 Unicode
\usepackage{graphicx}
\usepackage{text}
% 欧文のフォント設定
\usepackage[default, regular, bold]{sourcesanspro}
\usepackage[default, regular, bold]{sourceserifpro}
\setmonofont{CMU Typewriter Text}
% 日本語フォント設定
\usepackage[haranoaji, nfssonly, deluxe]{luatexja-preset}
% 強調(\emph)をボールドゴシックに設定
\let\emph\relax
\DeclareTextFontCommand{\emph}{\gtfamily\bfseries}
% 見出しのフォントをゴシックに設定
\renewcommand{\headfont}{\gtfamily\sffamily}
% チャプタータイトルの設定
\usepackage[Glenn]{fncychap}
\ChNameVar{\Large\headfont}
\ChTitleVar{\bfseries\Large\mcfamily\rmfamily}
\makeatletter
\renewcommand{\DOCH}{%
\settoheight{\myhi}{\CTV\FmTi{Test}}
\setlength{\py}{\baselineskip}
\addtolength{\py}{\RW}
\addtolength{\py}{\myhi}
\setlength{\pyy}{\py}
\addtolength{\pyy}{-1\RW}
\raggedright
\CNV\FmN{\@chapapp}\space\CNoV\thechapter\CNV\FmN{\@chappos}
\hskip 3pt\mghrulefill{\RW}\rule[-1\pyy]{2\RW}{\py}\par\nobreak
}
\makeatother
% GitのコミットIDを埋め込む用
\input{vc.tex}
% ページレイアウト
\geometry{centering}
%%% Cover
\title{Stuff Goes Bad:\protect\\ Erlang in Anger}
\author{Fred Hébert 著、elixir.jp 訳}
\date{%
\today \\
Git commit ID: \href{https://github.com/ymotongpoo/erlang-in-anger}{\GITAbrHash}
}
\begin{document}
\frontmatter
\maketitle
\includepdf[pagecommand={\thispagestyle{empty}}]{graphics/cover.pdf}
\include{000-copyright-ja}
\clearpage
%%%
\tableofcontents
\listoffigures
%% Colors of figure refs for text
\hypersetup{linkcolor=violet}
\include{001-introduction-ja}
\mainmatter
%\part{Writing Applications}
\part{アプリケーションを書く}
\label{part:writing-applications}
\include{101-diving-ja}
\include{102-building-ja}
\include{103-overload-ja}
%\part{Diagnosing Applications}
\part{アプリケーションを診断する}
\label{part:diagnosing-applictions}
\include{104-connecting-ja}
\include{105-runtime-metrics-ja}
\include{106-crash-dumps-ja}
\include{107-memory-leaks-ja}
\include{108-cpu-ja}
\include{109-tracing-ja}
%%%
%%% Tuning the VM: not a chapter yet.
%%%
%% locks!
%% you usually want the lmbcs to be at least a 5 times (if not more) bigger than the perc95
%% the binaries will still count as binary data if you move it to ets. It is only the pointer to the binary that moves from the heap to ets. (for binaries > 64 bytes)
%% Cache hits
%% Kernel Polling
%%
\backmatter
\bookmarksetup{startatroot} % Split conclusion from previous Part
\addtocontents{toc}{\bigskip} % Add space in ToC
\include{201-conclusion-ja}
\end{document}