-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tex
146 lines (111 loc) · 3.51 KB
/
main.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
\documentclass[
final,
babelLanguage=british,
desktopVersion,
% showtrims,
% overleaf,
]{anecdote}
\graphicspath{{./assets/photos/300dpi/}}
% Page size: 210mm x 148mm (A5)
% Body text: 12.5 / 18 pt
\usepackage{local}
%%%%%%%%%%%%%%%% Details of the Book %%%%%%%%%%%%%%%%
\title{Thai Dhammayut Bhikkhupātimokkha}
\subtitle{Monk Training Centre}
\author{SBS Saṅgha}
\publisher{Sāsanārakkha Buddhist Sanctuary}
\date{2021-10-30}% chktex 8
\editionInfo{\textit{First edition}, 2022}
\ISBN{000-0-00000-000-0}
%%%%%%%%%%%%%%%% Metadata %%%%%%%%%%%%%%%%
\hypersetup{
pdftitle={\thetitle},
pdfauthor={\theauthor},
pdfcopyright={Copyright (C) 2022, \thePublisher},
pdfsubject={},% subject
pdfkeywords={},% keywords
pdflicenseurl={https://creativecommons.org/licenses/by-nc-nd/4.0/},
pdfcontacturl={},
pdflang={en},
}
%%%%%%%%%%%%%%%% Load Further Packages %%%%%%%%%%%%%%%%
% Adds the time to version creation.
\usepackage[yyyymmdd,hhmmss]{datetime}
% \usepackage{titlesec}
% Using memoir's endnotes, called pagenotes
\makepagenote
\continuousnotenums
%%%%%%%%%%%%%%%% Hyphenation Exceptions and Corrections %%%%%%%%%%%%%%%%
\hyphenation{London re-lin-quishes de-ter-mines}
\openany%
\begin{document}
\frontmatter
\ifdesktopversion
\desktopCover{\includegraphics[height=\paperheight]{./front-cover-compressed.jpg}}
\fi
\pagestyle{empty}
\input{./manuscript/tex/titlepage.tex}
\input{./manuscript/tex/copyright.tex}
% \input{./manuscript/tex/dedication.tex}
\cleartorecto
\pagestyle{toponerow-frontmatter}
\chapterstyle{adrasteia-toc}
\pdfbookmark[section]{\contentsname}{toc}
\tableofcontents*
% \input{./manuscript/tex/abbreviations.tex}
\chapterstyle{adrasteia-frontmatter}
\mainmatter
\pagestyle{toponerow}
\cleartorecto
% \part{Pāli}
{\raggedright
\input{./manuscript/tex/pali/pubbakicca.tex}
\input{./manuscript/tex/pali/nidan'uddeso.tex}
\input{./manuscript/tex/pali/parajika.tex}
\input{./manuscript/tex/pali/sanghadisesa.tex}
\input{./manuscript/tex/pali/aniyata.tex}
\input{./manuscript/tex/pali/nissaggiya-pacittiya.tex}
\input{./manuscript/tex/pali/pacittiya.tex}
\input{./manuscript/tex/pali/patidesaniya.tex}
\input{./manuscript/tex/pali/sekhiya.tex}
\input{./manuscript/tex/pali/adhikaranasamatha.tex}
\input{./manuscript/tex/pali/patimokkhanitthana.tex}
}
\cleartorecto
% \part{English}
{\raggedright
\input{./manuscript/tex/english/preliminary-duties.tex}
\input{./manuscript/tex/english/introduction.tex}
\input{./manuscript/tex/english/disqualifications.tex}
\input{./manuscript/tex/english/community-meetings.tex}
\input{./manuscript/tex/english/uncertain-cases.tex}
\input{./manuscript/tex/english/forfeiture-expiations.tex}
\input{./manuscript/tex/english/expiations.tex}
\input{./manuscript/tex/english/acknowledgments.tex}
\input{./manuscript/tex/english/trainings.tex}
\input{./manuscript/tex/english/settlements.tex}
\input{./manuscript/tex/english/conclusion.tex}
}
{\raggedright
\input{./manuscript/tex/post-patimokkha.tex}
\input{./manuscript/tex/post/pubba-bhaga.tex}
\input{./manuscript/tex/post/siluddesa.tex}
\input{./manuscript/tex/post/tayana-gatha.tex}
\input{./manuscript/tex/post/ovada-patimokkha.tex}
}
\appendix
{\raggedright
\input{./manuscript/tex/appendix.tex}
\input{./manuscript/tex/in-brief.tex}
}
\backmatter
% {\raggedright
\printpagenotes
% }
\input{./manuscript/tex/copyright-details.tex}
\emptyUntilEven
\ifdesktopversion
\clearpage
\desktopCover{\includegraphics[height=\paperheight]{./back-cover-compressed.jpg}}
\fi
\end{document}