summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bibleref
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2007-11-16 10:31:42 +0000
committerNorbert Preining <preining@logic.at>2007-11-16 10:31:42 +0000
commitae2de180caf254f4bf858f2eaead6f19f19f0093 (patch)
treee886beb741084518dbdac7803986cee6ea7ad23f /Master/texmf-dist/doc/latex/bibleref
parentbc5f7832361ad6f48e2053a7b124ffd3176446cd (diff)
bibleref 1.7 from CTAN, fix ctan2tds for bibleref
git-svn-id: svn://tug.org/texlive/trunk@5436 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bibleref')
-rw-r--r--Master/texmf-dist/doc/latex/bibleref/README4
-rw-r--r--Master/texmf-dist/doc/latex/bibleref/bibleref-manual.html272
-rw-r--r--Master/texmf-dist/doc/latex/bibleref/bibleref.pdfbin92133 -> 109982 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bibleref/bibleref.perl1738
-rw-r--r--Master/texmf-dist/doc/latex/bibleref/sample.pdfbin63975 -> 64068 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bibleref/sample.tex24
6 files changed, 2030 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/bibleref/README b/Master/texmf-dist/doc/latex/bibleref/README
index 6975d98a29b..724ebc2f068 100644
--- a/Master/texmf-dist/doc/latex/bibleref/README
+++ b/Master/texmf-dist/doc/latex/bibleref/README
@@ -1,6 +1,6 @@
-LaTeX Class File : bibleref v 1.06
+LaTeX Class File : bibleref v 1.07
-Last Modified : 30 July 2006
+Last Modified : 19 Aug 2007
Author : Nicola Talbot
diff --git a/Master/texmf-dist/doc/latex/bibleref/bibleref-manual.html b/Master/texmf-dist/doc/latex/bibleref/bibleref-manual.html
new file mode 100644
index 00000000000..1d1faa3a794
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bibleref/bibleref-manual.html
@@ -0,0 +1,272 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+
+<!--Converted with LaTeX2HTML 2002 (1.67)
+original version by: Nikos Drakos, CBLU, University of Leeds
+* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
+* with significant contributions from:
+ Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
+<HTML>
+<HEAD>
+<TITLE>bibleref.sty v1.07: a LATEX2e package for typesetting bible references</TITLE>
+<META NAME="description" CONTENT="bibleref.sty v1.07: a LATEX2e package for typesetting bible references">
+<META NAME="keywords" CONTENT="manual">
+<META NAME="resource-type" CONTENT="document">
+<META NAME="distribution" CONTENT="global">
+
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
+<META NAME="Generator" CONTENT="LaTeX2HTML v2002">
+<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
+
+
+</HEAD>
+
+<BODY >
+
+<H1 ALIGN="CENTER">bibleref.sty v1.07: a L<SUP><SMALL>A</SMALL></SUP>T<SMALL>E</SMALL>X2<SUB>e</SUB> package for
+typesetting bible references</H1>
+<P ALIGN="CENTER"><STRONG>Nicola Talbot
+<BR>
+<BR>
+School of Computing Sciences
+<BR>
+University of East Anglia
+<BR>
+Norwich. Norfolk. NR4 7TJ.
+<BR>
+United Kingdom
+<BR><TT><A NAME="tex2html1"
+ HREF="http://theoval.cmp.uea.ac.uk/~nlct/">http://theoval.cmp.uea.ac.uk/~nlct/</A></TT></STRONG></P>
+<P ALIGN="CENTER"><STRONG>20 Aug 2007</STRONG></P>
+<BR>
+
+<H2><A NAME="SECTION00010000000000000000">
+Contents</A>
+</H2>
+<!--Table of Contents-->
+
+<UL>
+<LI><A NAME="tex2html8"
+ HREF="manual.html#SECTION00020000000000000000">Introduction</A>
+<LI><A NAME="tex2html9"
+ HREF="manual.html#SECTION00030000000000000000">Defining New Styles</A>
+<LI><A NAME="tex2html10"
+ HREF="manual.html#SECTION00040000000000000000">Indexing Bible References</A>
+<LI><A NAME="tex2html11"
+ HREF="manual.html#SECTION00050000000000000000">Acknowledgements</A>
+</UL>
+<!--End of Table of Contents-->
+<P>
+
+<H1><A NAME="SECTION00020000000000000000">
+Introduction</A>
+</H1>
+
+<P>
+The <TT>bibleref</TT> package was designed to provide consistent formatting for referencing
+parts of the bible.
+
+<P>
+
+<P>
+<TT>&#092;bibleverse{</TT><EM>book title</EM><TT>}({</TT><EM>chapter</EM><TT>}:</TT><I>verse(s)</I><TT>)</TT>
+<P>
+This command can be used to cite a bible book, chapter or verse
+or range of chapters or verses.
+
+<P>
+The book title, <I>book title</I>, may be given either as the
+full title (e.g. <TT>Matthew</TT>) or as an abbreviation (e.g. <TT>Mt</TT> or <TT>Matt</TT>), most standard abbreviations are
+recognised. Books with multiple parts should be preceeded by the
+book number in uppercase roman numerals. For example, the second
+book of Kings should be entered as <code>\bibleverse{IIKings}</code>
+
+<P>
+You may have any number, or zero, sets of parenthesis
+<code>(</code><I>chapter</I><TT>:</TT><I>verse(s)</I><code>)</code>,
+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. <code>2-4</code>. In the typeset output the verses will
+be separated with <TT>&#092;BRvsep</TT> (an en-dash
+by default.) A chapter may be referenced without a verse, but the
+colon must remain, e.g. <code>(12:)</code> simply indicates chapter
+12.
+
+<P>
+A range of verses spanning more than one chapter can
+be entered as <TT>(</TT><I>ch</I><TT>:</TT><I>v</I><TT>)-(</TT><I>ch</I><TT>:</TT><I>v</I><TT>)</TT>
+
+<P>
+Examples:
+<DIV ALIGN="CENTER">
+<TABLE CELLPADDING=3>
+<TR><TD ALIGN="LEFT"><code>\bibleverse{Ex}</code></TD>
+<TD ALIGN="LEFT">Exodus</TD>
+</TR>
+<TR><TD ALIGN="LEFT"><code>\bibleverse{Exodus}(20:)</code></TD>
+<TD ALIGN="LEFT">Exodus 20</TD>
+</TR>
+<TR><TD ALIGN="LEFT"><code>\bibleverse{Exod}(20:17)</code></TD>
+<TD ALIGN="LEFT">Exodus 20:17</TD>
+</TR>
+<TR><TD ALIGN="LEFT"><code>\bibleverse{IICo}(12:21)</code></TD>
+<TD ALIGN="LEFT">2 Corinthians 12:21</TD>
+</TR>
+<TR><TD ALIGN="LEFT"><code>\bibleverse{IICor}(12:21-32)</code></TD>
+<TD ALIGN="LEFT">2 Corinthians 12:21-32</TD>
+</TR>
+<TR><TD ALIGN="LEFT"><code>\bibleverse{Ex}(20:17)(21:3)</code></TD>
+<TD ALIGN="LEFT">Exodus 20:17;21:3</TD>
+</TR>
+<TR><TD ALIGN="LEFT"><code>\bibleverse{Ex}(15:)(17:)(20:)</code></TD>
+<TD ALIGN="LEFT">Exodus 15;17;20</TD>
+</TR>
+<TR><TD ALIGN="LEFT"><code>\bibleverse{Rev}(1:2,5,7-9,11)</code></TD>
+<TD ALIGN="LEFT">Revelation 1:2,5,7-9,11</TD>
+</TR>
+<TR><TD ALIGN="LEFT"><code>\bibleverse{IChronicles}(1:3)-(2:7)</code></TD>
+<TD ALIGN="LEFT">1 Chronicles 1:3-2:7</TD>
+</TR>
+</TABLE>
+</DIV>
+
+<P>
+The style of the reference can be specified either by
+package option or as the argument to the command
+
+<P>
+<TT>&#092;biblerefstyle{</TT><EM>style</EM><TT>}</TT>
+<P>
+Styles are listed in Table&nbsp;<A HREF="manual.html#tab:styles">1</A>.
+
+<P>
+<BR><P></P>
+<DIV ALIGN="CENTER">
+
+<A NAME="tab:styles"></A>
+<BR>
+<BR>
+<DIV ALIGN="CENTER">
+<A NAME="172"></A>
+<TABLE CELLPADDING=3>
+<CAPTION><STRONG>Table 1:</STRONG>
+Bible Citation Styles (can be used as package option or in the argument to
+<TT>&#092;biblerefstyle</TT>)</CAPTION>
+<TR><TH ALIGN="LEFT"><B>Style </B></TH>
+<TH ALIGN="LEFT" VALIGN="TOP" WIDTH=250><B>Example</B></TH>
+</TR>
+<TR><TD ALIGN="LEFT">default</TD>
+<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=250>2 Corinthians 12:1-5</TD>
+</TR>
+<TR><TD ALIGN="LEFT">jerusalem</TD>
+<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=250>2 Co 12:1-5</TD>
+</TR>
+<TR><TD ALIGN="LEFT">anglosaxon</TD>
+<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=250>II Cor 12.1-5</TD>
+</TR>
+<TR><TD ALIGN="LEFT">JEH</TD>
+<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=250>2 Cor xii. 1-5</TD>
+</TR>
+<TR><TD ALIGN="LEFT">NTG</TD>
+<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=250>2 Cor xii,1-5</TD>
+</TR>
+<TR><TD ALIGN="LEFT">MLA</TD>
+<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=250>2 Cor xii.1-5</TD>
+</TR>
+<TR><TD ALIGN="LEFT">chicago</TD>
+<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=250>2 Cor xii:1-5</TD>
+</TR>
+<TR><TD ALIGN="LEFT">text</TD>
+<TD ALIGN="LEFT" VALIGN="TOP" WIDTH=250>2 Cor xii:1-5</TD>
+</TR>
+</TABLE>
+</DIV>
+</DIV>
+<BR>
+
+<P>
+You can change the name of a book using
+
+<P>
+<TT>&#092;setbooktitle{</TT><EM>name</EM><TT>}{</TT><EM>new title</EM><TT>}</TT>
+<P>
+Note that <I>name</I> must be the full name, not the
+abbreviated name of the book. For example, to change
+Revelation to Apoc, do
+<code>\setbookname{Revelation}{Apoc}</code>
+(<B>Note</B> that you shouldn't do
+<code>\setbookname{Rev}{Apoc}</code>)
+
+<P>
+
+<H1><A NAME="SECTION00030000000000000000">
+Defining New Styles</A>
+</H1>
+
+<P>
+You can define a new style using the command
+
+<P>
+<TT>&#092;newbiblerefstyle{</TT><EM>style-name</EM><TT>}{</TT><EM>commands</EM><TT>}</TT>
+<P>
+where <I>commands</I> are
+the commands needed to modify the citation style.
+
+<P>
+Example:
+This new style is based on the `default' style, but
+has verses in lower case Roman numerals, and redefines
+``Revelation'' as ``Apocalypse''.
+<PRE>
+\newbiblerefstyle{sample}{%
+\biblerefstyle{default}%
+\renewcommand{\BRversestyle}[1]{\romannumeral##1}%
+\setbooktitle{Revelation}{Apocalypse}%
+}
+</PRE>
+Note the use of <code>##1</code> instead of <code>#1</code>.
+
+<P>
+
+<H1><A NAME="SECTION00040000000000000000">
+Indexing Bible References</A>
+</H1>
+
+<P>
+
+<P>
+<TT>&#092;ibibleverse{</TT><EM>book title</EM><TT>}({</TT><EM>chapter</EM><TT>}:</TT><I>verse(s)</I><TT>)</TT>
+<P>
+This does the same as <TT>&#092;bibleverse</TT>
+but also adds an index entry (provided you have used
+<TT>&#092;makeindex</TT> in the preamble.) The default page number
+format is given by the command
+<TT>&#092;bvidxpgformat</TT>. This
+is <TT>textrm</TT> by default, but can be redefined. To
+override the page number format for a particular entry you can
+use the optional argument to <TT>&#092;ibibleverse</TT>. For example:
+<PRE>
+\ibibleverse[textit]{Exodus}
+</PRE>
+(Note there is no backslash.)
+
+<P>
+
+<H1><A NAME="SECTION00050000000000000000">
+Acknowledgements</A>
+</H1>
+Many thanks to all the useful comments from comp.text.tex,
+especially from Jesse&nbsp;Billett, Brooks&nbsp;Moses and Ulrich&nbsp;M.&nbsp;Schwarz.
+
+<P>
+
+<P>
+<BR><HR>
+<ADDRESS>
+<A href=http://theoval.cmp.uea.ac.uk/~nlct/>Nicola L. C. Talbot</A>.
+<A HREF=http://www.cmp.uea.ac.uk/>School of Computing Sciences</A>.
+<A HREF=http://www.uea.ac.uk/>University of East Anglia.</A>
+Last Modified: 2007-08-20
+</ADDRESS>
+</BODY>
+</HTML>
diff --git a/Master/texmf-dist/doc/latex/bibleref/bibleref.pdf b/Master/texmf-dist/doc/latex/bibleref/bibleref.pdf
index 5ffbe7b4ca2..87a29fb922b 100644
--- a/Master/texmf-dist/doc/latex/bibleref/bibleref.pdf
+++ b/Master/texmf-dist/doc/latex/bibleref/bibleref.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/bibleref/bibleref.perl b/Master/texmf-dist/doc/latex/bibleref/bibleref.perl
new file mode 100644
index 00000000000..7ef2f19d27e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bibleref/bibleref.perl
@@ -0,0 +1,1738 @@
+#!/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{'Jeramiah'}='\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/doc/latex/bibleref/sample.pdf b/Master/texmf-dist/doc/latex/bibleref/sample.pdf
index 2096a41d626..e547872fc2e 100644
--- a/Master/texmf-dist/doc/latex/bibleref/sample.pdf
+++ b/Master/texmf-dist/doc/latex/bibleref/sample.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/bibleref/sample.tex b/Master/texmf-dist/doc/latex/bibleref/sample.tex
index ff2e72ee16d..9d6f4e28cd2 100644
--- a/Master/texmf-dist/doc/latex/bibleref/sample.tex
+++ b/Master/texmf-dist/doc/latex/bibleref/sample.tex
@@ -5,12 +5,24 @@
%% The original source files were:
%%
%% bibleref.dtx (with options: `sample.tex,package')
-%% Copyright (C) 2006 Nicola Talbot, all rights reserved.
-%% If you modify this file, you must change its name first.
-%% You are NOT ALLOWED to distribute this file alone. You are NOT
-%% ALLOWED to take money for the distribution or use of either this
-%% file or a changed version, except for a nominal charge for copying
-%% etc.
+%%
+%% bibleref.dtx
+%% Copyright 2007 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.sty, sample.tex, 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