The SWORD Project  1.9.0.svnversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
canon_nrsv.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * canon_nrsv.h - Versification data for the NRSV system
4  *
5  * $Id: canon_nrsv.h 3765 2020-07-26 10:31:09Z scribe $
6  *
7  * Copyright 2009-2013 CrossWire Bible Society (http://www.crosswire.org)
8  * CrossWire Bible Society
9  * P. O. Box 2528
10  * Tempe, AZ 85280-2528
11  *
12  * This program is free software; you can redistribute it and/or modify it
13  * under the terms of the GNU General Public License as published by the
14  * Free Software Foundation version 2.
15  *
16  * This program is distributed in the hope that it will be useful, but
17  * WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19  * General Public License for more details.
20  */
21 
22 #ifndef CANON_NRSV_H
23 #define CANON_NRSV_H
24 
26 
27 
28 // Versification system: NRSV
29 // Book order: Gen Exod Lev Num Deut Josh Judg Ruth 1Sam 2Sam 1Kgs 2Kgs 1Chr 2Chr Ezra Neh Esth Job Ps Prov Eccl Song Isa Jer Lam Ezek Dan Hos Joel Amos Obad Jonah Mic Nah Hab Zeph Hag Zech Mal Matt Mark Luke John Acts Rom 1Cor 2Cor Gal Eph Phil Col 1Thess 2Thess 1Tim 2Tim Titus Phlm Heb Jas 1Pet 2Pet 1John 2John 3John Jude Rev
30 
31 /******************************************************************************
32  * [on]tbooks_nrsv - initialize static instance for all canonical
33  * text names and chapmax
34  */
35 // for otbooks_nrsv, use otbooks
36 
37 // for ntbooks_nrsv, use ntbooks
38 
39 /******************************************************************************
40  * Maximum verses per chapter
41  */
42 
43 int vm_nrsv[] = {
44  // Genesis
45  31, 25, 24, 26, 32, 22, 24, 22, 29, 32,
46  32, 20, 18, 24, 21, 16, 27, 33, 38, 18,
47  34, 24, 20, 67, 34, 35, 46, 22, 35, 43,
48  55, 32, 20, 31, 29, 43, 36, 30, 23, 23,
49  57, 38, 34, 34, 28, 34, 31, 22, 33, 26,
50  // Exodus
51  22, 25, 22, 31, 23, 30, 25, 32, 35, 29,
52  10, 51, 22, 31, 27, 36, 16, 27, 25, 26,
53  36, 31, 33, 18, 40, 37, 21, 43, 46, 38,
54  18, 35, 23, 35, 35, 38, 29, 31, 43, 38,
55  // Leviticus
56  17, 16, 17, 35, 19, 30, 38, 36, 24, 20,
57  47, 8, 59, 57, 33, 34, 16, 30, 37, 27,
58  24, 33, 44, 23, 55, 46, 34,
59  // Numbers
60  54, 34, 51, 49, 31, 27, 89, 26, 23, 36,
61  35, 16, 33, 45, 41, 50, 13, 32, 22, 29,
62  35, 41, 30, 25, 18, 65, 23, 31, 40, 16,
63  54, 42, 56, 29, 34, 13,
64  // Deuteronomy
65  46, 37, 29, 49, 33, 25, 26, 20, 29, 22,
66  32, 32, 18, 29, 23, 22, 20, 22, 21, 20,
67  23, 30, 25, 22, 19, 19, 26, 68, 29, 20,
68  30, 52, 29, 12,
69  // Joshua
70  18, 24, 17, 24, 15, 27, 26, 35, 27, 43,
71  23, 24, 33, 15, 63, 10, 18, 28, 51, 9,
72  45, 34, 16, 33,
73  // Judges
74  36, 23, 31, 24, 31, 40, 25, 35, 57, 18,
75  40, 15, 25, 20, 20, 31, 13, 31, 30, 48,
76  25,
77  // Ruth
78  22, 23, 18, 22,
79  // I Samuel
80  28, 36, 21, 22, 12, 21, 17, 22, 27, 27,
81  15, 25, 23, 52, 35, 23, 58, 30, 24, 42,
82  15, 23, 29, 22, 44, 25, 12, 25, 11, 31,
83  13,
84  // II Samuel
85  27, 32, 39, 12, 25, 23, 29, 18, 13, 19,
86  27, 31, 39, 33, 37, 23, 29, 33, 43, 26,
87  22, 51, 39, 25,
88  // I Kings
89  53, 46, 28, 34, 18, 38, 51, 66, 28, 29,
90  43, 33, 34, 31, 34, 34, 24, 46, 21, 43,
91  29, 53,
92  // II Kings
93  18, 25, 27, 44, 27, 33, 20, 29, 37, 36,
94  21, 21, 25, 29, 38, 20, 41, 37, 37, 21,
95  26, 20, 37, 20, 30,
96  // I Chronicles
97  54, 55, 24, 43, 26, 81, 40, 40, 44, 14,
98  47, 40, 14, 17, 29, 43, 27, 17, 19, 8,
99  30, 19, 32, 31, 31, 32, 34, 21, 30,
100  // II Chronicles
101  17, 18, 17, 22, 14, 42, 22, 18, 31, 19,
102  23, 16, 22, 15, 19, 14, 19, 34, 11, 37,
103  20, 12, 21, 27, 28, 23, 9, 27, 36, 27,
104  21, 33, 25, 33, 27, 23,
105  // Ezra
106  11, 70, 13, 24, 17, 22, 28, 36, 15, 44,
107  // Nehemiah
108  11, 20, 32, 23, 19, 19, 73, 18, 38, 39,
109  36, 47, 31,
110  // Esther
111  22, 23, 15, 17, 14, 14, 10, 17, 32, 3,
112  // Job
113  22, 13, 26, 21, 27, 30, 21, 22, 35, 22,
114  20, 25, 28, 22, 35, 22, 16, 21, 29, 29,
115  34, 30, 17, 25, 6, 14, 23, 28, 25, 31,
116  40, 22, 33, 37, 16, 33, 24, 41, 30, 24,
117  34, 17,
118  // Psalms
119  6, 12, 8, 8, 12, 10, 17, 9, 20, 18,
120  7, 8, 6, 7, 5, 11, 15, 50, 14, 9,
121  13, 31, 6, 10, 22, 12, 14, 9, 11, 12,
122  24, 11, 22, 22, 28, 12, 40, 22, 13, 17,
123  13, 11, 5, 26, 17, 11, 9, 14, 20, 23,
124  19, 9, 6, 7, 23, 13, 11, 11, 17, 12,
125  8, 12, 11, 10, 13, 20, 7, 35, 36, 5,
126  24, 20, 28, 23, 10, 12, 20, 72, 13, 19,
127  16, 8, 18, 12, 13, 17, 7, 18, 52, 17,
128  16, 15, 5, 23, 11, 13, 12, 9, 9, 5,
129  8, 28, 22, 35, 45, 48, 43, 13, 31, 7,
130  10, 10, 9, 8, 18, 19, 2, 29, 176, 7,
131  8, 9, 4, 8, 5, 6, 5, 6, 8, 8,
132  3, 18, 3, 3, 21, 26, 9, 8, 24, 13,
133  10, 7, 12, 15, 21, 10, 20, 14, 9, 6,
134  // Proverbs
135  33, 22, 35, 27, 23, 35, 27, 36, 18, 32,
136  31, 28, 25, 35, 33, 33, 28, 24, 29, 30,
137  31, 29, 35, 34, 28, 28, 27, 28, 27, 33,
138  31,
139  // Ecclesiastes
140  18, 26, 22, 16, 20, 12, 29, 17, 18, 20,
141  10, 14,
142  // Song of Solomon
143  17, 17, 11, 16, 16, 13, 13, 14,
144  // Isaiah
145  31, 22, 26, 6, 30, 13, 25, 22, 21, 34,
146  16, 6, 22, 32, 9, 14, 14, 7, 25, 6,
147  17, 25, 18, 23, 12, 21, 13, 29, 24, 33,
148  9, 20, 24, 17, 10, 22, 38, 22, 8, 31,
149  29, 25, 28, 28, 25, 13, 15, 22, 26, 11,
150  23, 15, 12, 17, 13, 12, 21, 14, 21, 22,
151  11, 12, 19, 12, 25, 24,
152  // Jeremiah
153  19, 37, 25, 31, 31, 30, 34, 22, 26, 25,
154  23, 17, 27, 22, 21, 21, 27, 23, 15, 18,
155  14, 30, 40, 10, 38, 24, 22, 17, 32, 24,
156  40, 44, 26, 22, 19, 32, 21, 28, 18, 16,
157  18, 22, 13, 30, 5, 28, 7, 47, 39, 46,
158  64, 34,
159  // Lamentations
160  22, 22, 66, 22, 22,
161  // Ezekiel
162  28, 10, 27, 17, 17, 14, 27, 18, 11, 22,
163  25, 28, 23, 23, 8, 63, 24, 32, 14, 49,
164  32, 31, 49, 27, 17, 21, 36, 26, 21, 26,
165  18, 32, 33, 31, 15, 38, 28, 23, 29, 49,
166  26, 20, 27, 31, 25, 24, 23, 35,
167  // Daniel
168  21, 49, 30, 37, 31, 28, 28, 27, 27, 21,
169  45, 13,
170  // Hosea
171  11, 23, 5, 19, 15, 11, 16, 14, 17, 15,
172  12, 14, 16, 9,
173  // Joel
174  20, 32, 21,
175  // Amos
176  15, 16, 15, 13, 27, 14, 17, 14, 15,
177  // Obadiah
178  21,
179  // Jonah
180  17, 10, 10, 11,
181  // Micah
182  16, 13, 12, 13, 15, 16, 20,
183  // Nahum
184  15, 13, 19,
185  // Habakkuk
186  17, 20, 19,
187  // Zephaniah
188  18, 15, 20,
189  // Haggai
190  15, 23,
191  // Zechariah
192  21, 13, 10, 14, 11, 15, 14, 23, 17, 12,
193  17, 14, 9, 21,
194  // Malachi
195  14, 17, 18, 6,
196  // Matthew
197  25, 23, 17, 25, 48, 34, 29, 34, 38, 42,
198  30, 50, 58, 36, 39, 28, 27, 35, 30, 34,
199  46, 46, 39, 51, 46, 75, 66, 20,
200  // Mark
201  45, 28, 35, 41, 43, 56, 37, 38, 50, 52,
202  33, 44, 37, 72, 47, 20,
203  // Luke
204  80, 52, 38, 44, 39, 49, 50, 56, 62, 42,
205  54, 59, 35, 35, 32, 31, 37, 43, 48, 47,
206  38, 71, 56, 53,
207  // John
208  51, 25, 36, 54, 47, 71, 53, 59, 41, 42,
209  57, 50, 38, 31, 27, 33, 26, 40, 42, 31,
210  25,
211  // Acts
212  26, 47, 26, 37, 42, 15, 60, 40, 43, 48,
213  30, 25, 52, 28, 41, 40, 34, 28, 41, 38,
214  40, 30, 35, 27, 27, 32, 44, 31,
215  // Romans
216  32, 29, 31, 25, 21, 23, 25, 39, 33, 21,
217  36, 21, 14, 23, 33, 27,
218  // I Corinthians
219  31, 16, 23, 21, 13, 20, 40, 13, 27, 33,
220  34, 31, 13, 40, 58, 24,
221  // II Corinthians
222  24, 17, 18, 18, 21, 18, 16, 24, 15, 18,
223  33, 21, 14,
224  // Galatians
225  24, 21, 29, 31, 26, 18,
226  // Ephesians
227  23, 22, 21, 32, 33, 24,
228  // Philippians
229  30, 30, 21, 23,
230  // Colossians
231  29, 23, 25, 18,
232  // I Thessalonians
233  10, 20, 13, 18, 28,
234  // II Thessalonians
235  12, 17, 18,
236  // I Timothy
237  20, 15, 16, 16, 25, 21,
238  // II Timothy
239  18, 26, 17, 22,
240  // Titus
241  16, 15, 15,
242  // Philemon
243  25,
244  // Hebrews
245  14, 18, 19, 16, 14, 20, 28, 13, 28, 39,
246  40, 29, 25,
247  // James
248  27, 26, 18, 17, 20,
249  // I Peter
250  25, 25, 22, 19, 14,
251  // II Peter
252  21, 22, 18,
253  // I John
254  10, 29, 24, 21, 21,
255  // II John
256  13,
257  // III John
258  15,
259  // Jude
260  25,
261  // Revelation of John
262  20, 29, 22, 11, 14, 17, 17, 13, 21, 11,
263  19, 18, 18, 20, 8, 21, 18, 24, 21, 15,
264  27, 21
265 };
266 
267 unsigned char mappings_nrsv[] = {
268  0,
269  66, 12, 18, 19, 13, 1, 0,
270  66, 13, 1, 1, 13, 1, 0,
271  0
272 };
273 
275 
276 
277 #endif
SWORD_NAMESPACE_START int vm_nrsv[]
Definition: canon_nrsv.h:43
#define SWORD_NAMESPACE_START
Definition: defs.h:39
unsigned char mappings_nrsv[]
Definition: canon_nrsv.h:267
#define SWORD_NAMESPACE_END
Definition: defs.h:40