-
Notifications
You must be signed in to change notification settings - Fork 1
/
sagesse_lulu.tex
216 lines (178 loc) · 4.47 KB
/
sagesse_lulu.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
% Royal => 156mm:234mm = 6.13x9.21
% this is 6.14x9.21 on createspace
%\documentclass[paper=6.14in:9.21in,pagesize=pdftex,
% WITH BLEED
% US Trade => 6x9, with a 0.125 bleed
% Adjust images size and gutter(?) so tabs bleed by .125
% See https://www.createspace.com/Products/Book/InteriorPDF.jsp
%\documentclass[paper=6.25in:9.25in,pagesize=pdftex,
\documentclass[paper=7.44in:9.68in,pagesize=pdftex,
fancytabs,
11pt]{scrjrnl}
%
% Paper width
% W = 7.57in (7.44+0.125 --- bleed)
% Paper height
% H = 9.93in (9.68+2*.125 --- bleed)
% Paper gutter
% BCOR = 0.375in (0.5+0.5-0.625 --- margin with bleed)
% Margin (0.5in imposed on lulu, recommended on createspace)
% m = 0.625in (0.5+0.125 --- bleed)
% 2m = 1.25in
% Text height
% h = H - 2m = 8.68in
% Text width
% w = W - 2m - BCOR = 5.95in
\areaset[0.5in]{5.95in}{8.68in}
%
% Paper width
% W = 6.125in (6+0.125 --- bleed)
% Paper height
% H = 9.25in (9+2*.125 --- bleed)
% Paper gutter
% BCOR = 0.375in (0.5+0.5-0.625 --- margin with bleed)
% Margin (0.5in imposed on lulu, recommended on createspace)
% m = 0.625in (0.5+0.125 --- bleed)
% Text height
% h = H - 2m = 8in
% Text width
% w = W - 2m - BCOR = 4.5in
%\areaset[0.5in]{4.5in}{8in}
% WITHOUT BLEED
% US Trade => 6x9
%\documentclass[paper=6in:9in,pagesize=pdftex,
% 10pt]{scrbook}
%
% Paper width
% W = 6in
% Paper height
% H = 9in
% Paper gutter
% BCOR = 0.5in
% Margin (0.5in imposed on lulu, recommended on createspace)
% m = 0.5in
% Text height
% h = H - 2m = 8in
% Text width
% w = W - 2m - BCOR = 4.5in
%\areaset[0.50in]{4.5in}{8in}
% Show margins
%\usepackage{showframe}
\usepackage[french]{babel} %language selection
\usepackage{ifluatex}
\selectlanguage{french}
\ifluatex
\usepackage[
%draft,
hyphenation,
nosingleletter,
lastparline,
homeoarchy,
%rivers
]{impnattypo}
\fi
%\usepackage{overcolored}
\usepackage[breaklinks=true,unicode=true]{hyperref}
\hypersetup{colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black,
bookmarksopen=true,
pdfpagelayout=TwoPageRight,
pdfauthor={Chuck Smith},
pdftitle={Sagesse pour Aujourd'hui},
pdftex}
\usepackage{url}
\usepackage[protrusion=true,final]{microtype}
\usepackage{typearea}
% Typeset big numbers
\usepackage{numprint}
% Set paragraphs
\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
% bibleref settings
\usepackage{bibleref-french-colombe}
% Number lines for review
%\usepackage[numberlines]{devotional}
%\usepackage[chapterpages]{devotional}
\usepackage[noseccheck]{sagesse}
% ISBN
\newcommand{\isbn}{978-2-9539988-3-2}
% we need some tricky enumerate entries
\usepackage{enumerate}
% prerender for chapter titles
%\PrerenderUnicode{À}
% Bullet
\newcommand{\mybullet}{{\color[gray]{0.7}$\bullet$}\xspace}
% Make a nice introduction chapter heading
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\dayheadfont\huge}
{}{0pt}
{\vspace{-26mm}\filcenter}
\pagestyle{empty}
\renewcommand*{\chapterpagestyle}{empty}
% Reviewing interface
%\usepackage[dateinlist]{review}
\usepackage[disable]{review}
\title{Sagesse pour Aujourd'hui}
\author{Chuck Smith}
\begin{document}
\ifluatex
%\maketitle
\setlength{\parindent}{0em}
\include{fake_title}
\include{dumemeauteur}
\include{title}
\include{copyright}
\fi
\setlength{\parindent}{1em}
% Debug overfull boxes
\overfullrule=1mm
\tolerance=800
% Calendar toc, only for ebooks
\caltoc
\input{introduction}
\begin{journal}[bleed=0.125in]
% Set paragraphs
\setlength{\parindent}{0em}
\input{mois/janvier.tex}
\input{mois/fevrier.tex}
\input{mois/mars.tex}
\input{mois/avril.tex}
\input{mois/mai.tex}
\input{mois/juin.tex}
\input{mois/juillet.tex}
\input{mois/aout.tex}
\input{mois/septembre.tex}
\input{mois/octobre.tex}
\input{mois/novembre.tex}
\input{mois/decembre.tex}
\end{journal}
% Add index
% Restore normal chapters
\renewcommand*{\BRbooktitlestyle}[1]{\emph{#1}\vadjust{\nobreak}}
% No page number on first page of index
\makeatletter
\def\imki@firstpagestyle{empty}
\makeatother
% Print index
\titleformat{\chapter}[display]
{\vspace{11mm}\dayheadfont\huge}
{}{10pt}
{\vspace{-25mm}\filcenter}
\printindex[bibleref]
\cleardoublepage
\printindex
% depot legal
\ifluatex
\pagestyle{empty}
%\cleardoublepage
%\mbox{}
%\clearpage
\include{depotlegal}
\clearpage
\mbox{}
\fi
\listoftodos[Notes de l'éditeur]
\end{document}