-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbibleref-french-colombe.sty
172 lines (151 loc) · 5.3 KB
/
bibleref-french-colombe.sty
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
\ProvidesPackage{bibleref-french-colombe}
% bibleref settings
\usepackage{bibleref-french}
\AtBeginDocument{\shorthandoff{:}}
% Redefine chapter/verse separator
\renewcommand*{\BRchvsep}{.}%
\renewcommand*{\BRvsep}{,~}%
% We say "Esaïe" in the Colombe version
\setbooktitle{Is}{Esa\"ie}%
% We use Ecclésiaste instead of Qohélet
\setbooktitle{Eccl}{Ecclésiaste}
% We use Actes, not Actes des ap\^otres
\setbooktitle{Ac}{Actes}
% We usually refer to one Psalm at a time
\setbooktitle{Ps}{Psaume}%
% Other books with long names in index
\setindexbooktitle{IS}{I~Samuel}%
\setindexbooktitle{IIR}{II~Rois}%
\setindexbooktitle{Ps}{Psaumes}%
\setindexbooktitle{Mt}{Évangile selon Matthieu}%
\setindexbooktitle{Mc}{Évangile selon Marc}%
\setindexbooktitle{Lc}{Évangile selon Luc}%
\setindexbooktitle{Jn}{Évangile selon Jean}%
\setindexbooktitle{Ac}{Actes des ap\^otres}
%\setindexbooktitle{Rm}{\vfill\columnbreak Épître de Paul aux Romains}%
\setindexbooktitle{Rm}{Épître de Paul aux Romains}%
\setindexbooktitle{ICo}{Première épître de Paul\\ aux~Corinthiens}%
\setindexbooktitle{IICo}{Seconde épître de Paul\\ aux~Corinthiens}%
\setindexbooktitle{Ga}{Épître de Paul aux Galates}%
\setindexbooktitle{Ep}{Épître de Paul aux Éphésiens}%
\setindexbooktitle{Ph}{Épître de Paul aux Philippiens}%
\setindexbooktitle{Col}{Épître de Paul aux Colossiens}%
\setindexbooktitle{ITh}{Première épître de Paul\\ aux~Thessaloniciens}%
\setindexbooktitle{IITh}{Seconde épître de Paul\\ aux~Thessaloniciens}%
\setindexbooktitle{ITm}{Première épître de Paul à~Timothée}%
\setindexbooktitle{IITm}{Seconde épître de Paul à~Timothée}%
\setindexbooktitle{He}{Épître aux Hébreux}%
\setindexbooktitle{Jc}{Épître de Jacques}%
\setindexbooktitle{IP}{Première épître de Pierre}%
\setindexbooktitle{IIP}{Seconde épître de Pierre}%
\setindexbooktitle{IJn}{Première épître de Jean}%
\setindexbooktitle{Ju}{Épître de Jude}%
\setindexbooktitle{Ap}{Apocalypse de Jean}%
\newcommand*{\ibiblephantom}[1][\bvidxpgformat]{%
\let\@bv@current@titlestyle\BRbooktitlestyle
\let\@bv@current@chapterstyle\BRchapterstyle
\let\@bv@current@versestyle\BRversestyle
\let\@bv@current@bkchsep\BRbkchsep
\let\@bv@current@chvsep\BRchvsep
\let\@bv@current@vrsep\BRvrsep
\let\@bv@current@vsep\BRvsep
\def\@bv@restore{%
\let\BRbooktitlestyle\@bv@current@titlestyle
\let\BRchapterstyle\@bv@current@chapterstyle
\let\BRversestyle\@bv@current@versestyle
\let\BRbkchsep\@bv@current@bkchsep
\let\BRchvsep\@bv@current@chvsep
\let\BRvrsep\@bv@current@vrsep
\let\BRvsep\@bv@current@vsep
}%
\def\BRbooktitlestyle##1{}%
\def\BRchapterstyle##1{}%
\def\BRversestyle##1{}%
\def\BRbkchsep{}%
\def\BRchvsep{}%
\def\BRvrsep{}%
\def\BRvsep{}%
\def\@bv@idxpgformat{#1}%
\@bv@idxtrue\def\@bv@idxentry{}\@bible@verse
}
\newcommand{\bridxOT}{}
\newcommand{\bridxNT}{}
% Use Old/New Testament parts in Index
%\newcommand{\bridxOT}{1@Ancien Testament!}
%\newcommand{\bridxNT}{2@Nouveau Testament!}
% IIIJn missing
%\newcommand*\br@IIIJn{\br@IIIJohn}%
% Map
\biblerefmap{Gn}{\bridxOT 01}
\biblerefmap{Ex}{\bridxOT 02}
\biblerefmap{Lv}{\bridxOT 03}
\biblerefmap{Nb}{\bridxOT 04}
\biblerefmap{Dt}{\bridxOT 05}
\biblerefmap{Jos}{\bridxOT 06}
\biblerefmap{Jg}{\bridxOT 07}
\biblerefmap{Rt}{\bridxOT 08}
\biblerefmap{IS}{\bridxOT 09}
\biblerefmap{IIS}{\bridxOT 10}
\biblerefmap{IR}{\bridxOT 11}
\biblerefmap{IIR}{\bridxOT 12}
\biblerefmap{ICh}{\bridxOT 13}
\biblerefmap{IICh}{\bridxOT 14}
\biblerefmap{Esd}{\bridxOT 15}
\biblerefmap{Ne}{\bridxOT 16}
\biblerefmap{Est}{\bridxOT 17}
\biblerefmap{Jb}{\bridxOT 18}
\biblerefmap{Ps}{\bridxOT 19}
\biblerefmap{Pr}{\bridxOT 20}
\biblerefmap{Eccl}{\bridxOT 21}
\biblerefmap{Ct}{\bridxOT 22}
\biblerefmap{Is}{\bridxOT 23}
\biblerefmap{Jr}{\bridxOT 24}
\biblerefmap{Lm}{\bridxOT 25}
\biblerefmap{Ez}{\bridxOT 26}
\biblerefmap{Dn}{\bridxOT 27}
\biblerefmap{Os}{\bridxOT 28}
\biblerefmap{Jl}{\bridxOT 29}
\biblerefmap{Am}{\bridxOT 30}
\biblerefmap{Ab}{\bridxOT 31}
\biblerefmap{Jon}{\bridxOT 32}
\biblerefmap{Mi}{\bridxOT 33}
\biblerefmap{Na}{\bridxOT 34}
\biblerefmap{Ha}{\bridxOT 35}
\biblerefmap{So}{\bridxOT 36}
\biblerefmap{Ag}{\bridxOT 37}
\biblerefmap{Za}{\bridxOT 38}
\biblerefmap{Ml}{\bridxOT 39}
\biblerefmap{Mt}{\bridxNT 40}
\biblerefmap{Mc}{\bridxNT 41}
\biblerefmap{Lc}{\bridxNT 42}
\biblerefmap{Jn}{\bridxNT 43}
\biblerefmap{Ac}{\bridxNT 44}
\biblerefmap{Rm}{\bridxNT 45}
\biblerefmap{ICo}{\bridxNT 46}
\biblerefmap{IICo}{\bridxNT 47}
\biblerefmap{Ga}{\bridxNT 48}
\biblerefmap{Ep}{\bridxNT 49}
\biblerefmap{Ph}{\bridxNT 50}
\biblerefmap{Col}{\bridxNT 51}
\biblerefmap{ITh}{\bridxNT 52}
\biblerefmap{IITh}{\bridxNT 53}
\biblerefmap{ITm}{\bridxNT 54}
\biblerefmap{IITm}{\bridxNT 55}
\biblerefmap{Tt}{\bridxNT 56}
\biblerefmap{Phm}{\bridxNT 57}
\biblerefmap{He}{\bridxNT 58}
\biblerefmap{Jc}{\bridxNT 59}
\biblerefmap{IP}{\bridxNT 60}
\biblerefmap{IIP}{\bridxNT 61}
\biblerefmap{IJn}{\bridxNT 62}
\biblerefmap{IIJn}{\bridxNT 63}
\biblerefmap{IIIJn}{\bridxNT 64}
\biblerefmap{Ju}{\bridxNT 65}
\biblerefmap{Ap}{\bridxNT 66}
% Proper hyphentation
\renewcommand*{\BRbkchsep}{~}%
\renewcommand*{\BRvrsep}{\mbox{--}\nobreak}%
% Allow hyphenation between book and chapter
%\newcommand{\BRallowhypbch}{\renewcommand*{\BRbkchsep}{ }}
% Forbid hyphenation between book and chapter
%\newcommand{\BRforbidhypbch}{\renewcommand*{\BRbkchsep}{~}}