From bf0276244b309394ef514101adfee31ba31d09b1 Mon Sep 17 00:00:00 2001
From: Karl Berry
Date: Mon, 12 Sep 2016 22:05:59 +0000
Subject: bibleref (11sep16)
git-svn-id: svn://tug.org/texlive/trunk@42049 c570f23f-e606-0410-a88d-b1316a301751
---
Master/texmf-dist/doc/latex/bibleref/CHANGES | 3 +
Master/texmf-dist/doc/latex/bibleref/README | 11 +-
.../doc/latex/bibleref/bibleref-manual.css | 135 --
.../doc/latex/bibleref/bibleref-manual.html | 1210 -------------
.../doc/latex/bibleref/bibleref-manual.tex | 431 -----
Master/texmf-dist/doc/latex/bibleref/bibleref.pdf | Bin 283190 -> 243328 bytes
Master/texmf-dist/doc/latex/bibleref/makefile | 21 +
Master/texmf-dist/doc/latex/bibleref/sample.ist | 46 +
.../latex/bibleref/samples/sample-categories.pdf | Bin 41538 -> 9846 bytes
.../latex/bibleref/samples/sample-categories.tex | 2 +-
.../latex/bibleref/samples/sample-indextools.pdf | Bin 0 -> 7819 bytes
.../latex/bibleref/samples/sample-indextools.tex | 85 +
.../doc/latex/bibleref/samples/sample-multind.pdf | Bin 29702 -> 0 bytes
.../doc/latex/bibleref/samples/sample-multind.tex | 85 -
.../doc/latex/bibleref/samples/sample-xidx.pdf | Bin 70657 -> 14976 bytes
.../doc/latex/bibleref/samples/sample-xidx.tex | 2 +-
.../doc/latex/bibleref/samples/sample.ist | 46 -
.../doc/latex/bibleref/samples/sample.pdf | Bin 133110 -> 31515 bytes
.../doc/latex/bibleref/samples/sample.tex | 2 +-
.../texmf-dist/source/latex/bibleref/bibleref.dtx | 1890 +-------------------
.../texmf-dist/source/latex/bibleref/bibleref.ins | 7 +-
.../texmf-dist/source/latex/bibleref/bibleref.perl | 1738 ------------------
.../tex/latex/bibleref/bibleref-xidx.sty | 283 +++
Master/texmf-dist/tex/latex/bibleref/bibleref.sty | 27 +-
24 files changed, 554 insertions(+), 5470 deletions(-)
delete mode 100644 Master/texmf-dist/doc/latex/bibleref/bibleref-manual.css
delete mode 100644 Master/texmf-dist/doc/latex/bibleref/bibleref-manual.html
delete mode 100644 Master/texmf-dist/doc/latex/bibleref/bibleref-manual.tex
create mode 100644 Master/texmf-dist/doc/latex/bibleref/makefile
create mode 100644 Master/texmf-dist/doc/latex/bibleref/sample.ist
create mode 100644 Master/texmf-dist/doc/latex/bibleref/samples/sample-indextools.pdf
create mode 100644 Master/texmf-dist/doc/latex/bibleref/samples/sample-indextools.tex
delete mode 100644 Master/texmf-dist/doc/latex/bibleref/samples/sample-multind.pdf
delete mode 100644 Master/texmf-dist/doc/latex/bibleref/samples/sample-multind.tex
delete mode 100644 Master/texmf-dist/doc/latex/bibleref/samples/sample.ist
delete mode 100644 Master/texmf-dist/source/latex/bibleref/bibleref.perl
create mode 100644 Master/texmf-dist/tex/latex/bibleref/bibleref-xidx.sty
(limited to 'Master/texmf-dist')
diff --git a/Master/texmf-dist/doc/latex/bibleref/CHANGES b/Master/texmf-dist/doc/latex/bibleref/CHANGES
index 5ee47a2c53b..1e4ce737ce0 100644
--- a/Master/texmf-dist/doc/latex/bibleref/CHANGES
+++ b/Master/texmf-dist/doc/latex/bibleref/CHANGES
@@ -1,3 +1,6 @@
+1.15:
+ * Correct indexing for book without chapter. Thanks to Raphaël Pinson.
+
1.14:
* added
diff --git a/Master/texmf-dist/doc/latex/bibleref/README b/Master/texmf-dist/doc/latex/bibleref/README
index 65ac3a93efc..ea5eb6531f1 100644
--- a/Master/texmf-dist/doc/latex/bibleref/README
+++ b/Master/texmf-dist/doc/latex/bibleref/README
@@ -1,12 +1,13 @@
-LaTeX Class File : bibleref v1.14
+LaTeX Class File : bibleref
-Last Modified : 2011-01-19
-
-Author : Nicola Talbot
+Author : Nicola Talbot (inactive) and Maïeul Rouquette (still active)
Files : bibleref.dtx - documented source file
bibleref.ins - installation script
+LPPL 1.3 https://www.ctan.org/license/lppl1.3
+Feature requests: https://framagit.org/maieul/bibleref/issues
+
The package file bibleref.sty can be used to ensure
consistent formatting of bible citations. Also comes with
@@ -35,5 +36,3 @@ amsgen
This material is subject to the LaTeX Project Public License.
See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license.
-
-http://theoval.cmp.uea.ac.uk/~nlct/
diff --git a/Master/texmf-dist/doc/latex/bibleref/bibleref-manual.css b/Master/texmf-dist/doc/latex/bibleref/bibleref-manual.css
deleted file mode 100644
index e7e817164bf..00000000000
--- a/Master/texmf-dist/doc/latex/bibleref/bibleref-manual.css
+++ /dev/null
@@ -1,135 +0,0 @@
-
-/* start css.sty */
-.cmmi-10{font-style: italic;}
-.cmr-17{font-size:170%;}
-.cmr-12{font-size:120%;}
-.cmmi-12x-x-144{font-size:172%;font-style: italic;}
-.cmr-8{font-size:80%;}
-.cmtt-12{font-size:120%;font-family: monospace;}
-.cmtt-12{font-family: monospace;}
-.cmtt-12{font-family: monospace;}
-.cmtt-10{font-family: monospace;}
-.cmtt-10{font-family: monospace;}
-.cmtt-10{font-family: monospace;}
-.cmss-10{ font-family: sans-serif;}
-.cmss-10{ font-family: sans-serif;}
-.cmtt-9{font-size:90%;font-family: monospace;}
-.cmtt-9{font-family: monospace;}
-.cmtt-9{font-family: monospace;}
-.cmti-10{ font-style: italic;}
-.cmbx-10{ font-weight: bold;}
-.cmssbx-10{ font-family: sans-serif; font-weight: bold;}
-.cmssbx-10{ font-family: sans-serif; font-weight: bold;}
-.cmr-9{font-size:90%;}
-p.noindent { text-indent: 0em }
-td p.noindent { text-indent: 0em; margin-top:0em; }
-p.nopar { text-indent: 0em; }
-p.indent{ text-indent: 1.5em }
-@media print {div.crosslinks {visibility:hidden;}}
-a img { border-top: 0; border-left: 0; border-right: 0; }
-center { margin-top:1em; margin-bottom:1em; }
-td center { margin-top:0em; margin-bottom:0em; }
-.Canvas { position:relative; }
-img.math{vertical-align:middle;}
-li p.indent { text-indent: 0em }
-li p:first-child{ margin-top:0em; }
-li p:last-child, li div:last-child { margin-bottom:0.5em; }
-li p~ul:last-child, li p~ol:last-child{ margin-bottom:0.5em; }
-.enumerate1 {list-style-type:decimal;}
-.enumerate2 {list-style-type:lower-alpha;}
-.enumerate3 {list-style-type:lower-roman;}
-.enumerate4 {list-style-type:upper-alpha;}
-div.newtheorem { margin-bottom: 2em; margin-top: 2em;}
-.obeylines-h,.obeylines-v {white-space: nowrap; }
-div.obeylines-v p { margin-top:0; margin-bottom:0; }
-.overline{ text-decoration:overline; }
-.overline img{ border-top: 1px solid black; }
-td.displaylines {text-align:center; white-space:nowrap;}
-.centerline {text-align:center;}
-.rightline {text-align:right;}
-div.verbatim {font-family: monospace; white-space: nowrap; text-align:left; clear:both; }
-.fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
-div.fbox {display:table}
-div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
-div.minipage{width:100%;}
-div.center, div.center div.center {text-align: center; margin-left:1em; margin-right:1em;}
-div.center div {text-align: left;}
-div.flushright, div.flushright div.flushright {text-align: right;}
-div.flushright div {text-align: left;}
-div.flushleft {text-align: left;}
-.underline{ text-decoration:underline; }
-.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
-.framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
-.framebox-c {text-align:center;}
-.framebox-l {text-align:left;}
-.framebox-r {text-align:right;}
-span.thank-mark{ vertical-align: super }
-span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; }
-div.footnotes{border-top:solid 1px black; border-bottom:solid 1px black; padding-bottom:1ex; padding-top:0.5ex; margin-right:15%; margin-top:2ex; font-style:italic; font-size:85%;}
-div.footnotes p{margin-top:0; margin-bottom:0; text-indent:0;}
-div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; margin-bottom:0.5em; }
-table.tabular td p{margin-top:0em;}
-table.tabular {margin-left: auto; margin-right: auto;}
-td p:first-child{ margin-top:0em; }
-td p:last-child{ margin-bottom:0em; }
-div.td00{ margin-left:0pt; margin-right:0pt; }
-div.td01{ margin-left:0pt; margin-right:5pt; }
-div.td10{ margin-left:5pt; margin-right:0pt; }
-div.td11{ margin-left:5pt; margin-right:5pt; }
-table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
-td.td00{ padding-left:0pt; padding-right:0pt; }
-td.td01{ padding-left:0pt; padding-right:5pt; }
-td.td10{ padding-left:5pt; padding-right:0pt; }
-td.td11{ padding-left:5pt; padding-right:5pt; }
-table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
-.hline hr, .cline hr{ height : 1px; margin:0px; }
-.tabbing-right {text-align:right;}
-span.TEX {letter-spacing: -0.125em; }
-span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;}
-a span.TEX span.E {text-decoration: none; }
-span.LATEX span.A{ position:relative; top:-0.5ex; left:-0.4em; font-size:85%;}
-span.LATEX span.TEX{ position:relative; left: -0.4em; }
-div.float, div.figure {margin-left: auto; margin-right: auto;}
-div.float img {text-align:center;}
-div.figure img {text-align:center;}
-.marginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;}
-.marginpar p{margin-top:0.4em; margin-bottom:0.4em;}
-table.equation {width:100%;}
-.equation td{text-align:center; }
-td.equation { margin-top:1em; margin-bottom:1em; }
-td.equation-label { width:5%; text-align:center; }
-td.eqnarray4 { width:5%; white-space: normal; }
-td.eqnarray2 { width:5%; }
-table.eqnarray-star, table.eqnarray {width:100%;}
-div.eqnarray{text-align:center;}
-div.array {text-align:center;}
-div.pmatrix {text-align:center;}
-table.pmatrix {width:100%;}
-span.pmatrix img{vertical-align:middle;}
-div.pmatrix {text-align:center;}
-table.pmatrix {width:100%;}
-span.bar-css {text-decoration:overline;}
-img.cdots{vertical-align:middle;}
-.partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; font-weight:bold; font-size:110%;}
-.index-item, .index-subitem, .index-subsubitem {display:block}
-div.caption {text-indent:-2em; margin-left:3em; margin-right:1em; text-align:left;}
-div.caption span.id{font-weight: bold; white-space: nowrap; }
-h1.partHead{text-align: center}
-p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; }
-p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; }
-.paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;}
-.subparagraphHead, .likesubparagraphHead { font-weight: bold;}
-.quote {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; margin-right:1em; text-align:justify;}
-.verse{white-space:nowrap; margin-left:2em}
-div.maketitle {text-align:center;}
-h2.titleHead{text-align:center;}
-div.maketitle{ margin-bottom: 2em; }
-div.author, div.date {text-align:center;}
-div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; }
-.quotation {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; }
-.abstract p {margin-left:5%; margin-right:5%;}
-div.abstract {width:100%;}
-table.multicols { width:100%; margin-left:1em; margin-top:1em; margin-bottom:1em; }
-div.important { background-color:red; }
-/* end css.sty */
-
diff --git a/Master/texmf-dist/doc/latex/bibleref/bibleref-manual.html b/Master/texmf-dist/doc/latex/bibleref/bibleref-manual.html
deleted file mode 100644
index 2525bee6b23..00000000000
--- a/Master/texmf-dist/doc/latex/bibleref/bibleref-manual.html
+++ /dev/null
@@ -1,1210 +0,0 @@
-
-
-
-
-bibleref.sty v1.14: a LaTeX2εpackage for typesetting bible references
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
bibleref.sty v1.14: a LATEX2ε package for
-typesetting bible references
-
-
2011-01-19
-
- Contents
-
-
-
- 1 Introduction
-The bibleref package was designed to provide consistent formatting for referencing parts
-of the bible.
-
-
-
-
\bibleverse \bibleverse{⟨book title⟩}(⟨chapter⟩:⟨verse(s)⟩)
-
-This command can be used to cite a bible book, chapter or verse or range of chapters or
-verses.
-
Be careful if you use
bibleref with
babel as some of
babel’s language options make
-the colon character active, which will cause a problem for
\bibleverse (and
-
\ibibleverse, described later). Check the
babel documentation to find out how to
-make the colon non-active.
-
-
The book title, ⟨book title⟩, may be given either as the full title (e.g. Matthew) or as
-an abbreviation (e.g. Mt or Matt), 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
-\bibleverse{IIKings}
-
You may have any number, or zero, sets of parenthesis (⟨chapter⟩:⟨verse(s)⟩),
-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. 2-4. In the typeset output the verses will be separated
-with
-
-
-(an en-dash by default.) A chapter may be referenced without a verse, but the colon
-must remain, e.g. (12:) simply indicates chapter 12.
-
A range of verses spanning more than one chapter can be entered as
-(⟨ch⟩:⟨v⟩)-(⟨ch⟩:⟨v⟩)
-
If there is no verse, but there are multiple chapters or chapter ranges, these may be
-specified in the ⟨chapter⟩ part, using a comma to separate individual chapters and a
-hyphen to separate ranges. Note that you still need a colon at the end of the
-list.
-
Examples:
-
-
-
-
\bibleverse{Ex} | Exodus |
-
\bibleverse{Exodus}(20:) | Exodus 20 |
-
\bibleverse{Exod}(20:17) | Exodus 20:17 |
-
\bibleverse{IICo}(12:21) | 2 Corinthians 12:21 |
-
\bibleverse{IICor}(12:21-32) | 2 Corinthians 12:21–32 |
-
\bibleverse{Ex}(20:17)(21:3) | Exodus 20:17;21:3 |
-
\bibleverse{Ex}(15:)(17:)(20:) | Exodus 15;17;20 |
-
\bibleverse{Rev}(1:2,5,7-9,11) | Revelation 1:2,5,7–9,11 |
-
\bibleverse{IChronicles}(1:3)-(2:7) | 1 Chronicles 1:3–2:7 |
-
\bibleverse{Luke}(1,4-5,8:) | Luke 1,4–5,8 |
-
- The style of the reference can be specified either by package option or as the
-argument to the command
-
-
-
-
\biblerefstyle \biblerefstyle{⟨style⟩}
-
-Styles are listed in Table 1.
-
-
-
-
-
-
-
-
-
-
Table 1: Bible Citation Styles (can be used as package option or in the argument
-to \biblerefstyle)
-
-
-
-
Style | Example |
-
default | 2 Corinthians 12:1–5 |
jerusalem | 2 Co 12:1–5 |
-
anglosaxon | II Cor. XII.1–5 |
-
JEH | 2 Cor. xii. 1–5 |
-
NTG | 2 Cor xii,1–5 |
-
MLA | 2 Cor. xii.1–5 |
-
chicago | 2 Cor. xii : 1–5 |
-
text | Second Epistle to the Corinthians,
-chapter twelve verse one to five |
-
-
-
-
-
-
- You can change the name of a book using
-
\setbooktitle \setbooktitle{⟨name⟩}{⟨new title⟩}
-
-Note that ⟨name⟩ must be the full name, not the abbreviated name of the book. For
-example, to change Revelation to Apoc, do \setbookname{Revelation}{Apoc} (Note
-that you shouldn’t do \setbookname{Rev}{Apoc})
-
If you want a different title for a book depending on whether it’s in the
-main body of the document or in the index, you can set the index version
-using:
-
\setindexbooktitle \setindexbooktitle{⟨name⟩}{⟨title⟩}
-
-In this case, ⟨name⟩ should be the name you’ll use in \ibibleverse. For example, if
-you do:
-
-
-
-
-
-\setbooktitle{Psalms}{Psalm}
-
\setindexbooktitle{Psalms}{Psalms}
-
- Then \ibibleverse{Psalms}(2:) will print Psalm the document and Psalms in the
-index, but \ibibleverse{Ps}(2:) will print Psalms in both the document and the
-index.
-
You can add a book using
-
\addbiblebook \addbiblebook{⟨name⟩}{⟨title⟩}
-
-For example:
-
-
-
-
-
-\addbiblebook{Susanna}{Story of Susanna}
-
-
-
-Top
2 Defining New Styles
-You can define a new style using the command
-
\newbiblerefstyle \newbiblerefstyle{⟨style-name⟩}{⟨commands⟩}
-
-
-where ⟨commands⟩ are the commands needed to modify the citation style.
-
Example: This new style is based on the “default” style, but has verses in lower case
-Roman numerals, and redefines “Revelation” as “Apocalypse”.
-
-
-
-
-
-\newbiblerefstyle{sample}{%
-
\biblerefstyle{default}%
-
\renewcommand{\BRversestyle}[1]{\romannumeral##1}%
-
\setbooktitle{Revelation}{Apocalypse}%
-
}
-
- Note the use of ##1 instead of #1.
-
If you want to distribute a new style, see section 4.
-
-
-Top
3 Indexing Bible References
-
\ibibleverse \ibibleverse[⟨format⟩]{⟨book title⟩}({⟨chapter⟩}:⟨verse(s)⟩)
-
-
-This does the same as \bibleverse but also adds an index entry (provided you have
-used \makeindex in the preamble.) The default page number format is given by the
-command
-
\bvidxpgformat \bvidxpgformat
-
-This is textrm by default, but can be redefined. To override the page number format for
-a particular entry you can use the optional argument to \ibibleverse. For
-example:
-
-
-
-
-
-\ibibleverse[textit]{Exodus}
-
- (Note there is no backslash.)
-
\ibiblechvs \ibiblechvs[⟨format⟩]{⟨book title⟩}({⟨chapter⟩}:⟨verse(s)⟩)
-
-
-This is similar to \ibibleverse except that it doesn’t display the book name in
-the text. The reference is indexed under the book title in the same way as
-\ibibleverse.
-
\ibiblevs \ibiblevs[⟨format⟩]{⟨book title⟩}({⟨chapter⟩}:⟨verse(s)⟩)
-
-
-This is similar to \ibiblechvs except that it only displays the verse(s) in the
-text.
-
You may need to create your own custom makeindex 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 sample.ist and write in the
-lines:
-
-
-
-
-
-delim_0 "\\dotfill "
-
delim_1 "\\dotfill "
-
delim_2 "\\dotfill "
-
- See the makeindex documentation for further details.
-
-
-Top
3.1 Index Categories
-You may prefer to index the bible reference under a category with the book title as a
-sub item of that category. This can be achieved using:
-
\biblerefcategory \biblerefcategory[⟨sort key⟩]{⟨category title⟩}
-
-The optional argument is the sort key to be used by makeindex or xindy. If omitted
-⟨category title⟩ is used.
-
Note that \ibibleverse, \ibiblechvs and \ibiblevs use the category that is
-currently set. If you need to keep switching categories, you may find it easier to define a
-shortcut command. For example, suppose you’re discussing the differences
-between the King James and the New Jerusalem versions, you could define the
-following:
-
-
-
-
-
-\newcommand{\kjref}{\biblerefcategory{King James}\ibibleverse}
-
\newcommand{\njref}{\biblerefcategory{New Jerusalem}\ibibleverse}
-
- You can now use \kjref and \njref in the same way that you would use
-\ibibleverse
-
You can disable the category by setting it to nothing:
-
-
-
-
-
-\biblerefcategory{}
-
-
-
-
-Top
3.2 The bibleref-xidx Package
-The bibleref package comes with a supplementary package bibleref-xidx that modifies the
-way bible references are added to the index. With no package options, i.e.,
-just
-
-
-
-
-
-\usepackage{bibleref-xidx}
-
- the verses will appear as sub-items of the chapters. Note that a verse range will be
-considered a single item so, for example,
-
-
-
-
-
-\ibibleverse{Ex}(9:1)
-
\ibibleverse{Ex}(9:4)
-
\ibibleverse{Ex}(9:1-4)
-
- will occur as three separate entries under Exodus chapter 9. Also note that (9-14:)
-and (9:)-(14:) will be treated differently.
-
The bibleref-xidx package can be loaded with the following options:
-
-
-noverses
- Don’t show the verses in the index.
-
-
-verses
- Show the verses (and chapters) in the index (default).
-
-
-nochapters
- Don’t show the chapters (and verses) in the index.
-
-
-chapters
- Show the chapters in the index (default).
-All other package options will be passed to the bibleref package, which bibleref-xidx
-automatically loads.
-
-
-Top
3.3 Separate Scripture Index
-If you want a separate index for bible verses, in addition to a general index, you can
-redefine
-
\biblerefindex \biblerefindex
-
-This command defaults to \index, but can be changed to the appropriate
-indexing command. For example, suppose you are using the multind package
-and you want a general index and a scripture index, you can do something
-like:
-
-
-
-
-
-\documentclass{article}
-
\usepackage{bibleref}
-
\usepackage{multind}
-
\makeindex{scripture}
-
\makeindex{general}
-
\renewcommand{\biblerefindex}{\index{scripture}}
-
- In the document, you can use \ibibleverse as before, and the scripture index is
-displayed using
-
-
-
-
-
-\printindex{scripture}{Scripture Index}
-
- You will then need to run makeindex on the file scripture.idx. See the multind
-documentation for further details.
-
-
-Top
3.4 Changing the Sort Order
-The bible reference entries will be sorted alphabetically by makeindex. However you
-may prefer the entries to be sorted according to their order in the bible. This can either
-be done using xindy instead of makeindex and creating your own custom
-alphabet (see xindy manual for details) or you can use bibleref’s mapping
-command.
-
\biblerefmap \biblerefmap{⟨label⟩}{⟨new sort key⟩}
-
-For example, in the preamble:
-
-
-
-
-
-\biblerefmap{Genesis}{01}
-
\biblerefmap{Exodus}{02}
-
\biblerefmap{Leviticus}{03}
-
\biblerefmap{Numbers}{04}
-
\biblerefmap{Deuteronomy}{05}
-
...
-
- When you run makeindex, the references will now be sorted in numerical
-order.
-
If you want to subdivide the index into, say, old and new testament, you can add
-this to the mapping. For example:
-
-
-
-
-
-\biblerefmap{Genesis}{1@Old Testament!01}
-
\biblerefmap{Exodus}{1@Old Testament!02}
-
\biblerefmap{Leviticus}{1@Old Testament!03}
-
\biblerefmap{Numbers}{1@Old Testament!04}
-
\biblerefmap{Deuteronomy}{1@Old Testament!05}
-
...
-
\biblerefmap{Matthew}{2@New Testament!01}
-
\biblerefmap{Mark}{2@New Testament!02}
-
...
-
-
-
-
-Top
4 Distributing New Styles
-If you want a new bible reference style (or translation) publicly available, then it’s a
-good idea to upload it to CTAN (www.ctan.org). If you’ve never done this before, you
-might find it a bit daunting, so here are a few pointers.
-
I suggest that you give the name of your new package the prefix bibleref- as then it will
-appear close to bibleref in the alphabetical list in the catalogue. Suppose your new style is called
-“mystyle”,
-then create a file called bibleref-mystyle.sty. At the start of the file, do:
-
-
-
-
-
-\NeedsTeXFormat{LaTeX2e}
-
\ProvidesPackage{bibleref-mystyle}[2011/01/19 v1.0 Bible reference
-
style conforming to something or other]
-
- (Change the date and the brief description in the line above to something more
-appropriate.) Next you need to load bibleref:
-
-
-
-
-
-\RequirePackage{bibleref}
-
- Now do the new style stuff (or redefine styles to provide translations):
-
-
-
-
-
-\newbiblerefstyle{mystyle}{%
-
\biblerefstyle{default}%
-
\renewcommand{\BRversestyle}[1]{\romannumeral##1}%
-
\setbooktitle{Revelation}{Apocalypse}%
-
}
-
- (Again change the above to whatever is appropriate.) Put any new book definitions
-that your style may require, for example:
-
-
-
-
-
-\addbiblebook{Susanna}{Story of Susanna}
-
- and add any \biblerefmap commands that are required. Then set your new style as
-the current style, if appropriate:
-
-
-
-
-
-\biblerefstyle{mystyle}
-
- On the last line of the file add:
-
-
-
-
-
-\endinput
-
-
-
Next you need to create a file called “README” that contains some information
-about your new package, including what license you want to distribute it under. (If you
-don’t know anything about licenses, I recommend you choose the LATEX Project
-Public License, LPPL.)
-
It’s worth adding a sample file or a little bit of documentation that illustrates how
-the references appear.
-
Put your .sty file, README file and samples or documentation into a zip archive.
-You’re now ready to upload it. There are several upload pages. The main one is at
-http://www.ctan.org/upload.html. The name of your contribution is the name of
-your package (“bibleref-mystyle” in this example). Remember to put your name and
-email in the relevant input boxes. Sometime after you’ve uploaded your zip file,
-you’ll get a copy of the announcement from one of the CTAN maintainers. It
-usually takes a day to establish itself. After that people can download and use
-it.
-
-
-Top
5 Acknowledgements
-Many thanks to all the useful comments from comp.text.tex, especially from
-Jesse Billett, Brooks Moses and Ulrich M. Schwarz.
-
-
-
-
-
-Top
Index
- A
-
- \addbiblebook 1
-
B
-babel package 2
-bibleref package 3, 4, 5, 6, 7, 8, 9
-bibleref-xidx package 10, 11, 12, 13
-\biblerefcategory 14
-\biblerefindex 15
-\biblerefmap 16
-\biblerefstyle 17
-\bibleverse 18
-\BRvsep 19
-\bvidxpgformat 20
-
I
-\ibiblechvs 21, 22
-\ibibleverse 23, 24, 25
-\ibiblevs 26, 27
-
M
-makeindex 28, 29, 30, 31, 32, 33, 34
-multind package 35, 36
-
N
-\newbiblerefstyle 37
-
P
-package options:
- chapters 38
- nochapters 39
- noverses 40
- verses 41
-
-
-
-
S
-\setbooktitle 42
-\setindexbooktitle 43
-
X
-xindy 44, 45, 46
-
-
-
-
-
-
-
-
diff --git a/Master/texmf-dist/doc/latex/bibleref/bibleref-manual.tex b/Master/texmf-dist/doc/latex/bibleref/bibleref-manual.tex
deleted file mode 100644
index ac507246864..00000000000
--- a/Master/texmf-dist/doc/latex/bibleref/bibleref-manual.tex
+++ /dev/null
@@ -1,431 +0,0 @@
-\documentclass{nlctdoc}
-
-\usepackage{bibleref}
-\usepackage[colorlinks,bookmarks,pdfauthor={Nicola L.C. Talbot},
- hyperindex=false,
- pdftitle={bibleref.sty: a LaTeX package for
- typesetting bible references}]{hyperref}
-
-\usepackage{creatdtx}
-
-\CheckSum{2503}
-\OnlyDescription
-
-\begin{document}
-\title{bibleref.sty v1.14:
-a \LaTeXe\ package for typesetting bible references}
-\author{Nicola Talbot\\[10pt]
-School of Computing Sciences\\
-University of East Anglia\\
-Norwich. Norfolk. NR4 7TJ.\\
-United Kingdom\\
-\url{http://theoval.cmp.uea.ac.uk/~nlct/}}
-\date{2011-01-19}
-
-\maketitle
-\tableofcontents
-
-\section{Introduction}
-
-The \sty{bibleref} package was designed to provide consistent formatting for referencing
-parts of the bible.
-
-\begin{definition}[\DescribeMacro{\bibleverse}]
-\cs{bibleverse}\marg{book title}\texttt(\meta{chapter}\texttt{:}\meta{verse(s)}\texttt)
-\end{definition}
-This command can be used to cite a bible book, chapter or verse
-or range of chapters or verses.
-
-\begin{important}
-Be careful if you use \sty{bibleref} with \sty{babel} as some of
-\styfmt{babel}'s language options make the colon character active,
-which will cause a problem for \cs{bibleverse} (and \ics{ibibleverse},
-described later). Check the \styfmt{babel} documentation to find out
-how to make the colon non-active.
-\end{important}
-
-The book title, \meta{book title}, may be given either as the
-full title (e.g.\ \texttt{Matthew}) or as an abbreviation (e.g.\
-\texttt{Mt} or \texttt{Matt}), 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 \verb|\bibleverse{IIKings}|
-
-You may have any number, or zero, sets of parenthesis
-\verb|(|\meta{chapter}\texttt{:}\meta{verse(s)}\verb|)|,
-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.\ \verb|2-4|. In the typeset output the verses will
-be separated with
-\begin{definition}[\DescribeMacro{\BRvsep}]
-\cs{BRvsep}
-\end{definition}
-(an en-dash by default.) A chapter may be referenced without a
-verse, but the colon must remain, e.g.\ \verb|(12:)| simply
-indicates chapter 12.
-
-A range of verses spanning more than one chapter can
-be entered as \texttt(\meta{ch}\texttt:\meta{v}\texttt{)-(}\meta
-{ch}\texttt:\meta{v}\texttt)
-
-If there is no verse, but there are multiple chapters or chapter
-ranges, these may be specified in the \meta{chapter} part, using a
-comma to separate individual chapters and a hyphen to separate
-ranges. Note that you still need a colon at the end of the list.
-
-Examples:
-\begin{center}
-\begin{tabular}{ll}
-\verb|\bibleverse{Ex}| & \bibleverse{Ex}\\
-\verb|\bibleverse{Exodus}(20:)| & \bibleverse{Exodus}(20:)\\
-\verb|\bibleverse{Exod}(20:17)| & \bibleverse{Exod}(20:17)\\
-\verb|\bibleverse{IICo}(12:21)| & \bibleverse{IICo}(12:21)\\
-\verb|\bibleverse{IICor}(12:21-32)| & \bibleverse{IICor}(12:21-32)\\
-\verb|\bibleverse{Ex}(20:17)(21:3)| & \bibleverse{Ex}(20:17)(21:3)\\
-\verb|\bibleverse{Ex}(15:)(17:)(20:)| & \bibleverse{Ex}(15:)(17:)(20:)\\
-\verb|\bibleverse{Rev}(1:2,5,7-9,11)| & \bibleverse{Rev}(1:2,5,7-9,11)\\
-\verb|\bibleverse{IChronicles}(1:3)-(2:7)| &
-\bibleverse{IChronicles}(1:3)-(2:7)\\
-\verb|\bibleverse{Luke}(1,4-5,8:)| &\bibleverse{Luke}(1,4-5,8:)
-\end{tabular}
-\end{center}
-
-The style of the reference can be specified either by
-package option or as the argument to the command
-\begin{definition}[\DescribeMacro{\biblerefstyle}]
-\cs{biblerefstyle}\marg{style}
-\end{definition}
-Styles are listed in Table~\ref{tab:styles}.
-
-\begin{table}[tbh]
-\caption{Bible Citation Styles (can be used as package option or in the argument to
-\cs{biblerefstyle})}
-\label{tab:styles}
-\vspace{10pt}
-\begin{center}
-\begin{tabular}{lp{0.5\textwidth}}
-\bfseries Style & \bfseries Example\\
-default & \biblerefstyle{default}\bibleverse{IICor}(12:1-5)\\
-jerusalem & \biblerefstyle{jerusalem}\bibleverse{IICor}(12:1-5)\\
-anglosaxon & \biblerefstyle{anglosaxon}\bibleverse{IICor}(12:1-5)\\
-JEH & \biblerefstyle{JEH}\bibleverse{IICor}(12:1-5)\\
-NTG & \biblerefstyle{NTG}\bibleverse{IICor}(12:1-5)\\
-MLA & \biblerefstyle{MLA}\bibleverse{IICor}(12:1-5)\\
-chicago & \biblerefstyle{chicago}\bibleverse{IICor}(12:1-5)\\
-text & \biblerefstyle{text}\bibleverse{IICor}(12:1-5)
-\end{tabular}
-\end{center}
-\end{table}
-
-You can change the name of a book using
-\begin{definition}[\DescribeMacro{\setbooktitle}]
-\cs{setbooktitle}\marg{name}\marg{new title}
-\end{definition}
-Note that \meta{name} must be the full name, not the
-abbreviated name of the book. For example, to change
-Revelation to Apoc, do
-\verb|\setbookname{Revelation}{Apoc}|
-(\textbf{Note} that you shouldn't do
-\verb|\setbookname{Rev}{Apoc}|)
-
-If you want a different title for a book depending on whether it's
-in the main body of the document or in the index, you can set the
-index version using:
-\begin{definition}[\DescribeMacro{\setindexbooktitle}]
-\cs{setindexbooktitle}\marg{name}\marg{title}
-\end{definition}
-In this case, \meta{name} should be the name you'll use in
-\cs{ibibleverse}. For example, if you do:
-\begin{verbatim}
-\setbooktitle{Psalms}{Psalm}
-\setindexbooktitle{Psalms}{Psalms}
-\end{verbatim}
-Then \verb|\ibibleverse{Psalms}(2:)| will print Psalm the
-document and Psalms in the index, but \verb|\ibibleverse{Ps}(2:)|
-will print Psalms in both the document and the index.
-
-You can add a book using
-\begin{definition}[\DescribeMacro{\addbiblebook}]
-\cs{addbiblebook}\marg{name}\marg{title}
-\end{definition}
-For example:
-\begin{verbatim}
-\addbiblebook{Susanna}{Story of Susanna}
-\end{verbatim}
-
-\section{Defining New Styles}
-
-You can define a new style using the command
-\begin{definition}[\DescribeMacro{\newbiblerefstyle}]
-\cs{newbiblerefstyle}\marg{style-name}\marg{commands}
-\end{definition}\noindent
-where \meta{commands} are
-the commands needed to modify the citation style.
-
-Example:
-This new style is based on the \qt{default} style, but
-has verses in lower case Roman numerals, and redefines
-\qt{Revelation} as \qt{Apocalypse}.
-\begin{verbatim}
-\newbiblerefstyle{sample}{%
-\biblerefstyle{default}%
-\renewcommand{\BRversestyle}[1]{\romannumeral##1}%
-\setbooktitle{Revelation}{Apocalypse}%
-}
-\end{verbatim}
-Note the use of \verb|##1| instead of \verb|#1|.
-
-If you want to distribute a new style, see
-section~\ref{sec:distnewstyles}.
-
-\section{Indexing Bible References}
-
-\begin{definition}[\DescribeMacro{\ibibleverse}]
-\cs{ibibleverse}\oarg{format}\marg{book title}\texttt(\marg{chapter}\texttt{:}\meta{verse(s)}\texttt)
-\end{definition}
-This does the same as \cs{bibleverse}
-but also adds an index entry (provided you have used
-\cs{makeindex} in the preamble.) The default page number
-format is given by the command
-\begin{definition}[\DescribeMacro{\bvidxpgformat}]
-\cs{bvidxpgformat}
-\end{definition}
-This is \texttt{textrm} by default, but can be redefined. To
-override the page number format for a particular entry you can
-use the optional argument to \cs{ibibleverse}. For example:
-\begin{verbatim}
-\ibibleverse[textit]{Exodus}
-\end{verbatim}
-(Note there is no backslash.)
-
-\begin{definition}[\DescribeMacro{\ibiblechvs}]
-\cs{ibiblechvs}\oarg{format}\marg{book title}\texttt(\marg{chapter}\texttt{:}\meta{verse(s)}\texttt)
-\end{definition}
-This is similar to \cs{ibibleverse} except that it doesn't display
-the book name in the text. The reference is indexed under the book
-title in the same way as \cs{ibibleverse}.
-
-\begin{definition}[\DescribeMacro{\ibiblevs}]
-\cs{ibiblevs}\oarg{format}\marg{book title}\texttt(\marg{chapter}\texttt{:}\meta{verse(s)}\texttt)
-\end{definition}
-This is similar to \cs{ibiblechvs} except that it only displays the
-verse(s) in the text.
-
-You may need to create your own custom \app{makeindex} 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 \texttt{sample.ist} and write in the
-lines:
-\begin{verbatim}
-delim_0 "\\dotfill "
-delim_1 "\\dotfill "
-delim_2 "\\dotfill "
-\end{verbatim}
-See the \app{makeindex} documentation for further details.
-
-\subsection{Index Categories}
-
-You may prefer to index the bible reference under a category with
-the book title as a sub item of that category. This can be achieved
-using:
-\begin{definition}[\DescribeMacro{\biblerefcategory}]
-\cs{biblerefcategory}\oarg{sort key}\marg{category title}
-\end{definition}
-The optional argument is the sort key to be used by
-\app{makeindex} or \app{xindy}. If omitted \meta{category title} is
-used.
-
-Note that \ics{ibibleverse}, \ics{ibiblechvs} and \ics{ibiblevs}
-use the category that is currently set. If you need to keep
-switching categories, you may find it easier to define a shortcut
-command. For example, suppose you're discussing the differences
-between the King James and the New Jerusalem versions, you could
-define the following:
-\begin{verbatim}
-\newcommand{\kjref}{\biblerefcategory{King James}\ibibleverse}
-\newcommand{\njref}{\biblerefcategory{New Jerusalem}\ibibleverse}
-\end{verbatim}
-You can now use \cs{kjref} and \cs{njref} in the same way that you
-would use \cs{ibibleverse}
-
-You can disable the category by setting it to nothing:
-\begin{verbatim}
-\biblerefcategory{}
-\end{verbatim}
-
-\subsection{The \sty{bibleref-xidx} Package}
-
-The \sty{bibleref} package comes with a supplementary package
-\sty{bibleref-xidx} that modifies the way bible references are added to
-the index. With no package options, i.e., just
-\begin{verbatim}
-\usepackage{bibleref-xidx}
-\end{verbatim}
-the verses will appear as sub-items of the chapters. Note that a
-verse range will be considered a single item so, for example,
-\begin{verbatim}
-\ibibleverse{Ex}(9:1)
-\ibibleverse{Ex}(9:4)
-\ibibleverse{Ex}(9:1-4)
-\end{verbatim}
-will occur as three separate entries under Exodus chapter~9.
-Also note that \verb|(9-14:)| and \verb|(9:)-(14:)| will be treated
-differently.
-
-The \sty{bibleref-xidx} package can be loaded with the following options:
-\begin{description}
-\item[\pkgopt{noverses}] Don't show the verses in the index.
-\item[\pkgopt{verses}] Show the verses (and chapters) in the index
-(default).
-\item[\pkgopt{nochapters}] Don't show the chapters (and verses) in the
-index.
-\item[\pkgopt{chapters}] Show the chapters in the index (default).
-\end{description}
-All other package options will be passed to the \sty{bibleref}
-package, which \sty{bibleref-xidx} automatically loads.
-
-\subsection{Separate Scripture Index}
-
-If you want a separate index for bible verses, in addition to
-a general index, you can redefine
-\begin{definition}[\DescribeMacro{\biblerefindex}]
-\cs{biblerefindex}
-\end{definition}
-This command defaults to \cs{index}, but can be changed to
-the appropriate indexing command. For example, suppose you
-are using the \sty{multind} package and you want a general
-index and a scripture index, you can do something like:
-\begin{verbatim}
-\documentclass{article}
-\usepackage{bibleref}
-\usepackage{multind}
-
-\makeindex{scripture}
-\makeindex{general}
-
-\renewcommand{\biblerefindex}{\index{scripture}}
-\end{verbatim}
-In the document, you can use \cs{ibibleverse} as before, and
-the scripture index is displayed using
-\begin{verbatim}
-\printindex{scripture}{Scripture Index}
-\end{verbatim}
-You will then need to run \app{makeindex} on the file
-\texttt{scripture.idx}. See the \sty{multind} documentation
-for further details.
-
-\subsection{Changing the Sort Order}
-
-The bible reference entries will be sorted alphabetically by
-\app{makeindex}. However you may prefer the entries to be sorted
-according to their order in the bible. This can either be done
-using \app{xindy} instead of \app{makeindex} and creating your
-own custom alphabet (see \app{xindy} manual for details) or you
-can use \sty{bibleref}'s mapping command.
-
-\begin{definition}[\DescribeMacro{\biblerefmap}]
-\cs{biblerefmap}\marg{label}\marg{new sort key}
-\end{definition}
-For example, in the preamble:
-\begin{verbatim}
-\biblerefmap{Genesis}{01}
-\biblerefmap{Exodus}{02}
-\biblerefmap{Leviticus}{03}
-\biblerefmap{Numbers}{04}
-\biblerefmap{Deuteronomy}{05}
-...
-\end{verbatim}
-When you run \app{makeindex}, the references will now be sorted
-in numerical order.
-
-If you want to subdivide the index into, say, old and new
-testament, you can add this to the mapping. For example:
-\begin{verbatim}
-\biblerefmap{Genesis}{1@Old Testament!01}
-\biblerefmap{Exodus}{1@Old Testament!02}
-\biblerefmap{Leviticus}{1@Old Testament!03}
-\biblerefmap{Numbers}{1@Old Testament!04}
-\biblerefmap{Deuteronomy}{1@Old Testament!05}
-...
-\biblerefmap{Matthew}{2@New Testament!01}
-\biblerefmap{Mark}{2@New Testament!02}
-...
-\end{verbatim}
-
-\section{Distributing New Styles}
-\label{sec:distnewstyles}
-
-If you want a new bible reference style (or translation) publicly
-available, then it's a good idea to upload it to CTAN
-(\url{www.ctan.org}). If you've never done this before, you might
-find it a bit daunting, so here are a few pointers.
-
-I suggest that you give the name of your new package the prefix \texttt{bibleref-} as
-then it will appear close to \sty{bibleref} in the alphabetical list
-in the catalogue. Suppose your new style is called
-``mystyle''\footnote{Choose a more descriptive name than this.},
-then create a file called \texttt{bibleref-mystyle.sty}. At the
-start of the file, do:
-\begin{verbatim}
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bibleref-mystyle}[2011/01/19 v1.0 Bible reference
-style conforming to something or other]
-\end{verbatim}
-(Change the date and the brief description in the line above to
-something more appropriate.) Next you need to load \sty{bibleref}:
-\begin{verbatim}
-\RequirePackage{bibleref}
-\end{verbatim}
-Now do the new style stuff (or redefine styles to provide
-translations):
-\begin{verbatim}
-\newbiblerefstyle{mystyle}{%
-\biblerefstyle{default}%
-\renewcommand{\BRversestyle}[1]{\romannumeral##1}%
-\setbooktitle{Revelation}{Apocalypse}%
-}
-\end{verbatim}
-(Again change the above to whatever is appropriate.) Put any new
-book definitions that your style may require, for example:
-\begin{verbatim}
-\addbiblebook{Susanna}{Story of Susanna}
-\end{verbatim}
-and add any \cs{biblerefmap} commands that are required. Then set
-your new style as the current style, if appropriate:
-\begin{verbatim}
-\biblerefstyle{mystyle}
-\end{verbatim}
-On the last line of the file add:
-\begin{verbatim}
-\endinput
-\end{verbatim}
-
-Next you need to create a file called ``README'' that contains some
-information about your new package, including what license you want
-to distribute it under. (If you don't know anything about licenses,
-I recommend you choose the \LaTeX\ Project Public License, LPPL.)
-
-It's worth adding a sample file or a little bit of documentation
-that illustrates how the references appear.
-
-Put your .sty file, README file and samples or documentation into a
-zip archive. You're now ready to upload it. There are several upload
-pages. The main one is at \url{http://www.ctan.org/upload.html}.
-The name of your contribution is the name of your package
-(``bibleref-mystyle'' in this example). Remember to put your name
-and email in the relevant input boxes. Sometime after you've
-uploaded your zip file, you'll get a copy of the announcement from
-one of the CTAN maintainers. It usually takes a day to establish
-itself. After that people can download and use it.
-
-\section{Acknowledgements}
-Many thanks to all the useful comments from comp.text.tex,
-especially from Jesse~Billett, Brooks~Moses and Ulrich~M.~Schwarz.
-
-\StopEventually{\clearpage\phantomsection
-\addcontentsline{toc}{section}{Index}
-\PrintIndex
-}
-
-\end{document}
diff --git a/Master/texmf-dist/doc/latex/bibleref/bibleref.pdf b/Master/texmf-dist/doc/latex/bibleref/bibleref.pdf
index 0b3296523dd..b19408cc9ba 100644
Binary files a/Master/texmf-dist/doc/latex/bibleref/bibleref.pdf and b/Master/texmf-dist/doc/latex/bibleref/bibleref.pdf differ
diff --git a/Master/texmf-dist/doc/latex/bibleref/makefile b/Master/texmf-dist/doc/latex/bibleref/makefile
new file mode 100644
index 00000000000..cc1f8fb7989
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bibleref/makefile
@@ -0,0 +1,21 @@
+all:bibleref.pdf
+ rm -rf bibleref
+ mkdir bibleref
+ mkdir bibleref/samples
+ latexmk sample*tex
+ ln sample*tex bibleref/samples
+ ln sample*pdf bibleref/samples
+ ln CHANGES *ins *dtx bibleref.pdf README makefile bibleref
+ @$(RM) ../bibleref.zip
+ zip -r ../bibleref.zip bibleref
+
+%.sty: %.ins %.dtx
+ rm -f $*.sty $*tex
+ @pdflatex $*.ins
+
+%.pdf: %.sty %.dtx
+ @pdflatex $*.dtx
+ @pdflatex $*.dtx
+ @makeindex -s gind.ist -o $*.ind $*.idx
+ @pdflatex $*.dtx
+ @pdflatex $*.dtx
diff --git a/Master/texmf-dist/doc/latex/bibleref/sample.ist b/Master/texmf-dist/doc/latex/bibleref/sample.ist
new file mode 100644
index 00000000000..b46f0317ae7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bibleref/sample.ist
@@ -0,0 +1,46 @@
+%%
+%% This is file `sample.ist',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bibleref.dtx (with options: `sample.ist,package')
+%%
+%% bibleref.dtx
+%% Copyright 2011 Nicola Talbot
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Nicola Talbot.
+%%
+%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-indextools.tex, sample-xidx.tex, sample.tex, sample.ist.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+delim_0 "\\dotfill "
+delim_1 "\\dotfill "
+delim_2 "\\dotfill "
+\endinput
+%%
+%% End of file `sample.ist'.
diff --git a/Master/texmf-dist/doc/latex/bibleref/samples/sample-categories.pdf b/Master/texmf-dist/doc/latex/bibleref/samples/sample-categories.pdf
index 1c0f79876e2..978f71b311c 100644
Binary files a/Master/texmf-dist/doc/latex/bibleref/samples/sample-categories.pdf and b/Master/texmf-dist/doc/latex/bibleref/samples/sample-categories.pdf differ
diff --git a/Master/texmf-dist/doc/latex/bibleref/samples/sample-categories.tex b/Master/texmf-dist/doc/latex/bibleref/samples/sample-categories.tex
index ef1e3fbd302..e95d5ef6fe9 100644
--- a/Master/texmf-dist/doc/latex/bibleref/samples/sample-categories.tex
+++ b/Master/texmf-dist/doc/latex/bibleref/samples/sample-categories.tex
@@ -21,7 +21,7 @@
%%
%% The Current Maintainer of this work is Nicola Talbot.
%%
-%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-multind.tex, sample-xidx.tex, sample.tex, sample.ist, bibleref.perl.
+%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-indextools.tex, sample-xidx.tex, sample.tex, sample.ist.
%%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
diff --git a/Master/texmf-dist/doc/latex/bibleref/samples/sample-indextools.pdf b/Master/texmf-dist/doc/latex/bibleref/samples/sample-indextools.pdf
new file mode 100644
index 00000000000..c9de7954b1f
Binary files /dev/null and b/Master/texmf-dist/doc/latex/bibleref/samples/sample-indextools.pdf differ
diff --git a/Master/texmf-dist/doc/latex/bibleref/samples/sample-indextools.tex b/Master/texmf-dist/doc/latex/bibleref/samples/sample-indextools.tex
new file mode 100644
index 00000000000..de81a5612ec
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bibleref/samples/sample-indextools.tex
@@ -0,0 +1,85 @@
+%%
+%% This is file `sample-indextools.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bibleref.dtx (with options: `sample-indextools.tex,package')
+%%
+%% bibleref.dtx
+%% Copyright 2011 Nicola Talbot
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Nicola Talbot.
+%%
+%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-indextools.tex, sample-xidx.tex, sample.tex, sample.ist.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\documentclass{article}
+
+\usepackage{bibleref}
+\usepackage{indextools}
+
+\makeindex[name=scr,title=Scripture]
+\makeindex[title=General]
+
+\renewcommand{\biblerefindex}{\index[scr]}
+
+\biblerefmap{Genesis}{1@Old Testament!1}
+\biblerefmap{Exodus}{1@Old Testament!2}
+\biblerefmap{Leviticus}{1@Old Testament!3}
+\biblerefmap{Numbers}{1@Old Testament!4}
+\biblerefmap{Deuteronomy}{1@Old Testament!5}
+
+\biblerefmap{Tobit}{2@Apocrypha!3}
+
+\biblerefmap{Matthew}{3@New Testament!1}
+\biblerefmap{Mark}{3@New Testament!2}
+\biblerefmap{Luke}{3@New Testament!3}
+\biblerefmap{John}{3@New Testament!4}
+\biblerefmap{Acts}{3@New Testament!5}
+\biblerefmap{Romans}{3@New Testament!6}
+\biblerefmap{Corinthians1}{3@New Testament!7}
+
+\begin{document}
+Something for the general index\index{something}.
+
+An old testament reference \ibibleverse{Genesis}(1:1-10).
+A new testament reference \ibibleverse{ICor}.
+
+Something else for the general index\index{another}.
+
+Another old testament reference \ibibleverse{Ex}.
+Another new testament reference \ibibleverse{Matt}.
+
+\ibibleverse{Tobit}
+
+\printindex[scr]
+\printindex
+\end{document}
+\endinput
+%%
+%% End of file `sample-indextools.tex'.
diff --git a/Master/texmf-dist/doc/latex/bibleref/samples/sample-multind.pdf b/Master/texmf-dist/doc/latex/bibleref/samples/sample-multind.pdf
deleted file mode 100644
index ae5cb1e4c20..00000000000
Binary files a/Master/texmf-dist/doc/latex/bibleref/samples/sample-multind.pdf and /dev/null differ
diff --git a/Master/texmf-dist/doc/latex/bibleref/samples/sample-multind.tex b/Master/texmf-dist/doc/latex/bibleref/samples/sample-multind.tex
deleted file mode 100644
index d3b2c1a01ca..00000000000
--- a/Master/texmf-dist/doc/latex/bibleref/samples/sample-multind.tex
+++ /dev/null
@@ -1,85 +0,0 @@
-%%
-%% This is file `sample-multind.tex',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% bibleref.dtx (with options: `sample-multind.tex,package')
-%%
-%% bibleref.dtx
-%% Copyright 2011 Nicola Talbot
-%%
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license of (at your option) any later version.
-%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-%%
-%% This work has the LPPL maintenance status `maintained'.
-%%
-%% The Current Maintainer of this work is Nicola Talbot.
-%%
-%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-multind.tex, sample-xidx.tex, sample.tex, sample.ist, bibleref.perl.
-%%
-%% \CharacterTable
-%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-\documentclass{article}
-
-\usepackage{bibleref}
-\usepackage{multind}
-
-\makeindex{scripture}
-\makeindex{general}
-
-\renewcommand{\biblerefindex}{\index{scripture}}
-
-\biblerefmap{Genesis}{1@Old Testament!1}
-\biblerefmap{Exodus}{1@Old Testament!2}
-\biblerefmap{Leviticus}{1@Old Testament!3}
-\biblerefmap{Numbers}{1@Old Testament!4}
-\biblerefmap{Deuteronomy}{1@Old Testament!5}
-
-\biblerefmap{Tobit}{2@Apocrypha!3}
-
-\biblerefmap{Matthew}{3@New Testament!1}
-\biblerefmap{Mark}{3@New Testament!2}
-\biblerefmap{Luke}{3@New Testament!3}
-\biblerefmap{John}{3@New Testament!4}
-\biblerefmap{Acts}{3@New Testament!5}
-\biblerefmap{Romans}{3@New Testament!6}
-\biblerefmap{Corinthians1}{3@New Testament!7}
-
-\begin{document}
-Something for the general index\index{general}{something}.
-
-An old testament reference \ibibleverse{Genesis}(1:1-10).
-A new testament reference \ibibleverse{ICor}.
-
-Something else for the general index\index{general}{another}.
-
-Another old testament reference \ibibleverse{Ex}.
-Another new testament reference \ibibleverse{Matt}.
-
-\ibibleverse{Tobit}
-
-\printindex{scripture}{Scripture Index}
-\printindex{general}{General Index}
-\end{document}
-\endinput
-%%
-%% End of file `sample-multind.tex'.
diff --git a/Master/texmf-dist/doc/latex/bibleref/samples/sample-xidx.pdf b/Master/texmf-dist/doc/latex/bibleref/samples/sample-xidx.pdf
index 46af5cc7652..0d09abb3bd9 100644
Binary files a/Master/texmf-dist/doc/latex/bibleref/samples/sample-xidx.pdf and b/Master/texmf-dist/doc/latex/bibleref/samples/sample-xidx.pdf differ
diff --git a/Master/texmf-dist/doc/latex/bibleref/samples/sample-xidx.tex b/Master/texmf-dist/doc/latex/bibleref/samples/sample-xidx.tex
index 437398f9663..716f3510171 100644
--- a/Master/texmf-dist/doc/latex/bibleref/samples/sample-xidx.tex
+++ b/Master/texmf-dist/doc/latex/bibleref/samples/sample-xidx.tex
@@ -21,7 +21,7 @@
%%
%% The Current Maintainer of this work is Nicola Talbot.
%%
-%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-multind.tex, sample-xidx.tex, sample.tex, sample.ist, bibleref.perl.
+%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-indextools.tex, sample-xidx.tex, sample.tex, sample.ist.
%%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
diff --git a/Master/texmf-dist/doc/latex/bibleref/samples/sample.ist b/Master/texmf-dist/doc/latex/bibleref/samples/sample.ist
deleted file mode 100644
index b9f2579db4e..00000000000
--- a/Master/texmf-dist/doc/latex/bibleref/samples/sample.ist
+++ /dev/null
@@ -1,46 +0,0 @@
-%%
-%% This is file `sample.ist',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% bibleref.dtx (with options: `sample.ist,package')
-%%
-%% bibleref.dtx
-%% Copyright 2011 Nicola Talbot
-%%
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
-%% of this license of (at your option) any later version.
-%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-%%
-%% This work has the LPPL maintenance status `maintained'.
-%%
-%% The Current Maintainer of this work is Nicola Talbot.
-%%
-%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-multind.tex, sample-xidx.tex, sample.tex, sample.ist, bibleref.perl.
-%%
-%% \CharacterTable
-%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-delim_0 "\\dotfill "
-delim_1 "\\dotfill "
-delim_2 "\\dotfill "
-\endinput
-%%
-%% End of file `sample.ist'.
diff --git a/Master/texmf-dist/doc/latex/bibleref/samples/sample.pdf b/Master/texmf-dist/doc/latex/bibleref/samples/sample.pdf
index 785f7bd6eac..ac16bdfc085 100644
Binary files a/Master/texmf-dist/doc/latex/bibleref/samples/sample.pdf and b/Master/texmf-dist/doc/latex/bibleref/samples/sample.pdf differ
diff --git a/Master/texmf-dist/doc/latex/bibleref/samples/sample.tex b/Master/texmf-dist/doc/latex/bibleref/samples/sample.tex
index 32043d11fe4..0bbb8e058bc 100644
--- a/Master/texmf-dist/doc/latex/bibleref/samples/sample.tex
+++ b/Master/texmf-dist/doc/latex/bibleref/samples/sample.tex
@@ -21,7 +21,7 @@
%%
%% The Current Maintainer of this work is Nicola Talbot.
%%
-%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-multind.tex, sample-xidx.tex, sample.tex, sample.ist, bibleref.perl.
+%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-indextools.tex, sample-xidx.tex, sample.tex, sample.ist.
%%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
diff --git a/Master/texmf-dist/source/latex/bibleref/bibleref.dtx b/Master/texmf-dist/source/latex/bibleref/bibleref.dtx
index f6b6d2d1a79..7981b709968 100644
--- a/Master/texmf-dist/source/latex/bibleref/bibleref.dtx
+++ b/Master/texmf-dist/source/latex/bibleref/bibleref.dtx
@@ -1,22 +1,4 @@
%\iffalse
-% bibleref.dtx generated using makedtx version 0.94b (c) Nicola Talbot
-% Command line args:
-% -macrocode "bibleref.perl"
-% -macrocode ".+\.ist"
-% -setambles ".*\.perl=>\nopreamble\nopostamble"
-% -comment "bibleref.perl"
-% -comment ".+\.tex"
-% -comment ".+\.ist"
-% -src "(.+)\.(sty)=>\1.\2"
-% -src "(sample.*)\.(tex)=>\1.\2"
-% -src "(.+)\.(ist)=>\1.\2"
-% -src "bibleref.perl\Z=>bibleref.perl"
-% -doc "bibleref-manual.tex"
-% -author "Nicola Talbot"
-% bibleref
-% Created on 2011/1/19 22:37
-%\fi
-%\iffalse
%<*package>
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -38,19 +20,19 @@
% \iffalse
% Doc-Source file to use with LaTeX2e
% Copyright (C) 2011 Nicola Talbot, all rights reserved.
+% Copyright (C) 2016… Maïeul Rouquette
+% LPPL 1.3 https://www.ctan.org/license/lppl1.3
% \fi
% \iffalse
%<*driver>
\documentclass{nlctdoc}
\usepackage{bibleref}
-\usepackage[colorlinks,bookmarks,pdfauthor={Nicola L.C. Talbot},
+\usepackage[colorlinks,bookmarks,pdfauthor={Nicola L.C. Talbot and Ma\"{i}eul Rouquette},
hyperindex=false,
pdftitle={bibleref.sty: a LaTeX package for
typesetting bible references}]{hyperref}
-
-
\CheckSum{2503}
\OnlyDescription
@@ -59,21 +41,18 @@
\end{document}
%
%\fi
-%\title{bibleref.sty v1.14:
+% \GetFileInfo{bibleref.sty}
+%\title{bibleref.sty (\fileversion):
%a \LaTeXe\ package for typesetting bible references}
-%\author{Nicola Talbot\\[10pt]
-%School of Computing Sciences\\
-%University of East Anglia\\
-%Norwich. Norfolk. NR4 7TJ.\\
-%United Kingdom\\
-%\url{http://theoval.cmp.uea.ac.uk/~nlct/}}
-%\date{2011-01-19}
+%\author{Nicola Talbot (inactive)\\[10pt]
+% Ma\"{i}eul Rouquette (active)}
+%\date{\filedate}
%
%\maketitle
%\tableofcontents
%
-%\section{Introduction}
-%
+%\section{General use}
+%\subsection{Basic}
%The \sty{bibleref} package was designed to provide consistent formatting for referencing
%parts of the bible.
%
@@ -91,6 +70,7 @@
%how to make the colon non-active.
%\end{important}
%
+% \subsection{Choosing the book}
%The book title, \meta{book title}, may be given either as the
%full title (e.g.\ \texttt{Matthew}) or as an abbreviation (e.g.\
%\texttt{Mt} or \texttt{Matt}), most standard abbreviations are
@@ -98,6 +78,7 @@
%book number in uppercase Roman numerals. For example, the second
%book of Kings should be entered as \verb|\bibleverse{IIKings}|
%
+%\subsection{Choosing the chapters and verses}
%You may have any number, or zero, sets of parenthesis
%\verb|(|\meta{chapter}\texttt{:}\meta{verse(s)}\verb|)|,
%indicating the chapter and verse or verses. Verses can be
@@ -116,28 +97,43 @@
%be entered as \texttt(\meta{ch}\texttt:\meta{v}\texttt{)-(}\meta
%{ch}\texttt:\meta{v}\texttt)
%
-%If there is no verse, but there are multiple chapters or chapter
+%If there is no verse, but there are multiple chapters
%ranges, these may be specified in the \meta{chapter} part, using a
%comma to separate individual chapters and a hyphen to separate
%ranges. Note that you still need a colon at the end of the list.
-%
-%Examples:
+% \begin{important}
+% You \textbf{must not} use this syntax:\\
+% \texttt{(}\meta{ch}\texttt{:)-(}\meta{ch}\texttt{:)}
+%
+% Despite this syntax make a good typesetting, it make a problematic index: the chapter are typeset after the verse contained inside.
+% \end{important}
+%
+% For the book without chapter (\bibleverse{Ob}; \bibleverse{IJn}; \bibleverse{IIJn}; \bibleverse{Phm}; \bibleverse{Jude}), you must add an empty chapter:
+% \texttt{(:}\meta{v}\texttt{-}\meta{v}\texttt{)}
+%
+% \begin{important}
+% You \textbf{must not} use this syntax:\\
+% \texttt{(}\meta{v}\texttt{-}\meta{v}\texttt{:)}
+% With this syntax, the verses would be formatted as if they were chapters.
+% \end{important}
+%\subsection{Examples}
%\begin{center}
%\begin{tabular}{ll}
%\verb|\bibleverse{Ex}| & \bibleverse{Ex}\\
%\verb|\bibleverse{Exodus}(20:)| & \bibleverse{Exodus}(20:)\\
%\verb|\bibleverse{Exod}(20:17)| & \bibleverse{Exod}(20:17)\\
+%\verb|\bibleverse{Exod}(20-21:)| & \bibleverse{Exod}(20-21:)\\
%\verb|\bibleverse{IICo}(12:21)| & \bibleverse{IICo}(12:21)\\
-%\verb|\bibleverse{IICor}(12:21-32)| & \bibleverse{IICor}(12:21-32)\\
%\verb|\bibleverse{Ex}(20:17)(21:3)| & \bibleverse{Ex}(20:17)(21:3)\\
%\verb|\bibleverse{Ex}(15:)(17:)(20:)| & \bibleverse{Ex}(15:)(17:)(20:)\\
%\verb|\bibleverse{Rev}(1:2,5,7-9,11)| & \bibleverse{Rev}(1:2,5,7-9,11)\\
%\verb|\bibleverse{IChronicles}(1:3)-(2:7)| &
%\bibleverse{IChronicles}(1:3)-(2:7)\\
-%\verb|\bibleverse{Luke}(1,4-5,8:)| &\bibleverse{Luke}(1,4-5,8:)
+%\verb|\bibleverse{Luke}(1,4-5,8:)| &\bibleverse{Luke}(1,4-5,8:)\\
+%\verb|\bibleverse{Phm}(1-3:)| &\bibleverse{Phm}(1-3:)\\
%\end{tabular}
%\end{center}
-%
+% \subsection{Style}
%The style of the reference can be specified either by
%package option or as the argument to the command
%\begin{definition}[\DescribeMacro{\biblerefstyle}]
@@ -341,25 +337,24 @@
%\end{definition}
%This command defaults to \cs{index}, but can be changed to
%the appropriate indexing command. For example, suppose you
-%are using the \sty{multind} package and you want a general
+%are using the \sty{indextools} package and you want a general
%index and a scripture index, you can do something like:
%\begin{verbatim}
%\documentclass{article}
%\usepackage{bibleref}
-%\usepackage{multind}
+%\usepackage{indextools}
%
-%\makeindex{scripture}
-%\makeindex{general}
+%\makeindex[title=Scripture,name=scr]}
+%\makeindex[title=General]
%
-%\renewcommand{\biblerefindex}{\index{scripture}}
+%\renewcommand{\biblerefindex}{\index[scr]}
%\end{verbatim}
%In the document, you can use \cs{ibibleverse} as before, and
%the scripture index is displayed using
%\begin{verbatim}
-%\printindex{scripture}{Scripture Index}
+%\printindex[scr]
%\end{verbatim}
-%You will then need to run \app{makeindex} on the file
-%\texttt{scripture.idx}. See the \sty{multind} documentation
+%You will find the index. See the \sty{indextools} documentation
%for further details.
%
%\subsection{Changing the Sort Order}
@@ -470,12 +465,18 @@
%Many thanks to all the useful comments from comp.text.tex,
%especially from Jesse~Billett, Brooks~Moses and Ulrich~M.~Schwarz.
%
+% Many thanks also to Rapha\"{e}l Pinson, which have debbuged indexing for books without chapter.
+%
+%\section{Bug and feature request}
+% For all bug and feature requests, please open an ``issue'' on
+% \begin{important}
+% \url{https://git.framasoft.org/maieul/bibleref/issues}
+% \end{important}
+%
%\StopEventually{\clearpage\phantomsection
-%\addcontentsline{toc}{section}{Index}
%\PrintIndex
-%}
-%
%
+%}
%
%\section{The Code}
%\iffalse
@@ -941,7 +942,7 @@
% Declare package
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bibleref}[2011/01/19 1.14 (NLCT)]
+\ProvidesPackage{bibleref}[2016/09/10 1.15 (NLCT and MR)]
% \end{macrocode}
% Need to do some conditional stuff
% \begin{macrocode}
@@ -2104,8 +2105,14 @@ defined}{}}}
% This gets the chapter number.
% \begin{macrocode}
\def\@bibleverse(#1:{%
- \@br@chsty{#1}%
- \@@bibleverse
+ \def\@bv@tmp{#1}%
+ \ifx\@bv@tmp\@empty
+ \def\@bv@bvmacro{\@@bibleversenosep}%
+ \else
+ \@br@chsty{#1}%
+ \def\@bv@bvmacro{\@@bibleverse}%
+ \fi
+ \@bv@bvmacro
}
% \end{macrocode}
%\end{macro}
@@ -2155,6 +2162,20 @@ defined}{}}}
{\@end@@bibleverse}%
}%
}
+% \changes{1.15}{2016/09/10}{fix bug with book without chapter}
+\def\@@bibleversenosep#1){%
+ \def\@bv@tmp{#1}%
+ \ifx\@bv@tmp\@empty
+ \else
+ \@br@vrsty{#1}%
+ \fi
+ \new@ifnextchar(%
+ {\@bv@do{\protect\BRchsep}\@bibleverse}%
+ {\new@ifnextchar-%
+ {\@bv@do{\protect\BRvrsep}\@bibleverser}%
+ {\@end@@bibleverse}%
+ }%
+}
% \end{macrocode}
%\end{macro}
%
@@ -2419,7 +2440,7 @@ defined}{}}}
%\fi
%\iffalse
% \begin{macrocode}
-%<*sample-multind.tex>
+%<*sample-indextools.tex>
% \end{macrocode}
%\fi
%\iffalse
@@ -2428,12 +2449,12 @@ defined}{}}}
\documentclass{article}
\usepackage{bibleref}
-\usepackage{multind}
+\usepackage{indextools}
-\makeindex{scripture}
-\makeindex{general}
+\makeindex[name=scr,title=Scripture]
+\makeindex[title=General]
-\renewcommand{\biblerefindex}{\index{scripture}}
+\renewcommand{\biblerefindex}{\index[scr]}
\biblerefmap{Genesis}{1@Old Testament!1}
\biblerefmap{Exodus}{1@Old Testament!2}
@@ -2452,26 +2473,26 @@ defined}{}}}
\biblerefmap{Corinthians1}{3@New Testament!7}
\begin{document}
-Something for the general index\index{general}{something}.
+Something for the general index\index{something}.
An old testament reference \ibibleverse{Genesis}(1:1-10).
A new testament reference \ibibleverse{ICor}.
-Something else for the general index\index{general}{another}.
+Something else for the general index\index{another}.
Another old testament reference \ibibleverse{Ex}.
Another new testament reference \ibibleverse{Matt}.
\ibibleverse{Tobit}
-\printindex{scripture}{Scripture Index}
-\printindex{general}{General Index}
+\printindex[scr]
+\printindex
\end{document}
% \end{macrocode}
%\fi
%\iffalse
% \begin{macrocode}
-%
+%
% \end{macrocode}
%\fi
%\iffalse
@@ -2811,1752 +2832,5 @@ delim_2 "\\dotfill "
%<*bibleref.perl>
% \end{macrocode}
%\fi
-%\iffalse
-% \begin{macrocode}
-#!/usr/bin/perl
-# File : bibleref.perl
-# Author : Nicola L.C. Talbot
-# http://theoval.cmp.uea.ac.uk/~nlct/
-# This is a LaTeX2HTML style implementing the bibleref package, and
-# is distributed as part of that package.
-# Copyright 2007 Nicola L.C. Talbot
-# This work may be distributed and/or modified under the
-# conditions of the LaTeX Project Public License, either version 1.3
-# of this license of (at your option) any later version.
-# The latest version of this license is in
-# http://www.latex-project.org/lppl.txt
-# and version 1.3 or later is part of all distributions of LaTeX
-# version 2005/12/01 or later.
-#
-# This work has the LPPL maintenance status `maintained'.
-#
-# The Current Maintainer of this work is Nicola Talbot.
-#
-# This work consists of the files bibleref.dtx and bibleref.ins
-# and the derived files bibleref.sty, sample.tex, bibleref.perl.
-
- %bookfullname=();
-
-$synonym{'Gn'}='Gensis';
-$synonym{'Ex'}='Exodus';
-$synonym{'Lv'}='Leviticus';
-$synonym{'Nb'}='Numbers';
-$synonym{'Dt'}='Deuteronomy';
-$synonym{'Jos'}='Joshua';
-$synonym{'Jg'}='Judges';
-$synonym{'Rt'}='Ruth';
-$synonym{'IS'}='ISamuel';
-$synonym{'IIS'}='IISamuel';
-$synonym{'IK'}='IKings';
-$synonym{'IIK'}='IIKings';
-$synonym{'ICh'}='IChronicles';
-$synonym{'IICh'}='IIChronicles';
-$synonym{'Ezr'}='Ezra';
-$synonym{'Ne'}='Nehemiah';
-$synonym{'Tb'}='Tobit';
-$synonym{'Jdt'}='Judith';
-$synonym{'Est'}='Esther';
-$synonym{'IM'}='IMaccabees';
-$synonym{'IIM'}='IIMaccabees';
-$synonym{'Jb'}='Job';
-$synonym{'Ps'}='Psalms';
-$synonym{'Pr'}='Proverbs';
-$synonym{'Qo'}='Ecclesiastes';
-$synonym{'Sg'}='SongofSongs';
-$synonym{'Ws'}='Wisdom';
-$synonym{'Si'}='Ecclesiasticus';
-$synonym{'Is'}='Isaiah';
-$synonym{'Jr'}='Jeremiah';
-$synonym{'Lm'}='Lamentations';
-$synonym{'Ba'}='Baruch';
-$synonym{'Ezk'}='Ezekiel';
-$synonym{'Dn'}='Daniel';
-$synonym{'Ho'}='Hosea';
-$synonym{'Jl'}='Joel';
-$synonym{'Am'}='Amos';
-$synonym{'Ob'}='Obadiah';
-$synonym{'Jon'}='Jonah';
-$synonym{'Mi'}='Micah';
-$synonym{'Na'}='Nahum';
-$synonym{'Hab'}='Habakkuk';
-$synonym{'Zp'}='Zephaniah';
-$synonym{'Hg'}='Haggai';
-$synonym{'Zc'}='Zechariah';
-$synonym{'Ml'}='Malachi';
-$synonym{'Mt'}='Matthew';
-$synonym{'Mk'}='Mark';
-$synonym{'Lk'}='Luke';
-$synonym{'Jn'}='John';
-$synonym{'Ac'}='Acts';
-$synonym{'Rm'}='Romans';
-$synonym{'ICo'}='ICorinthians';
-$synonym{'IICo'}='IICorinthians';
-$synonym{'Ga'}='Galatians';
-$synonym{'Ep'}='Ephesians';
-$synonym{'Ph'}='Philippians';
-$synonym{'Col'}='Colossians';
-$synonym{'ITh'}='IThessalonians';
-$synonym{'IITh'}='IIThessalonians';
-$synonym{'ITm'}='ITimothy';
-$synonym{'IITm'}='IITimothy';
-$synonym{'Tt'}='Titus';
-$synonym{'Phm'}='Philemon';
-$synonym{'Heb'}='Hebrews';
-$synonym{'Jm'}='James';
-$synonym{'IP'}='IPeter';
-$synonym{'IIP'}='IIPeter';
-$synonym{'IJn'}='IJohn';
-$synonym{'IIJn'}='IIJohn';
-$synonym{'IIIJn'}='IIIJohn';
-$synonym{'Rv'}='Revelation';
-$synonym{'Gen'}='Gensis';
-$synonym{'Exod'}='Exodus';
-$synonym{'Lev'}='Leviticus';
-$synonym{'Num'}='Numbers';
-$synonym{'Deut'}='Deuteronomy';
-$synonym{'Josh'}='Joshua';
-$synonym{'Judg'}='Judges';
-$synonym{'ISam'}='ISamuel';
-$synonym{'IISam'}='IISamuel';
-$synonym{'IKgs'}='IKings';
-$synonym{'IIKgs'}='IIKings';
-$synonym{'IChr'}='IChronicles';
-$synonym{'IIChr'}='IIChronicles';
-$synonym{'Neh'}='Nehemiah';
-$synonym{'IM'}='IMaccabees';
-$synonym{'IIM'}='IIMaccabees';
-$synonym{'Ps'}='Psalms';
-$synonym{'Prov'}='Proverbs';
-$synonym{'Eccles'}='Ecclesiastes';
-$synonym{'SofS'}='SongofSongs';
-$synonym{'Wisd'}='Wisdom';
-$synonym{'Ecclus'}='Ecclesiasticus';
-$synonym{'Isa'}='Isaiah';
-$synonym{'Jer'}='Jeremiah';
-$synonym{'Lam'}='Lamentations';
-$synonym{'Ezek'}='Ezekiel';
-$synonym{'Dan'}='Daniel';
-$synonym{'Hos'}='Hosea';
-$synonym{'Obad'}='Obadiah';
-$synonym{'Mic'}='Micah';
-$synonym{'Nah'}='Nahum';
-$synonym{'Hab'}='Habakkuk';
-$synonym{'Zeph'}='Zephaniah';
-$synonym{'Hag'}='Haggai';
-$synonym{'Zech'}='Zechariah';
-$synonym{'Mal'}='Malachi';
-$synonym{'Matt'}='Matthew';
-$synonym{'Rom'}='Romans';
-$synonym{'ICor'}='ICorinthians';
-$synonym{'IICor'}='IICorinthians';
-$synonym{'Gal'}='Galatians';
-$synonym{'Eph'}='Ephesians';
-$synonym{'Phil'}='Philippians';
-$synonym{'Col'}='Colossians';
-$synonym{'IThess'}='IThessalonians';
-$synonym{'IIThess'}='IIThessalonians';
-$synonym{'ITim'}='ITimothy';
-$synonym{'IITim'}='IITimothy';
-$synonym{'Tit'}='Titus';
-$synonym{'Philem'}='Philemon';
-$synonym{'Heb'}='Hebrews';
-$synonym{'Jas'}='James';
-$synonym{'IPet'}='IPeter';
-$synonym{'IIPet'}='IIPeter';
-$synonym{'IJohn'}='IJohn';
-$synonym{'IIJohn'}='IIJohn';
-$synonym{'IIIJohn'}='IIIJohn';
-$synonym{'Rev'}='Revelation';
-
-&do_cmd_brfullname;
-
-sub do_cmd_BRbooknumberstyle{
- local($_) = @_;
- local($num);
-
- $num = &missing_braces unless
- s/$next_pair_pr_rx/$num=$2;''/eo;
-
- "$num " . $_;
-}
-
-sub do_cmd_BRepistlenumberstyle{
- local($_) = @_;
- local($num);
-
- $num = &missing_braces unless
- s/$next_pair_pr_rx/$num=$2;''/eo;
-
- "$num " . $_;
-}
-
-sub do_cmd_BRbooknumberstyleI{
- local($_)=@_;
- local($id)=++$global{'max_id'};
-
- join('',
- &translate_commands("\\BRbooknumberstyle$OP$id${CP}1$OP$id$CP"),$_);
-}
-
-sub do_cmd_BRbooknumberstyleII{
- local($_)=@_;
- local($id)=++$global{'max_id'};
-
- join('',
- &translate_commands("\\BRbooknumberstyle$OP$id${CP}2$OP$id$CP"),$_);
-}
-
-sub do_cmd_BRepistlenumberstyleI{
- local($_)=@_;
- local($id)=++$global{'max_id'};
-
- join('',
- &translate_commands("\\BRepistlenumberstyle$OP$id${CP}1$OP$id$CP"),$_);
-}
-
-sub do_cmd_BRepistlenumberstyleII{
- local($_)=@_;
- local($id)=++$global{'max_id'};
-
- join('',
- &translate_commands("\\BRepistlenumberstyle$OP$id${CP}2$OP$id$CP"),$_);
-}
-
-sub do_cmd_BRepistlenumberstyleIII{
- local($_)=@_;
- local($id)=++$global{'max_id'};
-
- join('',
- &translate_commands("\\BRepistlenumberstyle$OP$id${CP}3$OP$id$CP"),$_);
-}
-
-sub do_cmd_BRbookof{
- local($_)=@_;
-
- $_;
-}
-
-sub do_cmd_BRgospel{
- local($_)=@_;
-
- $_;
-}
-
-sub do_cmd_BRepistleto{
- local($_)=@_;
-
- $_;
-}
-
-sub do_cmd_BRepistletothe{
- local($_)=@_;
-
- $_;
-}
-
-sub do_cmd_BRepistleof{
- local($_)=@_;
-
- $_;
-}
-
-sub do_cmd_BRbooktitlestyle{
- local($_)=@_;
- local($title);
-
- $title = &missing_braces unless
- s/$next_pair_pr_rx/$title=$2;''/eo;
-
- $title . $_;
-}
-
-sub do_cmd_BRchapterstyle{
- local($_)=@_;
- local($num);
-
- $num = &missing_braces unless
- s/$next_pair_pr_rx/$num=$2;''/eo;
-
- $num . $_;
-}
-
-sub do_cmd_BRversestyle{
- local($_)=@_;
- local($num);
-
- $num = &missing_braces unless
- s/$next_pair_pr_rx/$num=$2;''/eo;
-
- $num . $_;
-}
-
-sub do_cmd_BRbkchsep{
- local($_)=@_;
-
- " " . $_;
-}
-
-sub do_cmd_BRchvsep{
- local($_)=@_;
-
- ":" . $_;
-}
-
-sub do_cmd_BRchsep{
- local($_)=@_;
-
- ';' . $_;
-}
-
-sub do_cmd_BRvrsep{
- local($_)=@_;
-
- &translate_commands("--") . $_;
-}
-
-sub do_cmd_BRvsep{
- local($_)=@_;
-
- "," . $_;
-}
-
-sub do_cmd_BRperiod{
- local($_)=@_;
- $_;
-}
-
-sub do_cmd_brfullname{
-local($_) = @_;
-$bookname{'Genesis'}='\BRbookof Genesis';
-$bookname{'Exodus'}='\BRbookof Exodus';
-$bookname{'Leviticus'}='\BRbookof Leviticus';
-$bookname{'Numbers'}='\BRbookof Numbers';
-$bookname{'Deuteronomy'}='\BRbookof Deuteronomy';
-$bookname{'Joshua'}='\BRbookof Joshua';
-$bookname{'Judges'}='\BRbookof Judges';
-$bookname{'Ruth'}='\BRbookof Ruth';
-$bookname{'ISamuel'}='\BRbooknumberstyleI \BRbookof Samuel';
-$bookname{'IISamuel'}='\BRbooknumberstyleII \BRbookof Samuel';
-$bookname{'IKings'}='\BRbooknumberstyleI \BRbookof Kings';
-$bookname{'IIKings'}='\BRbooknumberstyleII \BRbookof Kings';
-$bookname{'IChronicles'}='\BRbooknumberstyleI \BRbookof Chronicles';
-$bookname{'IIChronicles'}='\BRbooknumberstyleII \BRbookof Chronicles';
-$bookname{'Ezra'}='\BRbookof Ezra';
-$bookname{'Nehemiah'}='\BRbookof Nehemiah';
-$bookname{'Tobit'}='\BRbookof Tobit';
-$bookname{'Judith'}='\BRbookof Judith';
-$bookname{'Esther'}='\BRbookof Esther';
-$bookname{'IMaccabees'}='\BRbooknumberstyleI \BRbookof Maccabees';
-$bookname{'IIMaccabees'}='\BRbooknumberstyleII \BRbookof Maccabees';
-$bookname{'Job'}='\BRbookof Job';
-$bookname{'Psalms'}='\BRbookof Psalms';
-$bookname{'Proverbs'}='\BRbookof Proverbs';
-$bookname{'Ecclesiastes'}='\BRbookof Ecclesiastes';
-$bookname{'SongofSongs'}='\BRbookof Song of Songs';
-$bookname{'Wisdom'}='\BRbookof Wisdom';
-$bookname{'Ecclesiasticus'}='\BRbookof Ecclesiasticus';
-$bookname{'Isaiah'}='\BRbookof Isaiah';
-$bookname{'Jeremiah'}='\BRbookof Jeremiah';
-$bookname{'Lamentations'}='\BRbookof Lamentations';
-$bookname{'Baruch'}='\BRbookof Baruch';
-$bookname{'Ezekiel'}='\BRbookof Ezekiel';
-$bookname{'Daniel'}='\BRbookof Daniel';
-$bookname{'Hosea'}='\BRbookof Hosea';
-$bookname{'Joel'}='\BRbookof Joel';
-$bookname{'Amos'}='\BRbookof Amos';
-$bookname{'Obadiah'}='\BRbookof Obadiah';
-$bookname{'Jonah'}='\BRbookof Jonah';
-$bookname{'Micah'}='\BRbookof Micah';
-$bookname{'Nahum'}='\BRbookof Nahum';
-$bookname{'Habakkuk'}='\BRbookof Habakkuk';
-$bookname{'Zephaniah'}='\BRbookof Zephaniah';
-$bookname{'Haggai'}='\BRbookof Haggai';
-$bookname{'Zechariah'}='\BRbookof Zechariah';
-$bookname{'Malachi'}='\BRbookof Malachi';
-$bookname{'Matthew'}='\BRgospel Matthew';
-$bookname{'Mark'}='\BRgospel Mark';
-$bookname{'Luke'}='\BRgospel Luke';
-$bookname{'John'}='\BRgospel John';
-$bookname{'Acts'}='Acts';
-$bookname{'Romans'}='\BRepistletothe Romans';
-$bookname{'ICorinthians'}='\BRepistlenumberstyleI \BRepistletothe Corinthians';
-$bookname{'IICorinthians'}='\BRepistlenumberstyleII \BRepistletothe Corinthians';
-$bookname{'Galatians'}='\BRepistletothe Galatians';
-$bookname{'Ephesians'}='\BRepistletothe Ephesians';
-$bookname{'Philippians'}='\BRepistletothe Philippians';
-$bookname{'Colossians'}='\BRepistletothe Colossians';
-$bookname{'IThessalonians'}='\BRepistlenumberstyleI \BRepistletothe Thessalonians';
-$bookname{'IIThessalonians'}='\BRepistlenumberstyleII \BRepistletothe Thessalonians';
-$bookname{'ITimothy'}='\BRepistlenumberstyleI \BRepistleto Timothy';
-$bookname{'IITimothy'}='\BRepistlenumberstyleII \BRepistletoTimothy';
-$bookname{'Titus'}='\BRepistleto Titus';
-$bookname{'Philemon'}='\BRepistleto Philemon';
-$bookname{'Hebrews'}='\BRepistletothe Hebrews';
-$bookname{'James'}='\BRepistleof James';
-$bookname{'IPeter'}='\BRepistlenumberstyleI \BRepistleof Peter';
-$bookname{'IIPeter'}='\BRepistlenumberstyleII \BRepistleof Peter';
-$bookname{'IJohn'}='\BRepistlenumberstyleI \BRepistleof John';
-$bookname{'IIJohn'}='\BRepistlenumberstyleII \BRepistleof John';
-$bookname{'IIIJohn'}='\BRepistlenumberstyleIII \BRepistleof John';
-$bookname{'Jude'}='\BRepistleof Jude';
-$bookname{'Revelation'}='\BRbookof Revelation';
-$_;
-}
-
-sub do_cmd_brabbrvname{
-local($_)=@_;
-$bookname{'Gensis'}='Gn\BRperiod ';
-$bookname{'Exodus'}='Ex\BRperiod ';
-$bookname{'Leviticus'}='Lv\BRperiod ';
-$bookname{'Numbers'}='Nb\BRperiod ';
-$bookname{'Deuteronomy'}='Dt\BRperiod ';
-$bookname{'Joshua'}='Jos\BRperiod ';
-$bookname{'Judges'}='Jg\BRperiod ';
-$bookname{'Ruth'}='Rt\BRperiod ';
-$bookname{'ISamuel'}='\BRbooknumberstyleI S\BRperiod ';
-$bookname{'IISamuel'}='\BRbooknumberstyleII S\BRperiod ';
-$bookname{'IKings'}='\BRbooknumberstyleI K\BRperiod ';
-$bookname{'IIKings'}='\BRbooknumberstyleII K\BRperiod ';
-$bookname{'IChronicles'}='\BRbooknumberstyleI Ch\BRperiod ';
-$bookname{'IIChronicles'}='\BRbooknumberstyleII Ch\BRperiod ';
-$bookname{'Ezra'}='Ezr\BRperiod ';
-$bookname{'Nehemiah'}='Ne\BRperiod ';
-$bookname{'Tobit'}='Tb\BRperiod ';
-$bookname{'Judith'}='Jdt\BRperiod ';
-$bookname{'Esther'}='Est\BRperiod ';
-$bookname{'IMaccabees'}='\BRbooknumberstyleI M\BRperiod ';
-$bookname{'IIMaccabees'}='\BRbooknumberstyleII M\BRperiod ';
-$bookname{'Job'}='Jb\BRperiod ';
-$bookname{'Psalms'}='Ps\BRperiod ';
-$bookname{'Proverbs'}='Pr\BRperiod ';
-$bookname{'Ecclesiastes'}='Qo\BRperiod ';
-$bookname{'SongofSongs'}='Sg\BRperiod ';
-$bookname{'Wisdom'}='Ws\BRperiod ';
-$bookname{'Ecclesiasticus'}='Si\BRperiod ';
-$bookname{'Isaiah'}='Is\BRperiod ';
-$bookname{'Jeremiah'}='Jr\BRperiod ';
-$bookname{'Lamentations'}='Lm\BRperiod ';
-$bookname{'Baruch'}='Ba\BRperiod ';
-$bookname{'Ezekiel'}='Ezk\BRperiod ';
-$bookname{'Daniel'}='Dn\BRperiod ';
-$bookname{'Hosea'}='Ho\BRperiod ';
-$bookname{'Joel'}='Jl\BRperiod ';
-$bookname{'Amos'}='Am\BRperiod ';
-$bookname{'Obadiah'}='Ob\BRperiod ';
-$bookname{'Jonah'}='Jon\BRperiod ';
-$bookname{'Micah'}='Mi\BRperiod ';
-$bookname{'Nahum'}='Na\BRperiod ';
-$bookname{'Habakkuk'}='Hab\BRperiod ';
-$bookname{'Zephaniah'}='Zp\BRperiod ';
-$bookname{'Haggai'}='Hg\BRperiod ';
-$bookname{'Zechariah'}='Zc\BRperiod ';
-$bookname{'Malachi'}='Ml\BRperiod ';
-$bookname{'Matthew'}='Mt\BRperiod ';
-$bookname{'Mark'}='Mk\BRperiod ';
-$bookname{'Luke'}='Lk\BRperiod ';
-$bookname{'John'}='Jn\BRperiod ';
-$bookname{'Acts'}='Ac\BRperiod ';
-$bookname{'Romans'}='Rm\BRperiod ';
-$bookname{'ICorinthians'}='\BRepistlenumberstyleI Co\BRperiod ';
-$bookname{'IICorinthians'}='\BRepistlenumberstyleII Co\BRperiod ';
-$bookname{'Galatians'}='Ga\BRperiod ';
-$bookname{'Ephesians'}='Ep\BRperiod ';
-$bookname{'Philippians'}='Ph\BRperiod ';
-$bookname{'Colossians'}='Col\BRperiod ';
-$bookname{'IThessalonians'}='\BRepistlenumberstyleI Th\BRperiod ';
-$bookname{'IIThessalonians'}='\BRepistlenumberstyleII Th\BRperiod ';
-$bookname{'ITimothy'}='\BRepistlenumberstyleI Tm\BRperiod ';
-$bookname{'IITimothy'}='\BRepistlenumberstyleII Tm\BRperiod ';
-$bookname{'Titus'}='Tt\BRperiod ';
-$bookname{'Philemon'}='Phm\BRperiod ';
-$bookname{'Hebrews'}='Heb\BRperiod ';
-$bookname{'James'}='Jm\BRperiod ';
-$bookname{'IPeter'}='\BRepistlenumberstyleI P\BRperiod ';
-$bookname{'IIPeter'}='\BRepistlenumberstyleII P\BRperiod ';
-$bookname{'IJohn'}='\BRepistlenumberstyleI Jn\BRperiod ';
-$bookname{'IIJohn'}='\BRepistlenumberstyleII Jn\BRperiod ';
-$bookname{'IIIJohn'}='\BRepistlenumberstyleIII Jn\BRperiod ';
-$bookname{'Jude'}='Jude';
-$bookname{'Revelation'}='Rv\BRperiod ';
-$_;
-}
-
-sub do_cmd_braltabbrvname{
-local($_)=@_;
-$bookname{'Gensis'}='Gen\BRperiod ';
-$bookname{'Exodus'}='Exod\BRperiod ';
-$bookname{'Leviticus'}='Lev\BRperiod ';
-$bookname{'Numbers'}='Num\BRperiod ';
-$bookname{'Deuteronomy'}='Deut\BRperiod ';
-$bookname{'Joshua'}='Josh\BRperiod ';
-$bookname{'Judges'}='Judg\BRperiod ';
-$bookname{'Ruth'}='Ruth';
-$bookname{'ISamuel'}='\BRbooknumberstyleI Sam\BRperiod ';
-$bookname{'IISamuel'}='\BRbooknumberstyleII Sam\BRperiod ';
-$bookname{'IKings'}='\BRbooknumberstyleI Kgs\BRperiod ';
-$bookname{'IIKings'}='\BRbooknumberstyleII Kgs\BRperiod ';
-$bookname{'IChronicles'}='\BRbooknumberstyleI Chr\BRperiod ';
-$bookname{'IIChronicles'}='\BRbooknumberstyleII Chr\BRperiod ';
-$bookname{'Ezra'}='Ezra';
-$bookname{'Nehemiah'}='Neh\BRperiod ';
-$bookname{'Tobit'}='Tobit';
-$bookname{'Judith'}='Judith';
-$bookname{'Esther'}='Esther';
-$bookname{'IMaccabees'}='\BRbooknumberstyleI M\BRperiod ';
-$bookname{'IIMaccabees'}='\BRbooknumberstyleII M\BRperiod ';
-$bookname{'Job'}='Job';
-$bookname{'Psalms'}='Ps\BRperiod ';
-$bookname{'Proverbs'}='Prov\BRperiod ';
-$bookname{'Ecclesiastes'}='Eccles\BRperiod ';
-$bookname{'SongofSongs'}='S\BRperiod \ of S\BRperiod ';
-$bookname{'Wisdom'}='Wisd\BRperiod ';
-$bookname{'Ecclesiasticus'}='Ecclus\BRperiod ';
-$bookname{'Isaiah'}='Isa\BRperiod ';
-$bookname{'Jeremiah'}='Jer\BRperiod ';
-$bookname{'Lamentations'}='Lam\BRperiod ';
-$bookname{'Baruch'}='Baruch';
-$bookname{'Ezekiel'}='Ezek\BRperiod ';
-$bookname{'Daniel'}='Dan\BRperiod ';
-$bookname{'Hosea'}='Hos\BRperiod ';
-$bookname{'Joel'}='Joel';
-$bookname{'Amos'}='Amos';
-$bookname{'Obadiah'}='Obad';
-$bookname{'Jonah'}='Jonah';
-$bookname{'Micah'}='Mic\BRperiod ';
-$bookname{'Nahum'}='Nah\BRperiod ';
-$bookname{'Habakkuk'}='Hab\BRperiod ';
-$bookname{'Zephaniah'}='Zeph\BRperiod ';
-$bookname{'Haggai'}='Hag\BRperiod ';
-$bookname{'Zechariah'}='Zech\BRperiod ';
-$bookname{'Malachi'}='Mal\BRperiod ';
-$bookname{'Matthew'}='Matt\BRperiod ';
-$bookname{'Mark'}='Mark';
-$bookname{'Luke'}='Luke';
-$bookname{'John'}='John';
-$bookname{'Acts'}='Acts';
-$bookname{'Romans'}='Rom\BRperiod ';
-$bookname{'ICorinthians'}='\BRepistlenumberstyleI Cor\BRperiod ';
-$bookname{'IICorinthians'}='\BRepistlenumberstyleII Cor\BRperiod ';
-$bookname{'Galatians'}='Gal\BRperiod ';
-$bookname{'Ephesians'}='Eph\BRperiod ';
-$bookname{'Philippians'}='Phil\BRperiod ';
-$bookname{'Colossians'}='Col\BRperiod ';
-$bookname{'IThessalonians'}='\BRepistlenumberstyleI Thess\BRperiod ';
-$bookname{'IIThessalonians'}='\BRepistlenumberstyleII Thess\BRperiod ';
-$bookname{'ITimothy'}='\BRepistlenumberstyleI Tim\BRperiod ';
-$bookname{'IITimothy'}='\BRepistlenumberstyleII Tim\BRperiod ';
-$bookname{'Titus'}='Tit\BRperiod ';
-$bookname{'Philemon'}='Philem\BRperiod ';
-$bookname{'Hebrews'}='Heb\BRperiod ';
-$bookname{'James'}='Jas\BRperiod ';
-$bookname{'IPeter'}='\BRepistlenumberstyleI Pet\BRperiod ';
-$bookname{'IIPeter'}='\BRepistlenumberstyleII Pet\BRperiod ';
-$bookname{'IJohn'}='\BRepistlenumberstyleI John';
-$bookname{'IIJohn'}='\BRepistlenumberstyleII John';
-$bookname{'IIIJohn'}='\BRepistlenumberstyleIII John';
-$bookname{'Jude'}='Jude';
-$bookname{'Revelation'}='Rev\BRperiod ';
-$_;
-}
-
-sub brs_default{
- local($tmp)='';
- &do_cmd_brfullname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' "$num " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' "$num " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ":" . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' \';\' . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
-}
-
-sub brs_jerusalem{
- local($tmp)='';
- &do_cmd_brabbrvname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' "$num " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' "$num " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ":" . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' \'; \' . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
-}
-
-sub brs_anglosaxon{
- local($tmp)='';
- &do_cmd_braltabbrvname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", &fRoman($num), $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", &fRoman($num), $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "." . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' \'; \' . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ".$_";';
- $tmp .= '}';
-}
-
-sub brs_JEH{
- local($tmp)='';
- &do_cmd_braltabbrvname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' &froman($num) . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", ".", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' \'; \' . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ".$_";';
- $tmp .= '}';
-}
-
-sub brs_MHRA{
- local($tmp)='';
- &do_cmd_brfullname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num,$id);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;$id=$1;\'\'/eo;';
- $tmp .= ' $num = &froman($num);';
- $tmp .= ' $num = &translate_commands("\\\\textsc${OP}$id${CP}$num${OP}$id${CP}");';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num,$id);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;$id=$1;\'\'/eo;';
- $tmp .= ' $num = &froman($num);';
- $tmp .= ' $num = &translate_commands("\\\\textsc${OP}$id${CP}$num${OP}$id${CP}");';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' &froman($num) . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", ".", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "; " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
-}
-
-sub brs_NTG{
- local($tmp)='';
- &do_cmd_braltabbrvname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' &froman($num) . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join("", ",", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "; " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
-}
-
-sub brs_MLA{
- local($tmp)='';
- &do_cmd_braltabbrvname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' &froman($num) . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join("", ".", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "; " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ".$_";';
- $tmp .= '}';
-}
-
-sub brs_chicago{
- local($tmp)='';
- &do_cmd_braltabbrvname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' &froman($num) . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join("", ":", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "; " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ".$_";';
- $tmp .= '}';
-}
-
-sub brs_long{
- local($tmp)='';
- &do_cmd_brfullname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num,$id);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;$id=$1;\'\'/eo;';
- $tmp .= ' "\\Ordinalstringnum$OP$id$CP$num$OP$id$CP " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num,$id);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;$id=$1;\'\'/eo;';
- $tmp .= ' "\\Ordinalstringnum$OP$id$CP$num$OP$id$CP " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", "Book of",$_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", "Gospel according to St",$_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", "Epistle to",$_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", "Epistle to the", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", "Epistle of",$_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num,$id);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;$id=$1;\'\'/eo;';
- $tmp .= ' join(" ", "chapter \\numberstring$OP$id$CP$num$OP$id$CP", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num,$id);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;$id=$1;\'\'/eo;';
- $tmp .= ' join(" ", "chapter \\numberstring$OP$id$CP$num$OP$id$CP", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ", " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " verse " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' \', \' . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " to " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ", " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
-}
-
-sub do_bibleref_default{
- &brs_default;
-}
-
-sub do_bibleref_jerusalem{
- &brs_jerusalem;
-}
-
-sub do_bibleref_anglosaxon{
- &brs_anglosaxon;
-}
-
-sub do_bibleref_JEH{
- &brs_JEH;
-}
-
-sub do_bibleref_MHRA{
- &brs_MHRA;
-}
-
-sub do_bibleref_NTG{
- &brs_NTG;
-}
-
-sub do_bibleref_MLA{
- &brs_MLA;
-}
-
-sub do_bibleref_chicago{
- &brs_chicago;
-}
-
-sub do_bibleref_text{
- &brs_chicago;
-}
-
-sub do_cmd_newbiblerefstyle{
- local($_)=@_;
- local($style,$cmds);
- $style = &missing_braces unless
- s/$next_pair_pr_rx/$style=$2;''/eo;
-
- &write_warnings("\n\\newbiblerefstyle not implemented");
-
- $_;
-}
-
-sub do_cmd_setbooktitle{
- local($_)=@_;
- local($name,$title);
-
- $name = &missing_braces unless
- s/$next_pair_pr_rx/$name=$2;''/eo;
- $title = &missing_braces unless
- s/$next_pair_pr_rx/$title=$2;''/eo;
-
- if (defined $bookname{$name})
- {
- $bookname{$name}=$title;
- }
- else
- {
- &write_warnings("\nUnknown book '$name'");
- }
-
- $_;
-}
-
-sub do_cmd_biblerefstyle{
- local($_)=@_;
- local($style);
- $style = &missing_braces unless
- s/$next_pair_pr_rx/$style=$2;''/eo;
-
- if (defined "&brs_$style")
- {
- eval("&brs_$style");
- }
- else
- {
- &write_warnings("\nUnknown biblerefstyle '$style'");
- }
- $_;
-}
-
-sub do_cmd_bibleverse{
- local($_)=@_;
- local($book,$id);
- local($bibleverse)='';
- $book = &missing_braces unless
- s/$next_pair_pr_rx/$book=$2;$id=$1;''/eo;
-
- if (defined $bookname{$book} or defined $synonym{$book})
- {
- $book = $synonym{$book} unless defined $bookname{$book};
-
- $book = $bookname{$book};
- $book = "\\BRbooktitlestyle$OP$id$CP$book$OP$id$CP";
- $bibleverse .= $book;
- $first=1;
-
- while (s/^(-?)\(([^:]*):([^\)]*)\)//)
- {
- if ($1 eq '-')
- {
- $bibleverse .= "\\BRvrsep ";
- }
- else
- {
- $bibleverse .= ($first ? "\\BRbkchsep " : "\\BRchsep ");
- }
- $first=0;
- $id = ++$global{'max_id'};
- $bibleverse .= "\\BRchapterstyle$OP$id$CP$2$OP$id$CP" if ($2);
- $verses = $3;
- if ($verses)
- {
- $bibleverse .= "\\BRchvsep ";
- @verses = split /,/, $verses;
-
- for (my $i = 0; $i <=$#verses; $i++)
- {
- $verse = $verses[$i];
-
- $bibleverse .= "\\BRvsep " if ($i > 0);
-
- if ($verse=~m/(\d+)-(\d+)/)
- {
- $id = ++$global{'max_id'};
- $bibleverse .= "\\BRversestyle$OP$id$CP$1$OP$id$CP";
- $bibleverse .= "\\BRvrsep ";
- $id = ++$global{'max_id'};
- $bibleverse .= "\\BRversestyle$OP$id$CP$2$OP$id$CP";
- }
- else
- {
- $id = ++$global{'max_id'};
- $bibleverse .= "\\BRversestyle$OP$id$CP$verse$OP$id$CP";
- }
- }
- }
- }
-
- $bibleverse = &translate_commands($bibleverse);
- }
- else
- {
- &write_warnings("\nUnknown book '$book'");
- }
- join('', $bibleverse, $_);
-}
-
-1;
-% \end{macrocode}
-%\fi
-%\iffalse
-% \begin{macrocode}
-%
-% \end{macrocode}
-%\fi
%\Finale
\endinput
diff --git a/Master/texmf-dist/source/latex/bibleref/bibleref.ins b/Master/texmf-dist/source/latex/bibleref/bibleref.ins
index 1c4778bf014..0208bc5708a 100644
--- a/Master/texmf-dist/source/latex/bibleref/bibleref.ins
+++ b/Master/texmf-dist/source/latex/bibleref/bibleref.ins
@@ -18,7 +18,7 @@
The Current Maintainer of this work is Nicola Talbot.
- This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-multind.tex, sample-xidx.tex, sample.tex, sample.ist, bibleref.perl.
+ This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-indextools.tex, sample-xidx.tex, sample.tex, sample.ist.
\endpreamble
@@ -30,15 +30,14 @@
\usepostamble\defaultpostamble\from{bibleref.dtx}{bibleref.sty,package}}
\file{sample-categories.tex}{\usepreamble\defaultpreamble
\usepostamble\defaultpostamble\from{bibleref.dtx}{sample-categories.tex,package}}
-\file{sample-multind.tex}{\usepreamble\defaultpreamble
-\usepostamble\defaultpostamble\from{bibleref.dtx}{sample-multind.tex,package}}
+\file{sample-indextools.tex}{\usepreamble\defaultpreamble
+\usepostamble\defaultpostamble\from{bibleref.dtx}{sample-indextools.tex,package}}
\file{sample-xidx.tex}{\usepreamble\defaultpreamble
\usepostamble\defaultpostamble\from{bibleref.dtx}{sample-xidx.tex,package}}
\file{sample.tex}{\usepreamble\defaultpreamble
\usepostamble\defaultpostamble\from{bibleref.dtx}{sample.tex,package}}
\file{sample.ist}{\usepreamble\defaultpreamble
\usepostamble\defaultpostamble\from{bibleref.dtx}{sample.ist,package}}
-\file{bibleref.perl}{\nopreamble\nopostamble\from{bibleref.dtx}{bibleref.perl}}
}
\endbatchfile
diff --git a/Master/texmf-dist/source/latex/bibleref/bibleref.perl b/Master/texmf-dist/source/latex/bibleref/bibleref.perl
deleted file mode 100644
index 8a7733f4750..00000000000
--- a/Master/texmf-dist/source/latex/bibleref/bibleref.perl
+++ /dev/null
@@ -1,1738 +0,0 @@
-#!/usr/bin/perl
-# File : bibleref.perl
-# Author : Nicola L.C. Talbot
-# http://theoval.cmp.uea.ac.uk/~nlct/
-# This is a LaTeX2HTML style implementing the bibleref package, and
-# is distributed as part of that package.
-# Copyright 2007 Nicola L.C. Talbot
-# This work may be distributed and/or modified under the
-# conditions of the LaTeX Project Public License, either version 1.3
-# of this license of (at your option) any later version.
-# The latest version of this license is in
-# http://www.latex-project.org/lppl.txt
-# and version 1.3 or later is part of all distributions of LaTeX
-# version 2005/12/01 or later.
-#
-# This work has the LPPL maintenance status `maintained'.
-#
-# The Current Maintainer of this work is Nicola Talbot.
-#
-# This work consists of the files bibleref.dtx and bibleref.ins
-# and the derived files bibleref.sty, sample.tex, bibleref.perl.
-
- %bookfullname=();
-
-$synonym{'Gn'}='Gensis';
-$synonym{'Ex'}='Exodus';
-$synonym{'Lv'}='Leviticus';
-$synonym{'Nb'}='Numbers';
-$synonym{'Dt'}='Deuteronomy';
-$synonym{'Jos'}='Joshua';
-$synonym{'Jg'}='Judges';
-$synonym{'Rt'}='Ruth';
-$synonym{'IS'}='ISamuel';
-$synonym{'IIS'}='IISamuel';
-$synonym{'IK'}='IKings';
-$synonym{'IIK'}='IIKings';
-$synonym{'ICh'}='IChronicles';
-$synonym{'IICh'}='IIChronicles';
-$synonym{'Ezr'}='Ezra';
-$synonym{'Ne'}='Nehemiah';
-$synonym{'Tb'}='Tobit';
-$synonym{'Jdt'}='Judith';
-$synonym{'Est'}='Esther';
-$synonym{'IM'}='IMaccabees';
-$synonym{'IIM'}='IIMaccabees';
-$synonym{'Jb'}='Job';
-$synonym{'Ps'}='Psalms';
-$synonym{'Pr'}='Proverbs';
-$synonym{'Qo'}='Ecclesiastes';
-$synonym{'Sg'}='SongofSongs';
-$synonym{'Ws'}='Wisdom';
-$synonym{'Si'}='Ecclesiasticus';
-$synonym{'Is'}='Isaiah';
-$synonym{'Jr'}='Jeremiah';
-$synonym{'Lm'}='Lamentations';
-$synonym{'Ba'}='Baruch';
-$synonym{'Ezk'}='Ezekiel';
-$synonym{'Dn'}='Daniel';
-$synonym{'Ho'}='Hosea';
-$synonym{'Jl'}='Joel';
-$synonym{'Am'}='Amos';
-$synonym{'Ob'}='Obadiah';
-$synonym{'Jon'}='Jonah';
-$synonym{'Mi'}='Micah';
-$synonym{'Na'}='Nahum';
-$synonym{'Hab'}='Habakkuk';
-$synonym{'Zp'}='Zephaniah';
-$synonym{'Hg'}='Haggai';
-$synonym{'Zc'}='Zechariah';
-$synonym{'Ml'}='Malachi';
-$synonym{'Mt'}='Matthew';
-$synonym{'Mk'}='Mark';
-$synonym{'Lk'}='Luke';
-$synonym{'Jn'}='John';
-$synonym{'Ac'}='Acts';
-$synonym{'Rm'}='Romans';
-$synonym{'ICo'}='ICorinthians';
-$synonym{'IICo'}='IICorinthians';
-$synonym{'Ga'}='Galatians';
-$synonym{'Ep'}='Ephesians';
-$synonym{'Ph'}='Philippians';
-$synonym{'Col'}='Colossians';
-$synonym{'ITh'}='IThessalonians';
-$synonym{'IITh'}='IIThessalonians';
-$synonym{'ITm'}='ITimothy';
-$synonym{'IITm'}='IITimothy';
-$synonym{'Tt'}='Titus';
-$synonym{'Phm'}='Philemon';
-$synonym{'Heb'}='Hebrews';
-$synonym{'Jm'}='James';
-$synonym{'IP'}='IPeter';
-$synonym{'IIP'}='IIPeter';
-$synonym{'IJn'}='IJohn';
-$synonym{'IIJn'}='IIJohn';
-$synonym{'IIIJn'}='IIIJohn';
-$synonym{'Rv'}='Revelation';
-$synonym{'Gen'}='Gensis';
-$synonym{'Exod'}='Exodus';
-$synonym{'Lev'}='Leviticus';
-$synonym{'Num'}='Numbers';
-$synonym{'Deut'}='Deuteronomy';
-$synonym{'Josh'}='Joshua';
-$synonym{'Judg'}='Judges';
-$synonym{'ISam'}='ISamuel';
-$synonym{'IISam'}='IISamuel';
-$synonym{'IKgs'}='IKings';
-$synonym{'IIKgs'}='IIKings';
-$synonym{'IChr'}='IChronicles';
-$synonym{'IIChr'}='IIChronicles';
-$synonym{'Neh'}='Nehemiah';
-$synonym{'IM'}='IMaccabees';
-$synonym{'IIM'}='IIMaccabees';
-$synonym{'Ps'}='Psalms';
-$synonym{'Prov'}='Proverbs';
-$synonym{'Eccles'}='Ecclesiastes';
-$synonym{'SofS'}='SongofSongs';
-$synonym{'Wisd'}='Wisdom';
-$synonym{'Ecclus'}='Ecclesiasticus';
-$synonym{'Isa'}='Isaiah';
-$synonym{'Jer'}='Jeremiah';
-$synonym{'Lam'}='Lamentations';
-$synonym{'Ezek'}='Ezekiel';
-$synonym{'Dan'}='Daniel';
-$synonym{'Hos'}='Hosea';
-$synonym{'Obad'}='Obadiah';
-$synonym{'Mic'}='Micah';
-$synonym{'Nah'}='Nahum';
-$synonym{'Hab'}='Habakkuk';
-$synonym{'Zeph'}='Zephaniah';
-$synonym{'Hag'}='Haggai';
-$synonym{'Zech'}='Zechariah';
-$synonym{'Mal'}='Malachi';
-$synonym{'Matt'}='Matthew';
-$synonym{'Rom'}='Romans';
-$synonym{'ICor'}='ICorinthians';
-$synonym{'IICor'}='IICorinthians';
-$synonym{'Gal'}='Galatians';
-$synonym{'Eph'}='Ephesians';
-$synonym{'Phil'}='Philippians';
-$synonym{'Col'}='Colossians';
-$synonym{'IThess'}='IThessalonians';
-$synonym{'IIThess'}='IIThessalonians';
-$synonym{'ITim'}='ITimothy';
-$synonym{'IITim'}='IITimothy';
-$synonym{'Tit'}='Titus';
-$synonym{'Philem'}='Philemon';
-$synonym{'Heb'}='Hebrews';
-$synonym{'Jas'}='James';
-$synonym{'IPet'}='IPeter';
-$synonym{'IIPet'}='IIPeter';
-$synonym{'IJohn'}='IJohn';
-$synonym{'IIJohn'}='IIJohn';
-$synonym{'IIIJohn'}='IIIJohn';
-$synonym{'Rev'}='Revelation';
-
-&do_cmd_brfullname;
-
-sub do_cmd_BRbooknumberstyle{
- local($_) = @_;
- local($num);
-
- $num = &missing_braces unless
- s/$next_pair_pr_rx/$num=$2;''/eo;
-
- "$num " . $_;
-}
-
-sub do_cmd_BRepistlenumberstyle{
- local($_) = @_;
- local($num);
-
- $num = &missing_braces unless
- s/$next_pair_pr_rx/$num=$2;''/eo;
-
- "$num " . $_;
-}
-
-sub do_cmd_BRbooknumberstyleI{
- local($_)=@_;
- local($id)=++$global{'max_id'};
-
- join('',
- &translate_commands("\\BRbooknumberstyle$OP$id${CP}1$OP$id$CP"),$_);
-}
-
-sub do_cmd_BRbooknumberstyleII{
- local($_)=@_;
- local($id)=++$global{'max_id'};
-
- join('',
- &translate_commands("\\BRbooknumberstyle$OP$id${CP}2$OP$id$CP"),$_);
-}
-
-sub do_cmd_BRepistlenumberstyleI{
- local($_)=@_;
- local($id)=++$global{'max_id'};
-
- join('',
- &translate_commands("\\BRepistlenumberstyle$OP$id${CP}1$OP$id$CP"),$_);
-}
-
-sub do_cmd_BRepistlenumberstyleII{
- local($_)=@_;
- local($id)=++$global{'max_id'};
-
- join('',
- &translate_commands("\\BRepistlenumberstyle$OP$id${CP}2$OP$id$CP"),$_);
-}
-
-sub do_cmd_BRepistlenumberstyleIII{
- local($_)=@_;
- local($id)=++$global{'max_id'};
-
- join('',
- &translate_commands("\\BRepistlenumberstyle$OP$id${CP}3$OP$id$CP"),$_);
-}
-
-sub do_cmd_BRbookof{
- local($_)=@_;
-
- $_;
-}
-
-sub do_cmd_BRgospel{
- local($_)=@_;
-
- $_;
-}
-
-sub do_cmd_BRepistleto{
- local($_)=@_;
-
- $_;
-}
-
-sub do_cmd_BRepistletothe{
- local($_)=@_;
-
- $_;
-}
-
-sub do_cmd_BRepistleof{
- local($_)=@_;
-
- $_;
-}
-
-sub do_cmd_BRbooktitlestyle{
- local($_)=@_;
- local($title);
-
- $title = &missing_braces unless
- s/$next_pair_pr_rx/$title=$2;''/eo;
-
- $title . $_;
-}
-
-sub do_cmd_BRchapterstyle{
- local($_)=@_;
- local($num);
-
- $num = &missing_braces unless
- s/$next_pair_pr_rx/$num=$2;''/eo;
-
- $num . $_;
-}
-
-sub do_cmd_BRversestyle{
- local($_)=@_;
- local($num);
-
- $num = &missing_braces unless
- s/$next_pair_pr_rx/$num=$2;''/eo;
-
- $num . $_;
-}
-
-sub do_cmd_BRbkchsep{
- local($_)=@_;
-
- " " . $_;
-}
-
-sub do_cmd_BRchvsep{
- local($_)=@_;
-
- ":" . $_;
-}
-
-sub do_cmd_BRchsep{
- local($_)=@_;
-
- ';' . $_;
-}
-
-sub do_cmd_BRvrsep{
- local($_)=@_;
-
- &translate_commands("--") . $_;
-}
-
-sub do_cmd_BRvsep{
- local($_)=@_;
-
- "," . $_;
-}
-
-sub do_cmd_BRperiod{
- local($_)=@_;
- $_;
-}
-
-sub do_cmd_brfullname{
-local($_) = @_;
-$bookname{'Genesis'}='\BRbookof Genesis';
-$bookname{'Exodus'}='\BRbookof Exodus';
-$bookname{'Leviticus'}='\BRbookof Leviticus';
-$bookname{'Numbers'}='\BRbookof Numbers';
-$bookname{'Deuteronomy'}='\BRbookof Deuteronomy';
-$bookname{'Joshua'}='\BRbookof Joshua';
-$bookname{'Judges'}='\BRbookof Judges';
-$bookname{'Ruth'}='\BRbookof Ruth';
-$bookname{'ISamuel'}='\BRbooknumberstyleI \BRbookof Samuel';
-$bookname{'IISamuel'}='\BRbooknumberstyleII \BRbookof Samuel';
-$bookname{'IKings'}='\BRbooknumberstyleI \BRbookof Kings';
-$bookname{'IIKings'}='\BRbooknumberstyleII \BRbookof Kings';
-$bookname{'IChronicles'}='\BRbooknumberstyleI \BRbookof Chronicles';
-$bookname{'IIChronicles'}='\BRbooknumberstyleII \BRbookof Chronicles';
-$bookname{'Ezra'}='\BRbookof Ezra';
-$bookname{'Nehemiah'}='\BRbookof Nehemiah';
-$bookname{'Tobit'}='\BRbookof Tobit';
-$bookname{'Judith'}='\BRbookof Judith';
-$bookname{'Esther'}='\BRbookof Esther';
-$bookname{'IMaccabees'}='\BRbooknumberstyleI \BRbookof Maccabees';
-$bookname{'IIMaccabees'}='\BRbooknumberstyleII \BRbookof Maccabees';
-$bookname{'Job'}='\BRbookof Job';
-$bookname{'Psalms'}='\BRbookof Psalms';
-$bookname{'Proverbs'}='\BRbookof Proverbs';
-$bookname{'Ecclesiastes'}='\BRbookof Ecclesiastes';
-$bookname{'SongofSongs'}='\BRbookof Song of Songs';
-$bookname{'Wisdom'}='\BRbookof Wisdom';
-$bookname{'Ecclesiasticus'}='\BRbookof Ecclesiasticus';
-$bookname{'Isaiah'}='\BRbookof Isaiah';
-$bookname{'Jeremiah'}='\BRbookof Jeremiah';
-$bookname{'Lamentations'}='\BRbookof Lamentations';
-$bookname{'Baruch'}='\BRbookof Baruch';
-$bookname{'Ezekiel'}='\BRbookof Ezekiel';
-$bookname{'Daniel'}='\BRbookof Daniel';
-$bookname{'Hosea'}='\BRbookof Hosea';
-$bookname{'Joel'}='\BRbookof Joel';
-$bookname{'Amos'}='\BRbookof Amos';
-$bookname{'Obadiah'}='\BRbookof Obadiah';
-$bookname{'Jonah'}='\BRbookof Jonah';
-$bookname{'Micah'}='\BRbookof Micah';
-$bookname{'Nahum'}='\BRbookof Nahum';
-$bookname{'Habakkuk'}='\BRbookof Habakkuk';
-$bookname{'Zephaniah'}='\BRbookof Zephaniah';
-$bookname{'Haggai'}='\BRbookof Haggai';
-$bookname{'Zechariah'}='\BRbookof Zechariah';
-$bookname{'Malachi'}='\BRbookof Malachi';
-$bookname{'Matthew'}='\BRgospel Matthew';
-$bookname{'Mark'}='\BRgospel Mark';
-$bookname{'Luke'}='\BRgospel Luke';
-$bookname{'John'}='\BRgospel John';
-$bookname{'Acts'}='Acts';
-$bookname{'Romans'}='\BRepistletothe Romans';
-$bookname{'ICorinthians'}='\BRepistlenumberstyleI \BRepistletothe Corinthians';
-$bookname{'IICorinthians'}='\BRepistlenumberstyleII \BRepistletothe Corinthians';
-$bookname{'Galatians'}='\BRepistletothe Galatians';
-$bookname{'Ephesians'}='\BRepistletothe Ephesians';
-$bookname{'Philippians'}='\BRepistletothe Philippians';
-$bookname{'Colossians'}='\BRepistletothe Colossians';
-$bookname{'IThessalonians'}='\BRepistlenumberstyleI \BRepistletothe Thessalonians';
-$bookname{'IIThessalonians'}='\BRepistlenumberstyleII \BRepistletothe Thessalonians';
-$bookname{'ITimothy'}='\BRepistlenumberstyleI \BRepistleto Timothy';
-$bookname{'IITimothy'}='\BRepistlenumberstyleII \BRepistletoTimothy';
-$bookname{'Titus'}='\BRepistleto Titus';
-$bookname{'Philemon'}='\BRepistleto Philemon';
-$bookname{'Hebrews'}='\BRepistletothe Hebrews';
-$bookname{'James'}='\BRepistleof James';
-$bookname{'IPeter'}='\BRepistlenumberstyleI \BRepistleof Peter';
-$bookname{'IIPeter'}='\BRepistlenumberstyleII \BRepistleof Peter';
-$bookname{'IJohn'}='\BRepistlenumberstyleI \BRepistleof John';
-$bookname{'IIJohn'}='\BRepistlenumberstyleII \BRepistleof John';
-$bookname{'IIIJohn'}='\BRepistlenumberstyleIII \BRepistleof John';
-$bookname{'Jude'}='\BRepistleof Jude';
-$bookname{'Revelation'}='\BRbookof Revelation';
-$_;
-}
-
-sub do_cmd_brabbrvname{
-local($_)=@_;
-$bookname{'Gensis'}='Gn\BRperiod ';
-$bookname{'Exodus'}='Ex\BRperiod ';
-$bookname{'Leviticus'}='Lv\BRperiod ';
-$bookname{'Numbers'}='Nb\BRperiod ';
-$bookname{'Deuteronomy'}='Dt\BRperiod ';
-$bookname{'Joshua'}='Jos\BRperiod ';
-$bookname{'Judges'}='Jg\BRperiod ';
-$bookname{'Ruth'}='Rt\BRperiod ';
-$bookname{'ISamuel'}='\BRbooknumberstyleI S\BRperiod ';
-$bookname{'IISamuel'}='\BRbooknumberstyleII S\BRperiod ';
-$bookname{'IKings'}='\BRbooknumberstyleI K\BRperiod ';
-$bookname{'IIKings'}='\BRbooknumberstyleII K\BRperiod ';
-$bookname{'IChronicles'}='\BRbooknumberstyleI Ch\BRperiod ';
-$bookname{'IIChronicles'}='\BRbooknumberstyleII Ch\BRperiod ';
-$bookname{'Ezra'}='Ezr\BRperiod ';
-$bookname{'Nehemiah'}='Ne\BRperiod ';
-$bookname{'Tobit'}='Tb\BRperiod ';
-$bookname{'Judith'}='Jdt\BRperiod ';
-$bookname{'Esther'}='Est\BRperiod ';
-$bookname{'IMaccabees'}='\BRbooknumberstyleI M\BRperiod ';
-$bookname{'IIMaccabees'}='\BRbooknumberstyleII M\BRperiod ';
-$bookname{'Job'}='Jb\BRperiod ';
-$bookname{'Psalms'}='Ps\BRperiod ';
-$bookname{'Proverbs'}='Pr\BRperiod ';
-$bookname{'Ecclesiastes'}='Qo\BRperiod ';
-$bookname{'SongofSongs'}='Sg\BRperiod ';
-$bookname{'Wisdom'}='Ws\BRperiod ';
-$bookname{'Ecclesiasticus'}='Si\BRperiod ';
-$bookname{'Isaiah'}='Is\BRperiod ';
-$bookname{'Jeremiah'}='Jr\BRperiod ';
-$bookname{'Lamentations'}='Lm\BRperiod ';
-$bookname{'Baruch'}='Ba\BRperiod ';
-$bookname{'Ezekiel'}='Ezk\BRperiod ';
-$bookname{'Daniel'}='Dn\BRperiod ';
-$bookname{'Hosea'}='Ho\BRperiod ';
-$bookname{'Joel'}='Jl\BRperiod ';
-$bookname{'Amos'}='Am\BRperiod ';
-$bookname{'Obadiah'}='Ob\BRperiod ';
-$bookname{'Jonah'}='Jon\BRperiod ';
-$bookname{'Micah'}='Mi\BRperiod ';
-$bookname{'Nahum'}='Na\BRperiod ';
-$bookname{'Habakkuk'}='Hab\BRperiod ';
-$bookname{'Zephaniah'}='Zp\BRperiod ';
-$bookname{'Haggai'}='Hg\BRperiod ';
-$bookname{'Zechariah'}='Zc\BRperiod ';
-$bookname{'Malachi'}='Ml\BRperiod ';
-$bookname{'Matthew'}='Mt\BRperiod ';
-$bookname{'Mark'}='Mk\BRperiod ';
-$bookname{'Luke'}='Lk\BRperiod ';
-$bookname{'John'}='Jn\BRperiod ';
-$bookname{'Acts'}='Ac\BRperiod ';
-$bookname{'Romans'}='Rm\BRperiod ';
-$bookname{'ICorinthians'}='\BRepistlenumberstyleI Co\BRperiod ';
-$bookname{'IICorinthians'}='\BRepistlenumberstyleII Co\BRperiod ';
-$bookname{'Galatians'}='Ga\BRperiod ';
-$bookname{'Ephesians'}='Ep\BRperiod ';
-$bookname{'Philippians'}='Ph\BRperiod ';
-$bookname{'Colossians'}='Col\BRperiod ';
-$bookname{'IThessalonians'}='\BRepistlenumberstyleI Th\BRperiod ';
-$bookname{'IIThessalonians'}='\BRepistlenumberstyleII Th\BRperiod ';
-$bookname{'ITimothy'}='\BRepistlenumberstyleI Tm\BRperiod ';
-$bookname{'IITimothy'}='\BRepistlenumberstyleII Tm\BRperiod ';
-$bookname{'Titus'}='Tt\BRperiod ';
-$bookname{'Philemon'}='Phm\BRperiod ';
-$bookname{'Hebrews'}='Heb\BRperiod ';
-$bookname{'James'}='Jm\BRperiod ';
-$bookname{'IPeter'}='\BRepistlenumberstyleI P\BRperiod ';
-$bookname{'IIPeter'}='\BRepistlenumberstyleII P\BRperiod ';
-$bookname{'IJohn'}='\BRepistlenumberstyleI Jn\BRperiod ';
-$bookname{'IIJohn'}='\BRepistlenumberstyleII Jn\BRperiod ';
-$bookname{'IIIJohn'}='\BRepistlenumberstyleIII Jn\BRperiod ';
-$bookname{'Jude'}='Jude';
-$bookname{'Revelation'}='Rv\BRperiod ';
-$_;
-}
-
-sub do_cmd_braltabbrvname{
-local($_)=@_;
-$bookname{'Gensis'}='Gen\BRperiod ';
-$bookname{'Exodus'}='Exod\BRperiod ';
-$bookname{'Leviticus'}='Lev\BRperiod ';
-$bookname{'Numbers'}='Num\BRperiod ';
-$bookname{'Deuteronomy'}='Deut\BRperiod ';
-$bookname{'Joshua'}='Josh\BRperiod ';
-$bookname{'Judges'}='Judg\BRperiod ';
-$bookname{'Ruth'}='Ruth';
-$bookname{'ISamuel'}='\BRbooknumberstyleI Sam\BRperiod ';
-$bookname{'IISamuel'}='\BRbooknumberstyleII Sam\BRperiod ';
-$bookname{'IKings'}='\BRbooknumberstyleI Kgs\BRperiod ';
-$bookname{'IIKings'}='\BRbooknumberstyleII Kgs\BRperiod ';
-$bookname{'IChronicles'}='\BRbooknumberstyleI Chr\BRperiod ';
-$bookname{'IIChronicles'}='\BRbooknumberstyleII Chr\BRperiod ';
-$bookname{'Ezra'}='Ezra';
-$bookname{'Nehemiah'}='Neh\BRperiod ';
-$bookname{'Tobit'}='Tobit';
-$bookname{'Judith'}='Judith';
-$bookname{'Esther'}='Esther';
-$bookname{'IMaccabees'}='\BRbooknumberstyleI M\BRperiod ';
-$bookname{'IIMaccabees'}='\BRbooknumberstyleII M\BRperiod ';
-$bookname{'Job'}='Job';
-$bookname{'Psalms'}='Ps\BRperiod ';
-$bookname{'Proverbs'}='Prov\BRperiod ';
-$bookname{'Ecclesiastes'}='Eccles\BRperiod ';
-$bookname{'SongofSongs'}='S\BRperiod \ of S\BRperiod ';
-$bookname{'Wisdom'}='Wisd\BRperiod ';
-$bookname{'Ecclesiasticus'}='Ecclus\BRperiod ';
-$bookname{'Isaiah'}='Isa\BRperiod ';
-$bookname{'Jeremiah'}='Jer\BRperiod ';
-$bookname{'Lamentations'}='Lam\BRperiod ';
-$bookname{'Baruch'}='Baruch';
-$bookname{'Ezekiel'}='Ezek\BRperiod ';
-$bookname{'Daniel'}='Dan\BRperiod ';
-$bookname{'Hosea'}='Hos\BRperiod ';
-$bookname{'Joel'}='Joel';
-$bookname{'Amos'}='Amos';
-$bookname{'Obadiah'}='Obad';
-$bookname{'Jonah'}='Jonah';
-$bookname{'Micah'}='Mic\BRperiod ';
-$bookname{'Nahum'}='Nah\BRperiod ';
-$bookname{'Habakkuk'}='Hab\BRperiod ';
-$bookname{'Zephaniah'}='Zeph\BRperiod ';
-$bookname{'Haggai'}='Hag\BRperiod ';
-$bookname{'Zechariah'}='Zech\BRperiod ';
-$bookname{'Malachi'}='Mal\BRperiod ';
-$bookname{'Matthew'}='Matt\BRperiod ';
-$bookname{'Mark'}='Mark';
-$bookname{'Luke'}='Luke';
-$bookname{'John'}='John';
-$bookname{'Acts'}='Acts';
-$bookname{'Romans'}='Rom\BRperiod ';
-$bookname{'ICorinthians'}='\BRepistlenumberstyleI Cor\BRperiod ';
-$bookname{'IICorinthians'}='\BRepistlenumberstyleII Cor\BRperiod ';
-$bookname{'Galatians'}='Gal\BRperiod ';
-$bookname{'Ephesians'}='Eph\BRperiod ';
-$bookname{'Philippians'}='Phil\BRperiod ';
-$bookname{'Colossians'}='Col\BRperiod ';
-$bookname{'IThessalonians'}='\BRepistlenumberstyleI Thess\BRperiod ';
-$bookname{'IIThessalonians'}='\BRepistlenumberstyleII Thess\BRperiod ';
-$bookname{'ITimothy'}='\BRepistlenumberstyleI Tim\BRperiod ';
-$bookname{'IITimothy'}='\BRepistlenumberstyleII Tim\BRperiod ';
-$bookname{'Titus'}='Tit\BRperiod ';
-$bookname{'Philemon'}='Philem\BRperiod ';
-$bookname{'Hebrews'}='Heb\BRperiod ';
-$bookname{'James'}='Jas\BRperiod ';
-$bookname{'IPeter'}='\BRepistlenumberstyleI Pet\BRperiod ';
-$bookname{'IIPeter'}='\BRepistlenumberstyleII Pet\BRperiod ';
-$bookname{'IJohn'}='\BRepistlenumberstyleI John';
-$bookname{'IIJohn'}='\BRepistlenumberstyleII John';
-$bookname{'IIIJohn'}='\BRepistlenumberstyleIII John';
-$bookname{'Jude'}='Jude';
-$bookname{'Revelation'}='Rev\BRperiod ';
-$_;
-}
-
-sub brs_default{
- local($tmp)='';
- &do_cmd_brfullname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' "$num " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' "$num " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ":" . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' \';\' . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
-}
-
-sub brs_jerusalem{
- local($tmp)='';
- &do_cmd_brabbrvname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' "$num " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' "$num " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ":" . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' \'; \' . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
-}
-
-sub brs_anglosaxon{
- local($tmp)='';
- &do_cmd_braltabbrvname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", &fRoman($num), $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", &fRoman($num), $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "." . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' \'; \' . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ".$_";';
- $tmp .= '}';
-}
-
-sub brs_JEH{
- local($tmp)='';
- &do_cmd_braltabbrvname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' &froman($num) . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", ".", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' \'; \' . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ".$_";';
- $tmp .= '}';
-}
-
-sub brs_MHRA{
- local($tmp)='';
- &do_cmd_brfullname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num,$id);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;$id=$1;\'\'/eo;';
- $tmp .= ' $num = &froman($num);';
- $tmp .= ' $num = &translate_commands("\\\\textsc${OP}$id${CP}$num${OP}$id${CP}");';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num,$id);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;$id=$1;\'\'/eo;';
- $tmp .= ' $num = &froman($num);';
- $tmp .= ' $num = &translate_commands("\\\\textsc${OP}$id${CP}$num${OP}$id${CP}");';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' &froman($num) . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", ".", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "; " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
-}
-
-sub brs_NTG{
- local($tmp)='';
- &do_cmd_braltabbrvname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' &froman($num) . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join("", ",", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "; " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
-}
-
-sub brs_MLA{
- local($tmp)='';
- &do_cmd_braltabbrvname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' &froman($num) . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join("", ".", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "; " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ".$_";';
- $tmp .= '}';
-}
-
-sub brs_chicago{
- local($tmp)='';
- &do_cmd_braltabbrvname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' join(" ", $num, $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' &froman($num) . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;\'\'/eo;';
- $tmp .= ' $num . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join("", ":", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "; " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' &translate_commands("--") . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' "," . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ".$_";';
- $tmp .= '}';
-}
-
-sub brs_long{
- local($tmp)='';
- &do_cmd_brfullname;
-
- $tmp .= 'sub do_cmd_BRbooknumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num,$id);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;$id=$1;\'\'/eo;';
- $tmp .= ' "\\Ordinalstringnum$OP$id$CP$num$OP$id$CP " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistlenumberstyle{';
- $tmp .= ' local($_) = @_;';
- $tmp .= ' local($num,$id);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;$id=$1;\'\'/eo;';
- $tmp .= ' "\\Ordinalstringnum$OP$id$CP$num$OP$id$CP " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbookof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", "Book of",$_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRgospel{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", "Gospel according to St",$_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleto{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", "Epistle to",$_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistletothe{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", "Epistle to the", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRepistleof{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' join(" ", "Epistle of",$_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbooktitlestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($title);';
- $tmp .= ' $title = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$title=$2;\'\'/eo;';
- $tmp .= ' $title . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchapterstyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num,$id);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;$id=$1;\'\'/eo;';
- $tmp .= ' join(" ", "chapter \\numberstring$OP$id$CP$num$OP$id$CP", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRversestyle{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' local($num,$id);';
- $tmp .= ' $num = &missing_braces unless';
- $tmp .= ' s/$next_pair_pr_rx/$num=$2;$id=$1;\'\'/eo;';
- $tmp .= ' join(" ", "chapter \\numberstring$OP$id$CP$num$OP$id$CP", $_);';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRbkchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ", " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " verse " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRchsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' \', \' . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvrsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' " to " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRvsep{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' ", " . $_;';
- $tmp .= '}';
- eval($tmp);
- $tmp='';
- $tmp .= 'sub do_cmd_BRperiod{';
- $tmp .= ' local($_)=@_;';
- $tmp .= ' $_;';
- $tmp .= '}';
-}
-
-sub do_bibleref_default{
- &brs_default;
-}
-
-sub do_bibleref_jerusalem{
- &brs_jerusalem;
-}
-
-sub do_bibleref_anglosaxon{
- &brs_anglosaxon;
-}
-
-sub do_bibleref_JEH{
- &brs_JEH;
-}
-
-sub do_bibleref_MHRA{
- &brs_MHRA;
-}
-
-sub do_bibleref_NTG{
- &brs_NTG;
-}
-
-sub do_bibleref_MLA{
- &brs_MLA;
-}
-
-sub do_bibleref_chicago{
- &brs_chicago;
-}
-
-sub do_bibleref_text{
- &brs_chicago;
-}
-
-sub do_cmd_newbiblerefstyle{
- local($_)=@_;
- local($style,$cmds);
- $style = &missing_braces unless
- s/$next_pair_pr_rx/$style=$2;''/eo;
-
- &write_warnings("\n\\newbiblerefstyle not implemented");
-
- $_;
-}
-
-sub do_cmd_setbooktitle{
- local($_)=@_;
- local($name,$title);
-
- $name = &missing_braces unless
- s/$next_pair_pr_rx/$name=$2;''/eo;
- $title = &missing_braces unless
- s/$next_pair_pr_rx/$title=$2;''/eo;
-
- if (defined $bookname{$name})
- {
- $bookname{$name}=$title;
- }
- else
- {
- &write_warnings("\nUnknown book '$name'");
- }
-
- $_;
-}
-
-sub do_cmd_biblerefstyle{
- local($_)=@_;
- local($style);
- $style = &missing_braces unless
- s/$next_pair_pr_rx/$style=$2;''/eo;
-
- if (defined "&brs_$style")
- {
- eval("&brs_$style");
- }
- else
- {
- &write_warnings("\nUnknown biblerefstyle '$style'");
- }
- $_;
-}
-
-sub do_cmd_bibleverse{
- local($_)=@_;
- local($book,$id);
- local($bibleverse)='';
- $book = &missing_braces unless
- s/$next_pair_pr_rx/$book=$2;$id=$1;''/eo;
-
- if (defined $bookname{$book} or defined $synonym{$book})
- {
- $book = $synonym{$book} unless defined $bookname{$book};
-
- $book = $bookname{$book};
- $book = "\\BRbooktitlestyle$OP$id$CP$book$OP$id$CP";
- $bibleverse .= $book;
- $first=1;
-
- while (s/^(-?)\(([^:]*):([^\)]*)\)//)
- {
- if ($1 eq '-')
- {
- $bibleverse .= "\\BRvrsep ";
- }
- else
- {
- $bibleverse .= ($first ? "\\BRbkchsep " : "\\BRchsep ");
- }
- $first=0;
- $id = ++$global{'max_id'};
- $bibleverse .= "\\BRchapterstyle$OP$id$CP$2$OP$id$CP" if ($2);
- $verses = $3;
- if ($verses)
- {
- $bibleverse .= "\\BRchvsep ";
- @verses = split /,/, $verses;
-
- for (my $i = 0; $i <=$#verses; $i++)
- {
- $verse = $verses[$i];
-
- $bibleverse .= "\\BRvsep " if ($i > 0);
-
- if ($verse=~m/(\d+)-(\d+)/)
- {
- $id = ++$global{'max_id'};
- $bibleverse .= "\\BRversestyle$OP$id$CP$1$OP$id$CP";
- $bibleverse .= "\\BRvrsep ";
- $id = ++$global{'max_id'};
- $bibleverse .= "\\BRversestyle$OP$id$CP$2$OP$id$CP";
- }
- else
- {
- $id = ++$global{'max_id'};
- $bibleverse .= "\\BRversestyle$OP$id$CP$verse$OP$id$CP";
- }
- }
- }
- }
-
- $bibleverse = &translate_commands($bibleverse);
- }
- else
- {
- &write_warnings("\nUnknown book '$book'");
- }
- join('', $bibleverse, $_);
-}
-
-1;
diff --git a/Master/texmf-dist/tex/latex/bibleref/bibleref-xidx.sty b/Master/texmf-dist/tex/latex/bibleref/bibleref-xidx.sty
new file mode 100644
index 00000000000..01755c677b8
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bibleref/bibleref-xidx.sty
@@ -0,0 +1,283 @@
+%%
+%% This is file `bibleref-xidx.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bibleref.dtx (with options: `bibleref-xidx.sty,package')
+%%
+%% bibleref.dtx
+%% Copyright 2011 Nicola Talbot
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license of (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Nicola Talbot.
+%%
+%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-indextools.tex, sample-xidx.tex, sample.tex, sample.ist.
+%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{bibleref-xidx}[2011/01/19 v1.0 (NLCT) Extended indexing support for bibleref]
+\newif\if@br@indexchapters
+\@br@indexchapterstrue
+\newif\if@br@indexverses
+\@br@indexversestrue
+\DeclareOption{verses}{\@br@indexchapterstrue\@br@indexversestrue}
+\DeclareOption{noverses}{\@br@indexversesfalse}
+\DeclareOption{chapters}{\@br@indexchaptersfalse}
+\DeclareOption{nochapters}{\@br@indexchaptersfalse\@br@indexversesfalse}
+\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{bibleref}}
+\ProcessOptions
+\RequirePackage{bibleref}
+\def\@bibleverse(#1:{%
+ \def\@bv@chidxsort{}%
+ \def\@bv@chidxentry{}%
+ \@br@chsty{#1}%
+ \@@bibleverse
+}
+\def\@bibleverser-(#1:{%
+ \def\@bv@chidxsort{}%
+ \def\@bv@chidxentry{}%
+ \@br@chsty{#1}%
+ \@@bibleverse
+}
+\def\@@bibleverse#1){%
+ \def\@bv@tmp{#1}%
+ \ifx\@bv@tmp\@empty
+ \@bvx@dochindex
+ \else
+ \BRchvsep
+ \@br@vrsty{#1}%
+ \fi
+ \new@ifnextchar(%
+ {\BRchsep\@bibleverse}%
+ {\new@ifnextchar-%
+ {\protect\BRvrsep\@bibleverser}%
+ {\@end@@bibleverse}%
+ }%
+}
+\newcommand*{\@brx@dochsep}{%
+ \@bvx@chdo{\protect\BRvsep}%
+}
+\renewcommand*{\@br@chsty}[1]{%
+ \let\@brx@chsep\@empty
+ \@for\@brx@thisch:=#1\do{%
+ \@bvx@dochindex
+ \@brx@chsep
+ \expandafter\@@br@chsty\@brx@thisch-\@nil\end
+ \let\@brx@chsep\@brx@dochsep
+ }%
+}
+\newcommand*{\@brx@dovssep}{%
+ \@bvx@vsdo{\protect\BRvsep}%
+}
+\renewcommand*{\@br@vrsty}[1]{%
+ \let\@brx@vssep\@empty
+ \@for\@brx@thisvs:=#1\do{%
+ \def\@bv@vsidxentry{}%
+ \def\@bv@vsidxsort{}%
+ \@brx@vssep
+ \expandafter\@@br@vrsty\@brx@thisvs-\@nil\end
+ \let\@brx@vssep\@brx@dovssep
+ \@bvx@dovsindex
+ }%
+}
+\def\@@br@vrsty#1-#2\end{%
+ \ifx\@nil#2\relax
+ \@do@verse{#1}%
+ \else
+ \@do@verserange{#1}#2%
+ \fi
+}
+\renewcommand{\@do@verse}[1]{%
+ \@nodo@verse{#1}%
+ \expandafter\@bvx@vsdo\expandafter{\@br@tmp}%
+ \@bv@addtovsidxsort{-000}%
+}
+\def\@@br@chsty#1-#2\end{%
+ \ifx\@nil#2\relax
+ \@do@chapter{#1}%
+ \else
+ \@do@chapterrange{#1}#2%
+ \fi
+}
+\newcommand{\@do@chapter}[1]{%
+ \@nodo@chapter{#1}%
+ \@bvx@chdo{\protect\BRchapterstyle{#1}}%
+ \@bv@addtochidxsort{-000}%
+}
+\renewcommand*{\@nodo@chapter}[1]{%
+ \ifnum0#1<10\relax
+ \@bv@setchidxsort{00#1}%
+ \else
+ \ifnum0#1<100\relax
+ \@bv@setchidxsort{0#1}%
+ \else
+ \@bv@setchidxsort{#1}%
+ \fi
+ \fi
+}
+\def\@do@chapterrange#1#2-\@nil{%
+ \@nodo@chapter{#1}%
+ \@bvx@chdo{\protect\BRchapterstyle{#1}}%
+ \@bv@addtochidxsort{-}%
+ \@bvx@chadddo{\protect\BRvrsep}%
+ \@nodo@chapter{#2}%
+ \@bvx@chadddo{\protect\BRchapterstyle{#2}}%
+}
+\renewcommand*{\@nodo@verse}[1]{%
+ \br@stripverse{#1}%
+ \ifnum\@br@versenum<10\relax
+ \@bv@addtovsidxsort{00#1}%
+ \else
+ \ifnum\@br@versenum<100\relax
+ \@bv@addtovsidxsort{0#1}%
+ \else
+ \@bv@addtovsidxsort{#1}%
+ \fi
+ \fi
+ \ifx\@br@versesuffix\@empty
+ \protected@edef\@br@tmp{%
+ \protect\BRversestyle{\@br@versenum}%
+ }%
+ \else
+ \protected@edef\@br@tmp{%
+ \protect\BRversestyle{\@br@versenum}%
+ \protect\BRversesuffixstyle{\@br@versesuffix}%
+ }%
+ \fi
+}
+\def\@do@verserange#1#2-\@nil{%
+ \@nodo@verse{#1}%
+ \expandafter\@bvx@vsdo\expandafter{\@br@tmp}%
+ \@bv@addtovsidxsort{-}%
+ \@bvx@vsadddo{\protect\BRvrsep}%
+ \@nodo@verse{#2}%
+ \expandafter\@bvx@vsadddo\expandafter{\@br@tmp}%
+}
+\newcommand*{\@bv@setvsidxsort}[1]{%
+\if@bv@idx
+ \protected@edef\@bv@vsidxsort{#1}%
+\fi
+}
+\newcommand*{\@bv@addtovsidxsort}[1]{%
+\if@bv@idx
+ \@bv@tmpa={#1}%
+ \@bv@tmpb=\expandafter{\@bv@vsidxsort}%
+ \protected@edef\@bv@vsidxsort{\the\@bv@tmpb\the\@bv@tmpa}%
+\fi
+}
+\newcommand*{\@bv@setvsidx}[1]{%
+\if@bv@idx
+ \def\@bv@vsidxentry{#1}%
+\fi
+}
+\newcommand*{\@bv@addtovsidx}[1]{%
+\if@bv@idx
+ \@bv@tmpa={#1}%
+ \@bv@tmpb=\expandafter{\@bv@vsidxentry}%
+ \protected@edef\@bv@vsidxentry{\the\@bv@tmpb\the\@bv@tmpa}%
+\fi
+}
+\newcommand*{\@bv@setchidx}[1]{%
+\if@bv@idx
+ \def\@bv@chidxentry{#1}%
+\fi
+}
+\newcommand*{\@bv@addtochidx}[1]{%
+\if@bv@idx
+ \@bv@tmpa={#1}%
+ \@bv@tmpb=\expandafter{\@bv@chidxentry}%
+ \protected@edef\@bv@chidxentry{\the\@bv@tmpb\the\@bv@tmpa}%
+\fi
+}
+\newcommand*{\@bv@setchidxsort}[1]{%
+\if@bv@idx
+ \protected@edef\@bv@chidxsort{#1}%
+\fi
+}
+\newcommand*{\@bvx@chdo}[1]{#1\@bv@setchidx{#1}}
+\newcommand*{\@bvx@vsdo}[1]{#1\@bv@setvsidx{#1}}
+\newcommand*{\@bvx@chadddo}[1]{#1\@bv@addtochidx{#1}}
+\newcommand*{\@bvx@vsadddo}[1]{#1\@bv@addtovsidx{#1}}
+\let\@bv@org@bible@verse\@bible@verse
+\renewcommand*{\@bible@verse}{%
+ \def\@bv@chidxentry{}%
+ \@bv@org@bible@verse
+}
+\renewcommand*{\@end@@bibleverse}{%
+ \ifx\@bv@chidxentry\@empty
+ \@bvx@dobkindex
+ \else
+ \if@br@indexchapters
+ \else
+ \@bvx@dobkindex
+ \fi
+ \fi
+ \@bv@idxfalse
+ \@bv@restore
+}
+\newcommand*{\@bvx@dochindex}{%
+\if@br@indexchapters
+ \ifx\@bv@chidxentry\@empty
+ \else
+ \if@bv@idx
+ \expandafter\@do@bibleref@map\@@bv@idxsort\relax
+ \@do@biblerefindex
+ {\@@bv@idxsort\relax @\@bv@mainidxentry
+ !\@bv@chidxsort @\@bv@chidxentry
+ |\@bv@idxpgformat}%
+ \fi
+ \fi
+\fi
+}
+\newcommand*{\@bvx@dovsindex}{%
+\if@br@indexverses
+ \ifx\@bv@vsidxentry\@empty
+ \else
+ \if@bv@idx
+ \expandafter\@do@bibleref@map\@@bv@idxsort\relax
+ \@do@biblerefindex
+ {\@@bv@idxsort\relax @\@bv@mainidxentry
+ !\@bv@chidxsort @\@bv@chidxentry
+ !\@bv@vsidxsort @\@bv@vsidxentry
+ |\@bv@idxpgformat}%
+ \fi
+ \fi
+\else
+ \@bvx@dochindex
+\fi
+}
+
+\newcommand*{\@bvx@dobkindex}{%
+ \if@bv@idx
+ \expandafter\@do@bibleref@map\@@bv@idxsort\relax
+ \@do@biblerefindex
+ {\@@bv@idxsort\relax @\@bv@mainidxentry|\@bv@idxpgformat}%
+ \fi
+}
+\endinput
+%%
+%% End of file `bibleref-xidx.sty'.
diff --git a/Master/texmf-dist/tex/latex/bibleref/bibleref.sty b/Master/texmf-dist/tex/latex/bibleref/bibleref.sty
index 9a60b44749a..d0650b859ca 100644
--- a/Master/texmf-dist/tex/latex/bibleref/bibleref.sty
+++ b/Master/texmf-dist/tex/latex/bibleref/bibleref.sty
@@ -21,7 +21,7 @@
%%
%% The Current Maintainer of this work is Nicola Talbot.
%%
-%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-multind.tex, sample-xidx.tex, sample.tex, sample.ist, bibleref.perl.
+%% This work consists of the files bibleref.dtx and bibleref.ins and the derived files bibleref-xidx.sty, bibleref.sty, sample-categories.tex, sample-indextools.tex, sample-xidx.tex, sample.tex, sample.ist.
%%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -39,7 +39,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bibleref}[2011/01/19 1.14 (NLCT)]
+\ProvidesPackage{bibleref}[2016/09/10 1.15 (NLCT and MR)]
\RequirePackage{ifthen}
\RequirePackage{fmtcount}
\RequirePackage{amsgen}
@@ -830,8 +830,14 @@ defined}{}}}
{\@end@@bibleverse}%
}
\def\@bibleverse(#1:{%
- \@br@chsty{#1}%
- \@@bibleverse
+ \def\@bv@tmp{#1}%
+ \ifx\@bv@tmp\@empty
+ \def\@bv@bvmacro{\@@bibleversenosep}%
+ \else
+ \@br@chsty{#1}%
+ \def\@bv@bvmacro{\@@bibleverse}%
+ \fi
+ \@bv@bvmacro
}
\def\@bibleverser-(#1:{%
\def\@bv@tmp{#1}%
@@ -863,6 +869,19 @@ defined}{}}}
{\@end@@bibleverse}%
}%
}
+\def\@@bibleversenosep#1){%
+ \def\@bv@tmp{#1}%
+ \ifx\@bv@tmp\@empty
+ \else
+ \@br@vrsty{#1}%
+ \fi
+ \new@ifnextchar(%
+ {\@bv@do{\protect\BRchsep}\@bibleverse}%
+ {\new@ifnextchar-%
+ {\@bv@do{\protect\BRvrsep}\@bibleverser}%
+ {\@end@@bibleverse}%
+ }%
+}
\newcommand*{\@end@@bibleverse}{%
\if@bv@idx
\expandafter\@do@bibleref@map\@@bv@idxsort\relax
--
cgit v1.2.3