summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bibleref/bibleref-manual.html
blob: 907adfab3d669a5b1c8fd2d353fc16422a49bd4f (plain)
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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
<a 
 id="top"></a><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
  "http://www.w3.org/TR/html4/loose.dtd">  
<html > 
<head><title>bibleref.sty v1.12: a LaTeX2&#x03B5;package for typesetting bible references</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"> 
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"> 
<!-- html --> 
<meta name="src" content="bibleref-manual.tex"> 
<meta name="date" content="2010-05-11 18:06:00"> 
<link rel="stylesheet" type="text/css" href="bibleref-manual.css"> 
</head><body 
>
   <div class="maketitle">
                                                                    

                                                                    
                                                                    

                                                                    

<h2 class="titleHead">bibleref.sty v1.12: a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
class="E">E</span>X</span></span>2&#x03B5;&#x00A0;package for
typesetting bible references</h2>
              <div class="author" ><span 
class="cmr-12">Nicola Talbot</span>
<br />      <span 
class="cmr-12">School of Computing Sciences</span>
<br />        <span 
class="cmr-12">University of East Anglia</span>
<br />       <span 
class="cmr-12">Norwich. Norfolk. NR4 7TJ.</span>
<br />            <span 
class="cmr-12">United Kingdom</span>
<br /><a 
href="http://theoval.cmp.uea.ac.uk/~nlct/" class="url" ><span 
class="cmtt-12">http://theoval.cmp.uea.ac.uk/~nlct/</span></a></div><br />
<div class="date" ><span 
class="cmr-12">11th May 2010</span></div>
   </div>
   <h3 class="likesectionHead"><a 
 id="x1-1000"></a>Contents</h3>
   <div class="tableofcontents">
   <span class="sectionToc" >1 <a 
href="#x1-20001" id="QQ2-1-2">Introduction</a></span>
<br />   <span class="sectionToc" >2 <a 
href="#x1-30002" id="QQ2-1-4">Defining New Styles</a></span>
<br />   <span class="sectionToc" >3 <a 
href="#x1-40003" id="QQ2-1-5">Indexing Bible References</a></span>
<br />   &#x00A0;<span class="subsectionToc" >3.1 <a 
href="#x1-50003.1" id="QQ2-1-6">Separate Scripture Index</a></span>
<br />   &#x00A0;<span class="subsectionToc" >3.2 <a 
href="#x1-60003.2" id="QQ2-1-7">Changing the Sort Order</a></span>
<br />   <span class="sectionToc" >4 <a 
href="#x1-70004" id="QQ2-1-8">Acknowledgements</a></span>
<br />   <span class="sectionToc" ><a 
href="#Q1-1-9">Index</a></span>
   </div>
<!--l. 67--><p class="noindent" >
   <h3 class="sectionHead"><span class="titlemark">1   </span> <a 
 id="x1-20001"></a>Introduction</h3>
<!--l. 69--><p class="noindent" >The <span 
class="cmss-10">bibleref </span>package was designed to provide consistent formatting for referencing parts
of the bible.
<!--l. 74--><p class="noindent" ><span class="marginpar"><span 
class="cmtt-9">\bibleverse</span><span 
class="cmtt-9">&#x00A0;</span></span><a 
 id="dx1-2001"></a><span 
class="colorbox" id="colorbox1"><div class="minipage"> <span 
class="cmtt-10">\bibleverse{</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">book title</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}(</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">chapter</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">:</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">verse(s)</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">)</span>                        </div></span>
                                                                    

                                                                    
<!--l. 74--><p class="noindent" >
This command can be used to cite a bible book, chapter or verse or range of chapters or
verses.
<!--l. 78--><p class="indent" >   The book title, <span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">book title</span><span 
class="cmsy-10">&#x27E9;</span>, may be given either as the full title (e.g.&#x00A0;<span 
class="cmtt-10">Matthew</span>) or as
an abbreviation (e.g.&#x00A0;<span 
class="cmtt-10">Mt </span>or <span 
class="cmtt-10">Matt</span>), most standard abbreviations are recognised. Books
with multiple parts should be preceded by the book number in uppercase
roman numerals. For example, the second book of Kings should be entered as
<span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\bibleverse{IIKings}</span></span></span>
<!--l. 85--><p class="indent" >   You may have any number, or zero, sets of parenthesis <span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">(</span></span></span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">chapter</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">:</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">verse(s)</span><span 
class="cmsy-10">&#x27E9;</span><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">)</span></span></span>,
indicating the chapter and verse or verses. Verses can be specified as a comma separated
list of individual verses or range of verses. A range of verses should be written with a
single hyphen, e.g.&#x00A0;<span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">2-4</span></span></span>. In the typeset output the verses will be separated with
<!--l. 94--><p class="noindent" ><span class="marginpar"><span 
class="cmtt-9">\BRvsep</span><span 
class="cmtt-9">&#x00A0;</span></span><a 
 id="dx1-2002"></a><span 
class="colorbox" id="colorbox2"><div class="minipage"> <span 
class="cmtt-10">\BRvsep</span>                                                          </div></span>
<!--l. 94--><p class="noindent" >
(an en-dash by default.) A chapter may be referenced without a verse, but the colon
must remain, e.g.&#x00A0;<span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">(12:)</span></span></span> simply indicates chapter 12.
<!--l. 99--><p class="indent" >   A range of verses spanning more than one chapter can be entered as
<span 
class="cmtt-10">(</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">ch</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">:</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">v</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">)-(</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">ch</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">:</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">v</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">)</span>
<!--l. 103--><p class="indent" >   Examples:
<div class="center" 
>
<!--l. 104--><p class="noindent" >
<div class="tabular"> <table id="TBL-2" class="tabular" 
cellspacing="0" cellpadding="0"  
><colgroup id="TBL-2-1g"><col 
id="TBL-2-1"><col 
id="TBL-2-2"></colgroup><tr  
 style="vertical-align:baseline;" id="TBL-2-1-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-1-1"  
class="td11"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\bibleverse{Ex}</span></span></span>                   </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-1-2"  
class="td11">Exodus                    </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-2-2-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-2-1"  
class="td11"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\bibleverse{Exodus}(20:)</span></span></span>           </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-2-2"  
class="td11">Exodus 20                </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-2-3-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-3-1"  
class="td11"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\bibleverse{Exod}(20:17)</span></span></span>           </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-3-2"  
class="td11">Exodus 20:17             </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-2-4-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-4-1"  
class="td11"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\bibleverse{IICo}(12:21)</span></span></span>           </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-4-2"  
class="td11">2 Corinthians 12:21     </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-2-5-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-5-1"  
class="td11"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\bibleverse{IICor}(12:21-32)</span></span></span>       </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-5-2"  
class="td11">2 Corinthians 12:21&#8211;32</td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-2-6-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-6-1"  
class="td11"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\bibleverse{Ex}(20:17)(21:3)</span></span></span>       </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-6-2"  
class="td11">Exodus 20:17;21:3      </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-2-7-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-7-1"  
class="td11"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\bibleverse{Ex}(15:)(17:)(20:)</span></span></span>     </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-7-2"  
class="td11">Exodus 15;17;20         </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-2-8-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-8-1"  
class="td11"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\bibleverse{Rev}(1:2,5,7-9,11)</span></span></span>     </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-8-2"  
class="td11">Revelation 1:2,5,7&#8211;9,11</td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-2-9-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-9-1"  
class="td11"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\bibleverse{IChronicles}(1:3)-(2:7)</span></span></span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-9-2"  
class="td11">1 Chronicles 1:3&#8211;2:7    </td></tr></table></div></div>
<!--l. 119--><p class="indent" >   The style of the reference can be specified either by package option or as the
argument to the command
<!--l. 123--><p class="noindent" ><span class="marginpar"><span 
class="cmtt-9">\biblerefstyle</span><span 
class="cmtt-9">&#x00A0;</span></span><a 
 id="dx1-2003"></a><span 
class="colorbox" id="colorbox3"><div class="minipage"> <span 
class="cmtt-10">\biblerefstyle{</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">style</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}</span>                                            </div></span>
<!--l. 123--><p class="noindent" >
Styles are listed in Table&#x00A0;<a 
href="#x1-20041">1<!--tex4ht:ref: tab:styles --></a>.
   <div class="table">
                                                                    

                                                                    
<!--l. 126--><p class="indent" >   <a 
 id="x1-20041"></a><hr class="float"><div class="float" 
>
                                                                    

                                                                    
 <div class="caption" 
><span class="id">Table&#x00A0;1: </span><span  
class="content">Bible Citation Styles (can be used as package option or in the argument
to <span 
class="cmtt-10">\biblerefstyle</span>)</span></div><!--tex4ht:label?: x1-20041 -->
<div class="center" 
>
<!--l. 131--><p class="noindent" >
<div class="tabular"> <table id="TBL-3" class="tabular" 
cellspacing="0" cellpadding="0"  
><colgroup id="TBL-3-1g"><col 
id="TBL-3-1"><col 
id="TBL-3-2"></colgroup><tr  
 style="vertical-align:baseline;" id="TBL-3-1-"><td  style="white-space:nowrap; text-align:left;" id="TBL-3-1-1"  
class="td11"><span 
class="cmbx-10">Style     </span></td><td  style="white-space:wrap; text-align:left;" id="TBL-3-1-2"  
class="td11"><!--l. 133--><p class="noindent" ><span 
class="cmbx-10">Example</span>                                   </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-3-2-"><td  style="white-space:nowrap; text-align:left;" id="TBL-3-2-1"  
class="td11">default     </td><td  style="white-space:wrap; text-align:left;" id="TBL-3-2-2"  
class="td11"><!--l. 134--><p class="noindent" >2 Corinthians 12:1&#8211;5                          </td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-3-"><td  style="white-space:nowrap; text-align:left;" id="TBL-3-3-1"  
class="td11">jerusalem </td><td  style="white-space:wrap; text-align:left;" id="TBL-3-3-2"  
class="td11"><!--l. 135--><p class="noindent" >2 Co 12:1&#8211;5</td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-3-4-"><td  style="white-space:nowrap; text-align:left;" id="TBL-3-4-1"  
class="td11">anglosaxon</td><td  style="white-space:wrap; text-align:left;" id="TBL-3-4-2"  
class="td11"><!--l. 136--><p class="noindent" >II Cor. XII.1&#8211;5                                 </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-3-5-"><td  style="white-space:nowrap; text-align:left;" id="TBL-3-5-1"  
class="td11">JEH         </td><td  style="white-space:wrap; text-align:left;" id="TBL-3-5-2"  
class="td11"><!--l. 137--><p class="noindent" >2 Cor. xii. 1&#8211;5                                  </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-3-6-"><td  style="white-space:nowrap; text-align:left;" id="TBL-3-6-1"  
class="td11">NTG        </td><td  style="white-space:wrap; text-align:left;" id="TBL-3-6-2"  
class="td11"><!--l. 138--><p class="noindent" >2 Cor xii,1&#8211;5                                    </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-3-7-"><td  style="white-space:nowrap; text-align:left;" id="TBL-3-7-1"  
class="td11">MLA        </td><td  style="white-space:wrap; text-align:left;" id="TBL-3-7-2"  
class="td11"><!--l. 139--><p class="noindent" >2 Cor.&#x00A0;xii.1&#8211;5                                   </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-3-8-"><td  style="white-space:nowrap; text-align:left;" id="TBL-3-8-1"  
class="td11">chicago     </td><td  style="white-space:wrap; text-align:left;" id="TBL-3-8-2"  
class="td11"><!--l. 140--><p class="noindent" >2 Cor.&#x00A0;xii : 1&#8211;5                                  </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-3-9-"><td  style="white-space:nowrap; text-align:left;" id="TBL-3-9-1"  
class="td11">text         </td><td  style="white-space:wrap; text-align:left;" id="TBL-3-9-2"  
class="td11"><!--l. 141--><p class="noindent" >Second&#x00A0;Epistle   to   the   Corinthians,
chapter twelve verse one to five            </td>
</tr></table></div></div>
                                                                    

                                                                    
   </div><hr class="endfloat" />
   </div>
<!--l. 146--><p class="indent" >   You can change the name of a book using
<!--l. 149--><p class="noindent" ><span class="marginpar"><span 
class="cmtt-9">\setbooktitle</span><span 
class="cmtt-9">&#x00A0;</span></span><a 
 id="dx1-2005"></a><span 
class="colorbox" id="colorbox4"><div class="minipage"> <span 
class="cmtt-10">\setbooktitle{</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">name</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}{</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">new title</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}</span>                                 </div></span>
<!--l. 149--><p class="noindent" >
Note that <span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">name</span><span 
class="cmsy-10">&#x27E9; </span>must be the full name, not the abbreviated name of the book. For
example, to change Revelation to Apoc, do <span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\setbookname{Revelation}{Apoc}</span></span></span> (<span 
class="cmbx-10">Note</span>
that you shouldn&#8217;t do <span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\setbookname{Rev}{Apoc}</span></span></span>)
<!--l. 157--><p class="indent" >   If you want a different title for a book depending on whether it&#8217;s in the main
body of the document or in the index, you can set the index version using:
<!--l. 162--><p class="noindent" ><span class="marginpar"><span 
class="cmtt-9">\setindexbooktitle</span><span 
class="cmtt-9">&#x00A0;</span></span><a 
 id="dx1-2006"></a><span 
class="colorbox" id="colorbox5"><div class="minipage"> <span 
class="cmtt-10">\setindexbooktitle{</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">name</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}{</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">title</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}</span>                                </div></span>
<!--l. 162--><p class="noindent" >
In this case, <span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">name</span><span 
class="cmsy-10">&#x27E9; </span>should be the name you&#8217;ll use in <span 
class="cmtt-10">\ibibleverse</span>. For example, if
you do:
                                                                    

                                                                    
   <div class="verbatim" id="verbatim-1">
\setbooktitle{Psalms}{Psalm}
&#x00A0;<br />\setindexbooktitle{Psalms}{Psalms}
</div>
<!--l. 168--><p class="nopar" > Then <span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\ibibleverse{Psalms}(2:)</span></span></span> will print Psalm the document and Psalms in the
index, but <span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\ibibleverse{Ps}(2:)</span></span></span> will print Psalms in both the document and the
index.
<!--l. 173--><p class="indent" >   You can add a book using
<!--l. 176--><p class="noindent" ><span class="marginpar"><span 
class="cmtt-9">\addbiblebook</span><span 
class="cmtt-9">&#x00A0;</span></span><a 
 id="dx1-2007"></a><span 
class="colorbox" id="colorbox6"><div class="minipage"> <span 
class="cmtt-10">\addbiblebook{</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">name</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}{</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">title</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}</span>                                     </div></span>
<!--l. 176--><p class="noindent" >
For example:
                                                                    

                                                                    
   <div class="verbatim" id="verbatim-2">
\addbiblebook{Susanna}{Story&#x00A0;of&#x00A0;Susanna}
</div>
<!--l. 180--><p class="nopar" >
<!--l. 181--><p class="noindent" ><a 
href="#top">Top</a>
   <h3 class="sectionHead"><span class="titlemark">2   </span> <a 
 id="x1-30002"></a>Defining New Styles</h3>
<!--l. 185--><p class="noindent" >You can define a new style using the command
<!--l. 188--><p class="noindent" ><span class="marginpar"><span 
class="cmtt-9">\newbiblerefstyle</span><span 
class="cmtt-9">&#x00A0;</span></span><a 
 id="dx1-3001"></a><span 
class="colorbox" id="colorbox7"><div class="minipage"> <span 
class="cmtt-10">\newbiblerefstyle{</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">style-name</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}{</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">commands</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}</span>                       </div></span>
<!--l. 188--><p class="noindent" >
where <span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">commands</span><span 
class="cmsy-10">&#x27E9; </span>are the commands needed to modify the citation style.
<!--l. 192--><p class="indent" >   Example: This new style is based on the &#8220;default&#8221; style, but has verses in lower case
Roman numerals, and redefines &#8220;Revelation&#8221; as &#8220;Apocalypse&#8221;.
                                                                    

                                                                    
   <div class="verbatim" id="verbatim-3">
\newbiblerefstyle{sample}{%
&#x00A0;<br />\biblerefstyle{default}%
&#x00A0;<br />\renewcommand{\BRversestyle}[1]{\romannumeral##1}%
&#x00A0;<br />\setbooktitle{Revelation}{Apocalypse}%
&#x00A0;<br />}
</div>
<!--l. 202--><p class="nopar" > Note the use of <span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">##1</span></span></span> instead of <span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">#1</span></span></span>.
<!--l. 204--><p class="noindent" ><a 
href="#top">Top</a>
<!--l. 206--><p class="noindent" >
   <h3 class="sectionHead"><span class="titlemark">3   </span> <a 
 id="x1-40003"></a>Indexing Bible References</h3>
<!--l. 210--><p class="noindent" ><span class="marginpar"><span 
class="cmtt-9">\ibibleverse</span><span 
class="cmtt-9">&#x00A0;</span></span><a 
 id="dx1-4001"></a><span 
class="colorbox" id="colorbox8"><div class="minipage"> <span 
class="cmtt-10">\ibibleverse{</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">book title</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}({</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">chapter</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}:</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">verse(s)</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">)</span>                     </div></span>
<!--l. 210--><p class="noindent" >
This does the same as <span 
class="cmtt-10">\bibleverse </span>but also adds an index entry (provided you have
used <span 
class="cmtt-10">\makeindex </span>in the preamble.) The default page number format is given by the
command
<!--l. 217--><p class="noindent" ><span class="marginpar"><span 
class="cmtt-9">\bvidxpgformat</span><span 
class="cmtt-9">&#x00A0;</span></span><a 
 id="dx1-4002"></a><span 
class="colorbox" id="colorbox9"><div class="minipage"> <span 
class="cmtt-10">\bvidxpgformat</span>                                                   </div></span>
<!--l. 217--><p class="noindent" >
This is <span 
class="cmtt-10">textrm </span>by default, but can be redefined. To override the page number format for
a particular entry you can use the optional argument to <span 
class="cmtt-10">\ibibleverse</span>. For
example:
                                                                    

                                                                    
   <div class="verbatim" id="verbatim-4">
\ibibleverse[textit]{Exodus}
</div>
<!--l. 223--><p class="nopar" > (Note there is no backslash.)
<!--l. 226--><p class="indent" >   You may need to create your own custom <span 
class="cmtt-10">makeindex </span>style file as the default uses a
comma and space to separate the item from the page number, which may cause
confusion. For example, you could create a file called <span 
class="cmtt-10">sample.ist </span>and write in the
lines:
                                                                    

                                                                    
   <div class="verbatim" id="verbatim-5">
delim_0&#x00A0;"\\dotfill&#x00A0;"
&#x00A0;<br />delim_1&#x00A0;"\\dotfill&#x00A0;"
&#x00A0;<br />delim_2&#x00A0;"\\dotfill&#x00A0;"
</div>
<!--l. 235--><p class="nopar" > See the <span 
class="cmtt-10">makeindex </span>documentation for further details.
<!--l. 237--><p class="noindent" ><a 
href="#top">Top</a>
<!--l. 239--><p class="noindent" >
   <h4 class="subsectionHead"><span class="titlemark">3.1   </span> <a 
 id="x1-50003.1"></a>Separate Scripture Index</h4>
<!--l. 241--><p class="noindent" >If you want a separate index for bible verses, in addition to a general index, you can
redefine
<!--l. 245--><p class="noindent" ><span class="marginpar"><span 
class="cmtt-9">\biblerefindex</span><span 
class="cmtt-9">&#x00A0;</span></span><a 
 id="dx1-5001"></a><span 
class="colorbox" id="colorbox10"><div class="minipage"> <span 
class="cmtt-10">\biblerefindex</span>                                                   </div></span>
<!--l. 245--><p class="noindent" >
This command defaults to <span 
class="cmtt-10">\index</span>, but can be changed to the appropriate
indexing command. For example, suppose you are using the <span 
class="cmss-10">multind </span>package
and you want a general index and a scripture index, you can do something
like:
                                                                    

                                                                    
   <div class="verbatim" id="verbatim-6">
\documentclass{article}
&#x00A0;<br />\usepackage{bibleref}
&#x00A0;<br />\usepackage{multind}
&#x00A0;<br />\makeindex{scripture}
&#x00A0;<br />\makeindex{general}
&#x00A0;<br />\renewcommand{\biblerefindex}{\index{scripture}}
</div>
<!--l. 259--><p class="nopar" > In the document, you can use <span 
class="cmtt-10">\ibibleverse </span>as before, and the scripture index is
displayed using
                                                                    

                                                                    
   <div class="verbatim" id="verbatim-7">
\printindex{scripture}{Scripture&#x00A0;Index}
</div>
<!--l. 264--><p class="nopar" > You will then need to run <span 
class="cmtt-10">makeindex </span>on the file <span 
class="cmtt-10">scripture.idx</span>. See the <span 
class="cmss-10">multind</span>
documentation for further details.
<!--l. 268--><p class="noindent" ><a 
href="#top">Top</a>
<!--l. 270--><p class="noindent" >
   <h4 class="subsectionHead"><span class="titlemark">3.2   </span> <a 
 id="x1-60003.2"></a>Changing the Sort Order</h4>
<!--l. 272--><p class="noindent" >The bible reference entries will be sorted alphabetically by <span 
class="cmtt-10">makeindex</span>. However you
may prefer the entries to be sorted according to their order in the bible. This can either
be done using <span 
class="cmtt-10">xindy </span>instead of <span 
class="cmtt-10">makeindex </span>and creating your own custom
alphabet (see <span 
class="cmtt-10">xindy </span>manual for details) or you can use <span 
class="cmss-10">bibleref</span>&#8217;s mapping
command.
<!--l. 281--><p class="noindent" ><span class="marginpar"><span 
class="cmtt-9">\biblerefmap</span><span 
class="cmtt-9">&#x00A0;</span></span><a 
 id="dx1-6001"></a><span 
class="colorbox" id="colorbox11"><div class="minipage"> <span 
class="cmtt-10">\biblerefmap{</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">label</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}{</span><span 
class="cmsy-10">&#x27E8;</span><span 
class="cmti-10">new sort key</span><span 
class="cmsy-10">&#x27E9;</span><span 
class="cmtt-10">}</span>                                </div></span>
<!--l. 281--><p class="noindent" >
For example, in the preamble:
                                                                    

                                                                    
   <div class="verbatim" id="verbatim-8">
\biblerefmap{Genesis}{01}
&#x00A0;<br />\biblerefmap{Exodus}{02}
&#x00A0;<br />\biblerefmap{Leviticus}{03}
&#x00A0;<br />\biblerefmap{Numbers}{04}
&#x00A0;<br />\biblerefmap{Deuteronomy}{05}
&#x00A0;<br />...
</div>
<!--l. 290--><p class="nopar" > When you run <span 
class="cmtt-10">makeindex</span>, the references will now be sorted in numerical
order.
<!--l. 294--><p class="indent" >   If you want to subdivide the index into, say, old and new testament, you can add
this to the mapping. For example:
                                                                    

                                                                    
   <div class="verbatim" id="verbatim-9">
\biblerefmap{Genesis}{1@Old&#x00A0;Testament!01}
&#x00A0;<br />\biblerefmap{Exodus}{1@Old&#x00A0;Testament!02}
&#x00A0;<br />\biblerefmap{Leviticus}{1@Old&#x00A0;Testament!03}
&#x00A0;<br />\biblerefmap{Numbers}{1@Old&#x00A0;Testament!04}
&#x00A0;<br />\biblerefmap{Deuteronomy}{1@Old&#x00A0;Testament!05}
&#x00A0;<br />...
&#x00A0;<br />\biblerefmap{Matthew}{2@New&#x00A0;Testament!01}
&#x00A0;<br />\biblerefmap{Mark}{2@New&#x00A0;Testament!02}
&#x00A0;<br />...
</div>
<!--l. 306--><p class="nopar" >
<!--l. 307--><p class="noindent" ><a 
href="#top">Top</a>
<!--l. 309--><p class="noindent" >
   <h3 class="sectionHead"><span class="titlemark">4   </span> <a 
 id="x1-70004"></a>Acknowledgements</h3>
<!--l. 310--><p class="noindent" >Many thanks to all the useful comments from comp.text.tex, especially from
Jesse&#x00A0;Billett, Brooks&#x00A0;Moses and Ulrich&#x00A0;M.&#x00A0;Schwarz.
<!--l. 317--><p class="indent" >   <a 
 id="likesection.1"></a><a 
 id="Q1-1-9"></a>
<!--l. 2--><p class="noindent" >
   <h3 class="likesectionHead"><a 
 id="x1-80004"></a>Index</h3>
<!--l. 4--><p class="noindent" >                                                                  <span 
class="cmbx-10">A</span>
   <div class="theindex"><span class="index-item"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\addbiblebook</span></span></span>&#x00A0;&#x00A0;<a 
href="bibleref-manual.html#dx1-2007" ><span 
class="cmti-10">1</span></a> <br /></span>
<p class="theindex">                                                                  <span 
class="cmbx-10">B</span>
<span class="index-item"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\biblerefindex</span></span></span>&#x00A0;&#x00A0;<a 
href="bibleref-manual.html#dx1-5001" ><span 
class="cmti-10">2</span></a> <br /></span>
<span class="index-item"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\biblerefmap</span></span></span>&#x00A0;&#x00A0;<a 
href="bibleref-manual.html#dx1-6001" ><span 
class="cmti-10">3</span></a> <br /></span>
<span class="index-item"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\biblerefstyle</span></span></span>&#x00A0;&#x00A0;<a 
href="bibleref-manual.html#dx1-2003" ><span 
class="cmti-10">4</span></a> <br /></span>
<span class="index-item"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\bibleverse</span></span></span>&#x00A0;&#x00A0;<a 
href="bibleref-manual.html#dx1-2001" ><span 
class="cmti-10">5</span></a> <br /></span>
<span class="index-item"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\BRvsep</span></span></span>&#x00A0;&#x00A0;<a 
href="bibleref-manual.html#dx1-2002" ><span 
class="cmti-10">6</span></a> <br /></span>
<span class="index-item"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\bvidxpgformat</span></span></span>&#x00A0;&#x00A0;<a 
href="bibleref-manual.html#dx1-4002" ><span 
class="cmti-10">7</span></a> <br /></span>
</p><p class="theindex">                                                                   <span 
class="cmbx-10">I</span>
<span class="index-item"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\ibibleverse</span></span></span>&#x00A0;&#x00A0;<a 
href="bibleref-manual.html#dx1-4001" ><span 
class="cmti-10">8</span></a> <br /></span>
</p><p class="theindex">                                                                  <span 
class="cmbx-10">N</span>
<span class="index-item"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\newbiblerefstyle</span></span></span>&#x00A0;&#x00A0;<a 
href="bibleref-manual.html#dx1-3001" ><span 
class="cmti-10">9</span></a> <br /></span>
                                                                    

                                                                    
</p><p class="theindex">                                                                  <span 
class="cmbx-10">S</span>
<span class="index-item"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\setbooktitle</span></span></span>&#x00A0;&#x00A0;<a 
href="bibleref-manual.html#dx1-2005" ><span 
class="cmti-10">10</span></a> <br /></span>
<span class="index-item"><span class="obeylines-h"><span class="verb"><span 
class="cmtt-10">\setindexbooktitle</span></span></span>&#x00A0;&#x00A0;<a 
href="bibleref-manual.html#dx1-2006" ><span 
class="cmti-10">11</span></a> <br /></span>
</p></div>
<!--l. 317--><p class="noindent" ><a 
href="#top">Top</a>
    
</body></html>