diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/biblatex-contrib/biblatex-sbl |
Initial commit
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-sbl')
20 files changed, 10835 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/README.md b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/README.md new file mode 100644 index 0000000000..71a40a6784 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/README.md @@ -0,0 +1,66 @@ +# biblatex-sbl — SBL style files for biblatex + +This package provides biblatex support for citations in the format specified by the second edition of the Society of Biblical Literature (SBL) Handbook of Style. + +All example notes and bibliography entries from the handbook are supported. + +## Documentation + +* `biblatex-sbl.pdf`: Style usage and documentation summary. +* `biblatex-sbl.bib`: Database entries for all example citations in the handbook. +* `biblatex-sbl-examples.pdf`: Example usage for all example citations in the handbook. +* `biblatex-sbl-ibid.pdf`: Example usage of *ibidem* and *idem* settings. +* `sbl-paper.sty`: A style file for papers matching the Student Supplement to the SBLHS. +* `sbl-paper.tex`: An example paper using `sbl-paper.sty`. +* `sbl-paper-bibleref.ist`: An index style file for printing a Scripture Reference Index (used with `sbl-paper.tex`). + +## Installation from CTAN, TeXLive, or MiKTeX + +`biblatex-sbl` is available in CTAN at https://www.ctan.org/pkg/biblatex-sbl + +It is also in TeXLive and MiKTeX and can be installed in the usual way through your distribution. + +## Installation from Git Source + +``` +git clone https://github.com/dcpurton/biblatex-sbl.git +cd biblatex-sbl +make install +``` + +## Manual Installation + +* Copy `sbl-paper.sty`, `biblatex-sbl.def`, `sbl.cbx`, `sbl.bbx`, `sbl.dbx`, and `*.lbx` into `$TEXMFHOME/tex/latex/biblatex-sbl/` +* Copy `*.pdf`, `biblatex-sbl.bib`, and `sbl-paper.tex` into `$TEXMFHOME/doc/latex/biblatex-sbl/` +* Copy `sbl-paper-bibleref.ist` into `$TEXMFHOME/makeindex/biblatex-sbl/` + +You can find `$TEXMFHOME` by running: + +``` +kpsewhich -var-value=TEXMFHOME +``` + +## Requirements + +The following packages are required: + +* `biblatex` (version 3.11 or higher) with the `biber` backend +* `xparse` + +## Licence + +``` +Copyright 2015-2018 David Purton + +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version 1.3 +of this license or (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 David Purton. +``` diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/american-sbl.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/american-sbl.lbx new file mode 100644 index 0000000000..95f47d3d09 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/american-sbl.lbx @@ -0,0 +1,28 @@ +\ProvidesFile{american-sbl.lbx}[\sbl@abx@lbxid] + +\InheritBibliographyStrings{american} + +\InheritBibliographyExtras{american} + +\DeclareBibliographyExtras{% + \protected\def\mkdaterangecomp{% + \mkdaterangetrunc{long}}% + \protected\def\mkdaterangeterse{% + \mkdaterangetrunc{short}}% + \protected\def\mkdaterangecompextra{% + \mkdaterangetruncextra{long}}% + \protected\def\mkdaterangeterseextra{% + \mkdaterangetruncextra{short}}% + \protected\def\mkbibdatelong#1#2#3{% + \iffieldundef{#3} + {} + {\thefield{#3}% + \iffieldundef{#2}{}{\nobreakspace}}% + \iffieldundef{#2} + {} + {\mkbibmonth{\thefield{#2}}% + \iffieldundef{#1}{}{\space}}% + \iffieldbibstring{#1} + {\bibstring{\thefield{#1}}} + {\dateeraprintpre{#1}\stripzeros{\thefield{#1}}}}% +} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl-examples.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl-examples.pdf Binary files differnew file mode 100644 index 0000000000..08429afbd5 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl-examples.pdf diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl-examples.tex b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl-examples.tex new file mode 100644 index 0000000000..d9fad6d8ab --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl-examples.tex @@ -0,0 +1,2721 @@ +\documentclass[a4paper]{article} + +\PassOptionsToPackage{obeyspaces}{url} + +\usepackage{microtype} +\usepackage{fontspec} +\usepackage{xparse} +\usepackage{xcolor} +\usepackage{parskip}[=v1] +\usepackage{titlesec} +\usepackage{listings} +\usepackage{imakeidx} +\makeindex[title=Author Index,intoc,options=-q] +\usepackage[style=sbl,indexing=cite,idemtracker=false,ibidtracker=false]{biblatex} +\usepackage{hyperref} +\addbibresource{biblatex-sbl.bib} + +\DeclareBibliographyCategory{ignore} +\addtocategory{ignore}{pritchard:1969} + +\setmonofont{DejaVu Sans Mono}[Scale=MatchLowercase] +\setromanfont{Linux Libertine O} +\setsansfont{Linux Biolinum O}[ + BoldItalicFont={* Bold}, + BoldItalicFeatures={FakeSlant=0.2} +] + +\newcommand{\textgreek}[1]{{\greekfont #1}} + +\renewcommand{\familydefault}{\sfdefault} + +\newfontfamily\greekfont[Script=Greek,Contextuals=Alternate,Ligatures=Required, + Scale=MatchLowercase]{SBL BibLit} + +\renewcommand{\bibfont}{\rm} + +\newcommand*{\refbibnamedash}{% + \leavevmode\raise 0.6ex\hbox to 3em{\hrulefill}.\space} + +\titleformat{\paragraph} +{\normalfont\sf\normalsize\bfseries}{\theparagraph}{1em}{} +\titleformat{\subparagraph} +{\normalfont\sf\small\scshape}{\thesubparagraph}{1em}{} +\titlespacing*{\paragraph}{0pt}{2ex plus 1ex minus 0.2ex}{0.5ex} +\titlespacing*{\subparagraph}{0pt}{1ex plus 0.2ex}{0em} + +\titleclass{\subsubparagraph}{straight}[\subparagraph] +\titleformat{\subsubparagraph}{\normalfont\small\tt}{}{1em}{} +\titlespacing*{\subsubparagraph}{0pt}{0pt}{0pt} + +\setcounter{secnumdepth}{4} % how many sectioning levels to assign numbers to + +\setlength{\parskip}{1ex plus 0.5ex minus 0.25ex} + +\makeatletter +\patchcmd{\lst@Init}{\par\penalty -50\relax}{\relax} +\makeatother + +\hyphenation{nash-ville deu-te-ro-ca-no-ni-cal} +\renewcommand{\slash}{/\penalty\exhyphenpenalty\hspace{0pt}} + +\definecolor{biblatex-colour}{rgb}{0.25,0.25,0.65} +\definecolor{reference-colour}{rgb}{0,0.6,0.15} + +\ExplSyntaxOn +\NewDocumentCommand \samplemacro { m } + { + \subsubparagraph*{#1} + } +\NewDocumentCommand \sblrefsamplecite { s m m m o o m } + { + \IfNoValueTF { #5 } + { + \IfNoValueT { #6 } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash #2\{#7\}} + } + \color{biblatex-colour} + \hspace*{\bibindent}#4\csuse{#3}{#7} + } + } + { + \IfNoValueTF { #6 } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash #2[#5]\{#7\}} + } + \color{biblatex-colour} + \hspace*{\bibindent}#4\csuse{#3}[#5]{#7} + } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash #2[#5][#6]\{#7\}} + } + \color{biblatex-colour} + \hspace*{\bibindent}#4\csuse{#3}[#5][#6]{#7} + } + } + } +\NewDocumentCommand \samplecite { s m o o m } + { + \rmfamily + \IfBooleanTF { #1 } + { + \sblrefsamplecite*{autocite}{cite}{#2.~}[#3][#4]{#5}.\par + } + { + \sblrefsamplecite{autocite}{cite}{#2.~}[#3][#4]{#5}.\par + } + \color{black} + } +\NewDocumentCommand \sampleparencite { s o o m } + { + \rmfamily + {\setlength{\bibindent}{0pt}% + \IfBooleanTF { #1 } + { + \sblrefsamplecite*{parencite}{parencite}{}[#2][#3]{#4}\par + } + { + \sblrefsamplecite{parencite}{parencite}{}[#2][#3]{#4}\par + } + } + \color{black} + } +\NewDocumentCommand \samplebib { s m } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash printbibliography} + } + \color{biblatex-colour} + \rmfamily\hangindent\bibindent\bibentrycite{#2}.\par + \color{black} + } +\NewDocumentCommand \samplebiblist { s m } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash printbiblist\{abbreviations\}} + } + \color{biblatex-colour} + \biblistcite{#2} + \color{black} + } +\NewDocumentCommand \refbiblist { m m } + { + \color{reference-colour} + \strut\rmfamily\hangindent 6em\rlap{#1}\hskip 6em #2\par + \color{black} + } +\ExplSyntaxOff + +\newenvironment{biboutput}{% + \subparagraph{Biblatex Output} +}{\color{black}} + +\lstdefinelanguage{BibTeX}{% + keywords={% + @book,@article,@incollection,@suppbook,@mvbook,@collection,@review,@misc,% + @thesis,@mvreference,@inreference,@mvlexicon,@inlexicon,@unpublished,% + @commentary,@inbook,@incommentary,@mvcommentary,@seminarpaper,@lexicon,% + @reference,@mvcollection,@bookinbook,@ancienttext,@classictext,@online,% + @manual,@conferencepaper,@series% + }, + emph={% + author,title,location,publisher,date,shorttitle,translator,edition,preface,% + related,relatedtype,editor,series,shortseries,number,journaltitle,% + shortjournal,volume,pages,type,booktitle,bookauthor,origlocation,% + origpublisher,origdate,pubstate,origlanguage,maintitle,maineditor,part,% + bookeditor,seriesseries,maintranslator,eprint,eprinttype,doi,url,% + revdauthor,revdtitle,revdeditor,institution,type,shorthand,xref,% + note,eprintdate,volumes,shortmaintitle,options,eprintclass,relatedoptions,% + editortype,crossref,editora,editorb,editorc,editoratype,editorbtyle,% + editorctype,entrysubtype,sortkey,titleaddon,witheditor,witheditortype,% + withtranslator,withtranslatortype,eventtitle,venue,eventdate,shortauthor% + }, + sensitive=false, + breaklines=true, + breakatwhitespace=true, + morecomment=[l][basicstyle]{=\ \{} +} + +\lstset{% + language=BibTeX, + backgroundcolor=\color{gray!15}, + basicstyle=\ttfamily\small, + keywordstyle=\color{teal}, + emphstyle=\color{purple} +} + +\makeatletter +\lst@InputCatcodes +\def\lst@DefEC{% + \lst@CCECUse \lst@ProcessLetter + ^^80^^81^^82^^83^^84^^85^^86^^87^^88^^89^^8a^^8b^^8c^^8d^^8e^^8f% + ^^90^^91^^92^^93^^94^^95^^96^^97^^98^^99^^9a^^9b^^9c^^9d^^9e^^9f% + ^^a0^^a1^^a2^^a3^^a4^^a5^^a6^^a7^^a8^^a9^^aa^^ab^^ac^^ad^^ae^^af% + ^^b0^^b1^^b2^^b3^^b4^^b5^^b6^^b7^^b8^^b9^^ba^^bb^^bc^^bd^^be^^bf% + ^^c0^^c1^^c2^^c3^^c4^^c5^^c6^^c7^^c8^^c9^^ca^^cb^^cc^^cd^^ce^^cf% + ^^d0^^d1^^d2^^d3^^d4^^d5^^d6^^d7^^d8^^d9^^da^^db^^dc^^dd^^de^^df% + ^^e0^^e1^^e2^^e3^^e4^^e5^^e6^^e7^^e8^^e9^^ea^^eb^^ec^^ed^^ee^^ef% + ^^f0^^f1^^f2^^f3^^f4^^f5^^f6^^f7^^f8^^f9^^fa^^fb^^fc^^fd^^fe^^ff% + % Greek support + ^^^^0370^^^^0371^^^^0372^^^^0373^^^^0374^^^^0375^^^^0376^^^^0377% + ^^^^0378^^^^0379^^^^037a^^^^037b^^^^037c^^^^037d^^^^037e^^^^037f% + ^^^^0380^^^^0381^^^^0382^^^^0383^^^^0384^^^^0385^^^^0386^^^^0387% + ^^^^0388^^^^0389^^^^038a^^^^038b^^^^038c^^^^038d^^^^038e^^^^038f% + ^^^^0390^^^^0391^^^^0392^^^^0393^^^^0394^^^^0395^^^^0396^^^^0397% + ^^^^0398^^^^0399^^^^039a^^^^039b^^^^039c^^^^039d^^^^039e^^^^039f% + ^^^^03a0^^^^03a1^^^^03a2^^^^03a3^^^^03a4^^^^03a5^^^^03a6^^^^03a7% + ^^^^03a8^^^^03a9^^^^03aa^^^^03ab^^^^03ac^^^^03ad^^^^03ae^^^^03af% + ^^^^03b0^^^^03b1^^^^03b2^^^^03b3^^^^03b4^^^^03b5^^^^03b6^^^^03b7% + ^^^^03b8^^^^03b9^^^^03ba^^^^03bb^^^^03bc^^^^03bd^^^^03be^^^^03bf% + ^^^^03c0^^^^03c1^^^^03c2^^^^03c3^^^^03c4^^^^03c5^^^^03c6^^^^03c7% + ^^^^03c8^^^^03c9^^^^03ca^^^^03cb^^^^03cc^^^^03cd^^^^03ce^^^^03cf% + ^^^^03d0^^^^03d1^^^^03d2^^^^03d3^^^^03d4^^^^03d5^^^^03d6^^^^03d7% + ^^^^03d8^^^^03d9^^^^03da^^^^03db^^^^03dc^^^^03dd^^^^03de^^^^03df% + ^^^^03e0^^^^03e1% + % Greek extended support + ^^^^1f00^^^^1f01^^^^1f02^^^^1f03^^^^1f04^^^^1f05^^^^1f06^^^^1f07% + ^^^^1f08^^^^1f09^^^^1f0a^^^^1f0b^^^^1f0c^^^^1f0d^^^^1f0e^^^^1f0f% + ^^^^1f10^^^^1f11^^^^1f12^^^^1f13^^^^1f14^^^^1f15^^^^1f16^^^^1f17% + ^^^^1f18^^^^1f19^^^^1f1a^^^^1f1b^^^^1f1c^^^^1f1d^^^^1f1e^^^^1f1f% + ^^^^1f20^^^^1f21^^^^1f22^^^^1f23^^^^1f24^^^^1f25^^^^1f26^^^^1f27% + ^^^^1f28^^^^1f29^^^^1f2a^^^^1f2b^^^^1f2c^^^^1f2d^^^^1f2e^^^^1f2f% + ^^^^1f30^^^^1f31^^^^1f32^^^^1f33^^^^1f34^^^^1f35^^^^1f36^^^^1f37% + ^^^^1f38^^^^1f39^^^^1f3a^^^^1f3b^^^^1f3c^^^^1f3d^^^^1f3e^^^^1f3f% + ^^^^1f40^^^^1f41^^^^1f42^^^^1f43^^^^1f44^^^^1f45^^^^1f46^^^^1f47% + ^^^^1f48^^^^1f49^^^^1f4a^^^^1f4b^^^^1f4c^^^^1f4d^^^^1f4e^^^^1f4f% + ^^^^1f50^^^^1f51^^^^1f52^^^^1f53^^^^1f54^^^^1f55^^^^1f56^^^^1f57% + ^^^^1f58^^^^1f59^^^^1f5a^^^^1f5b^^^^1f5c^^^^1f5d^^^^1f5e^^^^1f5f% + ^^^^1f60^^^^1f61^^^^1f62^^^^1f63^^^^1f64^^^^1f65^^^^1f66^^^^1f67% + ^^^^1f68^^^^1f69^^^^1f6a^^^^1f6b^^^^1f6c^^^^1f6d^^^^1f6e^^^^1f6f% + ^^^^1f70^^^^1f71^^^^1f72^^^^1f73^^^^1f74^^^^1f75^^^^1f76^^^^1f77% + ^^^^1f78^^^^1f79^^^^1f7a^^^^1f7b^^^^1f7c^^^^1f7d^^^^1f7e^^^^1f7f% + ^^^^1f80^^^^1f81^^^^1f82^^^^1f83^^^^1f84^^^^1f85^^^^1f86^^^^1f87% + ^^^^1f88^^^^1f89^^^^1f8a^^^^1f8b^^^^1f8c^^^^1f8d^^^^1f8e^^^^1f8f% + ^^^^1f90^^^^1f91^^^^1f92^^^^1f93^^^^1f94^^^^1f95^^^^1f96^^^^1f97% + ^^^^1f98^^^^1f99^^^^1f9a^^^^1f9b^^^^1f9c^^^^1f9d^^^^1f9e^^^^1f9f% + ^^^^1fa0^^^^1fa1^^^^1fa2^^^^1fa3^^^^1fa4^^^^1fa5^^^^1fa6^^^^1fa7% + ^^^^1fa8^^^^1fa9^^^^1faa^^^^1fab^^^^1fac^^^^1fad^^^^1fae^^^^1faf% + ^^^^1fb0^^^^1fb1^^^^1fb2^^^^1fb3^^^^1fb4^^^^1fb5^^^^1fb6^^^^1fb7% + ^^^^1fb8^^^^1fb9^^^^1fba^^^^1fbb^^^^1fbc^^^^1fbd^^^^1fbe^^^^1fbf% + ^^^^1fc0^^^^1fc1^^^^1fc2^^^^1fc3^^^^1fc4^^^^1fc5^^^^1fc6^^^^1fc7% + ^^^^1fc8^^^^1fc9^^^^1fca^^^^1fcb^^^^1fcc^^^^1fcd^^^^1fce^^^^1fcf% + ^^^^1fd0^^^^1fd1^^^^1fd2^^^^1fd3^^^^1fd4^^^^1fd5^^^^1fd6^^^^1fd7% + ^^^^1fd8^^^^1fd9^^^^1fda^^^^1fdb^^^^1fdc^^^^1fdd^^^^1fde^^^^1fdf% + ^^^^1fe0^^^^1fe1^^^^1fe2^^^^1fe3^^^^1fe4^^^^1fe5^^^^1fe6^^^^1fe7% + ^^^^1fe8^^^^1fe9^^^^1fea^^^^1feb^^^^1fec^^^^1fed^^^^1fee^^^^1fef% + ^^^^1ff0^^^^1ff1^^^^1ff2^^^^1ff3^^^^1ff4^^^^1ff5^^^^1ff6^^^^1ff7% + ^^^^1ff8^^^^1ff9^^^^1ffa^^^^1ffb^^^^1ffc^^^^1ffd^^^^1ffe^^^^1fff% + % General punctuation + ^^^^201c^^^^201d% + ^^00} +\lst@RestoreCatcodes +\makeatother + +\title{Biblatex-SBL Examples and Test File} +\author{David Purton} +\date{} + +\begin{document} + +\maketitle + +\tableofcontents + +\clearpage + +\setcounter{section}{5} + +\section{Notes and Bibliographies} + +\setcounter{subsection}{1} +\subsection{General Examples: Books} + +\subsubsection{A Book by a Single Author} + +\begin{lstlisting} +@book{talbert:1992, + author = {Talbert, Charles H.}, + title = {Reading John: A Literary and Theological Commentary on the Fourth Gospel and the Johannine Epistles}, + location = {New York}, + publisher = {Crossroad}, + date = {1992} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{15}[127]{talbert:1992} + \samplecite{19}[22]{talbert:1992} + \samplebib{talbert:1992} +\end{biboutput} + +\subsubsection{A Book by Two or Three Authors} + +\begin{lstlisting} +@book{robinson+koester:1971, + author = {Robinson, James M. and Koester, Helmut}, + title = {Trajectories through Early Christianity}, + location = {Philadelphia}, + publisher = {Fortress}, + date = {1971} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{4}[237]{robinson+koester:1971} + \samplecite{12}[23]{robinson+koester:1971} + \samplebib{robinson+koester:1971} +\end{biboutput} + +\subsubsection{A Book by More than Three Authors} + +\begin{lstlisting} +@book{scott+etal:1993, + author = {Scott, Bernard Brandon and Dean, Margaret and Sparks, Kristen and LaZar, Frances}, + title = {Reading New Testament Greek}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1993} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{7}[53]{scott+etal:1993} + \samplecite{9}[42]{scott+etal:1993} + \samplebib{scott+etal:1993} +\end{biboutput} + +\subsubsection{A Translated Volume} + +\begin{lstlisting} +@book{egger:1996, + author = {Egger, Wilhelm}, + title = {How to Read the New Testament: An Introduction to Linguistic and Historical-Critical Methodology}, + shorttitle = {How to Read}, + translator = {Heinegg, Peter}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1996} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{14}[28]{egger:1996} + \samplecite{18}[291]{egger:1996} + \samplebib{egger:1996} +\end{biboutput} + +\subsubsection{The Full History of a Translated Volume} + +\begin{lstlisting} +@book{wellhausen:1883, + author = {Wellhausen, Julius}, + title = {Prolegomena zur Geschichte Israels}, + edition = {2}, + location = {Berlin}, + publisher = {Reimer}, + date = {1883} +} + +@book{wellhausen:1885, + author = {Wellhausen, Julius}, + title = {Prolegomena to the History of Israel}, + translator = {Black, J. Sutherland and Enzies, A.}, + withtranslator = {Smith, W. Robertson}, + withtranslatortype = {withpreface}, + location = {Edinburgh}, + publisher = {Black}, + related = {wellhausen:1883}, + relatedtype = {translationof}, + date = {1885} +} + +@book{wellhausen:1957, + author = {Wellhausen, Julius}, + title = {Prolegomena to the History of Ancient Israel}, + location = {New York}, + publisher = {Meridian Books}, + related = {wellhausen:1885}, + relatedtype = {reprintof}, + date = {1957} +} +\end{lstlisting} + +\begin{biboutput} + \samplemacro{\textbackslash autocite[296]\{wellhausen:1957\}} + \sloppy\samplecite*{3}[296]{wellhausen:1957} + \samplebib{wellhausen:1957} +\end{biboutput} + +\subsubsection{A Book with One Editor} + +\begin{lstlisting} +@book{tigay:1985, + editor = {Tigay, Jeffrey H.}, + title = {Empirical Models for Biblical Criticism}, + shorttitle = {Empiracle Models}, + location = {Philadelphia}, + publisher = {University of Pennsylvania Press}, + date = {1985} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{5}[35]{tigay:1985} + \samplecite{9}[38]{tigay:1985} + \samplebib{tigay:1985} +\end{biboutput} + +\subsubsection{A Book with Two or Three Editors} + +\begin{lstlisting} +@book{kaltner+mckenzie:2002, + editor = {Kaltner, John and McKenzie, Steven L.}, + title = {Beyond Babel: A Handbook for Biblical Hebrew and Related Languages}, + series = {Resources for Biblical Study}, + shortseries = {RBS}, + number = {42}, + location = {Atlanta}, + publisher = {Society of Biblical Literature}, + date = {2002} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{44}[xii]{kaltner+mckenzie:2002} + \samplecite{47}[viii]{kaltner+mckenzie:2002} + \samplebib{kaltner+mckenzie:2002} + \samplebiblist{kaltner+mckenzie:2002} +\end{biboutput} + +\subsubsection{A Book with Four or More Editors} + +\begin{lstlisting} +@book{oates+etal:2001, + editor = {Oates, John F. and Willis, William H. and Bagnall, Roger S. and Worp, Klass A.}, + title = {Checklist of Editions of Greek and Latin Papyri, Ostraca, and Tablets}, + edition = {5}, + series = {Bulletin of the American Society of Papyrologists, Supplements}, + shortseries = {BASPSup}, + number = {9}, + location = {Oakville, CT}, + publisher = {American Society of Papyrologists}, + date = {2001} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{4}[10]{oates+etal:2001} + \samplebib{oates+etal:2001} + \samplebiblist{oates+etal:2001} +\end{biboutput} + +\subsubsection{A Book with Both Author and Editor} + +\begin{lstlisting} +@book{schillebeeckx:1986, + author = {Schillebeeckx, Edward}, + title = {The Schillebeeckx Reader}, + editor = {Schreiter, Robert J.}, + location = {Edinburgh}, + publisher = {T\&T Clark}, + date = {1986} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{45}[20]{schillebeeckx:1986} + \samplebib{schillebeeckx:1986} +\end{biboutput} + +\subsubsection{A Book with Author, Editor, and Translator} + +\begin{lstlisting} +@book{blass+debrunner:1982, + author = {Blass, Friedrich and Debrunner, Albert}, + title = {Grammatica del greco del Nuovo Testamento}, + editor = {Rehkopf, Friedrich}, + translator = {Pisi, Giordana}, + location = {Brescia}, + publisher = {Paideia}, + date = {1982} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{3}[40]{blass+debrunner:1982} + \samplebib{blass+debrunner:1982} +\end{biboutput} + +\subsubsection{A Title in a Modern Work Citing a Nonroman Alphabet} + +\begin{lstlisting} +@article{irvine:2014, + author = {Irvine, Stuart A.}, + title = {Idols \mkbibbrackets{\mkbibemph{ktbwnm}}: A note on Hosea 13:2a}, + journaltitle = {Journal of Biblical Literature}, + shortjournal = {JBL}, + volume = {133}, + date = {2014}, + pages = {509-517} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{34}{irvine:2014} + \samplebiblist{irvine:2014} +\end{biboutput} + +\subsubsection{An Article in and Edited Volume} + +\begin{lstlisting} +@incollection{attridge:1986, + author = {Attridge, Harold W.}, + title = {Jewish Historiography}, + pages = {311-343}, + booktitle = {Early Judaism and Its Modern Interpreters}, + editor = {Kraft, Robert A. and Nickelsburg, George W. E.}, + location = {Philadelphia and Atlanta}, + publisher = {Fortress and Scholars Press}, + date = {1986} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{3}{attridge:1986} + \samplecite{6}[311-343]{attridge:1986} + \samplebib{attridge:1986} +\end{biboutput} + +\subsubsection{An Article in a Festschrift} + +\begin{lstlisting} +@incollection{vanseters:1995, + author = {Van Seters, John}, + title = {The Theology of the Yahwist: A Preliminary Sketch}, + shorttitle = {Theology of the Yahwist}, + pages = {219-228}, + booktitle = {“Wer ist wie du, Herr, unter den Göttern?”: Studien zur Theologie und Religionsgeschichte Israels für Otto Kaiser zum~70. Geburtstag}, + editor = {Kottsieper, Ingo and others}, + location = {Göttingen}, + publisher = {Vandenhoeck \& Ruprecht}, + date = {1995} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{8}{vanseters:1995} + \samplecite{17}[222]{vanseters:1995} + \samplebib{vanseters:1995} +\end{biboutput} + +\subsubsection{An Introduction, Preface, or Foreword Written by Someone Other +Than the Author} + +\begin{lstlisting} +@suppbook{boers:1996, + author = {Boers, Hendrikus}, + type = {introduction}, + booktitle = {How to Read the New Testament: An Introduction to Linguistic and Historical-Critical Methodology}, + bookauthor = {Egger, Wilhelm}, + translator = {Heinegg, Peter}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1996} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{2}[xi-xxi]{boers:1996} + \samplecite{6}[xi-xx]{boers:1996} + \samplebib{boers:1996} +\end{biboutput} + +\subsubsection{Multiple Publishers for a Single Book} + +\begin{lstlisting} +@book{gerhardsson:1961, + author = {Gerhardsson, Birger}, + title = {Memory and Manuscript: Oral Tradition and Written Transmission in Rabbinic Judaism and Early Christianity}, + series = {Acta Seminarii Neotestamentici Upsaliensis}, + shortseries = {ASNU}, + number = {22}, + location = {Lund and Copenhagen}, + publisher = {Gleerup and Munksgaard}, + date = {1961} +} +\end{lstlisting} + +\begin{biboutput} + \samplebib{gerhardsson:1961} + \samplebiblist{gerhardsson:1961} +\end{biboutput} + +\subsubsection{A Revised Edition} + +\begin{lstlisting} +@book{pritchard:1969, + editor = {Pritchard, James B.}, + title = {Ancient Near Eastern Texts Relating to the Old Testament}, + edition = {3}, + location = {Princeton}, + publisher = {Princeton University Press}, + date = {1969} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{87}[xxi]{pritchard:1969} + \samplebib{pritchard:1969} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{blenkinsopp:1996, + author = {Blenkinsopp, Joseph}, + title = {A History of Prophecy in Israel}, + edition = {rev.\@ and enl.\@ ed.}, + location = {Louisville}, + publisher = {Westminster John Knox}, + date = {1996} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{56}[81]{blenkinsopp:1996} + \samplebib{blenkinsopp:1996} +\end{biboutput} + +\subsubsection{A Recent Reprint Title} + +\begin{lstlisting} +@book{vanseters:1997, + author = {Van Seters, John}, + title = {In Search of History: Histeriography in the Ancient World and the Origins of Biblical History}, + origlocation = {New Haven}, + origpublisher = {Yale University Press}, + origdate = {1983}, + location = {Winona Lake, IN}, + publisher = {Eisenbrauns}, + date = {1997} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{5}[35]{vanseters:1997} + \samplebib{vanseters:1997} +\end{biboutput} + +\subsubsection{A Reprint Title in the Public Domain} + +\begin{lstlisting} +@book{deissmann:1995, + author = {Deissmann, Gustav Adolf}, + title = {Light from the Ancient East: The New Testament Illustrated by Recently Discovered Texts of the Graeco-Roman World}, + translator = {Strachan, Lionel R. M.}, + origdate = {1927}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1995} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{5}[55]{deissmann:1995} + \samplebib{deissmann:1995} +\end{biboutput} + +\subsubsection{A Forthcoming Book} + +\begin{lstlisting} +@book{harrison+welborn:forthcoming, + editor = {Harrison, James R. and Welborn, L. L.}, + title = {The First Urban Churches 2: Roman Corinth}, + shorttitle = {Roman Corinth}, + series = {Writings from the Greco-Roman World Supplement Series}, + shortseries = {WGRWSup}, + location = {Atlanta}, + publisher = {SBL Press}, + pubstate = {forthcoming} +} +\end{lstlisting} + +\break + +\begin{biboutput} + \samplecite{9}{harrison+welborn:forthcoming} + \samplecite{12}[201]{harrison+welborn:forthcoming} + \samplebib{harrison+welborn:forthcoming} + \samplebiblist{harrison+welborn:forthcoming} +\end{biboutput} + +\subsubsection{A Multivolume Work} + +\begin{lstlisting} +@mvbook{harnack:1896-1905, + author = {Harnack, Adolf}, + title = {History of Dogma}, + translator = {Buchanan, Neil}, + origlanguage = {from the 3rd German ed\adddot}, + volumes = {7}, + location = {Boston}, + publisher = {Little, Brown}, + date = {1896/1905} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{5}{harnack:1896-1905} + \samplecite{9}[2:126]{harnack:1896-1905} + \samplebib{harnack:1896-1905} +\end{biboutput} + +\subsubsection{A Titled Volume in a Multivolume, Edited Work} + +\begin{lstlisting} +@collection{winter+clarke:1993, + editor = {Winter, Bruce W. and Clarke, Andrew D.}, + title = {The Book of Acts in Its Ancient Literary Setting}, + shorttitle = {Book of Acts}, + volume = {1}, + maintitle = {The Book of Acts in Its First Century Setting}, + maineditor = {Winter, Bruce W.}, + location = {Grand Rapids}, + publisher = {Eerdmans}, + date = {1993} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{5}[25]{winter+clarke:1993} + \samplecite{16}[25]{winter+clarke:1993} + \samplebib{winter+clarke:1993} +\end{biboutput} + +\subsubsection{A Chapter within a Multivolume Work} + +\begin{lstlisting} +@incollection{mason:1996, + author = {Mason, Steve}, + title = {Josephus on Canon and Scriptures}, + pages = {217-235}, + volume = {1}, + part = {1}, + maintitle = {Hebrew Bible\slash Old Testament: The History of Its Interpretation}, + editor = {Sæbø, Magne}, + location = {Göttingen}, + publisher = {Vandenhoeck \& Ruprecht}, + date = {1996} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{24}{mason:1996} + \samplecite{28}[224]{mason:1996} + \samplebib{mason:1996} +\end{biboutput} + +\subsubsection{A Chapter within a Titled Volume in a Multivolume Work} + +\begin{lstlisting} +@incollection{peterson:1993, + author = {Peterson, David}, + title = {The Motif of Fulfilment and the Purpose of Luke-Acts}, + shorttitle = {Motif of Fulfilment}, + pages = {83-104}, + booktitle = {The Book of Acts in Its Ancient Literary Setting}, + bookeditor = {Winter, Bruce W. and Clarke, Andrew D.}, + volume = {1}, + maintitle = {The Book of Acts in Its First Century Setting}, + editor = {Winter, Bruce W.}, + location = {Grand Rapids}, + publisher = {Eerdmans}, + date = {1993} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{66}{peterson:1993} + \samplecite{78}[92]{peterson:1993} + \samplebib{peterson:1993} +\end{biboutput} + +\subsubsection{A Work in a Series} + +\begin{lstlisting} +@book{hofius:1989, + author = {Hofius, Otfried}, + title = {Paulusstudien}, + series = {Wissenschaftliche Untersuchungen zum Neuen Testament}, + shortseries = {WUNT}, + number = {51}, + location = {Tübingen}, + publisher = {Mohr Siebeck}, + date = {1989} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{12}[122]{hofius:1989} + \samplecite{14}[124]{hofius:1989} + \samplebib{hofius:1989} + \samplebiblist{hofius:1989} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{jeremias:1967, + author = {Jeremias, Joachim}, + title = {The Prayers of Jesus}, + shorttitle = {Prayers}, + series = {Studies in Biblical Theology}, + shortseries = {SBT}, + seriesseries = {2}, + number = {6}, + location = {Naperville, IL}, + publisher = {Allenson}, + date = {1967} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{23}[123-127]{jeremias:1967} + \samplecite{32}[126]{jeremias:1967} + \samplebib{jeremias:1967} + \samplebiblist{jeremias:1967} +\end{biboutput} + +\subsubsection{Electronic Book} + +\begin{lstlisting} +@book{reventlow:2009, + author = {Reventlow, Henning Graf}, + title = {From the Old Testament to Origen}, + volume = {1}, + maintitle = {History of Biblical Interpretation}, + translator = {Perdue, Leo G.}, + location = {Atlanta}, + publisher = {Society of Biblical Literature}, + date = {2009}, + eprint = {Nook}, + eprinttype = {ebook} +} +\end{lstlisting} + +\begin{biboutput} + \samplemacro{\textbackslash autocite[ch.\textasciitilde + 1.3]\{reventlow:2009\}} + \samplecite*{14}[ch.~1.3]{reventlow:2009} + \samplemacro{\textbackslash autocite[ch.\textasciitilde + 1.3]\{reventlow:2009\}} + \samplecite*{18}[ch.~1.3]{reventlow:2009} + \samplebib{reventlow:2009} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{wright:2014, + author = {Wright, Jacob L.}, + title = {David, King of Israel, and Caleb in Biblical Memory}, + shorttitle = {David, King of Israel}, + location = {Cambridge}, + publisher = {Cambridge University Press}, + date = {2014}, + eprint = {Kindle}, + eprinttype = {ebook} +} +\end{lstlisting} + +\begin{biboutput} + \samplemacro{\textbackslash autocite[ch.\textasciitilde 3, \textbackslash + mkibquote\{Introducing David\}]\{wright:2014\}} + \samplecite*{3}[ch.~3, \mkbibquote{Introducing David}]{wright:2014} + \samplemacro{\textbackslash autocite[ch.\textasciitilde 5, \textbackslash + mkibquote\{Evidence from Qumran\}]\{wright:2014\}} + \samplecite*{21}[ch.~5, \mkbibquote{Evidence from Qumran}]{wright:2014} + \samplebib{wright:2014} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{killebrew+steiner:2014, + editor = {Killebrew, Ann E. and Steiner, Margreet}, + title = {The Oxford Handbook of the Archaeology of the Levant: c.~8000--332 BCE}, + shorttitle = {Archaeology of the Levant}, + location = {Oxford}, + publisher = {Oxford University Press}, + date = {2014}, + doi = {10.1093/oxfordhb/9780199212972.001.0001} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{53}{killebrew+steiner:2014} + \samplecite{55}{killebrew+steiner:2014} + \samplebib{killebrew+steiner:2014} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{kaufman:1974, + author = {Kaufman, Stephen}, + title = {The Akkadian Influences on Aramaic}, + series = {Assyriological Studies}, + shortseries = {AS}, + number = {19}, + location = {Chicago}, + publisher = {The Oriental Institute of the University of Chicago}, + date = {1974}, + url = {http://oi.uchicago.edu/pdf/as19.pdf} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{29}{kaufman:1974} + \samplecite{32}[123]{kaufman:1974} + \samplebib{kaufman:1974} + \samplebiblist{kaufman:1974} +\end{biboutput} + +\subsection{General Examples: Journal Articles, Reviews, and Dissertations} + +\subsubsection{A Journal Article} + +\begin{lstlisting} +@article{leyerle:1993, + author = {Leyerle, Blake}, + title = {John Chrysostom on the Gaze}, + shorttitle = {Chrysostom}, + journaltitle = {Journal of Early Christian Studies}, + shortjournal = {JECS}, + volume = {1}, + date = {1993}, + pages = {159-174} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{7}{leyerle:1993} + \samplecite{23}[161]{leyerle:1993} + \samplebib{leyerle:1993} + \samplebiblist{leyerle:1993} +\end{biboutput} + +\subsubsection{A Journal Article with Multiple Page Locations and Volumes} + +\begin{lstlisting} +@article{wildberger:1965, + author = {Wildberger, Hans}, + title = {Das Abbild Gottes: Gen 1:26--30}, + journaltitle = {Theologische Zeitschrift}, + shortjournal = {TZ}, + volume = {21}, + date = {1965}, + pages = {245-259, 481-501} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{21}{wildberger:1965} + \samplebib{wildberger:1965} + \samplebiblist{wildberger:1965} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@article{wellhausen:1876-1877, + author = {Wellhausen, Julius}, + title = {Die Composition des Hexateuchs}, + journaltitle = {Jahrbuch für deutsche Theologie}, + shortjournal = {JDT}, + pages = {21 \mkbibparens{1876}: 392--450\addsemicolon\space 22 \mkbibparens{1877}: 407--479} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{24}{wellhausen:1876-1877} + \samplebib{wellhausen:1876-1877} + \samplebiblist{wellhausen:1876-1877} +\end{biboutput} + +\subsubsection{A Journal Article Republished in a Collected Volume} + +\begin{lstlisting} +@article{freedman:1977, + author = {Freedman, David Noel}, + title = {Pottery, Poetry, and Prophecy: An Essay on Biblical Poetry}, + journaltitle = {Journal of Biblical Literature}, + shortjournal = {JBL}, + volume = {96}, + date = {1977}, + pages = {5-26} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{20}[20]{freedman:1977} + \samplebib{freedman:1977} + \samplebiblist{freedman:1977} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@incollection{freedman:1980, + author = {Freedman, David Noel}, + title = {Pottery, Poetry, and Prophecy: An Essay on Biblical Poetry}, + booktitle = {Pottery, Poetry, and Prophecy: Studies in Early Hebrew Poetry}, + location = {Winona Lake, IN}, + publisher = {Eisenbrauns}, + date = {1980}, + pages = {1-22} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{20}[14]{freedman:1980} + \samplebib{freedman:1980} +\end{biboutput} + +\subsubsection{A Book Review} + +\begin{lstlisting} +@review{teeple:1966, + author = {Teeple, Howard M.}, + revdauthor = {Robert, André and Feuillet, André}, + revdtitle = {Introduction to the New Testament}, + journaltitle = {Journal of Bible and Religion}, + shortjournal = {JBR}, + volume = {34}, + date = {1966}, + pages = {368-370} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{8}{teeple:1966} + \samplecite{21}[369]{teeple:1966} + \samplebib{teeple:1966} + \samplebiblist{teeple:1966} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@review{pelikan:1992, + author = {Pelikan, Jaroslav}, + title = {The Things That You're Liable to Read in the Bible}, + revdeditor = {Freedman, David Noel}, + revdtitle = {The Anchor Bible Dictionary}, + journaltitle = {New York Times Review of Books}, + date = {1992-12-20}, + pages = {3} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{9}{pelikan:1992} + \samplebib{pelikan:1992} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@article{petersen:1988, + author = {Petersen, David L.}, + title = {Hebrew Bible Textbooks: A Review Article}, + journaltitle = {Critical Review of Books in Religion}, + shortjournal = {CRBR}, + volume = {1}, + date = {1988}, + pages = {1-18} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{7}{petersen:1988} + \samplecite{14}[8]{petersen:1988} + \samplebib{petersen:1988} + \samplebiblist{petersen:1988} +\end{biboutput} + +\subsubsection{An Unpublished Dissertation or Thesis} + +\begin{lstlisting} +@thesis{klosinski:1988, + author = {Klosinski, Lee E.}, + title = {Meals in Mark}, + type = {phdthesis}, + institution = {The Claremont Graduate School}, + date = {1988} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{21}[22-44]{klosinski:1988} + \samplecite{26}[23]{klosinski:1988} + \samplebib{klosinski:1988} +\end{biboutput} + +\subsubsection{An Article in an Encyclopaedia or a Dictionary} + +\paragraph{An Article in a Multivolume Encyclopaedia or Dictionary} + +\begin{lstlisting} +@mvreference{IDB, + editor = {Buttrick, George A.}, + title = {The Interpreter's Dictionary of the Bible}, + shorttitle = {IDB}, + volumes = {4}, + location = {New York}, + publisher = {Abingdon}, + date = {1962}, + shorthand = {IDB} +} + +@inreference{stendahl:1962, + author = {Stendahl, Krister}, + title = {Biblical Theology, Contemporary}, + shorttitle = {Biblical Theology}, + volume = {1}, + pages = {418-432}, + crossref = {IDB}, + xref = {IDB} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{33}{stendahl:1962} + \samplecite{36}[419]{stendahl:1962} + \samplebib{stendahl:1962} + \samplemacro{\textbackslash usepackage[style=sbl,fullbibrefs]\{biblatex\} \\ + \textbackslash printbibliography} + \toggletrue{fullbibrefs} + \samplebib*{stendahl:1962} + \togglefalse{fullbibrefs} + \samplebiblist{IDB} +\end{biboutput} + +\paragraph{An Article in a Single-Volume Encyclopaedia or Dictionary} + +\begin{lstlisting} +@reference{DOTP, + editor = {Alexander, T. Desmond and Baker, David W.}, + title = {Dictionary of the Old Testament: Pentateuch}, + shorttitle = {DOTP}, + location = {Downers Grove, IL}, + publisher = {InterVarsity}, + date = {2003}, + shorthand = {DOTP} +} + +@inreference{olson:2003, + author = {Olson, Dennis T.}, + title = {Numbers, Book of}, + shorttitle = {Numbers}, + pages = {611-618}, + crossref = {DOTP}, + xref = {DOTP} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{33}{olson:2003} + \samplecite{36}[612]{olson:2003} + \samplebib{olson:2003} + \samplebiblist{DOTP} +\end{biboutput} + +\subsubsection{An Article in a Lexicon or Theological Dictionary} + +\begin{lstlisting} +@mvlexicon{NIDNTT, + editor = {Brown, Colin}, + title = {New International Dictionary of New Testament Theology}, + shorttitle = {NIDNTT}, + volumes = {4}, + location = {Grand Rapids}, + publisher = {Zondervan}, + date = {1975/1985}, + shorthand = {NIDNTT} +} + +@inlexicon{dahn+liefeld:see+vision+eye, + author = {Dahn, Karl and Liefeld, Walter L.}, + title = {See, Vision, Eye}, + volume = {3}, + pages = {511-521}, + xref = {NIDNTT} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{3}{dahn+liefeld:see+vision+eye} + \samplebib{NIDNTT} + \samplebiblist{NIDNTT} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@mvlexicon{TDNT, + editor = {Kittel, Gerhard and Friedrich, Gerhard}, + title = {Theological Dictionary of the New Testament}, + shorttitle = {TDNT}, + translator = {Bromiley, Geoffrey W.}, + volumes = {10}, + location = {Grand Rapids}, + publisher = {Eerdmans}, + date = {1964/1976}, + shorthand = {TDNT} +} + +@inlexicon{beyer:diakoneo+diakonia+ktl, + author = {Beyer, Hermann W.}, + title = {\textgreek{διακονέω, διακονία, κτλ}}, + volume = {2}, + pages = {81-93}, + xref = {TDNT} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{6}{beyer:diakoneo+diakonia+ktl} + \samplecite{25}[83]{beyer:diakoneo+diakonia+ktl} + \samplebib{TDNT} + \samplebiblist{TDNT} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@mvlexicon{TLNT, + author = {Spicq, Ceslas}, + title = {Theological Lexicon of the New Testament}, + shorttitle = {TLNT}, + editor = {Ernest, James D.}, + translator = {Ernest, James D.}, + volumes = {3}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1994}, + shorthand = {TLNT} +} + +@inlexicon{spicq:atakteo+ataktos+ataktos, + author = {Spicq, Ceslas}, + title = {\textgreek{ἀτακτέω, ἄτακτος, ἀτάκτως}}, + volume = {1}, + pages = {223-224}, + xref = {TLNT} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{7}{spicq:atakteo+ataktos+ataktos} + \samplebib{TLNT} + \samplebiblist{TLNT} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@mvlexicon{TLNT, + author = {Spicq, Ceslas}, + title = {Theological Lexicon of the New Testament}, + shorttitle = {TLNT}, + editor = {Ernest, James D.}, + translator = {Ernest, James D.}, + volumes = {3}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1994}, + shorthand = {TLNT} +} + +@inlexicon{spicq:amoibe, + author = {Spicq, Ceslas}, + title = {\textgreek{ἀμοιβή}}, + volume = {1}, + pages = {95-96}, + xref = {TLNT} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{143}{spicq:amoibe} + \samplecite{147}[95]{spicq:amoibe} + \samplebib{TLNT} + \samplebiblist{TLNT} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@mvlexicon{TDNT, + editor = {Kittel, Gerhard and Friedrich, Gerhard}, + title = {Theological Dictionary of the New Testament}, + shorttitle = {TDNT}, + translator = {Bromiley, Geoffrey W.}, + volumes = {10}, + location = {Grand Rapids}, + publisher = {Eerdmans}, + date = {1964/1976}, + shorthand = {TDNT} +} + +@inlexicon{beyer:diakoneo, + author = {Beyer, Hermann W.}, + title = {\textgreek{διακονέω}}, + volume = {2}, + pages = {81-87}, + xref = {TDNT} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{23}{beyer:diakoneo} + \samplebib{TDNT} + \samplebiblist{TDNT} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@mvlexicon{NIDNTT, + editor = {Brown, Colin}, + title = {New International Dictionary of New Testament Theology}, + shorttitle = {NIDNTT}, + volumes = {4}, + location = {Grand Rapids}, + publisher = {Zondervan}, + date = {1975/1985}, + shorthand = {NIDNTT} +} + +@inlexicon{dahn:horao, + author = {Dahn, Karl}, + title = {\textgreek{ὁράω}}, + volume = {3}, + pages = {511-518}, + xref = {NIDNTT} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{26}{dahn:horao} + \samplecite{29}[511]{dahn:horao} + \samplebib{NIDNTT} + \samplebiblist{NIDNTT} +\end{biboutput} + +\subsubsection{A Paper Presented at a Professional Society} + +\begin{lstlisting} +@misc{SBL, + note = {Society of Biblical Literature}, + shorthand = {SBL}, + options = {skipbib} +} + +@conferencepaper{niditch:1994, + author = {Niditch, Susan}, + title = {Oral Culture and Written Documents}, + shorttitle = {Oral Culture}, + eventtitle = {the Annual Meeting of the New England Region of the \citeshorthand{SBL}}, + venue = {Worcester, MA}, + eventdate = {1994-03-25} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{31}[13-17]{niditch:1994} + \samplecite{35}[14]{niditch:1994} + \samplebib{niditch:1994} + \samplebiblist{SBL} +\end{biboutput} + +\subsubsection{An Article in a Magazine} + +\begin{lstlisting} +@article{saldarini:1998, + author = {Saldarini, Anthony J.}, + title = {Babatha's Story}, + journaltitle = {Biblical Archaeology Review}, + shortjournal = {BAR}, + volume = {24}, + number = {2}, + date = {1998}, + pages = {23-33, 36-37, 72-74} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{8}{saldarini:1998} + \samplecite{27}[28]{saldarini:1998} + \samplebib{saldarini:1998} + \samplebiblist{saldarini:1998} +\end{biboutput} + +\subsubsection{An Electronic Journal Article} + +\begin{lstlisting} +@article{springer:2014, + author = {Springer, Carl P. E.}, + title = {Of Roosters and \mkbibemph{Repetitio}: Ambrose's \mkbibemph{Aeterne rerum conditor}}, + journaltitle = {Vigiliae Christianae}, + shortjournal = {VC}, + volume = {68}, + date = {2014}, + pages = {155-177}, + doi = {10.1163/15700720-12341158} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{43}{springer:2014} + \samplecite{45}[158]{springer:2014} + \samplebib{springer:2014} + \samplebiblist{springer:2014} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@article{truehart:1996, + author = {Truehart, Charles}, + title = {Welcome to the Next Church}, + shorttitle = {Next Church}, + url = {http://www.theatlantic.com/atlantic/issues/96aug/nxtchrch/nxtchrch.htm}, + journaltitle = {Atlantic Monthly}, + volume = {278}, + date = {1996-08}, + pages = {37-58} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{8}{truehart:1996} + \samplecite{12}[37]{truehart:1996} + \samplebib{truehart:1996} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@article{kirk:2007, + author = {Kirk, Alan}, + title = {Karl Polanyi, Marshall Sahlins, and the Study of Ancient Social Relations}, + shorttitle = {Karl Polanyi}, + journaltitle = {Journal of Biblical Literature}, + shortjournal = {JBL}, + volume = {126}, + date = {2007}, + pages = {182-191}, + doi = {10.2307/27638428}, + url = {http://www.jstor.org/stable/27638428} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{31}{kirk:2007} + \samplecite{35}[186]{kirk:2007} + \samplebib{kirk:2007} + \samplebiblist{kirk:2007} +\end{biboutput} + +\subsection{Special Examples} + +\subsubsection{Texts from the Ancient Near East} + +\paragraph{Citing \textsl{COS}} + +\begin{lstlisting} +@mvcollection{COS, + editor = {Hallo, William W.}, + title = {The Context of Scripture}, + shorttitle = {COS}, + volumes = {3}, + location = {Leiden}, + publisher = {Brill}, + date = {1997/2002}, + shorthand = {COS}, + options = {skipbib} +} + +@collection{hallo:1997, + editor = {Hallo, William W.}, + title = {Canonical Compositions from the Biblical World}, + shorttitle = {COS}, + maintitle = {The Context of Scripture}, + volume = {1}, + location = {Leiden}, + publisher = {Brill}, + date = {1997}, + shorthand = {COS}, + xref = {COS}, + options = {skipbiblist} +} + +@ancienttext{greathymnaten, + entrysubtype = {COS}, + title = {The Great Hymn to the Aten}, + shorttitle = {Great Hymn to the Aten}, + translator = {Lichtheim, Miriam}, + volume = {1}, + part = {26}, + pages = {44-46}, + related = {hallo:1997}, + relatedoptions = {usevolume=false,skipbiblist} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{7}{greathymnaten} + \samplecite{11}[44-46]{greathymnaten} + \samplebib{hallo:1997} + \samplebiblist{COS} +\end{biboutput} + +\paragraph{Citing Other Texts} + +\begin{lstlisting} +@collection{ANET, + editor = {Pritchard, James B.}, + title = {Ancient Near Eastern Texts Relating to the Old Testament}, + shorttitle = {ANET}, + edition = {3}, + location = {Princeton}, + publisher = {Princeton University Press}, + date = {1969}, + shorthand = {ANET} +} + +@ancienttext{suppiluliumas, + title = {Suppiluliumas and the Egyptian Queen}, + translator = {Goetz, Albrecht}, + related = {ANET}, +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{16}[319]{suppiluliumas} + \samplebib{ANET} + \samplebiblist{ANET} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{dalley:1991, + author = {Dalley, Stephanie}, + title = {Myths from Mesopotamia}, + location = {Oxford}, + publisher = {Oxford University Press}, + date = {1991} +} + +@ancienttext{erraandishum, + title = {Erra and Ishum}, + pages = {282-315}, + related = {dalley:1991}, +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{5}{erraandishum} + \samplebib{dalley:1991} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{foster:1993, + author = {Foster, Benjamin}, + title = {Before the Muses: An Anthology of Akkadian Literature}, + shorttitle = {Muses}, + volume = {1}, + location = {Bethesda, MD}, + publisher = {CDL}, + date = {1993} +} + +@ancienttext{erraandishum:foster, + title = {Erra and Ishum}, + pages = {771-805}, + related = {foster:1993}, + relatedoptions = {usevolume=false} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{5}{erraandishum:foster} + \samplebib{foster:1993} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@mvbook{AEL, + author = {Lichtheim, Miriam}, + title = {Ancient Egyptian Literature}, + shorttitle = {AEL}, + volumes = {3}, + location = {Berkeley}, + publisher = {University of California Press}, + date = {1971/1980}, + shorthand = {AEL}, + options = {skipbib} +} + +@book{lichtheim:1976, + author = {Lichtheim, Miriam}, + title = {Ancient Egyptian Literature}, + shorttitle = {AEL}, + volume = {2}, + location = {Berkeley}, + publisher = {University of California Press}, + date = {1976}, + shorthand = {AEL}, + xref = {AEL}, + options = {skipbiblist} +} + +@ancienttext{doomedprince, + title = {The Doomed Prince}, + pages = {200-203}, + related = {lichtheim:1976}, + relatedoptions = {shorthand=short,usevolume=false,skipbiblist} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{34}{doomedprince} + \samplecite{36}[200-203]{doomedprince} + \samplebib{lichtheim:1976} + \samplebiblist{AEL} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{hoffner:1990, + author = {Hoffner, Jr., Harry A.}, + title = {Hittite Myths}, + editor = {Beckman, Gary M.}, + series = {Writings from the Ancient World}, + shortseries = {WAW}, + number = {2}, + location = {Atlanta}, + publisher = {Scholars Press}, + date = {1990} +} + +@ancienttext{disappearanceofsungod, + title = {The Disappearance of the Sun God}, + related = {hoffner:1990} +} +\end{lstlisting} + +\begin{biboutput} + \samplemacro{\textbackslash autocite[(§3 \textbackslash{}mkbibparens\{A I + 11--17\})26]\{disappearanceofsungod\}} + \samplecite*{12}[(§3 \mkbibparens{A I 11--17})26]{disappearanceofsungod} + \samplebib{hoffner:1990} + \samplebiblist{hoffner:1990} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@mvbook{RIMA, + entrysubtype = {RIMA}, + author = {Grayson, Albert Kirk}, + title = {Assyrian Rulers of the Early First Millennium BC \mkbibparens{1114--859 BC}}, + series = {The Royal Inscriptions of Mesopotamia, Assyrian Periods}, + shortseries = {RIMA}, + number = {2}, + location = {Toronto}, + publisher = {University of Toronto Press}, + date = {1991}, + shorthand = {RIMA}, + options = {skipbiblistshorthand} +} + +@ancienttext{ashurinscription, + entrysubtype = {inscription}, + title = {Ashur Inscription}, + pages = {143-144}, + related = {RIMA}, + relatedoptions = {skipbiblistshorthand,shorthand=short} +} +\end{lstlisting} + +\begin{biboutput} + \samplemacro{\textbackslash autocite[(obv.\textbackslash{} lines + 10--17)]\{ashurinscription\}} + \samplecite*{32}[(obv.\ lines 10--17)]{ashurinscription} + \samplemacro{\textbackslash autocite[(obv.\textbackslash{} lines + 10--17)143-144]\{ashurinscription\}} + \samplecite*{34}[(obv.\ lines 10--17)143-144]{ashurinscription} + \samplebib{RIMA} + \samplebiblist{series-RIMA} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{ABC, + author = {Grayson, Albert Kirk}, + title = {Assyrian and Babylonian Chronicles}, + shorttitle = {ABC}, + series = {Texts from Cuneiform Sources}, + shortseries = {TCS}, + number = {5}, + location = {Locust Valley, NY}, + publisher = {Augustin}, + date = {1975}, + shorthand = {ABC} +} + +@ancienttext{esarhaddonchronicle, + entrysubtype = {chronicle}, + title = {Esarhaddon Chronicle}, + related = {ABC}, + relatedoptions = {shorthand=short} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{33}[(lines 3--4)125]{esarhaddonchronicle} + \samplecite{34}[(lines 3--4)125]{esarhaddonchronicle} + \samplebib{ABC} + \samplebiblist{ABC} + \samplebiblist*{series-ABC} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{ARM1, + author = {Dossin, Georges}, + title = {Lettres}, + series = {Archives royales de Mari}, + shortseries = {ARM}, + number = {1}, + origdate = {1946}, + location = {Paris}, + publisher = {Geuthner}, + date = {1967}, + shorthand = {ARM}, + options = {skipbiblistshorthand} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{45}[1.3]{ARM1} + \samplebib{ARM1} + \samplebiblist{series-ARM1} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{ARMT1, + author = {Dossin, Georges}, + title = {Correspondance de Šamši-Addu et de ses fils}, + series = {Archives royales de Mari, transcrite et traduite}, + shortseries = {ARMT}, + number = {1}, + location = {Paris}, + publisher = {Imprimerei nationale}, + date = {1950}, + shorthand = {ARMT}, + options = {skipbiblistshorthand} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{45}[1.3]{ARMT1} + \samplebib{ARMT1} + \samplebiblist{series-ARMT1} +\end{biboutput} + +\subsubsection{Loeb Classical Library (Greek and Latin)} + +\begin{lstlisting} +@mvbook{josephus, + title = {Josephus}, + translator = {Thackeray, Henry St.\@ J. and others}, + volumes = {10}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + location = {Cambridge}, + publisher = {Harvard University Press}, + date = {1926/1965} +} + +@classictext{josephus:ant, + author = {Josephus}, + title = {Ant\adddot}, + xref = {josephus} +} +\end{lstlisting} + +\begin{biboutput} + \sampleparencite[2.233-235]{josephus:ant} + \samplecite{1}[2.233-235]{josephus:ant} + \samplebib{josephus} + \samplebiblist{josephus} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@mvbook{tacitus, + author = {Tacitus}, + title = {The Histories and The Annals}, + translator = {Clifford H. Moore and John Jackson}, + volumes = {4}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + location = {Cambridge}, + publisher = {Harvard University Press}, + date = {1937} +} + +@classictext{tacitus:ann, + author = {Tacitus}, + title = {Ann\adddot}, + xref = {tacitus} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{4}[15.18-19]{tacitus:ann} + \samplebib{tacitus} + \samplebiblist{tacitus} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@mvbook{josephus, + title = {Josephus}, + translator = {Thackeray, Henry St.\@ J. and others}, + volumes = {10}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + location = {Cambridge}, + publisher = {Harvard University Press}, + date = {1926/1965} +} + +@classictext{josephus:ant:thackery, + author = {Josephus}, + title = {Ant\adddot}, + translator = {Thackeray}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + xref = {josephus} +} +\end{lstlisting} + +\begin{biboutput} + \sampleparencite[2.233-235]{josephus:ant:thackery} + \samplecite{5}[2.233-235]{josephus:ant:thackery} + \samplebib{josephus} + \samplebiblist{josephus} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@mvbook{tacitus, + author = {Tacitus}, + title = {The Histories and The Annals}, + translator = {Clifford H. Moore and John Jackson}, + volumes = {4}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + location = {Cambridge}, + publisher = {Harvard University Press}, + date = {1937} +} + +@classictext{tacitus:ann:jackson, + author = {Tacitus}, + title = {Ann\adddot}, + translator = {Jackson}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + xref = {tacitus} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{6}[15.18-19]{tacitus:ann:jackson} + \samplebib{tacitus} + \samplebiblist{tacitus} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@mvbook{josephus, + title = {Josephus}, + translator = {Thackeray, Henry St.\@ J. and others}, + volumes = {10}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + location = {Cambridge}, + publisher = {Harvard University Press}, + date = {1926/1965} +} + +@book{josephus:ant1-19, + author = {Josephus, Flavius}, + shortauthor = {Josephus}, + title = {The Jewish Antiquities, Books 1--19}, + shorttitle = {Ant\adddot}, + translator = {Thackeray, Henry St.\@ J. and others}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + location = {Cambridge}, + publisher = {Harvard University Press}, + date = {1930/1965}, + xref = {josephus}, + options = {skipbib} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{14}{josephus:ant1-19} + \samplebib{josephus} + \samplebiblist{josephus} +\end{biboutput} + +\subsubsection{Papyri, Ostraca, and Epigraphica} + +\paragraph{Papyri and Ostraca in General} + +\begin{lstlisting} +@ancienttext{p.cair.zen., + editor = {Edgar, C. C.}, + title = {Zenon Papyri, Catalogue général des antiquités égyptiennes du Musée du Caire}, + location = {Cairo}, + shorthand = {P.Cair.Zen.}, + options = {skipbib,useeditor=false} +} +\end{lstlisting} + +\begin{biboutput} + \sampleparencite[59003]{p.cair.zen.} + \samplecite{22}[59003]{p.cair.zen.} + \samplebiblist{p.cair.zen.} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{hunt+edgar:1932, + author = {Hunt, Arthur S. and Edgar, Campbell C.}, + title = {Select Papyri}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + location = {Cambridge}, + publisher = {Harvard University Press}, + date = {1932} +} + +@ancienttext{p.cair.zen.:hunt+edgar, + editor = {Edgar, C. C.}, + title = {Zenon Papyri, Catalogue général des antiquités égyptiennes du Musée du Caire}, + location = {Cairo}, + shorthand = {P.Cair.Zen.}, + options = {skipbib,useeditor=false}, + related = {hunt+edgar:1932}, + relatedoptions = {useshorttitle=false} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{22}[(59003)1:96]{p.cair.zen.:hunt+edgar} + \samplecite{22}[(59003)§31]{p.cair.zen.:hunt+edgar} + \samplebib{hunt+edgar:1932} + \samplebiblist{hunt+edgar:1932} + \samplebiblist*{p.cair.zen.:hunt+edgar} +\end{biboutput} + +\paragraph{Epigraphica} + +\paragraph{Greek Magical Papyri} + +\begin{lstlisting} +@ancienttext{PGM, + editor = {Preisendaz, Karl}, + title = {Papyri Graecae Magicae: Die griechischen Zauberpapyri}, + shorttitle = {PGM}, + edition = {2}, + location = {Stuttgart}, + publisher = {Teubner}, + date = {1973/1974}, + shorthand = {PGM}, + options = {skipbib} +} +\end{lstlisting} + +\begin{biboutput} + \sampleparencite[III. 1-164]{PGM} + \samplecite{22}[III. 1-164]{PGM} + \samplebiblist{PGM} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{betz:1996, + author = {Betz, Hans Dieter}, + title = {The Greek Magical Papyri in Translation, Including the Demotic Spells}, + edition = {2}, + location = {Chicago}, + publisher = {University of Chicago Press}, + date = {1996} +} + +@ancienttext{PGM:betz, + editor = {Preisendaz, Karl}, + title = {Papyri Graecae Magicae: Die griechischen Zauberpapyri}, + shorttitle = {PGM}, + edition = {2}, + location = {Stuttgart}, + publisher = {Teubner}, + date = {1973/1974}, + shorthand = {PGM}, + related = {betz:1996}, + relatedoptions = {usefullcite=false,useshorttitle=false} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{22}[(III. 1-164)]{PGM:betz} + \samplebib{betz:1996} + \samplebiblist{PGM:betz} +\end{biboutput} + +\subsubsection{Ancient Epistles and Homilies} + +\begin{lstlisting} +@classictext{heraclitus:epistle1, + author = {Heraclitus}, + title = {Epistle 1} +} +\end{lstlisting} + +\begin{biboutput} + \sampleparencite[10]{heraclitus:epistle1} + \samplecite{34}[10]{heraclitus:epistle1} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{malherbe:1977, + editor = {Malherbe, Abraham J.}, + title = {The Cynic Epistles: A Study Edition}, + series = {Stuttgarter Bibelstudien}, + shortseries = {SBS}, + number = {12}, + location = {Atlanta}, + publisher = {Scholars Press}, + date = {1977} +} + +@classictext{heraclitus:epistle1:worley, + author = {Heraclitus}, + title = {Epistle 1}, + translator = {Worley, David}, + pages = {187}, + crossref = {malherbe:1977} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{36}[10]{heraclitus:epistle1:worley} + \samplebib{heraclitus:epistle1:worley} + If \texttt{malherbe:1977} is referenced \texttt{microssrefs} times or more + then:\par + \samplebib{heraclitus:epistle1:worley} + \samplebib*{malherbe:1977} + \samplebiblist{malherbe:1977} +\end{biboutput} + +\subsubsection{\emph{ANF} and \emph{NPNF}, First and Second Series} + +\begin{lstlisting} +@mvcollection{ANF, + crossref = {ANF:abbreviation}, + editor = {Roberts, Alexander and Donaldson, James}, + origdate = {1885/1887}, + volumes = {10}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1994}, + shorthand = {ANF}, + options = {useeditor=false,skipbiblist}, + sortkey = {Ante-Nicene Fathers}, + xref = {ANF:abbreviation} +} + +@mvcollection{ANF:abbreviation, + title = {The Ante-Nicene Fathers}, + shorttitle = {ANF}, + shorthand = {ANF}, + options = {skipbib} +} + +@classictext{clementinehomilies, + entrysubtype = {churchfather}, + title = {The Clementine Homilies}, + related = {ANF}, + relatedoptions = {useeditor=false,skipbiblist} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{14}[(1.3)8:223]{clementinehomilies} + \samplebib{ANF} + \samplebiblist{ANF:abbreviation} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@mvcollection{NPNF1, + crossref = {NPNF1:abbreviation}, + editor = {Schaff, Philip}, + origdate = {1886/1889}, + volumes = {14}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1994}, + shorthand = {NPNF\textsuperscript{1}}, + options = {useeditor=false,skipbiblist}, + sortkey = {Nicene and Post-Nicene Fathers, Series 1}, + xref = {NPNF1:abbreviation} +} + +@mvcollection{NPNF1:abbreviation, + title = {The Nicene and Post-Nicene Fathers, \mkbibemph{Series~1}}, + shorttitle = {NPNF\textsuperscript{1}}, + shorthand = {NPNF\textsuperscript{1}}, + options = {skipbib} +} + +@classictext{augustine:letters, + entrysubtype = {churchfather}, + author = {Augustine}, + title = {The Letters of St.\@ Augustin}, + shorttitle = {Letters of St.\@ Augustin}, + volume = {1}, + crossref = {NPNF1}, + related = {NPNF1}, + relatedoptions = {useeditor=false,skipbiblist,skipbib}, + options = {skipbib=false} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{44}[(28.3.5)252]{augustine:letters} + \samplebib{augustine:letters} + \samplebiblist{NPNF1:abbreviation} +\end{biboutput} + +\subsubsection{J.-P. Migne's Patrologia Latina and Patrologia Graeca} + +\begin{lstlisting} +@series{PL, + title = {Patrologia Latina}, + editor = {Migne, J.-P.}, + volumes = {217}, + location = {Paris}, + date = {1844/1864}, + shorthand = {PL} +} + +@series{PG, + title = {Patrologia Graeca}, + editor = {Migne, J.-P.}, + volumes = {162}, + location = {Paris}, + date = {1857/1886}, + shorthand = {PG} +} + +@classictext{gregory:orationestheologicae, + entrysubtype = {churchfather}, + author = {{Gregory of Nazianzus}}, + title = {Orationes theologicae}, + volume = {36}, + related = {PG}, + relatedoptions = {useeditor=false} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{6}[(4)12c]{gregory:orationestheologicae} + \samplebib{PG} + \samplebib*{PL} + \samplebiblist{PG} + \samplebiblist*{PL} +\end{biboutput} + +\subsubsection{Strack-Billerbeck, \emph{Kommentar zum Neuen Testament}} + +\begin{lstlisting} +@mvbook{Str-B, + author = {Strack, Hermann L. and Billerbeck, Paul}, + title = {Kommentar zum Neuen Testament aus Talmud und Midrasch}, + volumes = {6}, + location = {Munich}, + publisher = {Beck}, + date = {1922/1961}, + shorthand = {Str-B} +} +\end{lstlisting} + +\begin{biboutput} + \samplemacro{\textbackslash autocite[See the discussion of \textbackslash + textgreek\{ἐκρατοῦντο\} in][2:271]\{Str-B\}} + \samplecite*{3}[See the discussion of \textgreek{ἐκρατοῦντο} in][2:271]{Str-B} + \samplebib{Str-B} + \samplebiblist{Str-B} +\end{biboutput} + +\subsubsection{\emph{Aufstieg und Niedergang der römischen Welt (ANRW)}} + +\begin{lstlisting} +@mvcollection{ANRW, + editor = {Temporini, Hildegard and Haase, Wolfgang}, + title = {Aufstieg und Niedergang der römischen Welt: Geschichte und Kultur Roms im Spiegel der neueren Forschung.}, + shorttitle = {ANRW}, + titleaddon = {Part 2, \mkbibemph{Principat}}, + location = {Berlin}, + publisher = {de Gruyter}, + date = {1972/}, + shorthand = {ANRW} +} + +@ancienttext{anderson:pepaideumenos, + entrysubtype = {ANRW}, + author = {Anderson, Graham}, + title = {The \mkbibemph{pepaideumenos} in Action: Sophists and Their Outlook in the Early Empire}, + shorttitle = {\mkbibemph{Pepaideumenos}}, + volume = {33}, + part = {1}, + pages = {80-208}, + location = {New York}, + publisher = {de Gruyter}, + date = {1989}, + related = {ANRW}, + relatedoptions = {skipbib}, + options = {skipbib=false} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{76}{anderson:pepaideumenos} + \samplecite{79}[86]{anderson:pepaideumenos} + \samplebib{anderson:pepaideumenos} + \samplebib*{ANRW} + \samplebiblist{ANRW} +\end{biboutput} + +\subsubsection{Bible Commentaries} + +\begin{lstlisting} +@commentary{hooker:1991, + author = {Hooker, Morna}, + title = {The Gospel according to Saint Mark}, + series = {Black's New Testament Commentaries}, + shortseries = {BNTC}, + number = {2}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1991} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{6}[223]{hooker:1991} + \samplebib{hooker:1991} + \samplebiblist{hooker:1991} +\end{biboutput} + +\paragraph{Articles and Notes in Study Bibles} + +\begin{lstlisting} +@inbook{petersen:2006, + author = {Petersen, David L.}, + title = {Ezekiel}, + pages = {1096-1167}, + booktitle = {The HarperCollins Study Bible Fully Revised and Updated: New Revised Standard Version, with the Apocryphal\slash Deuterocanonical Books}, + editor = {Attridge, Harold W. and others}, + location = {San Francisco}, + publisher = {HarperSanFrancisco}, + date = {2006} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{3}[1096]{petersen:2006} + \samplecite{5}[1096]{petersen:2006} + \samplebib{petersen:2006} +\end{biboutput} + +\paragraph{Single-Volume Commentaries on the Entire Bible} + +\begin{lstlisting} +@incommentary{partain:1995, + author = {Partain, Jack G.}, + title = {Numbers}, + pages = {175-179}, + booktitle = {Mercer Commentary on the Bible}, + editor = {Mills, Watson E. and others}, + location = {Macon, GA}, + publisher = {Mercer University Press}, + date = {1995} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{5}{partain:1995} + \samplecite{8}[175]{partain:1995} + \samplebib{partain:1995} +\end{biboutput} + +\subsubsection{Multivolume Commentaries} + +\paragraph{Multivolume Commentaries on a Single Biblical Book by One Author} + +\begin{lstlisting} +@mvcommentary{dahood:1965-1970, + author = {Dahood, Mitchell}, + title = {Psalms}, + volumes = {3}, + series = {Anchor Bible}, + shortseries = {AB}, + number = {16--17A}, + location = {Garden City, NY}, + publisher = {Doubleday}, + date = {1965/1970} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{4}[3:127]{dahood:1965-1970} + \samplecite{7}[2:121]{dahood:1965-1970} + \samplebib{dahood:1965-1970} + \samplebiblist{dahood:1965-1970} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@commentary{dahood:1965, + author = {Dahood, Mitchell}, + title = {Psalms I: 1--50}, + shorttitle = {Psalms I: 1--50}, + volume = {1}, + maintitle = {Psalms}, + series = {Anchor Bible}, + shortseries = {AB}, + number = {16}, + location = {Garden City, NY}, + publisher = {Doubleday}, + date = {1965} +} + +@commentary{dahood:1968, + author = {Dahood, Mitchell}, + title = {Psalms II: 51--100}, + shorttitle = {Psalms II: 51--100}, + volume = {2}, + maintitle = {Psalms}, + series = {Anchor Bible}, + shortseries = {AB}, + number = {17}, + location = {Garden City, NY}, + publisher = {Doubleday}, + date = {1968} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{78}[44]{dahood:1965} + \samplecite{79}[78]{dahood:1965} + \samplecite{82}[374]{dahood:1968} + \samplebib{dahood:1965} + \renewbibmacro*{dashcheck}[2]{% + \usebibmacro{cbx:dashcheck}{#1}{#1}} + \samplebib*{dahood:1968} + \samplebiblist{dahood:1965} +\end{biboutput} + +\paragraph{Multivolume Commentaries for the Entire Bible by Multiple Authors} + +\begin{lstlisting} +@mvcommentary{NIB, + editor = {Keck, Leander E.}, + title = {The New Interpreter's Bible}, + shorttitle = {NIB}, + volumes = {12}, + location = {Nashville}, + publisher = {Abingdon}, + date = {1994/2004}, + shorthand = {NIB} +} + +@incommentary{miller:2001, + author = {Miller, Patrick D.}, + title = {The Book of Jeremiah: Introduction, Commentary, and Reflections}, + pages = {553-926}, + booktitle = {Introduction to Prophetic Literature, Isaiah, Jeremiah, Baruch, Letter of Jeremiah, Lamentations, Ezekiel}, + volume = {6}, + date = {2001}, + crossref = {NIB}, + xref = {NIB} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{1}[577]{miller:2001} + \samplebib{miller:2001} + \samplemacro{\textbackslash usepackage[style=sbl,fullbibrefs]\{biblatex\} \\ + \textbackslash printbibliography} + \toggletrue{fullbibrefs} + \samplebib*{miller:2001} + \togglefalse{fullbibrefs} + \samplebiblist{NIB} +\end{biboutput} + +\subsubsection{SBL Seminar Papers} + +\begin{lstlisting} +@seminarpaper{crenshaw:2001, + author = {Crenshaw, James L.}, + title = {Theodicy in the Book of the Twelve}, + booktitle = {Society of Biblical Literature 2001 Seminar Papers}, + series = {Society of Biblical Literature Seminar Papers}, + shortseries = {SBLSP}, + number = {40}, + location = {Atlanta}, + publisher = {Society of Biblical Literature}, + date = {2001}, + pages = {1-18} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{33}{crenshaw:2001} + \samplebib{crenshaw:2001} + \samplebiblist{crenshaw:2001} +\end{biboutput} + +\subsubsection{A CD-ROM Reference (with a Corresponding Print Edition)} + +Books on CD-ROM should be cited according to the print edition. It is not +necessary to indicate the medium in the citation. + +\subsubsection{Text Editions Published Online with No Print Counterpart} + +\begin{lstlisting} +@online{wilhelm:2013, + editor = {Wilhelm, Gernot}, + title = {Der Vertrag Šuppiluliumas I. von Ḫatti mit Šattiwazza von Mitrani \mkbibparens{CTH 51.I}}, + shorttitle = {Der Vertrag Šuppiluliumas I}, + eprintdate = {2013-02-24}, + eprint = {CTH 51.I}, + eprintclass = {INTR 2013-02-24}, + eprinttype = {hethiter} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{2}{wilhelm:2013} + \samplecite{4}{wilhelm:2013} + \samplebib{wilhelm:2013} +\end{biboutput} + +\subsubsection{Online Database} + +\begin{lstlisting} +@online{cobb:figurines, + author = {{Cobb Institute of Archaeology}}, + title = {The Figurines of Maresha, the Persian Era}, + eprint = {http://www.cobb.msstate.edu/dignew/Maresha/index.html}, + eprinttype = {DigMaster}, + options = {indexing=false} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{37}{cobb:figurines} + \samplebib{cobb:figurines} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@online{caraher:2013, + editor = {Caraher, William R.}, + title = {Pyla-Koutsopetria Archaeological Project: \mkbibparens{Overview}}, + eprint = {http://opencontext.org/projects/3F6DCD13-A476-488E-ED10-47D25513FCB2}, + eprinttype = {Open Context}, + doi = {10.6078/M7B56GNS}, + eprintdate = {2013-11-05} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{15}{caraher:2013} + \samplecite{17}{caraher:2013} + \samplebib{caraher:2013} +\end{biboutput} + +\subsubsection{Websites and Blogs} + +\begin{lstlisting} +@online{100cuneiform, + title = {The One Hundred Most Important Cuneiform Objects}, + eprint = {http://cdli.ox.ac.uk/wiki/doku.php?id=the_one_hundred_most_ important_cuneiform_objects}, + eprinttype = {cdli:wiki} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{10}{100cuneiform} + \samplebib{100cuneiform} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@online{goodacre:2014, + author = {Goodacre, Mark}, + title = {Jesus' Wife Fragment: Another Round-Up}, + journaltitle = {NT Blog}, + date = {2014-05-09}, + url = {http://ntweblog.blogspot.com} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{3}{goodacre:2014} +\end{biboutput} + +\section{Other Examples} + +\subsection{BDAG, BDB, BDF} + +\begin{lstlisting} +@lexicon{BDAG, + author = {Danker, Frederick W. and Bauer, Walter and Arndt, William F. and Gingrich, F. Wilbur}, + title = {Greek-English Lexicon of the New Testament and Other Early Christian Literature.}, + edition = {3}, + location = {Chicago}, + publisher = {University of Chicago Press}, + date = {2000}, + shorthand = {BDAG} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{1}[35]{BDAG} + \samplebib{BDAG} + \samplebiblist{BDAG} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@lexicon{BDB:abbreviation, + author = {Brown, Francis and Driver, S. R. and Briggs, Charles A.}, + title = {A Hebrew and English Lexicon of the Old Testament}, + shorthand = {BDB}, + options = {skipbib} +} + +@lexicon{BDB, + crossref = {BDB:abbreviation}, + location = {Oxford}, + publisher = {Oxford University Press}, + date = {1906}, + shorthand = {BDB}, + xref = {BDB:abbreviation}, + options = {skipbiblist} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{2}[432]{BDB} + \samplebib{BDB} + \samplebiblist{BDB:abbreviation} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@book{BDF, + author = {Blass, Friedrich and Debrunner, Albert and Funk, Robert W.}, + title = {A Greek Grammar of the New Testament and Other Early Christian Literature}, + location = {Chicago}, + publisher = {University of Chicago Press}, + date = {1961}, + shorthand = {BDF} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{3}[§441]{BDF} + \samplebib{BDF} + \samplebiblist{BDF} +\end{biboutput} + +\subsection{\emph{HALOT, TLOT}} + +\begin{lstlisting} +@mvlexicon{HALOT, + author = {Koehler, Ludwig and Baumgartner, Walter and Stamm, Johann J.}, + title = {The Hebrew and Aramaic Lexicon of the Old Testament}, + shorttitle = {HALOT}, + editor = {Richardson, Mervyn E. J.}, + editortype = {translated and edited under the supervision of}, + volumes = {4}, + location = {Leiden}, + publisher = {Brill}, + date = {1994/1999}, + shorthand = {HALOT} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{4}[2:223]{HALOT} + \samplebib{HALOT} + \samplebiblist{HALOT} +\end{biboutput} + +\medskip + +\begin{lstlisting} +@mvlexicon{TLOT, + title = {Theological Lexicon of the Old Testament}, + shorttitle = {TLOT}, + editor = {Jenni, Ernst}, + witheditor = {Westermann, Claus}, + witheditortype = {withassistance}, + translator = {Biddle, Mark E.}, + volumes = {3}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1997}, + shorthand = {TLOT} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{5}[1:24]{TLOT} + \samplebib{TLOT} + \samplebiblist{TLOT} +\end{biboutput} + +\subsection{\emph{SBLHS}} + +\begin{lstlisting} +@manual{SBLHS, + title = {SBL Handbook of Style: For Biblical Studies and Related Disciplines}, + shorttitle = {SBLHS}, + edition = {2}, + location = {Atlanta, GA}, + publisher = {SBL Press}, + date = {2014}, + shorthand = {SBLHS} +} +\end{lstlisting} + +\begin{biboutput} + \samplecite{1}[§6.2.1]{SBLHS} + \samplebib{SBLHS} + \samplebiblist{SBLHS} +\end{biboutput} + +\clearpage + +\phantomsection +\printbiblist[heading=biblistintoc]{abbreviations} + +\clearpage + +\phantomsection +\printbibliography[heading=bibintoc,notcategory=ignore] + +\clearpage + +\rmfamily +\printindex + +\end{document} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl-ibid.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl-ibid.pdf Binary files differnew file mode 100644 index 0000000000..95b796a2ea --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl-ibid.pdf diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl-ibid.tex b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl-ibid.tex new file mode 100644 index 0000000000..011d44dba7 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl-ibid.tex @@ -0,0 +1,231 @@ +\documentclass[a4paper]{article} + +\usepackage{microtype} +\usepackage{fontspec} +\usepackage{xparse} +\usepackage{xcolor} +\usepackage{parskip}[=v1] +\usepackage{titlesec} +\usepackage{imakeidx} +\makeindex[title=Author Index,intoc,options=-q] +\usepackage{hyperref} +\usepackage[style=sbl,indexing=cite]{biblatex} +\addbibresource{biblatex-sbl.bib} + +\setmonofont{DejaVu Sans Mono}[Scale=MatchLowercase] +\setromanfont{Linux Libertine O} +\setsansfont{Linux Biolinum O}[ + BoldItalicFont={* Bold}, + BoldItalicFeatures={FakeSlant=0.2} +] + +\titleformat{\paragraph} +{\normalfont\sffamily\normalsize\bfseries}{\theparagraph}{1em}{} +\titleformat{\subparagraph} +{\normalfont\sffamily\small\scshape}{\thesubparagraph}{1em}{} +\titlespacing*{\paragraph}{0pt}{2ex plus 1ex minus 0.2ex}{0.5ex} +\titlespacing*{\subparagraph}{0pt}{1ex plus 0.2ex}{0em} + +\titleclass{\subsubparagraph}{straight}[\subparagraph] +\titleformat{\subsubparagraph}{\normalfont\ttfamily\small}{}{1em}{} +\titlespacing*{\subsubparagraph}{0pt}{0pt}{0pt} + +\setcounter{secnumdepth}{4} % how many sectioning levels to assign numbers to + +\setlength{\parskip}{1ex plus 0.5ex minus 0.25ex} + +\definecolor{biblatex-colour}{rgb}{0.25,0.25,0.65} +\definecolor{reference-colour}{rgb}{0,0.6,0.15} + +\ExplSyntaxOn +\NewDocumentCommand \samplemacro { m } + { + \subsubparagraph*{#1} + } +\NewDocumentCommand \sblrefsamplecite { s m m m o o m } + { + \IfNoValueTF { #5 } + { + \IfNoValueT { #6 } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash #2\{#7\}} + } + \color{biblatex-colour} + \hspace*{\bibindent}#4\csuse{#3}{#7} + } + } + { + \IfNoValueTF { #6 } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash #2[#5]\{#7\}} + } + \color{biblatex-colour} + \hspace*{\bibindent}#4\csuse{#3}[#5]{#7} + } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash #2[#5][#6]\{#7\}} + } + \color{biblatex-colour} + \hspace*{\bibindent}#4\csuse{#3}[#5][#6]{#7} + } + } + } +\NewDocumentCommand \samplecite { s m o o m } + { + \rmfamily + \IfBooleanTF { #1 } + { + \sblrefsamplecite*{autocite}{cite}{#2.~}[#3][#4]{#5}.\par + } + { + \sblrefsamplecite{autocite}{cite}{#2.~}[#3][#4]{#5}.\par + } + \color{black} + } +\NewDocumentCommand \sampleparencite { s o o m } + { + \rmfamily + \IfBooleanTF { #1 } + { + \sblrefsamplecite*{parencite}{parencite}{}[#2][#3]{#4}\par + } + { + \sblrefsamplecite{parencite}{parencite}{}[#2][#3]{#4}\par + } + \color{black} + } +\NewDocumentCommand \samplebib { s m } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash printbibliography} + } + \color{biblatex-colour} + \rmfamily\hangindent\bibindent\bibentrycite{#2}.\par + \color{black} + } +\NewDocumentCommand \samplebiblist { s m } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash printbiblist\{abbreviations\}} + } + \color{biblatex-colour} + \biblistcite{#2} + \color{black} + } +\NewDocumentCommand \refbiblist { m m } + { + \color{reference-colour} + \strut\rmfamily\hangindent 6em\rlap{#1}\hskip 6em #2\par + \color{black} + } +\ExplSyntaxOff + +\newenvironment{biboutput}{% + \subparagraph{Biblatex Output} +}{\color{black}} + +\newenvironment{refimp}{% + \subparagraph{Reference Implementation} + \color{reference-colour} + \rm +}{\par\color{black}} + +\title{Biblatex-SBL \emph{ibidem} and \emph{idem} Test File} +\author{David Purton} +\date{} + +\begin{document} + +\maketitle + +This file tests the behaviour of the various options related to using +\emph{ibidem} and \emph{idem} in Biblatex-SBL. + +\section*{Default \emph{ibidem} tracking} + +By default ibid.\@ is not used across page breaks and \emph{ibidem} is taken +to mean ‘same author + same title’. See \texttt{biblatex-sbl.pdf} for a +description of the options \texttt{ibidtracker} can take. + +\begin{biboutput} + \samplemacro{\textbackslash usepackage[style=sbl]\{biblatex\}} + \samplecite{1}[127]{talbert:1992} + \samplecite{2}[22]{talbert:1992} + \samplecite{3}[22]{talbert:1992} + \samplecite{4}[237]{robinson+koester:1971} + \samplecite{5}[22]{talbert:1992} + \samplemacro{\textbackslash clearpage} + \clearpage + \samplecite{6}[22]{talbert:1992} +\end{biboutput} + +\section*{Not tracking \emph{ibidem} across pages} + +\boolfalse{pagetracker} + +Set the \texttt{pagetracker} option to \texttt{false} to allow that the first +citation on a page to be ibid. + +\boolfalse{pagetracker} + +\begin{biboutput} + \samplemacro{\textbackslash usepackage[style=sbl,pagetracker=false]\{biblatex\}} + \samplecite{7}[53]{scott+etal:1993} + \samplecite{8}[42]{scott+etal:1993} + \samplemacro{\textbackslash clearpage} + \clearpage + \samplecite{9}[42]{scott+etal:1993} +\end{biboutput} + +\section*{\emph{Ibidem} meaning ‘same author + same title + same page’} + +Turn on the \texttt{ibidpage} option to indicate that \emph{ibidem} should +mean ‘same author + same title + same page’. + +\makeatletter +\let\blx@imc@ifloccit\blx@ifloccit@global +\let\blx@loccittracker\blx@loccittracker@global +\let\blx@loccitreset\blx@loccitreset@global +\makeatother + +\begin{biboutput} + \samplemacro{\textbackslash usepackage[style=sbl,ibidpage]\{biblatex\}} + \samplecite{10}[28]{egger:1996} + \samplecite{11}[28]{egger:1996} + \samplecite{12}[291]{egger:1996} +\end{biboutput} + +\section*{Default \emph{idem} tracking} + +By default \emph{idem} is used. \emph{Idem} tracking is controlled using the +\texttt{idemtracker} option. See \texttt{biblatex-sbl.pdf} for a description +of the options \texttt{idemtracker} can take. + +\begin{biboutput} + \samplemacro{\textbackslash usepackage[style=sbl]\{biblatex\}} + \makeatletter\blx@opt@idemtracker@constrict\makeatother + \samplemacro{\textbackslash autocites[35]\{vanseters:1997\}\{vanseters:1995\}} + \color{biblatex-colour} + \hspace*{\bibindent}13.~\cites[35]{vanseters:1997}{vanseters:1995}. + \color{black} + \samplemacro{\textbackslash + autocites[35]\{vanseters:1997\}[222]\{vanseters:1995\}} + \makeatletter\blx@idemreset\makeatother + \color{biblatex-colour} + \hspace*{\bibindent}14.~\cites[35]{vanseters:1997}[222]{vanseters:1995}. + \color{black} +\end{biboutput} + +\printbibliography + +\printindex + +\end{document} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl.bib b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl.bib new file mode 100644 index 0000000000..cbd2ccb6ae --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl.bib @@ -0,0 +1,1352 @@ +@book{talbert:1992, + author = {Talbert, Charles H.}, + title = {Reading John: A Literary and Theological Commentary on the Fourth Gospel and the Johannine Epistles}, + location = {New York}, + publisher = {Crossroad}, + date = {1992} +} + +@book{robinson+koester:1971, + author = {Robinson, James M. and Koester, Helmut}, + title = {Trajectories through Early Christianity}, + location = {Philadelphia}, + publisher = {Fortress}, + date = {1971} +} + +@book{scott+etal:1993, + author = {Scott, Bernard Brandon and Dean, Margaret and Sparks, Kristen and LaZar, Frances}, + title = {Reading New Testament Greek}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1993} +} + +@book{egger:1996, + author = {Egger, Wilhelm}, + title = {How to Read the New Testament: An Introduction to Linguistic and Historical-Critical Methodology}, + shorttitle = {How to Read}, + translator = {Heinegg, Peter}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1996} +} + +@book{wellhausen:1883, + author = {Wellhausen, Julius}, + title = {Prolegomena zur Geschichte Israels}, + edition = {2}, + location = {Berlin}, + publisher = {Reimer}, + date = {1883} +} + +@book{wellhausen:1885, + author = {Wellhausen, Julius}, + title = {Prolegomena to the History of Israel}, + translator = {Black, J. Sutherland and Enzies, A.}, + withtranslator = {Smith, W. Robertson}, + withtranslatortype = {withpreface}, + location = {Edinburgh}, + publisher = {Black}, + related = {wellhausen:1883}, + relatedtype = {translationof}, + date = {1885} +} + +@book{wellhausen:1957, + author = {Wellhausen, Julius}, + title = {Prolegomena to the History of Ancient Israel}, + location = {New York}, + publisher = {Meridian Books}, + related = {wellhausen:1885}, + relatedtype = {reprintof}, + date = {1957} +} + +@book{tigay:1985, + editor = {Tigay, Jeffrey H.}, + title = {Empirical Models for Biblical Criticism}, + shorttitle = {Empiracle Models}, + location = {Philadelphia}, + publisher = {University of Pennsylvania Press}, + date = {1985} +} + +@book{kaltner+mckenzie:2002, + editor = {Kaltner, John and McKenzie, Steven L.}, + title = {Beyond Babel: A Handbook for Biblical Hebrew and Related Languages}, + series = {Resources for Biblical Study}, + shortseries = {RBS}, + number = {42}, + location = {Atlanta}, + publisher = {Society of Biblical Literature}, + date = {2002} +} + +@book{oates+etal:2001, + editor = {Oates, John F. and Willis, William H. and Bagnall, Roger S. and Worp, Klass A.}, + title = {Checklist of Editions of Greek and Latin Papyri, Ostraca, and Tablets}, + edition = {5}, + series = {Bulletin of the American Society of Papyrologists, Supplements}, + shortseries = {BASPSup}, + number = {9}, + location = {Oakville, CT}, + publisher = {American Society of Papyrologists}, + date = {2001} +} + +@book{schillebeeckx:1986, + author = {Schillebeeckx, Edward}, + title = {The Schillebeeckx Reader}, + editor = {Schreiter, Robert J.}, + location = {Edinburgh}, + publisher = {T\&T Clark}, + date = {1986} +} + +@book{blass+debrunner:1982, + author = {Blass, Friedrich and Debrunner, Albert}, + title = {Grammatica del greco del Nuovo Testamento}, + editor = {Rehkopf, Friedrich}, + translator = {Pisi, Giordana}, + location = {Brescia}, + publisher = {Paideia}, + date = {1982} +} + +@article{irvine:2014, + author = {Irvine, Stuart A.}, + title = {Idols \mkbibbrackets{\mkbibemph{ktbwnm}}: A note on Hosea 13:2a}, + journaltitle = {Journal of Biblical Literature}, + shortjournal = {JBL}, + volume = {133}, + date = {2014}, + pages = {509-517} +} + +@incollection{attridge:1986, + author = {Attridge, Harold W.}, + title = {Jewish Historiography}, + pages = {311-343}, + booktitle = {Early Judaism and Its Modern Interpreters}, + editor = {Kraft, Robert A. and Nickelsburg, George W. E.}, + location = {Philadelphia and Atlanta}, + publisher = {Fortress and Scholars Press}, + date = {1986} +} + +@incollection{vanseters:1995, + author = {Van Seters, John}, + title = {The Theology of the Yahwist: A Preliminary Sketch}, + shorttitle = {Theology of the Yahwist}, + pages = {219-228}, + booktitle = {“Wer ist wie du, Herr, unter den Göttern?”: Studien zur Theologie und Religionsgeschichte Israels für Otto Kaiser zum 70. Geburtstag}, + editor = {Kottsieper, Ingo and others}, + location = {Göttingen}, + publisher = {Vandenhoeck \& Ruprecht}, + date = {1995} +} + +@suppbook{boers:1996, + author = {Boers, Hendrikus}, + type = {introduction}, + booktitle = {How to Read the New Testament: An Introduction to Linguistic and Historical-Critical Methodology}, + bookauthor = {Egger, Wilhelm}, + translator = {Heinegg, Peter}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1996} +} + +@book{gerhardsson:1961, + author = {Gerhardsson, Birger}, + title = {Memory and Manuscript: Oral Tradition and Written Transmission in Rabbinic Judaism and Early Christianity}, + series = {Acta Seminarii Neotestamentici Upsaliensis}, + shortseries = {ASNU}, + number = {22}, + location = {Lund and Copenhagen}, + publisher = {Gleerup and Munksgaard}, + date = {1961} +} + +@book{pritchard:1969, + editor = {Pritchard, James B.}, + title = {Ancient Near Eastern Texts Relating to the Old Testament}, + edition = {3}, + location = {Princeton}, + publisher = {Princeton University Press}, + date = {1969} +} + +@book{blenkinsopp:1996, + author = {Blenkinsopp, Joseph}, + title = {A History of Prophecy in Israel}, + edition = {rev.\@ and enl.\@ ed.}, + location = {Louisville}, + publisher = {Westminster John Knox}, + date = {1996} +} + +@book{vanseters:1997, + author = {Van Seters, John}, + title = {In Search of History: Histeriography in the Ancient World and the Origins of Biblical History}, + origlocation = {New Haven}, + origpublisher = {Yale University Press}, + origdate = {1983}, + location = {Winona Lake, IN}, + publisher = {Eisenbrauns}, + date = {1997} +} + +@book{deissmann:1995, + author = {Deissmann, Gustav Adolf}, + title = {Light from the Ancient East: The New Testament Illustrated by Recently Discovered Texts of the Graeco-Roman World}, + translator = {Strachan, Lionel R. M.}, + origdate = {1927}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1995} +} + +@book{harrison+welborn:forthcoming, + editor = {Harrison, James R. and Welborn, L. L.}, + title = {The First Urban Churches 2: Roman Corinth}, + shorttitle = {Roman Corinth}, + series = {Writings from the Greco-Roman World Supplement Series}, + shortseries = {WGRWSup}, + location = {Atlanta}, + publisher = {SBL Press}, + pubstate = {forthcoming} +} + +@mvbook{harnack:1896-1905, + author = {Harnack, Adolf}, + title = {History of Dogma}, + translator = {Buchanan, Neil}, + origlanguage = {from the 3rd German ed\adddot}, + volumes = {7}, + location = {Boston}, + publisher = {Little, Brown}, + date = {1896/1905} +} + +@collection{winter+clarke:1993, + editor = {Winter, Bruce W. and Clarke, Andrew D.}, + title = {The Book of Acts in Its Ancient Literary Setting}, + shorttitle = {Book of Acts}, + volume = {1}, + maintitle = {The Book of Acts in Its First Century Setting}, + maineditor = {Winter, Bruce W.}, + location = {Grand Rapids}, + publisher = {Eerdmans}, + date = {1993} +} + +@incollection{mason:1996, + author = {Mason, Steve}, + title = {Josephus on Canon and Scriptures}, + pages = {217-235}, + volume = {1}, + part = {1}, + maintitle = {Hebrew Bible\slash Old Testament: The History of Its Interpretation}, + editor = {Sæbø, Magne}, + location = {Göttingen}, + publisher = {Vandenhoeck \& Ruprecht}, + date = {1996} +} + +@incollection{peterson:1993, + author = {Peterson, David}, + title = {The Motif of Fulfilment and the Purpose of Luke-Acts}, + shorttitle = {Motif of Fulfilment}, + pages = {83-104}, + booktitle = {The Book of Acts in Its Ancient Literary Setting}, + bookeditor = {Winter, Bruce W. and Clarke, Andrew D.}, + volume = {1}, + maintitle = {The Book of Acts in Its First Century Setting}, + editor = {Winter, Bruce W.}, + location = {Grand Rapids}, + publisher = {Eerdmans}, + date = {1993} +} + +@book{hofius:1989, + author = {Hofius, Otfried}, + title = {Paulusstudien}, + series = {Wissenschaftliche Untersuchungen zum Neuen Testament}, + shortseries = {WUNT}, + number = {51}, + location = {Tübingen}, + publisher = {Mohr Siebeck}, + date = {1989} +} + +@book{jeremias:1967, + author = {Jeremias, Joachim}, + title = {The Prayers of Jesus}, + shorttitle = {Prayers}, + series = {Studies in Biblical Theology}, + shortseries = {SBT}, + seriesseries = {2}, + number = {6}, + location = {Naperville, IL}, + publisher = {Allenson}, + date = {1967} +} + +@book{reventlow:2009, + author = {Reventlow, Henning Graf}, + title = {From the Old Testament to Origen}, + volume = {1}, + maintitle = {History of Biblical Interpretation}, + translator = {Perdue, Leo G.}, + location = {Atlanta}, + publisher = {Society of Biblical Literature}, + date = {2009}, + eprint = {Nook}, + eprinttype = {ebook} +} + +@book{wright:2014, + author = {Wright, Jacob L.}, + title = {David, King of Israel, and Caleb in Biblical Memory}, + shorttitle = {David, King of Israel}, + location = {Cambridge}, + publisher = {Cambridge University Press}, + date = {2014}, + eprint = {Kindle}, + eprinttype = {ebook} +} + +@book{killebrew+steiner:2014, + editor = {Killebrew, Ann E. and Steiner, Margreet}, + title = {The Oxford Handbook of the Archaeology of the Levant: c.~8000--332 BCE}, + shorttitle = {Archaeology of the Levant}, + location = {Oxford}, + publisher = {Oxford University Press}, + date = {2014}, + doi = {10.1093/oxfordhb/9780199212972.001.0001} +} + +@book{kaufman:1974, + author = {Kaufman, Stephen}, + title = {The Akkadian Influences on Aramaic}, + series = {Assyriological Studies}, + shortseries = {AS}, + number = {19}, + location = {Chicago}, + publisher = {The Oriental Institute of the University of Chicago}, + date = {1974}, + url = {http://oi.uchicago.edu/pdf/as19.pdf} +} + +@article{leyerle:1993, + author = {Leyerle, Blake}, + title = {John Chrysostom on the Gaze}, + shorttitle = {Chrysostom}, + journaltitle = {Journal of Early Christian Studies}, + shortjournal = {JECS}, + volume = {1}, + date = {1993}, + pages = {159-174} +} + +@article{wildberger:1965, + author = {Wildberger, Hans}, + title = {Das Abbild Gottes: Gen 1:26--30}, + journaltitle = {Theologische Zeitschrift}, + shortjournal = {TZ}, + volume = {21}, + date = {1965}, + pages = {245-259, 481-501} +} + +@article{wellhausen:1876-1877, + author = {Wellhausen, Julius}, + title = {Die Composition des Hexateuchs}, + journaltitle = {Jahrbuch für deutsche Theologie}, + shortjournal = {JDT}, + pages = {21 \mkbibparens{1876}: 392--450\addsemicolon\space 22 \mkbibparens{1877}: 407--479} +} + +@article{freedman:1977, + author = {Freedman, David Noel}, + title = {Pottery, Poetry, and Prophecy: An Essay on Biblical Poetry}, + journaltitle = {Journal of Biblical Literature}, + shortjournal = {JBL}, + volume = {96}, + date = {1977}, + pages = {5-26} +} + +@incollection{freedman:1980, + author = {Freedman, David Noel}, + title = {Pottery, Poetry, and Prophecy: An Essay on Biblical Poetry}, + booktitle = {Pottery, Poetry, and Prophecy: Studies in Early Hebrew Poetry}, + location = {Winona Lake, IN}, + publisher = {Eisenbrauns}, + date = {1980}, + pages = {1-22} +} + +@review{teeple:1966, + author = {Teeple, Howard M.}, + revdauthor = {Robert, André and Feuillet, André}, + revdtitle = {Introduction to the New Testament}, + journaltitle = {Journal of Bible and Religion}, + shortjournal = {JBR}, + volume = {34}, + date = {1966}, + pages = {368-370} +} + +@review{pelikan:1992, + author = {Pelikan, Jaroslav}, + title = {The Things That You're Liable to Read in the Bible}, + revdeditor = {Freedman, David Noel}, + revdtitle = {The Anchor Bible Dictionary}, + journaltitle = {New York Times Review of Books}, + date = {1992-12-20}, + pages = {3} +} + +@article{petersen:1988, + author = {Petersen, David L.}, + title = {Hebrew Bible Textbooks: A Review Article}, + journaltitle = {Critical Review of Books in Religion}, + shortjournal = {CRBR}, + volume = {1}, + date = {1988}, + pages = {1-18} +} + +@thesis{klosinski:1988, + author = {Klosinski, Lee E.}, + title = {Meals in Mark}, + type = {phdthesis}, + institution = {The Claremont Graduate School}, + date = {1988} +} + +@mvreference{IDB, + editor = {Buttrick, George A.}, + title = {The Interpreter's Dictionary of the Bible}, + shorttitle = {IDB}, + volumes = {4}, + location = {New York}, + publisher = {Abingdon}, + date = {1962}, + shorthand = {IDB} +} + +@inreference{stendahl:1962, + author = {Stendahl, Krister}, + title = {Biblical Theology, Contemporary}, + shorttitle = {Biblical Theology}, + volume = {1}, + pages = {418-432}, + crossref = {IDB}, + xref = {IDB} +} + +@reference{DOTP, + editor = {Alexander, T. Desmond and Baker, David W.}, + title = {Dictionary of the Old Testament: Pentateuch}, + shorttitle = {DOTP}, + location = {Downers Grove, IL}, + publisher = {InterVarsity}, + date = {2003}, + shorthand = {DOTP} +} + +@inreference{olson:2003, + author = {Olson, Dennis T.}, + title = {Numbers, Book of}, + shorttitle = {Numbers}, + pages = {611-618}, + crossref = {DOTP}, + xref = {DOTP} +} + +@mvlexicon{NIDNTT, + editor = {Brown, Colin}, + title = {New International Dictionary of New Testament Theology}, + shorttitle = {NIDNTT}, + volumes = {4}, + location = {Grand Rapids}, + publisher = {Zondervan}, + date = {1975/1985}, + shorthand = {NIDNTT} +} + +@inlexicon{dahn+liefeld:see+vision+eye, + author = {Dahn, Karl and Liefeld, Walter L.}, + title = {See, Vision, Eye}, + volume = {3}, + pages = {511-521}, + xref = {NIDNTT} +} + +@mvlexicon{TDNT, + editor = {Kittel, Gerhard and Friedrich, Gerhard}, + title = {Theological Dictionary of the New Testament}, + shorttitle = {TDNT}, + translator = {Bromiley, Geoffrey W.}, + volumes = {10}, + location = {Grand Rapids}, + publisher = {Eerdmans}, + date = {1964/1976}, + shorthand = {TDNT} +} + +@inlexicon{beyer:diakoneo+diakonia+ktl, + author = {Beyer, Hermann W.}, + title = {\textgreek{διακονέω, διακονία, κτλ}}, + volume = {2}, + pages = {81-93}, + xref = {TDNT} +} + +@mvlexicon{TLNT, + author = {Spicq, Ceslas}, + title = {Theological Lexicon of the New Testament}, + shorttitle = {TLNT}, + editor = {Ernest, James D.}, + translator = {Ernest, James D.}, + volumes = {3}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1994}, + shorthand = {TLNT} +} + +@inlexicon{spicq:atakteo+ataktos+ataktos, + author = {Spicq, Ceslas}, + title = {\textgreek{ἀτακτέω, ἄτακτος, ἀτάκτως}}, + volume = {1}, + pages = {223-224}, + xref = {TLNT} +} + +@inlexicon{spicq:amoibe, + author = {Spicq, Ceslas}, + title = {\textgreek{ἀμοιβή}}, + volume = {1}, + pages = {95-96}, + xref = {TLNT} +} + +@inlexicon{beyer:diakoneo, + author = {Beyer, Hermann W.}, + title = {\textgreek{διακονέω}}, + volume = {2}, + pages = {81-87}, + xref = {TDNT} +} + +@inlexicon{dahn:horao, + author = {Dahn, Karl}, + title = {\textgreek{ὁράω}}, + volume = {3}, + pages = {511-518}, + xref = {NIDNTT} +} + +@conferencepaper{niditch:1994, + author = {Niditch, Susan}, + title = {Oral Culture and Written Documents}, + shorttitle = {Oral Culture}, + eventtitle = {the Annual Meeting of the New England Region of the \citeshorthand{SBL}}, + venue = {Worcester, MA}, + eventdate = {1994-03-25} +} + +@article{saldarini:1998, + author = {Saldarini, Anthony J.}, + title = {Babatha's Story}, + journaltitle = {Biblical Archaeology Review}, + shortjournal = {BAR}, + volume = {24}, + number = {2}, + date = {1998}, + pages = {23-33, 36-37, 72-74} +} + +@article{springer:2014, + author = {Springer, Carl P. E.}, + title = {Of Roosters and \mkbibemph{Repetitio}: Ambrose's \mkbibemph{Aeterne rerum conditor}}, + journaltitle = {Vigiliae Christianae}, + shortjournal = {VC}, + volume = {68}, + date = {2014}, + pages = {155-177}, + doi = {10.1163/15700720-12341158} +} + +@article{truehart:1996, + author = {Truehart, Charles}, + title = {Welcome to the Next Church}, + shorttitle = {Next Church}, + url = {http://www.theatlantic.com/atlantic/issues/96aug/nxtchrch/nxtchrch.htm}, + journaltitle = {Atlantic Monthly}, + volume = {278}, + date = {1996-08}, + pages = {37-58} +} + +@article{kirk:2007, + author = {Kirk, Alan}, + title = {Karl Polanyi, Marshall Sahlins, and the Study of Ancient Social Relations}, + shorttitle = {Karl Polanyi}, + journaltitle = {Journal of Biblical Literature}, + shortjournal = {JBL}, + volume = {126}, + date = {2007}, + pages = {182-191}, + doi = {10.2307/27638428}, + url = {http://www.jstor.org/stable/27638428} +} + +@mvcollection{COS, + editor = {Hallo, William W.}, + title = {The Context of Scripture}, + shorttitle = {COS}, + volumes = {3}, + location = {Leiden}, + publisher = {Brill}, + date = {1997/2002}, + shorthand = {COS}, + options = {skipbib} +} + +@collection{hallo:1997, + editor = {Hallo, William W.}, + title = {Canonical Compositions from the Biblical World}, + shorttitle = {COS}, + maintitle = {The Context of Scripture}, + volume = {1}, + location = {Leiden}, + publisher = {Brill}, + date = {1997}, + shorthand = {COS}, + xref = {COS}, + options = {skipbiblist} +} + +@ancienttext{greathymnaten, + entrysubtype = {COS}, + title = {The Great Hymn to the Aten}, + shorttitle = {Great Hymn to the Aten}, + translator = {Lichtheim, Miriam}, + part = {26}, + pages = {44-46}, + related = {hallo:1997}, + relatedoptions = {usevolume=false,skipbiblist} +} + +@collection{ANET, + editor = {Pritchard, James B.}, + title = {Ancient Near Eastern Texts Relating to the Old Testament}, + shorttitle = {ANET}, + edition = {3}, + location = {Princeton}, + publisher = {Princeton University Press}, + date = {1969}, + shorthand = {ANET} +} + +@ancienttext{suppiluliumas, + title = {Suppiluliumas and the Egyptian Queen}, + translator = {Goetz, Albrecht}, + related = {ANET} +} + +@book{dalley:1991, + author = {Dalley, Stephanie}, + title = {Myths from Mesopotamia}, + location = {Oxford}, + publisher = {Oxford University Press}, + date = {1991} +} + +@ancienttext{erraandishum, + title = {Erra and Ishum}, + pages = {282-315}, + related = {dalley:1991} +} + +@book{foster:1993, + author = {Foster, Benjamin}, + title = {Before the Muses: An Anthology of Akkadian Literature}, + shorttitle = {Muses}, + volume = {1}, + location = {Bethesda, MD}, + publisher = {CDL}, + date = {1993} +} + +@ancienttext{erraandishum:foster, + title = {Erra and Ishum}, + pages = {771-805}, + related = {foster:1993}, + relatedoptions = {usevolume=false} +} + +@mvbook{AEL, + author = {Lichtheim, Miriam}, + title = {Ancient Egyptian Literature}, + shorttitle = {AEL}, + volumes = {3}, + location = {Berkeley}, + publisher = {University of California Press}, + date = {1971/1980}, + shorthand = {AEL}, + options = {skipbib} +} + +@book{lichtheim:1976, + author = {Lichtheim, Miriam}, + title = {Ancient Egyptian Literature}, + shorttitle = {AEL}, + volume = {2}, + location = {Berkeley}, + publisher = {University of California Press}, + date = {1976}, + shorthand = {AEL}, + xref = {AEL}, + options = {skipbiblist} +} + +@ancienttext{doomedprince, + title = {The Doomed Prince}, + pages = {200-203}, + related = {lichtheim:1976}, + relatedoptions = {shorthand=short,usevolume=false,skipbiblist} +} + +@book{hoffner:1990, + author = {Hoffner, Jr., Harry A.}, + title = {Hittite Myths}, + editor = {Beckman, Gary M.}, + series = {Writings from the Ancient World}, + shortseries = {WAW}, + number = {2}, + location = {Atlanta}, + publisher = {Scholars Press}, + date = {1990} +} + +@ancienttext{disappearanceofsungod, + title = {The Disappearance of the Sun God}, + related = {hoffner:1990} +} + +@mvbook{RIMA, + entrysubtype = {RIMA}, + author = {Grayson, Albert Kirk}, + title = {Assyrian Rulers of the Early First Millennium BC \mkbibparens{1114--859 BC}}, + series = {The Royal Inscriptions of Mesopotamia, Assyrian Periods}, + shortseries = {RIMA}, + number = {2}, + location = {Toronto}, + publisher = {University of Toronto Press}, + date = {1991}, + shorthand = {RIMA}, + options = {skipbiblistshorthand} +} + +@ancienttext{ashurinscription, + entrysubtype = {inscription}, + title = {Ashur Inscription}, + pages = {143-144}, + related = {RIMA}, + relatedoptions = {skipbiblistshorthand,shorthand=short} +} + +@book{ABC, + author = {Grayson, Albert Kirk}, + title = {Assyrian and Babylonian Chronicles}, + shorttitle = {ABC}, + series = {Texts from Cuneiform Sources}, + shortseries = {TCS}, + number = {5}, + location = {Locust Valley, NY}, + publisher = {Augustin}, + date = {1975}, + shorthand = {ABC} +} + +@ancienttext{esarhaddonchronicle, + entrysubtype = {chronicle}, + title = {Esarhaddon Chronicle}, + related = {ABC}, + relatedoptions = {shorthand=short} +} + +@book{ARM1, + author = {Dossin, Georges}, + title = {Lettres}, + series = {Archives royales de Mari}, + shortseries = {ARM}, + number = {1}, + origdate = {1946}, + location = {Paris}, + publisher = {Geuthner}, + date = {1967}, + shorthand = {ARM}, + options = {skipbiblistshorthand} +} + +@book{ARMT1, + author = {Dossin, Georges}, + title = {Correspondance de Šamši-Addu et de ses fils}, + series = {Archives royales de Mari, transcrite et traduite}, + shortseries = {ARMT}, + number = {1}, + location = {Paris}, + publisher = {Imprimerei nationale}, + date = {1950}, + shorthand = {ARMT}, + options = {skipbiblistshorthand} +} + +@mvbook{josephus, + title = {Josephus}, + translator = {Thackeray, Henry St.\@ J. and others}, + volumes = {10}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + location = {Cambridge}, + publisher = {Harvard University Press}, + date = {1926/1965} +} + +@classictext{josephus:ant, + author = {Josephus}, + title = {Ant\adddot}, + xref = {josephus} +} + +@mvbook{tacitus, + author = {Tacitus}, + title = {The Histories and The Annals}, + translator = {Clifford H. Moore and John Jackson}, + volumes = {4}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + location = {Cambridge}, + publisher = {Harvard University Press}, + date = {1937} +} + +@classictext{tacitus:ann, + author = {Tacitus}, + title = {Ann\adddot}, + xref = {tacitus} +} + +@classictext{josephus:ant:thackery, + author = {Josephus}, + title = {Ant\adddot}, + translator = {Thackeray}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + xref = {josephus} +} + +@classictext{tacitus:ann:jackson, + author = {Tacitus}, + title = {Ann\adddot}, + translator = {Jackson}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + xref = {tacitus} +} + +@book{josephus:ant1-19, + author = {Josephus, Flavius}, + shortauthor = {Josephus}, + title = {The Jewish Antiquities, Books 1--19}, + shorttitle = {Ant\adddot}, + translator = {Thackeray, Henry St.\@ J. and others}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + location = {Cambridge}, + publisher = {Harvard University Press}, + date = {1930/1965}, + xref = {josephus}, + options = {skipbib} +} + +@ancienttext{p.cair.zen., + editor = {Edgar, C. C.}, + title = {Zenon Papyri, Catalogue général des antiquités égyptiennes du Musée du Caire}, + location = {Cairo}, + shorthand = {P.Cair.Zen.}, + options = {skipbib,useeditor=false} +} + +@book{hunt+edgar:1932, + author = {Hunt, Arthur S. and Edgar, Campbell C.}, + title = {Select Papyri}, + series = {Loeb Classical Library}, + shortseries = {LCL}, + location = {Cambridge}, + publisher = {Harvard University Press}, + date = {1932} +} + +@ancienttext{p.cair.zen.:hunt+edgar, + editor = {Edgar, C. C.}, + title = {Zenon Papyri, Catalogue général des antiquités égyptiennes du Musée du Caire}, + location = {Cairo}, + shorthand = {P.Cair.Zen.}, + options = {skipbib,useeditor=false}, + related = {hunt+edgar:1932}, + relatedoptions = {useshorttitle=false} +} + +@ancienttext{PGM, + editor = {Preisendaz, Karl}, + title = {Papyri Graecae Magicae: Die griechischen Zauberpapyri}, + shorttitle = {PGM}, + edition = {2}, + location = {Stuttgart}, + publisher = {Teubner}, + date = {1973/1974}, + shorthand = {PGM}, + options = {skipbib} +} + +@book{betz:1996, + author = {Betz, Hans Dieter}, + title = {The Greek Magical Papyri in Translation, Including the Demotic Spells}, + edition = {2}, + location = {Chicago}, + publisher = {University of Chicago Press}, + date = {1996} +} + +@ancienttext{PGM:betz, + editor = {Preisendaz, Karl}, + title = {Papyri Graecae Magicae: Die griechischen Zauberpapyri}, + shorttitle = {PGM}, + edition = {2}, + location = {Stuttgart}, + publisher = {Teubner}, + date = {1973/1974}, + shorthand = {PGM}, + related = {betz:1996}, + relatedoptions = {usefullcite=false,useshorttitle=false} +} + +@classictext{heraclitus:epistle1, + author = {Heraclitus}, + title = {Epistle 1} +} + +@book{malherbe:1977, + editor = {Malherbe, Abraham J.}, + title = {The Cynic Epistles: A Study Edition}, + series = {Stuttgarter Bibelstudien}, + shortseries = {SBS}, + number = {12}, + location = {Atlanta}, + publisher = {Scholars Press}, + date = {1977} +} + +@classictext{heraclitus:epistle1:worley, + author = {Heraclitus}, + title = {Epistle 1}, + translator = {Worley, David}, + pages = {187}, + crossref = {malherbe:1977}, + options = {skipbib=false,useseries=false} +} + +@mvcollection{ANF, + crossref = {ANF:abbreviation}, + editor = {Roberts, Alexander and Donaldson, James}, + origdate = {1885/1887}, + volumes = {10}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1994}, + shorthand = {ANF}, + options = {useeditor=false,skipbiblist}, + sortkey = {Ante-Nicene Fathers}, + xref = {ANF:abbreviation} +} + +@mvcollection{ANF:abbreviation, + title = {The Ante-Nicene Fathers}, + shorttitle = {ANF}, + shorthand = {ANF}, + options = {skipbib} +} + +@classictext{clementinehomilies, + entrysubtype = {churchfather}, + title = {The Clementine Homilies}, + related = {ANF}, + relatedoptions = {useeditor=false,skipbiblist} +} + +@mvcollection{NPNF1, + crossref = {NPNF1:abbreviation}, + editor = {Schaff, Philip}, + origdate = {1886/1889}, + volumes = {14}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1994}, + shorthand = {NPNF\textsuperscript{1}}, + options = {useeditor=false,skipbiblist}, + sortkey = {Nicene and Post-Nicene Fathers, Series 1}, + xref = {NPNF1:abbreviation} +} + +@mvcollection{NPNF1:abbreviation, + title = {The Nicene and Post-Nicene Fathers, \mkbibemph{Series~1}}, + shorttitle = {NPNF\textsuperscript{1}}, + shorthand = {NPNF\textsuperscript{1}}, + options = {skipbib} +} + +@classictext{augustine:letters, + entrysubtype = {churchfather}, + author = {Augustine}, + title = {The Letters of St.\@ Augustin}, + shorttitle = {Letters of St.\@ Augustin}, + volume = {1}, + crossref = {NPNF1}, + related = {NPNF1}, + relatedoptions = {useeditor=false,skipbiblist,skipbib}, + options = {skipbib=false} +} + +@series{PL, + title = {Patrologia Latina}, + editor = {Migne, J.-P.}, + volumes = {217}, + location = {Paris}, + date = {1844/1864}, + shorthand = {PL} +} + +@series{PG, + title = {Patrologia Graeca}, + editor = {Migne, J.-P.}, + volumes = {162}, + location = {Paris}, + date = {1857/1886}, + shorthand = {PG} +} + +@classictext{gregory:orationestheologicae, + entrysubtype = {churchfather}, + author = {{Gregory of Nazianzus}}, + title = {Orationes theologicae}, + volume = {36}, + related = {PG}, + relatedoptions = {useeditor=false} +} + +@mvbook{Str-B, + author = {Strack, Hermann L. and Billerbeck, Paul}, + title = {Kommentar zum Neuen Testament aus Talmud und Midrasch}, + volumes = {6}, + location = {Munich}, + publisher = {Beck}, + date = {1922/1961}, + shorthand = {Str-B} +} + +@mvcollection{ANRW, + editor = {Temporini, Hildegard and Haase, Wolfgang}, + title = {Aufstieg und Niedergang der römischen Welt: Geschichte und Kultur Roms im Spiegel der neueren Forschung}, + shorttitle = {ANRW}, + titleaddon = {Part 2, \mkbibemph{Principat}}, + location = {Berlin}, + publisher = {de Gruyter}, + date = {1972/}, + shorthand = {ANRW} +} + +@ancienttext{anderson:pepaideumenos, + entrysubtype = {ANRW}, + author = {Anderson, Graham}, + title = {The \mkbibemph{pepaideumenos} in Action: Sophists and Their Outlook in the Early Empire}, + shorttitle = {\mkbibemph{Pepaideumenos}}, + volume = {33}, + part = {1}, + pages = {80-208}, + location = {New York}, + publisher = {de Gruyter}, + date = {1989}, + related = {ANRW}, + relatedoptions = {skipbib}, + options = {skipbib=false} +} + +@commentary{hooker:1991, + author = {Hooker, Morna}, + title = {The Gospel according to Saint Mark}, + series = {Black's New Testament Commentaries}, + shortseries = {BNTC}, + number = {2}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1991} +} + +@inbook{petersen:2006, + author = {Petersen, David L.}, + title = {Ezekiel}, + pages = {1096-1167}, + booktitle = {The HarperCollins Study Bible Fully Revised and Updated: New Revised Standard Version, with the Apocryphal\slash Deuterocanonical Books}, + editor = {Attridge, Harold W. and others}, + location = {San Francisco}, + publisher = {HarperSanFrancisco}, + date = {2006} +} + +@incommentary{partain:1995, + author = {Partain, Jack G.}, + title = {Numbers}, + pages = {175-179}, + booktitle = {Mercer Commentary on the Bible}, + editor = {Mills, Watson E. and others}, + location = {Macon, GA}, + publisher = {Mercer University Press}, + date = {1995} +} + +@mvcommentary{dahood:1965-1970, + author = {Dahood, Mitchell}, + title = {Psalms}, + volumes = {3}, + series = {Anchor Bible}, + shortseries = {AB}, + number = {16--17A}, + location = {Garden City, NY}, + publisher = {Doubleday}, + date = {1965/1970} +} + +@commentary{dahood:1965, + author = {Dahood, Mitchell}, + title = {Psalms I: 1--50}, + shorttitle = {Psalms I: 1--50}, + volume = {1}, + maintitle = {Psalms}, + series = {Anchor Bible}, + shortseries = {AB}, + number = {16}, + location = {Garden City, NY}, + publisher = {Doubleday}, + date = {1965} +} + +@commentary{dahood:1968, + author = {Dahood, Mitchell}, + title = {Psalms II: 51--100}, + shorttitle = {Psalms II: 51--100}, + volume = {2}, + maintitle = {Psalms}, + series = {Anchor Bible}, + shortseries = {AB}, + number = {17}, + location = {Garden City, NY}, + publisher = {Doubleday}, + date = {1968} +} + +@mvcommentary{NIB, + editor = {Keck, Leander E.}, + title = {The New Interpreter's Bible}, + shorttitle = {NIB}, + volumes = {12}, + location = {Nashville}, + publisher = {Abingdon}, + date = {1994/2004}, + shorthand = {NIB} +} + +@incommentary{miller:2001, + author = {Miller, Patrick D.}, + title = {The Book of Jeremiah: Introduction, Commentary, and Reflections}, + pages = {553-926}, + booktitle = {Introduction to Prophetic Literature, Isaiah, Jeremiah, Baruch, Letter of Jeremiah, Lamentations, Ezekiel}, + volume = {6}, + date = {2001}, + crossref = {NIB}, + xref = {NIB} +} + +@seminarpaper{crenshaw:2001, + author = {Crenshaw, James L.}, + title = {Theodicy in the Book of the Twelve}, + booktitle = {Society of Biblical Literature 2001 Seminar Papers}, + series = {Society of Biblical Literature Seminar Papers}, + shortseries = {SBLSP}, + number = {40}, + location = {Atlanta}, + publisher = {Society of Biblical Literature}, + date = {2001}, + pages = {1-18} +} + +@online{wilhelm:2013, + editor = {Wilhelm, Gernot}, + title = {Der Vertrag Šuppiluliumas I. von Ḫatti mit Šattiwazza von Mitrani \mkbibparens{CTH 51.I}}, + shorttitle = {Der Vertrag Šuppiluliumas I}, + eprintdate = {2013-02-24}, + eprint = {CTH 51.I}, + eprintclass = {INTR 2013-02-24}, + eprinttype = {hethiter} +} + +@online{cobb:figurines, + author = {{Cobb Institute of Archaeology}}, + title = {The Figurines of Maresha, the Persian Era}, + eprint = {http://www.cobb.msstate.edu/dignew/Maresha/index.html}, + eprinttype = {DigMaster}, + options = {indexing=false} +} + +@online{caraher:2013, + editor = {Caraher, William R.}, + title = {Pyla-Koutsopetria Archaeological Project: \mkbibparens{Overview}}, + eprint = {http://opencontext.org/projects/3F6DCD13-A476-488E-ED10-47D25513FCB2}, + eprinttype = {Open Context}, + doi = {10.6078/M7B56GNS}, + eprintdate = {2013-11-05} +} + +@online{100cuneiform, + title = {The One Hundred Most Important Cuneiform Objects}, + eprint = {http://cdli.ox.ac.uk/wiki/doku.php?id=the_one_hundred_most_important_cuneiform_objects}, + eprinttype = {cdli:wiki} +} + +@online{goodacre:2014, + author = {Goodacre, Mark}, + title = {Jesus' Wife Fragment: Another Round-Up}, + journaltitle = {NT Blog}, + date = {2014-05-09}, + url = {http://ntweblog.blogspot.com} +} + +@lexicon{BDAG, + author = {Danker, Frederick W. and Bauer, Walter and Arndt, William F. and Gingrich, F. Wilbur}, + title = {Greek-English Lexicon of the New Testament and Other Early Christian Literature.}, + edition = {3}, + location = {Chicago}, + publisher = {University of Chicago Press}, + date = {2000}, + shorthand = {BDAG} +} + +@lexicon{BDB:abbreviation, + author = {Brown, Francis and Driver, S. R. and Briggs, Charles A.}, + title = {A Hebrew and English Lexicon of the Old Testament}, + shorthand = {BDB}, + options = {skipbib} +} + +@lexicon{BDB, + crossref = {BDB:abbreviation}, + location = {Oxford}, + publisher = {Oxford University Press}, + date = {1906}, + shorthand = {BDB}, + xref = {BDB:abbreviation}, + options = {skipbiblist} +} + +@book{BDF, + author = {Blass, Friedrich and Debrunner, Albert and Funk, Robert W.}, + title = {A Greek Grammar of the New Testament and Other Early Christian Literature}, + location = {Chicago}, + publisher = {University of Chicago Press}, + date = {1961}, + shorthand = {BDF} +} + +@mvlexicon{HALOT, + author = {Koehler, Ludwig and Baumgartner, Walter and Stamm, Johann J.}, + title = {The Hebrew and Aramaic Lexicon of the Old Testament}, + shorttitle = {HALOT}, + editor = {Richardson, Mervyn E. J.}, + editortype = {translated and edited under the supervision of}, + volumes = {4}, + location = {Leiden}, + publisher = {Brill}, + date = {1994/1999}, + shorthand = {HALOT} +} + +@mvlexicon{TLOT, + title = {Theological Lexicon of the Old Testament}, + shorttitle = {TLOT}, + editor = {Jenni, Ernst}, + witheditor = {Westermann, Claus}, + witheditortype = {withassistance}, + translator = {Biddle, Mark E.}, + volumes = {3}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {1997}, + shorthand = {TLOT} +} + +@misc{SBL, + note = {Society of Biblical Literature}, + shorthand = {SBL}, + options = {skipbib} +} + +@manual{SBLHS, + title = {Society of Biblical Literature Handbook of Style}, + shorttitle = {SBLHS}, + edition = {2}, + location = {Atlanta, GA}, + publisher = {SBL Press}, + date = {2014}, + shorthand = {SBLHS} +} + +@manual{SBLHS:studentsupp, + author = {Nogalski, Melanie Greer and Nogalski, James D. and Steibel, Sophia G. and West, Danny M.}, + authortype = {compiled by}, + editor = {LeMon, Joel M. and Breed, Brennan W.}, + title = {Student Supplement for the \citeshorthand{SBL} Handbook of Style, Second Edition}, + shorttitle = {Student Supplement for the \mkbibemph{\citeshorthand{SBLHS}}}, + location = {Atlanta, GA}, + publisher = {SBL Press}, + date = {2015-02}, + url = {https://www.sbl-site.org/assets/pdfs/pubs/SBLHSsupp2015-02.pdf}, + options = {useauthor=false,useeditor=false}, + sortkey = {Student Supplement for the SBL Handbook of Style, Second Edition} +} + +@mvbook{sasson:2000, + editor = {Sasson, Jack M.}, + title = {Civilizations of the Ancient Near East}, + volumes = {4}, + location = {New York}, + publisher = {Scribner's Sons}, + year = {1995}, + related = {sasson:repr}, + relatedtype = {reprint} +} + +@mvbook{sasson:repr, + volumes = {4~vols.\ in 2}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {2000} +} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl.def b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl.def new file mode 100644 index 0000000000..aa7301d280 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl.def @@ -0,0 +1,2586 @@ +\RequireBibliographyStyle{standard} +\RequireBiber[3] + +% BibLaTeX version 2018/03/04 v3.11 or greater required +\@ifpackagelater{biblatex}{2018/03/04} + {} + {\PackageError{biblatex-sbl} + {BibLaTeX v3.11 or greater is required} + {You need to update your TeX distribution to use biblatex-sbl.}} + +% Require xparse +\RequirePackage{xparse} + +% ------------------------------------------------------------------ +% VERSION STRINGS +% ------------------------------------------------------------------ + +\def\sbl@abx@date{2018/12/13} +\def\sbl@abx@version{0.11} +\def\sbl@abx@bbxid{\sbl@abx@date\space v\sbl@abx@version\space biblatex-sbl bibliography style (DCP)} +\def\sbl@abx@cbxid{\sbl@abx@date\space v\sbl@abx@version\space biblatex-sbl citation style (DCP)} +\def\sbl@abx@lbxid{\sbl@abx@date\space v\sbl@abx@version\space biblatex-sbl localization (DCP)} +\def\sbl@abx@defid{\sbl@abx@date\space v\sbl@abx@version\space biblatex-sbl definitions and macros (DCP)} + +\def\printsblversion{\sbl@abx@version\space + \expandafter\xprintsbldateiso\sbl@abx@date\relax} +\def\printsbldate{\expandafter\xprintsbldateau\sbl@abx@date\relax} +\def\xprintsbldateiso#1/#2/#3\relax{% + #1-% + \ifblank{#2} + {\kern 1pt-} + {#2-#3}} +\def\xprintsbldateau#1/#2/#3\relax{% + \ifblank{#2} + {} + {\ifblank{#3} + {} + {\ifcase#3 \or + 1\or 2\or 3\or 4\or 5\or 6\or 7\or 8\or 9\else#3\fi\space}% + \ifcase#2 \or + January\or February\or March\or April\or May\or June\or July\or + August\or September\or October\or November\or December\fi\space}% + #1} + +\ProvidesFile{biblatex-sbl.def}[\sbl@abx@defid] + +% ------------------------------------------------------------------ +% CITEPAGES OPTION +% ------------------------------------------------------------------ + +\DeclareRangeChars{~,;-+/:} + +\NumCheckSetup{\def\mkbibparens#1{#1}} + +\renewbibmacro*{postnote}{} +\newbibmacro*{pages}{} + +\DeclareBibliographyOption[string]{citepages}[permit]{% + \ifcsdef{cbx@opt@citepages@#1} + {\csuse{cbx@opt@citepages@#1}} + {\PackageError{biblatex} + {Invalid option 'citepages=#1'} + {Valid values are 'sbl', 'permit', 'omit', 'separate'.}}} + +\providebibmacro*{postnote}{} +\providebibmacro*{pages}{} + +\def\cbx@opt@citepages@sbl{% + \renewbibmacro*{pages}{% + \iffieldundef{pages} + {\ifbool{bbx@inset} + {} + {\printfield{postnote}% + \global\booltrue{suppresspostnote}}} + {\printfield{pages}% + \ifboolexpr{ + test {\iffieldundef{postnote}} + or + bool {bbx@inset} + } + {} + {\iffieldpages{postnote} + {} + {\setunit{\addspace}% + \printtext[parens]{\printfield{postnote}}}}}}% + \renewbibmacro*{postnote}{% + \iffieldundef{postnote} + {\printfield{pages}} + {\iffieldpages{postnote} + {\printfield{postnote}} + {\iffieldundef{pages} + {\printfield{postnote}} + {\printfield{pages}% + \setunit{\addspace}% + \printtext[parens]{\printfield{postnote}}}}}}} + +\def\cbx@opt@citepages@permit{% + \renewbibmacro*{pages}{% + \iffieldundef{pages} + {\ifbool{bbx@inset} + {} + {\printfield{postnote}% + \global\booltrue{suppresspostnote}}} + {\printfield{pages}% + \ifboolexpr{ + test {\iffieldundef{postnote}} + or + bool {bbx@inset} + } + {} + {\setunit{\addspace}% + \printtext[parens]{\printfield{postnote}}}}}% + \renewbibmacro*{postnote}{% + \iffieldundef{postnote} + {\printfield{pages}} + {\iffieldpages{postnote} + {\printfield{postnote}} + {\iffieldundef{pages} + {\newunit + \printfield{postnote}} + {\printfield{pages}% + \setunit*{\addspace}% + \printtext[parens]{\printfield{postnote}}}}}}} + +\def\cbx@opt@citepages@omit{% + \renewbibmacro*{pages}{% + \iffieldundef{pages} + {\ifbool{bbx@inset} + {} + {\printfield{postnote}% + \global\booltrue{suppresspostnote}}} + {\ifboolexpr{ + test {\iffieldundef{postnote}} + or + bool {bbx@inset} + } + {\printfield{pages}} + {\iffieldpages{postnote} + {\printfield{postnote}} + {\printfield{pages}% + \setunit*{\addspace}% + \printtext[parens]{\printfield{postnote}}}}}}% + \renewbibmacro*{postnote}{% + \iffieldundef{postnote} + {\printfield{pages}} + {\iffieldpages{postnote} + {\printfield{postnote}} + {\iffieldundef{pages} + {\newunit + \printfield{postnote}} + {\printfield{pages}% + \setunit*{\addspace}% + \printtext[parens]{\printfield{postnote}}}}}}} + +\def\cbx@opt@citepages@separate{% + \renewbibmacro*{pages}{% + \iffieldundef{pages} + {\ifool{bx@inset} + {} + {\printfield{postnote}% + \global\booltrue{suppresspostnote}}} + {\printfield{pages}% + \ifboolexpr{ + test {\iffieldundef{postnote}} + or + bool {bbx@inset} + } + {} + {\setunit{\addspace}% + \printtext[parens]{% + \iffieldpages{postnote} + {\bibstring{thiscite}% + \setunit{\addspace}} + {}% + \printfield{postnote}}}}}% + \renewbibmacro*{postnote}{% + \iffieldundef{postnote} + {\printfield{pages}} + {\iffieldpages{postnote} + {\printfield{postnote}} + {\iffieldundef{pages} + {\printfield{postnote}} + {\printfield{pages}% + \setunit*{\addspace}% + \printtext[parens]{% + \iffieldpages{postnote} + {\bibstring{thiscite}% + \setunit{\addspace}} + {}% + \printfield{postnote}}}}}}} + +% ------------------------------------------------------------------ +% IDEM MACROS +% ------------------------------------------------------------------ + +\newbibmacro*{ifidemused}{% + \ifboolexpr{ + test {\ifciteidem} + and + not test {\iffirstonpage} + } + {\bibstring[\mkibid]{idem\thefield{gender}}% + \@firstoftwo} + {\@secondoftwo}} + +% ------------------------------------------------------------------ +% COMMENTARY OPTIONS +% ------------------------------------------------------------------ + +\newtoggle{fullbibrefs} + +\DeclareBibliographyOption{fullbibrefs}[true]{% + \ifstrequal{#1}{true} + {\toggletrue{fullbibrefs}} + {\togglefalse{fullbibrefs}}} + +% ------------------------------------------------------------------ +% ENTRY OPTIONS +% ------------------------------------------------------------------ + +\newtoggle{blx@skipbiblistseries} +\newtoggle{blx@skipbiblistshorthand} +\newtoggle{blx@usefullcite} +\newtoggle{blx@usevolume} +\newtoggle{blx@useseries} +\newtoggle{blx@useshorttitle} +\newtoggle{blx@accessdate} +\def\blx@shorthand{} + +\DeclareTypeOption{skipbiblistseries}[true]{% + \settoggle{blx@skipbiblistseries}{#1}} +\DeclareEntryOption{skipbiblistseries}[true]{% + \settoggle{blx@skipbiblistseries}{#1}} + +\DeclareTypeOption{skipbiblistshorthand}[true]{% + \settoggle{blx@skipbiblistshorthand}{#1}} +\DeclareEntryOption{skipbiblistshorthand}[true]{% + \settoggle{blx@skipbiblistshorthand}{#1}} + +\DeclareBibliographyOption{useshorttitle}[true]{% + \settoggle{blx@useshorttitle}{#1}} +\DeclareTypeOption{useshorttitle}[true]{% + \settoggle{blx@useshorttitle}{#1}} +\DeclareEntryOption{useshorttitle}[true]{% + \settoggle{blx@useshorttitle}{#1}} + +\DeclareBibliographyOption{usefullcite}[true]{% + \settoggle{blx@usefullcite}{#1}} +\DeclareTypeOption{usefullcite}[true]{% + \settoggle{blx@usefullcite}{#1}} +\DeclareEntryOption{usefullcite}[true]{% + \settoggle{blx@usefullcite}{#1}} + +\DeclareBibliographyOption{usevolume}[true]{% + \settoggle{blx@usevolume}{#1}} +\DeclareTypeOption{usevolume}[true]{% + \settoggle{blx@usevolume}{#1}} +\DeclareEntryOption{usevolume}[true]{% + \settoggle{blx@usevolume}{#1}} + +\DeclareBibliographyOption{useseries}[true]{% + \settoggle{blx@useseries}{#1}} +\DeclareTypeOption{useseries}[true]{% + \settoggle{blx@useseries}{#1}} +\DeclareEntryOption{useseries}[true]{% + \settoggle{blx@useseries}{#1}} + +\DeclareBibliographyOption{accessdate}[true]{% + \settoggle{blx@accessdate}{#1}} +\DeclareTypeOption{accessdate}[true]{% + \settoggle{blx@accessdate}{#1}} +\DeclareEntryOption{accessdate}[true]{% + \settoggle{blx@accessdate}{#1}} + +\DeclareBibliographyOption[string]{shorthand}[true]{% + \def\blx@shorthand{#1}} +\DeclareTypeOption[string]{shorthand}[true]{% + \def\blx@shorthand{#1}} +\DeclareEntryOption[string]{shorthand}[true]{% + \def\blx@shorthand{#1}} + +% ------------------------------------------------------------------ +% STYLE OPTIONS +% ------------------------------------------------------------------ + +% footnote style +\let\orig@makefntext\@makefntext +\DeclareBibliographyOption{sblfootnotes}[true]{% + \ifstrequal{#1}{true} + {\@ifpackageloaded{footmisc} + {\renewcommand\@makefntext[1]{% + \parindent\footnotemargin% + \@thefnmark.\@\space + \footnotelayout + ##1}} + {\renewcommand\@makefntext[1]{% + \parindent 1em% + \@thefnmark.\@\space + ##1}}} + {\let\@makefntext\orig@makefntext}} + +\DeclareBibliographyOption{ibidpage}[true]{% + \ifstrequal{#1}{true} + {\ExecuteBibliographyOptions{loccittracker=true}} + {\ExecuteBibliographyOptions{loccittracker=false}}} + +\newtoggle{blx@dashed} +\DeclareBibliographyOption{dashed}[true]{% + \settoggle{blx@dashed}{#1}} + +\ExecuteBibliographyOptions{% + citetracker, + punctfont, + alldates=comp, + eprintdate=comp, + dateabbrev=false, + autocite=footnote, + url, + related, + minxrefs=1, + isbn=false, + pagetracker, + idemtracker=constrict, + ibidtracker=constrict, + ibidpage=false, + maxbibnames=99, + maxcitenames=3, + citepages=sbl, + fullbibrefs=false, + sblfootnotes, + usefullcite, + useshorttitle, + usevolume, + useseries, + accessdate=false, + shorthand=true, + dashed=true, + language=american +} + +\ExecuteBibliographyOptions[classictext,ancienttext]{% + skipbib +} + +\ExecuteBibliographyOptions[inlexicon]{% + skipbib +} + +\urlstyle{same} +\def\UrlBreaks{\do\@\do\\\do\/\do\!\do\_\do\|\do\;\do\>\do\]% + \do\)\do\,\do\?\do\'\do+\do\=\do\#}% +\def\UrlSpecials{\do\.{\penalty\UrlBreakPenalty\mathchar`.}% + \do\-{\penalty\UrlBreakPenalty\mathchar`-}% + \do\ {\Url@space}\do\%{\Url@percent}\do\^^M{\Url@space}% + \Url@force@Tilde}% package option may force faked text-ascii-tilde + +\NewBibliographyString{by} +\NewBibliographyString{to} +\NewBibliographyString{of} +\NewBibliographyString{with} +\NewBibliographyString{withassistance} +\NewBibliographyString{withpreface} +\NewBibliographyString{paperpresented} +\NewBibliographyString{patentfiled} +\NewBibliographyString{released} + +\DeclareLanguageMappingSuffix{-sbl} + +% Ensure right colon punctuation when reset +\protected\def\blx@resetpunct{% + \DeclareCapitalPunctuation{.!?}% + \DeclarePunctuationPairs{dot}{}% + \DeclarePunctuationPairs{comma}{*!?}% + \DeclarePunctuationPairs{semicolon}{*!?}% + \DeclarePunctuationPairs{colon}{*}% + \DeclarePunctuationPairs{period}{}% + \DeclarePunctuationPairs{exclam}{*}% + \DeclarePunctuationPairs{question}{*}% + \DeclareQuotePunctuation{}% + \def\abx@dot{\ifdim\lastkern>\z@\unkern\fi.\spacefactor\blx@sf@dot}% + \def\abx@comma{\ifdim\lastkern>\z@\unkern\fi\abx@puncthook{,}}% + \def\abx@semicolon{\abx@puncthook{;}}% + \def\abx@colon{\abx@puncthook{:}}% + \def\abx@period{\ifdim\lastkern>\z@\unkern\fi\abx@puncthook{.}}% + \def\abx@exclam{\abx@puncthook{!}}% + \def\abx@question{\abx@puncthook{?}}% + \global\let\abx@puncthook\@firstofone + \global\let\blx@postpunct\@empty} + +\renewcommand*{\subtitlepunct}{\addcolon\space} +\newcommand*{\namedashpunct}{\adddot\space} +\newcommand*{\lexiconfinalnamedelim}{\addcomma\space} +\renewcommand*{\relateddelim}{\addsemicolon\space} +\renewcommand*{\begrelateddelim}{\addsemicolon\space} + +\setcounter{mincompwidth}{10} + +\DeclareFieldFormat{doi}{% + \printtext{doi}\addcolon + \ifhyperref + {\href{https://dx.doi.org/#1}{\nolinkurl{#1}}} + {\nolinkurl{#1}}} +\DeclareFieldFormat{edition}{% + \ifinteger{#1} + {\mkbibordedition{#1}~\bibsstring{edition}} + {\ifcapital{\MakeCapital{#1}}{#1}\isdot}} +\DeclareFieldFormat{eprint:ebook}{#1 \biblstring{edition}} +\DeclareFieldFormat{eprint}{% + \iffieldundef{eprinttype} + {eprint} + {\thefield{eprinttype}}% + \newunitpunct + \usebibmacro{eprintdate}% + \newunitpunct + \ifhyperref + {\url{#1}} + {\nolinkurl{#1}}% + \iffieldundef{eprintclass} + {} + {\addspace\mkbibparens{\thefield{eprintclass}}}} +\DeclareFieldFormat{eprint:arxiv}{% + \usebibmacro{eprintdate}% + \newunitpunct + arXiv\addcolon\space + \ifhyperref + {\href{https://arxiv.org/\abx@arxivpath/#1}{% + \nolinkurl{#1}% + \iffieldundef{eprintclass} + {} + {\addspace\mkbibbrackets{\thefield{eprintclass}}}}} + {\nolinkurl{#1} + \iffieldundef{eprintclass} + {} + {\addspace\mkbibbrackets{\thefield{eprintclass}}}}} +\DeclareFieldFormat{eprint:hethiter}{% + \usebibmacro{eprintdate}% + \newunitpunct + \printtext{doi}\addcolon + \ifhyperref + {\href{http://hethiter.net/:\%20#1}{% + hethiter\slash\addcolon\space + \nolinkurl{#1}% + \iffieldundef{eprintclass} + {} + {\addspace\mkbibparens{\thefield{eprintclass}}}}} + {hethiter\slash\addcolon\space + \nolinkurl{#1} + \iffieldundef{eprintclass} + {} + {\addspace\mkbibparens{\thefield{eprintclass}}}}} +\renewcommand*{\volcitedelim}{\addcolon} +\DeclareFieldFormat{volcitevolume}{#1} +\DeclareFieldFormat{volcitepages}{\mkcomprange{#1}} +\DeclareFieldFormat{part}{#1} +\DeclareFieldFormat{pt}{\bibstring{part}~#1} +\DeclareFieldFormat{postnote}{\mkcomprange{#1}} +\DeclareFieldFormat{multipostnote}{#1} +\DeclareFieldFormat{byauthor}{\bibstring{byauthor} #1} +\DeclareFieldFormat{revdtitle}{\biblstring{reviewof} \mkbibemph{#1}} +\DeclareFieldFormat{revdshorttitle}{\biblstring{reviewof} \mkbibemph{#1}} +\DeclareFieldFormat{shorttitle}{\mkbibemph{#1}} +\DeclareFieldFormat{shortbooktitle}{\mkbibemph{#1}} +\DeclareFieldFormat{shortmaintitle}{\mkbibemph{#1}} +\DeclareFieldFormat{shortjournal}{\mkbibemph{#1}} +\DeclareFieldFormat{journalsubtitle}{\mkbibemph{#1}} +\DeclareFieldFormat{seriesseries}{#1} +\DeclareFieldFormat[article,periodical,review]{series}{% series of a journal + \ifinteger{#1} + {\mkbibordseries{#1}~\bibstring{jourser}} + {\ifbibstring{#1}{\bibstring{#1}}{#1}}} +\DeclareFieldFormat{isbn}{ISBN\addcolon\space #1} +\DeclareFieldFormat{isrn}{ISRN\addcolon\space #1} +\DeclareFieldFormat{issn}{ISSN\addcolon\space #1} +\DeclareFieldFormat{pages}{\mkcomprange{#1}} +\DeclareFieldFormat{pagepages}{\mkcomprange[\mkpageprefix]{#1}} +\DeclareFieldFormat{pagesin}{\mkcomprange[\mkpageprefix]{#1} \usebibmacro{in}} +\DeclareFieldFormat{chapter}{\bibsstring{chapter}~#1} +\DeclareFieldFormat{chapterin}{\bibsstring{chapter}~#1 \usebibmacro{in}} +\DeclareFieldFormat{volume}{#1} +\DeclareFieldFormat{vol}{\bibsstring{volume}~#1} +\DeclareFieldFormat{volumeof}{\bibsstring{volume}~#1 \bibstring{of}} +\DeclareFieldFormat{volumes}{#1\ifnumeral{#1}{~\bibsstring{volumes}}{}} +\DeclareFieldFormat{partof}{\bibstring{part}~#1 \bibstring{of}} +\DeclareFieldFormat{no}{\bibsstring{number}~#1} +\DeclareFieldFormat{url}{\url{#1}} +\DeclareFieldFormat{urldate}{\bibstring{urlseen}\space#1} +\DeclareFieldFormat{eprintdate}{\bibstring{released}\space#1} + +\DeclareFieldFormat{editortype}{\ifcapital{\MakeCapital{#1}}{#1}} +\DeclareFieldFormat{withauthortype}{#1} +\DeclareFieldFormat{witheditortype}{#1} +\DeclareFieldFormat{withtranslatortype}{#1} +\DeclareFieldFormat{withbookauthortype}{#1} +\DeclareFieldFormat{withbookeditortype}{#1} +\DeclareFieldFormat{withbooktranslatortype}{#1} +\DeclareFieldFormat{withmainauthortype}{#1} +\DeclareFieldFormat{withmaineditortype}{#1} +\DeclareFieldFormat{withmaintranslatortype}{#1} + +\DeclareFieldFormat{cptype}{\ifbibstring{#1}{\bibcpstring{#1}}{#1}} +\DeclareFieldFormat{quote}{\mkbibquote{#1}} + +\DeclareNameAlias{withauthor}{given-family} +\DeclareNameAlias{witheditor}{given-family} +\DeclareNameAlias{withtranslator}{given-family} +\DeclareNameAlias{withbookauthor}{given-family} +\DeclareNameAlias{withbookeditor}{given-family} +\DeclareNameAlias{withbooktranslator}{given-family} +\DeclareNameAlias{withmainauthor}{given-family} +\DeclareNameAlias{withmaineditor}{given-family} +\DeclareNameAlias{withmaintranslator}{given-family} + +\DeclareFieldFormat{relatedstring:reprint}{#1\printunit{\addcomma\space}} + +\DeclareFieldFormat[incommentary,inreference,inlexicon,online,review,seminarpaper,conferencepaper]{title}{\mkbibquote{#1}} +\DeclareFieldFormat[incommentary,inreference,inlexicon,online,review,seminarpaper,conferencepaper]{shorttitle}{\mkbibquote{#1}} +\DeclareFieldFormat[suppperiodical]{title}{\mkbibquote{#1}} +\DeclareFieldFormat{issuetitle}{\mkbibquote{#1}} +\DeclareFieldFormat{issuesubtitle}{\mkbibquote{#1}} +\DeclareFieldFormat{shortissuetitle}{\mkbibquote{#1}} +\DeclareFieldFormat{howpublished}{\ifbibstring{#1}{\bibstring{#1}}{#1}} +\DeclareFieldFormat[patent]{title}{#1} +\DeclareFieldFormat[ancienttext]{title}{% + \ifboolexpr{ + test {\iffieldequalstr{entrysubtype}{inscription}} + or + test {\iffieldequalstr{entrysubtype}{chronicle}} + } + {#1} + {\iffieldequalstr{entrysubtype}{churchfather} + {\mkbibemph{#1}} + {\mkbibquote{#1}}}} +\DeclareFieldFormat[ancienttext]{shorttitle}{% + \ifboolexpr{ + test {\iffieldequalstr{entrysubtype}{inscription}} + or + test {\iffieldequalstr{entrysubtype}{chronicle}} + } + {#1} + {\iffieldequalstr{entrysubtype}{churchfather} + {\mkbibemph{#1}} + {\mkbibquote{#1}}}} +\DeclareFieldFormat[series]{title}{#1} +\DeclareFieldFormat[series]{shorttitle}{#1} +\DeclareFieldFormat[suppbook,suppcollection] +{type}{% + \ifbibstring{#1}% + {\bibstring{#1}}% + {\ifcapital% + {\MakeCapital{#1\isdot}}% + {#1\isdot}}} +\DeclareFieldFormat[suppbook,suppcollection]{title}{% + \iffieldundef{type} + {#1} + {\mkbibemph{#1}}} +\DeclareFieldFormat[suppbook,suppcollection]{subtitle}{% + \iffieldundef{type} + {#1} + {\mkbibemph{#1}}} +\DeclareFieldFormat[suppbook,suppcollection]{shorttitle}{% + \iffieldundef{type} + {#1} + {\mkbibemph{#1}}} + +\DeclareBibliographyAlias{cite:mvbook}{cite:book} +\DeclareBibliographyAlias{cite:mvcollection}{cite:collection} +\DeclareBibliographyAlias{collection}{book} +\DeclareBibliographyAlias{mvcollection}{collection} +\DeclareBibliographyAlias{cite:collection}{cite:book} +\DeclareBibliographyAlias{mvreference}{mvbook} +\DeclareBibliographyAlias{cite:mvreference}{cite:mvbook} +\DeclareBibliographyAlias{reference}{book} +\DeclareBibliographyAlias{cite:reference}{cite:book} +\DeclareBibliographyAlias{lexicon}{reference} +\DeclareBibliographyAlias{cite:lexicon}{cite:reference} +\DeclareBibliographyAlias{mvlexicon}{mvreference} +\DeclareBibliographyAlias{cite:mvlexicon}{cite:mvreference} +\DeclareBibliographyAlias{inbook}{incollection} +\DeclareBibliographyAlias{cite:inbook}{cite:incollection} +\DeclareBibliographyAlias{commentary}{book} +\DeclareBibliographyAlias{mvcommentary}{book} +\DeclareBibliographyAlias{cite:mvcommentary}{cite:mvbook} +\DeclareBibliographyAlias{seminarpaper}{incollection} +\DeclareBibliographyAlias{cite:seminarpaper}{cite:incollection} +\DeclareBibliographyAlias{cite:online}{cite:article} +\DeclareBibliographyAlias{online}{article} +\DeclareBibliographyAlias{cite:manual}{cite:book} +\DeclareBibliographyAlias{manual}{book} +\DeclareBibliographyAlias{cite:unpublished}{cite:misc} +\DeclareBibliographyAlias{unpublished}{misc} +\DeclareBibliographyAlias{proceedings}{collection} +\DeclareBibliographyAlias{mvproceedings}{mvcollection} +\DeclareBibliographyAlias{inproceedings}{incollection} +\DeclareBibliographyAlias{cite:proceedings}{cite:collection} +\DeclareBibliographyAlias{cite:mvproceedings}{cite:mvcollection} +\DeclareBibliographyAlias{cite:inproceedings}{cite:incollection} +\DeclareBibliographyAlias{bookinbook}{incollection} +\DeclareBibliographyAlias{cite:bookinbook}{cite:incollection} +\DeclareBibliographyAlias{series}{mvcollection} +\DeclareBibliographyAlias{cite:series}{cite:mvcollection} +\DeclareBibliographyAlias{cite:booklet}{cite:book} +\DeclareBibliographyAlias{booklet}{book} +\DeclareBibliographyAlias{cite:suppcollection}{cite:suppbook} +\DeclareBibliographyAlias{suppcollection}{suppbook} +\DeclareBibliographyAlias{cite:report}{cite:book} +\DeclareBibliographyAlias{report}{book} +\DeclareBibliographyAlias{cite:suppperiodical}{cite:article} +\DeclareBibliographyAlias{suppperiodical}{article} + +\DeclareLabeldate{% + \field{eprintdate} +} + +\renewcommand*{\newunitpunct}{\addcomma\space} +\newcommand*{\volpostnotedelim}{\addcolon} + +\providecommand*{\mkibid}[1]{#1} + +\renewbibmacro*{name:family-given}[4]{% + \ifuseprefix + {\usebibmacro{name:delim}{#3#1}% + \usebibmacro{name:hook}{#3#1}% + \ifdefvoid{#3}{}{% + \ifcapital + {\mkbibnameprefix{\MakeCapital{#3}}\isdot} + {\mkbibnameprefix{#3}\isdot}% + \ifprefchar{}{\bibnamedelimc}}% + \mkbibnamefamily{#1}\isdot + \ifdefvoid{#2}{}{\revsdnamepunct\bibnamedelimd\mkbibnamegiven{#2}\isdot}% + \ifdefvoid{#4}{}{\revsdnamepunct\bibnamedelimd\mkbibnamesuffix{#4}\isdot}} + {\usebibmacro{name:delim}{#1}% + \usebibmacro{name:hook}{#1}% + \mkbibnamefamily{#1}\isdot + \ifboolexpe{% + test {\ifdefvoid{#2}} + and + test {\ifdefvoid{#3}}} + {} + {\revsdnamepunct}% + \ifdefvoid{#2}{}{\bibnamedelimd\mkbibnamegiven{#2}\isdot}% + \ifdefvoid{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}% + \ifdefvoid{#4}{}{\revsdnamepunct\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}} + +% ------------------------------------------------------------------ +% BIBLIOGRAPHY +% ------------------------------------------------------------------ + +\renewrobustcmd*{\printbibliography}{% + \begingroup + \blx@key@bibcheck{bibliography} + \edef\on@line{\on@line}% + \@ifnextchar[%] + {\blx@printbibliography} + {\blx@printbibliography[]}} +\defbibcheck{bibliography}{% + \blx@skipentries + \blx@includeentries +} +\def\blx@skipentries{} +\def\blx@includeentries{} +\def\addskipentry#1{% + \edef\X{% + \noexpand\iffieldequalstr{entrykey}{#1} + {\noexpand\toggletrue{blx@skipentry}} + {}}% + \expandafter\g@addto@macro\expandafter\blx@skipentries\expandafter{\X}} +\def\addincludeentry#1{% + \edef\X{% + \noexpand\iffieldequalstr{entrykey}{#1} + {\noexpand\togglefalse{blx@skipentry}} + {}}% + \expandafter\g@addto@macro\expandafter\blx@includeentries\expandafter{\X}} + +% ------------------------------------------------------------------ +% LIST OF ABBREVIATIONS +% ------------------------------------------------------------------ + +\newtoggle{blx@abbrevcite} + +\newlength{\abbrevwidth} + +\def\setmaxlength#1#2{% + \ifdim\dimexpr#2>\dimexpr#1 + \global\setlength{#1}{#2}% + \fi +} + +\defbibenvironment{abbreviations} + {\list + {\printfield[shorthandwidth]{shortjournal}% + \iffieldundef{shorthand} + {\printfield[shorthandwidth]{shortseries}} + {\iffieldsequal{shorthand}{shorttitle} + {\printtext{\mkbibemph{\printfield[shorthandwidth]{shorthand}}}} + {\printfield[shorthandwidth]{shorthand}}}} + {\setmaxlength{\abbrevwidth}{\shorthandwidth}% + \setmaxlength{\abbrevwidth}{\shortserieswidth}% + \setmaxlength{\abbrevwidth}{\shortjournalwidth}% + \addtolength{\abbrevwidth}{\biblabelsep}% + \setlength{\labelwidth}{\abbrevwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{0pt}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}% + \renewcommand*{\makelabel}[1]{##1\hss}}} + {\endlist} + {\item} + +\DeclareBibliographyDriver{abbreviations}{% + \usebibmacro{begentry}% + \citereset + \def\abx@str{abx@lstr}% + \renewcommand*{\finentrypunct}{}% + \iffieldundef{shortjournal} + {} + {\bibhypertarget{\strfield{shortjournal}}{}% + \printfield{journaltitle}% + \iffieldundef{journalsubtitle} + {} + {\setunit{\subtitlepunct}% + \printfield{journalsubtitle}}}% + \iffieldundef{shorthand} + {\iffieldundef{shortseries} + {} + {\bibhypertarget{\strfield{shortseries}}{}% + \printfield{series}}} + {\bibhypertarget{\strfield{shorthand}}{}% + \iffieldsequal{shorthand}{shorttitle} + {\toggletrue{blx@abbrevcite}} + {}% + \usebibmacro{bibentrycite}}% + \usebibmacro{finentry}} + +\DeclareBiblistFilter{abbreviations}{ + \filteror{ + \filter[type=field,filter=shorthand] + \filter[type=field,filter=shortjournal] + \filter[type=field,filter=shortseries] + } +} + +\defbibcheck{abbreviations}{% + \blx@setoptions@entry + \iftoggle{blx@skipbiblist}{\skipentry}{}% + \iffieldundef{shorthand} + {\iffieldundef{shortseries} + {} + {\iftoggle{blx@skipbiblistseries}{\skipentry}{}}} + {\iftoggle{blx@skipbiblistshorthand}{\skipentry}{}}% + \iftoggle{blx@skipentry} + {} + {\iffieldundef{shortjournal} + {} + {\ifcsdef{sbl\therefsection\strfield{shortjournal}=\strfield{journaltitle}} + {\skipentry} + {\savefieldcs{journaltitle}{sbl\therefsection\strfield{shortjournal}=\strfield{journaltitle}}}}% + \iffieldundef{shorthand} + {\iffieldundef{shortseries} + {} + {\ifcsdef{sbl\therefsection\strfield{shortseries}=\strfield{series}} + {\skipentry} + {\savefieldcs{series}{sbl\therefsection\strfield{shortseries}=\strfield{series}}}}} + {\ifcsdef{sbl\therefsection\strfield{shorthand}=\strfield{title}} + {\skipentry} + {\savefieldcs{shorthand}{sbl\therefsection\strfield{shorthand}=\strfield{title}}}}}} + +\DeclareSortingTemplate{abbreviations}{% + \sort{% + \field{shorthand}% + \field{shortjournal}% + \field{shortseries}% + }% +} + +% ------------------------------------------------------------------ +% SOURCE MAPS +% ------------------------------------------------------------------ +% - cut titles at colons to create short titles +% - copy titles to shorttitles if they are empty +% ------------------------------------------------------------------ + +\DeclareStyleSourcemap{ + \maps{ + \map{ + \step[fieldsource=title, match=\regexp{(.*?):}, final] + \step[fieldset=shorttitle, fieldvalue={$1}] + } + \map{ + \step[fieldsource=journaltitle, match=\regexp{(.*?):}, final] + \step[fieldset=shortjournal, fieldvalue={$1}] + } + \map{ + \step[fieldsource=revdtitle, match=\regexp{(.*?):}, final] + \step[fieldset=revdshorttitle, fieldvalue={$1}] + } + \map{ + \pertype{suppbook} + \pertype{suppcollection} + \step[fieldsource=type, final] + \step[fieldsource=title, final] + \step[fieldset=booktitle, origfieldval] + } + \map{ + \pertype{suppbook} + \pertype{suppcollection} + \step[fieldsource=type, final] + \step[fieldsource=subtitle, final] + \step[fieldset=subbooktitle, origfieldval] + } + \map{ + \pertype{suppbook} + \pertype{suppcollection} + \step[fieldsource=type, final] + \step[fieldsource=titleaddon, final] + \step[fieldset=booktitleaddon, origfieldval] + } + \map{ + \pertype{periodical} + \step[fieldsource=title, final] + \step[fieldset=journaltitle, origfieldval] + } + \map{ + \pertype{periodical} + \step[fieldsource=subtitle, final] + \step[fieldset=journalsubtitle, origfieldval] + } + \map{ + \pertype{periodical} + \step[fieldsource=shorttitle, final] + \step[fieldset=shortjournal, origfieldval] + } + \map{ + \step[fieldsource=journalsubtitle, final] + \step[fieldsource=journaltitle, final] + \step[fieldset=shortjournal, origfieldval] + } + \map{ + \step[fieldsource=entrysubtype, match=\regexp{ANRW}, final] + \step[fieldset=options, fieldvalue={skipbib=false}] + } + \map[overwrite]{ + \pertype{series} + \step[fieldsource=options, match=\regexp{(.*)}] + \step[fieldset=options, fieldvalue={useauthor=false,useeditor=false,}] + \step[fieldset=options, fieldvalue={$1}, append] + } + \map[overwrite]{ + \pernottype{ancienttext} + \pernottype{classictext} + \step[fieldsource=related, final] + \step[fieldsource=relatedoptions, match=\regexp{(.*)}] + \step[fieldset=relatedoptions, fieldvalue={skipbib,skipbiblist=false,}] + \step[fieldset=relatedoptions, fieldvalue={$1}, append] + } + \map[overwrite]{ + \pertype{ancienttext} + \pertype{classictext} + \step[fieldsource=related, final] + \step[fieldset=relatedtype, fieldvalue=ancienttext] + \step[fieldsource=relatedoptions, match=\regexp{(.*)}] + \step[fieldset=relatedoptions, fieldvalue={skipbib=false,skipbiblist=false,}] + \step[fieldset=relatedoptions, fieldvalue={$1}, append] + } + \map[overwrite]{ + \step[fieldsource=shortseries, final] + \step[fieldsource=shorthand, final] + \step[fieldsource=entrykey, match=\regexp{(.*)}] + \step[fieldset=xref, fieldvalue=series-$1] + \step[entrynew=series-$1, entrynewtype=misc] + \step[fieldsource=shortseries] + \step[fieldset=shortseries, origfieldval, entrytarget=series-$1] + \step[fieldsource=series] + \step[fieldset=series, origfieldval, entrytarget=series-$1] + \step[fieldset=options, fieldvalue={skipbib}, entrytarget=series-$1] + } + } +} + +% ------------------------------------------------------------------ +% DATA INHERITANCE +% ------------------------------------------------------------------ + +\DeclareDataInheritance{mvbook,mvcollection,mvreference,mvlexicon,mvcommentary, + mvproceedings,series} + {book,inbook,bookinbook,suppbook,collection,incollection,suppcollection, + reference,inreference,lexicon,inlexicon,commentary,incommentary,proceedings, + inproceedings,classictext}{% + \inherit{title}{maintitle} + \inherit{subtitle}{mainsubtitle} + \inherit{titleaddon}{maintitleaddon} + \inherit{shorttitle}{shortmaintitle} + \inherit{editor}{maineditor} + \inherit{translator}{maintranslator} + \inherit{withauthor}{withmainauthor} + \inherit{witheditor}{withmaineditor} + \inherit{withtranslator}{withmaintranslator} + \inherit{withauthortype}{withmainauthortype} + \inherit{witheditortype}{withmaineditortype} + \inherit{withtranslatortype}{withmaintranslatortype} + \noinherit{sorttitle} + \noinherit{indextitle} + \noinherit{indexsorttitle} + \noinherit{endyear} +} + +\DeclareDataInheritance{book,collection,reference,lexicon,commentary,proceedings} + {inbook,bookinbook,suppbook,incollection,suppcollection,inreference,inlexicon, + incommentary,inproceedings,classictext}{% + \inherit{title}{booktitle} + \inherit{subtitle}{booksubtitle} + \inherit{titleaddon}{booktitleaddon} + \inherit{shorttitle}{shortbooktitle} + \inherit{author}{bookauthor} + \inherit{editor}{bookeditor} + \inherit{translator}{booktranslator} + \inherit{withauthor}{withbookauthor} + \inherit{witheditor}{withbookeditor} + \inherit{withtranslator}{withbooktranslator} + \inherit{withauthortype}{withbookauthortype} + \inherit{witheditortype}{withbookeditortype} + \inherit{withtranslatortype}{withbooktranslatortype} + \noinherit{sorttitle} + \noinherit{indextitle} + \noinherit{indexsorttitle} + \noinherit{endyear} +} + +\DeclareDataInheritance{periodical}{article,suppperiodical}{% + \inherit{shorttitle}{shortjournal} +} + +% ------------------------------------------------------------------ +% LANGUAGE +% ------------------------------------------------------------------ + +\newbibmacro*{language}{% + \iflistundef{language} + {} + {\setunit{\addspace}% + \printtext[brackets]{% + \usebibmacro{in}% + \printlist{language}}}} + +% ------------------------------------------------------------------ +% SET UP DELIMITER MACROS +% ------------------------------------------------------------------ + +\newbibmacro*{ifneedsetpostnotedelim}[2]{% + \ifboolexpr{ + test {\ifentrytype{ancienttext}} + or + test {\ifentrytype{classictext}} + } + {\def\blx@shorthand{true}} + {}% + \usebibmacro{ifuseshorthand} + {#1} + {#2}} + +\ExplSyntaxOn +\cs_new_protected:Nn \sbl_ifinstringt:nnn { + \tl_if_in:nnT {#2}{#1}{#3}} +\cs_generate_variant:Nn \sbl_ifinstringt:nnn { non } +\cs_new_eq:NN \IfInStringT \sbl_ifinstringt:non +\ExplSyntaxOff + +\newbibmacro*{setpostnotedelim}{% + \iftoggle{cbx:involcite} + {\renewcommand*{\postnotedelim}{\addspace}} + {}% + \iffieldundef{postnote} + {} + {\IfInStringT{.}{\abx@field@postnote} + {\renewcommand*{\postnotedelim}{\addspace}}% + \IfInStringT{:}{\abx@field@postnote} + {\renewcommand*{\postnotedelim}{\addspace}}% + \IfInStringT{§}{\abx@field@postnote} + {\renewcommand*{\postnotedelim}{\addspace}}% + \IfInStringT{\textsection}{\abx@field@postnote} + {\renewcommand*{\postnotedelim}{\addspace}}}} + +\newbibmacro*{setaltpostnotedelim}{% + \iffieldundef{altpostnote} + {} + {\IfInStringT{.}{\abx@field@altpostnote} + {\renewcommand*{\postnotedelim}{\addspace}}% + \IfInStringT{:}{\abx@field@altpostnote} + {\renewcommand*{\postnotedelim}{\addspace}}% + \IfInStringT{§}{\abx@field@altpostnote} + {\renewcommand*{\postnotedelim}{\addspace}}% + \IfInStringT{\textsection}{\abx@field@altpostnote} + {\renewcommand*{\postnotedelim}{\addspace}}}} + +\newbibmacro*{setpagesdelim}{% + \iffieldundef{pages} + {} + {\IfInStringT{.}{\abx@field@pages} + {\setunit{\addspace}}% + \IfInStringT{:}{\abx@field@pages} + {\setunit{\addspace}}% + \IfInStringT{§}{\abx@field@pages} + {\setunit{\addspace}}% + \IfInStringT{\textsection}{\abx@field@pages} + {\setunit{\addspace}}}} + +% ------------------------------------------------------------------ +% JOINING WORD MACROS +% ------------------------------------------------------------------ + +\newbibmacro*{in}{% + \printtext{\bibstring{in}}% + \setunit{\addspace}} + +\newbibmacro*{to}{% + \printtext{\bibstring{to}}% + \setunit{\addspace}} + +\newbibmacro*{of}{% + \printtext{\bibstring{of}}% + \setunit{\addspace}} + +% ------------------------------------------------------------------ +% SHORTHAND MACROS +% ------------------------------------------------------------------ + +\newbibmacro*{ifuseshorthand}[2]{% + \ifboolexpr{ + not test {\iffieldundef{shorthand}} + and + ( + test {\ifcsstring{blx@shorthand}{true}} + or + ( + test {\ifcsstring{blx@shorthand}{short}} + and + test {\ifciteseen} + ) + or + ( + test {\ifcsstring{blx@shorthand}{intro}} + and + test {\ifciteseen} + ) + ) + } + {#1} + {#2}} + +\newbibmacro*{ifciteuseshorthand}[2]{% + \ifboolexpr{ + test {\ifentrytype{ancienttext}} + or + test {\ifentrytype{classictext}} + } + {\def\blx@shorthand{true}} + {}% + \usebibmacro{ifuseshorthand} + {#1} + {#2}} + +\newbibmacro*{shorthand}{% + \iffieldsequal{shorthand}{shorttitle} + {\printtext{\mkbibemph{\printtext{% + \bibhyperlink{\strfield{shorthand}}{\thefield{shorthand}}}}}} + {\printtext{\bibhyperlink{\strfield{shorthand}}{\thefield{shorthand}}}}} + +\renewbibmacro*{shorthandintro}{% + \iffieldundef{shorthandintro} + {\iffieldundef{shorthand} + {} + {\setunit{\addspace}% + \printtext[parens]{% + \bibstring{citedas}\space + \usebibmacro{shorthand}}}} + {\setunit{\addspace}% + \printtext[parens]{\printfield{shorthandintro}}}} + +% ------------------------------------------------------------------ +% TITLE MACROS +% ------------------------------------------------------------------ + +\newbibmacro*{shorttitle}{% + \iftoggle{blx@useshorttitle} + {\iffieldundef{shorttitle} + {\iffieldundef{title} + {} + {\ifbool{bbx@inset} + {\printtext{\bibhyperlink{\strfield{setkey}} + {\printtext[title]{\printfield[titlecase]{title}}}}} + {\printtext[bibhyperlink]{% + \printtext[title]{\printfield[titlecase]{title}}}}}} + {\ifbool{bbx@inset} + {\printtext{\bibhyperlink{\strfield{setkey}} + {\printtext[title]{\printfield[titlecase]{shorttitle}}}}} + {\printtext[bibhyperlink]{% + \printtext[title]{\printfield[titlecase]{shorttitle}}}}}% + \newunit} + {}} + +\newbibmacro*{shorttitlenohyperlink}{% + \iftoggle{blx@useshorttitle} + {\iffieldundef{shorttitle} + {\iffieldundef{title} + {} + {\printtext[title]{\printfield[titlecase]{title}}}} + {\printtext[title]{\printfield[titlecase]{shorttitle}}}} + {}} + +\newbibmacro*{shortbooktitle}{% + \iffieldundef{shortbooktitle} + {\iffieldundef{booktitle} + {} + {\printtext[booktitle]{\printfield[titlecase]{booktitle}}}} + {\printtext[booktitle]{\printfield[titlecase]{shortbooktitle}}}% + \newunit} + +\newbibmacro*{shortmaintitle}{% + \iffieldundef{shortmaintitle} + {\iffieldundef{maintitle} + {} + {\printtext[maintitle]{\printfield[titlecase]{maintitle}}}} + {\printtext[maintitle]{\printfield[titlecase]{shortmaintitle}}}% + \newunit} + +\renewbibmacro*{title}{% + \ifciteseen + {\usebibmacro{shorttitle}} + {\iffieldundef{title} + {} + {\printtext[title]{% + \printfield[titlecase]{title}% + \setunit{\subtitlepunct}% + \printfield[titlecase]{subtitle}}% + \newunit + \printfield{titleaddon}% + \usebibmacro{language}}}} + +\renewbibmacro*{booktitle}{% + \ifciteseen + {\usebibmacro{shortbooktitle}} + {\iffieldundef{booktitle} + {} + {\printtext[booktitle]{% + \printfield[titlecase]{booktitle}% + \setunit{\subtitlepunct}% + \printfield[titlecase]{booksubtitle}}% + \newunit + \printfield{booktitleaddon}}}} + +\renewbibmacro*{maintitle}{% + \ifciteseen + {\usebibmacro{shortmaintitle}} + {\iffieldundef{maintitle} + {} + {\printtext[maintitle]{% + \printfield[titlecase]{maintitle}% + \setunit{\subtitlepunct}% + \printfield[titlecase]{mainsubtitle}}% + \newunit + \printfield{maintitleaddon}}}} + +\newbibmacro*{booktitle+maintitle}{% + \iffieldundef{booktitle} + {\iffieldundef{maintitle} + {} + {\usebibmacro{maintitle}% + \clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon} + \newunit}} + {\usebibmacro{booktitle}% + \clearfield{booktitle}% + \clearfield{booksubtitle}% + \clearfield{bootitleaddon}% + \newunit}} + +\newbibmacro*{shortmaintitle+shortbooktitle}{% + \iffieldundef{maintitle} + {\iffieldundef{booktitle} + {} + {\usebibmacro{shortbooktitle} + \newunit}} + {\usebibmacro{shortmaintitle}% + \newunit}} + +\newbibmacro*{revdshorttitle}{% + \iffieldundef{revdshorttitle} + {\iffieldundef{revdtitle} + {} + {\printtext[bibhyperlink]{% + \printtext[revdtitle]{\printfield[titlecase]{revdtitle}}}}} + {\printtext[bibhyperlink]{% + \printtext[revdtitle]{\printfield[titlecase]{revdshorttitle}}}}% + \newunit} + +\newbibmacro*{revdtitle}{% + \ifciteseen + {\usebibmacro{revdshorttitle}} + {\iffieldundef{revdtitle} + {} + {\printtext[revdtitle]{% + \printfield[titlecase]{revdtitle}% + \setunit{\subtitlepunct}% + \printfield[titlecase]{revdsubtitle}}% + \newunit}% + \printfield{revdtitleaddon}}} + +\newbibmacro*{xrefshortmaintitle+xrefshortbooktitle}{% + \iffieldundef{xref} + {\usebibmacro{shortmaintitle+shortbooktitle}} + {\entrydata{\thefield{xref}}{% + \iffieldundef{shorttitle} + {\usebibmacro{shorttitle}} + {\printtext[shorttitle]{% + \bibhyperlink{\strfield{shorthand}}{\thefield{shorttitle}}}}}}} + +\newbibmacro*{xrefshortmaintitle}{% + \iffieldundef{xref} + {\usebibmacro{shortmaintitle}} + {\entrydata{\thefield{xref}}{% + \iffieldundef{shorttitle} + {\usebibmacro{shorttitle}} + {\printtext[shorttitle]{% + \bibhyperlink{\strfield{shorthand}}{\thefield{shorttitle}}}}}}} + +\newbibmacro*{shortjournal}{% + \iffieldundef{shortjournal} + {\printfield{journaltitle}} + {\printtext[shortjournal]{% + \bibhyperlink{\strfield{shortjournal}}{\thefield{shortjournal}}}}} + +\newbibmacro*{shortjournal+issue}{% + \usebibmacro{shortjournal}% + \setunit{\addspace}% + \usebibmacro{series+volume+number+eid}% + \ifboolexpr{ + not test {\ifnameundef{editor}} + or + not test {\ifnameundef{editora}} + or + not test {\ifnameundef{editorb}} + or + not test {\ifnameundef{editorc}} + or + not test {\iffieldundef{series}} + } + {\newunit + \usebibmacro{byeditor+others}% + \newunit} + {\setunit{\addspace}}% + \usebibmacro{issue+date}% + \ifboolexpr{ + test { + \ifboolexpr{ + not test {\iffieldundef{journaltitle}} + and + not test {\iffieldundef{shortjournal}}}} + and + test {\iffieldundef{volume}} + and + test {\iffieldundef{date}} + } + {\usebibmacro{setpagesdelim}} + {}} + +\renewbibmacro*{issue+date}{% + \ifboolexpr{ + test {\iffieldundef{year}} + and + test {\iffieldundef{issue}} + and + test {\iffieldundef{date}} + and + test {\iffieldundef{month}} + and + test {\iffieldundef{day}} + } + {} + {\iffieldundef{volume} + {\iffieldundef{journaltitle} + {\newunit} + {\setunit{\addcomma\space}}% + \iffieldundef{issue} + {\usebibmacro{date}} + {\printfield{issue}% + \setunit*{\addspace}% + \usebibmacro{date}} + \setunit{\addcomma\space}} + {\setunit{\addspace}% + \printtext[parens]{% + \iffieldundef{issue} + {\usebibmacro{date}} + {\printfield{issue}% + \setunit*{\addspace}% + \usebibmacro{date}}}% + \setunit{\addcolon\space}}}} + +\newbibmacro*{series+volume+number+eid}{% + \iffieldundef{series} + {} + {\newunit + \printfield{series}% + \newunit}% + \printfield{volume}% + \setunit*{\addperiod}% + \printfield{number}% + \setunit{\addcomma\space}% + \printfield{eid}} + +\newbibmacro{inissuetitle}{% + \iffieldundef{issuetitle} + {} + {\usebibmacro{in}% + \printtext[issuetitle]{% + \printfield[titlecase]{issuetitle}% + \setunit*{\subtitlepunct}% + \printfield[titlecase]{issuesubtitle}}}} + +\newbibmacro*{shortissuetitle}{% + \iffieldundef{shortissuetitle} + {\iffieldundef{issuetitle} + {} + {\printtext[issuetitle]{\printfield[titlecase]{issuetitle}}}} + {\printtext[issuetitle]{\printfield[titlecase]{shortissuetitle}}}% + \newunit} + +\newbibmacro{issuetitle}{% + \iffieldundef{issuetitle} + {} + {\ifciteseen + {\usebibmacro{shortissuetitle}} + {\printtext[issuetitle]{% + \printfield[titlecase]{issuetitle}% + \setunit*{\subtitlepunct}% + \printfield[titlecase]{issuesubtitle}}}}} + +% ------------------------------------------------------------------ +% NAME MACROS +% ------------------------------------------------------------------ + +\newbibmacro*{withname}[1]{% + \ifnameundef{with#1} + {} + {\setunit{\addcomma\space}% + \iffieldundef{with#1type} + {\bibstring{with}} + {\ifbibxstring{with\thefield{with#1type}} + {\bibstring{with\thefield{with#1type}}} + {\ifbibxstring{\thefield{with#1type}} + {\bibstring{\thefield{with#1type}}} + {\printtext[with#1type]{\thefield{with#1type}}}}}% + \setunit{\addspace}% + \printnames{with#1}% + \clearname{with#1}}} + +\renewbibmacro*{bytypestrg}[2]{% + \iffieldundef{#1type} + {\bibstring{by#2}} + {\ifbibxstring{by\thefield{#1type}} + {\bibstring{by\thefield{#1type}}} + {\ifbibxstring{\thefield{#1type}} + {\bibstring{\thefield{#1type}}} + {\printtext[editortype]{\thefield{#1type}}}}}} + +\renewbibmacro*{editorstrg}{% + \printtext[editortype]{% + \iffieldundef{editortype} + {\ifboolexpr{ + test {\ifnumgreater{\value{editor}}{1}} + or + test {\ifandothers{editor}} + } + {\bibsstring{editors}} + {\bibsstring{editor}}} + {\ifbibxstring{\thefield{editortype}} + {\ifboolexpr{ + test {\ifnumgreater{\value{editor}}{1}} + or + test {\ifandothers{editor}} + } + {\bibstring{\thefield{editortype}s}} + {\bibstring{\thefield{editortype}}}} + {\thefield{editortype}}}}} + +\renewbibmacro*{editor+othersstrg}{% + \iffieldundef{editortype} + {\ifboolexpr{ + test {\ifnumgreater{\value{editor}}{1}} + or + test {\ifandothers{editor}} + } + {\def\abx@tempa{editors}} + {\def\abx@tempa{editor}}} + {\ifboolexpr{ + test {\ifnumgreater{\value{editor}}{1}} + or + test {\ifandothers{editor}} + } + {\edef\abx@tempa{\thefield{editortype}s}} + {\edef\abx@tempa{\thefield{editortype}}}}% + \let\abx@tempb=\empty + \ifnamesequal{editor}{translator} + {\appto\abx@tempa{tr}% + \appto\abx@tempb{\clearname{translator}}} + {}% + \ifnamesequal{editor}{commentator} + {\appto\abx@tempa{co}% + \appto\abx@tempb{\clearname{commentator}}} + {\ifnamesequal{editor}{annotator} + {\appto\abx@tempa{an}% + \appto\abx@tempb{\clearname{annotator}}} + {}}% + \ifnamesequal{editor}{introduction} + {\appto\abx@tempa{in}% + \appto\abx@tempb{\clearname{introduction}}} + {\ifnamesequal{editor}{foreword} + {\appto\abx@tempa{fo}% + \appto\abx@tempb{\clearname{foreword}}} + {\ifnamesequal{editor}{afterword} + {\appto\abx@tempa{af}% + \appto\abx@tempb{\clearname{afterword}}} + {}}}% + \ifbibxstring{\abx@tempa} + {\printtext[editortype]{\bibsstring{\abx@tempa}}\abx@tempb} + {\usebibmacro{editorstrg}}} + +\renewbibmacro*{translatorstrg}{% + \ifboolexpr{ + test {\ifnumgreater{\value{translator}}{1}} + or + test {\ifandothers{translator}} + } + {\bibsstring{translators}} + {\bibsstring{translator}}} + +\renewbibmacro*{translator+othersstrg}{% + \ifboolexpr{ + test {\ifnumgreater{\value{translator}}{1}} + or + test {\ifandothers{translator}} + } + {\def\abx@tempa{translators}} + {\def\abx@tempa{translator}}% + \ifnamesequal{translator}{commentator} + {\appto\abx@tempa{co}% + \clearname{commentator}} + {\ifnamesequal{translator}{annotator} + {\appto\abx@tempa{an}% + \clearname{annotator}} + {}}% + \ifnamesequal{translator}{introduction} + {\appto\abx@tempa{in}% + \clearname{introduction}} + {\ifnamesequal{translator}{foreword} + {\appto\abx@tempa{fo}% + \clearname{foreword}} + {\ifnamesequal{translator}{afterword} + {\appto\abx@tempa{af}% + \clearname{afterword}} + {}}}% + \bibsstring{\abx@tempa}} + +\renewbibmacro*{author}{% + \ifboolexpr{ + test \ifuseauthor + and + not test {\ifnameundef{author}} + } + {\ifciteseen{% + \usebibmacro{ifidemused} + {} + {\printnames[labelname]{author}}% + }{\renewcommand*{\namedashpunct}{\adddot\space}% + \iffieldundef{authortype} + {} + {\renewcommand*{\namedashpunct}{\addcomma\space}}% + \ifnameundef{withauthor} + {} + {\renewcommand*{\namedashpunct}{\addcomma\space}}% + \ifnameundef{holder} + {} + {\renewcommand*{\namedashpunct}{\addspace}}% + \usebibmacro{dashcheck} + {\bibnamedash} + {\usebibmacro{ifidemused} + {} + {\printnames{author}% + \usebibmacro{savehash}}}% + \iffieldundef{authortype} + {} + {\setunit{\addcomma\space}% + \usebibmacro{authorstrg}}% + \usebibmacro{withname}{author}}} + {\global\undef\bbx@lasthash}} + +\newbibmacro*{author+holder}{% + \usebibmacro{author}% + \ifciteseen + {} + {\ifnameundef{holder} + {} + {\setunit{\addspace}% + \printtext[parens]{\printnames{holder}}}}} + +\renewbibmacro*{editor+others}{% + \ifboolexpr{ + test \ifuseeditor + and + not test {\ifnameundef{editor}} + } + {\ifciteseen{% + \usebibmacro{ifidemused} + {} + {\printnames[labelname]{editor}}% + }{\renewcommand*{\namedashpunct}{\addcomma\space}% + \usebibmacro{dashcheck} + {\bibnamedash} + {\usebibmacro{ifidemused} + {} + {\printnames{editor}% + \usebibmacro{savehash}}}% + \setunit{\addcomma\space}% + \usebibmacro{editor+othersstrg}% + \usebibmacro{withname}{editor}% + }% + \clearname{editor}} + {}} + +\renewbibmacro*{translator+others}{% + \ifboolexpr{ + test \ifusetranslator + and + not test {\ifnameundef{translator}} + } + {\ifciteseen{% + \usebibmacro{ifidemused} + {} + {\printnames[labelname]{translator}}% + }{% + \renewcommand{\namedashpunct}{\addcomma\space}% + \usebibmacro{dashcheck} + {\bibnamedash} + {\usebibmacro{ifidemused} + {} + {\printnames{translator}% + \usebibmacro{savehash}}}% + \setunit{\addcomma\space}% + \usebibmacro{translator+othersstrg}% + \usebibmacro{withname}{translator}% + }% + \clearname{translator}} + {}} + +\renewbibmacro*{byauthor}{% + \ifboolexpr{ + test {\ifuseauthor} + or + test {\iffieldundef{title}} + or + test {\ifnameundef{author}} + } + {} + {\setunit{\addcomma\space}% + \usebibmacro{bytypestrg}{author}{author}% + \setunit{\addspace}% + \printnames[byauthor]{author}% + \usebibmacro{withname}{author}}}% + +\renewbibmacro*{bybookauthor}{% + \ifboolexpr{ + test {\iffieldundef{booktitle}} + or + test {\ifnameundef{bookauthor}} + or + test {\ifnamesequal{author}{bookauthor}} + } + {} + {\setunit{\addcomma\space}% + \usebibmacro{bytypestrg}{author}{author}% + \setunit{\addspace}% + \printnames[byauthor]{bookauthor}% + \usebibmacro{withname}{bookauthor}}% +} + +\newbibmacro*{bymainauthor}{% + \ifboolexpr{ + test {\iffieldundef{maintitle}} + or + test {\ifnameundef{mainauthor}} + or + test {\ifnamesequal{author}{mainauthor}} + or + test {\ifnamesequal{bookauthor}{mainauthor}} + } + {} + {\setunit{\addcomma\space}% + \usebibmacro{bytypestrg}{author}{author}% + \setunit{\addspace}% + \printnames[byauthor]{mainauthor}% + \usebibmacro{withname}{mainauthor}}% +} + +\renewbibmacro*{byeditor}{% + \ifnameundef{editor} + {} + {\usebibmacro{bytypestrg}{editor}{editor}% + \setunit{\addspace}% + \printnames[byeditor]{editor}% + \clearname{editor}% + \usebibmacro{withname}{editor}% + \newunit}} + +\renewbibmacro*{byeditor+others}{% + \ifnameundef{editor} + {} + {\usebibmacro{byeditor+othersstrg}% + \setunit{\addspace}% + \printnames[byeditor]{editor}% + \clearname{editor}% + \usebibmacro{withname}{editor}% + \newunit}% + \usebibmacro{byeditorx}} + +\renewbibmacro*{byeditorx}{% + \ifnameundef{editora} + {} + {\usebibmacro{bytypestrg}{editora}{editor}% + \setunit{\addspace}% + \printnames[byeditora]{editora}% + \clearname{editora}% + \newunit}% + \ifnameundef{editorb} + {} + {\usebibmacro{bytypestrg}{editorb}{editor}% + \setunit{\addspace}% + \printnames[byeditorb]{editorb}% + \clearname{editorb}% + \newunit}% + \ifnameundef{editorc} + {} + {\usebibmacro{bytypestrg}{editorc}{editor}% + \setunit{\addspace}% + \printnames[byeditorc]{editorc}% + \clearname{editorc}% + \newunit}} + +\renewbibmacro*{bytranslator}{% + \ifnameundef{translator} + {} + {\bibstring{bytranslator}% + \setunit{\addspace}% + \printnames[bytranslator]{translator}% + \clearname{translator}% + \usebibmacro{withname}{translator}}} + +\renewbibmacro*{bytranslator+others}{% + \ifnameundef{translator} + {} + {\usebibmacro{bytranslator+othersstrg}% + \setunit{\addspace}% + \printnames[bytranslator]{translator}% + \clearname{translator}% + \usebibmacro{withname}{translator}% + \newunit}% + \usebibmacro{withothers}} + +\newbibmacro*{byeditor/bytranslator}{% + \ifboolexpr{ + ( + not test {\ifnameundef{bookeditor}} + and + not test {\ifnameundef{maineditor}} + ) + or + ( + not test {\ifnameundef{maineditor}} + and + test {\iffieldundef{booktitle}} + ) + } + {\usebibmacro{byeditor}} + {} + \newunit + \ifboolexpr{ + ( + not test {\ifnameundef{booktranslator}} + and + not test {\ifnameundef{maintranslator}} + ) + or + ( + not test {\ifnameundef{maintranslator}} + and + test {\iffieldundef{booktitle}} + ) + } + {\usebibmacro{bytranslator}} + {}} + +\newbibmacro*{byauthor/byeditor+others/bytranslator+others}{% + \iffieldundef{title} + {} + {\usebibmacro{byauthor}% + \newunit + \usebibmacro{ifbooktitleormaintitle} + {\usebibmacro{byeditor/bytranslator}} + {\usebibmacro{byeditor+others}% + \newunit + \usebibmacro{bytranslator+others}}}} + +\newbibmacro*{bybookeditor}{% + \ifnameundef{bookeditor} + {} + {\usebibmacro{byeditor+othersstrg}% + \setunit{\addspace}% + \printnames[byeditor]{bookeditor}% + \clearname{bookeditor}% + \usebibmacro{withname}{bookeditor}}} + +\newbibmacro*{bybookeditor+others}{% + \ifboolexpr{ + ( + not test {\ifnameundef{maineditor}} + and + test {\ifnameundef{bookeditor}} + ) + or + ( + test {\iffieldundef{maintitle}} + and + test {\ifnameundef{bookeditor}} + ) + } + {\usebibmacro{byeditor}} + {\usebibmacro{bybookeditor}}% + \newunit + \usebibmacro{byeditorx}} + +\newbibmacro*{bybooktranslator}{% + \ifnameundef{booktranslator} + {} + {\usebibmacro{bytranslator+othersstrg}% + \setunit{\addspace}% + \printnames[bytranslator]{booktranslator}% + \clearname{booktranslator}% + \usebibmacro{withname}{booktranslator}}} + +\newbibmacro*{bybooktranslator+others}{% + \ifboolexpr{ + ( + not test {\ifnameundef{maintranslator}} + and + test {\ifnameundef{booktranslator}} + ) + or + ( + test {\iffieldundef{maintitle}} + and + test {\ifnameundef{booktranslator}} + ) + } + {\usebibmacro{bytranslator}} + {\usebibmacro{bybooktranslator}}% + \newunit + \usebibmacro{withothers}} + +\newbibmacro*{bybookeditor/bybooktranslator}{% + \ifboolexpr{ + ( + not test {\ifnameundef{maineditor}} + and + test {\ifnameundef{bookeditor}} + ) + or + ( + test {\iffieldundef{maintitle}} + and + test {\ifnameundef{bookeditor}} + ) + } + {\usebibmacro{byeditor}} + {\usebibmacro{bybookeditor}}% + \newunit + \ifboolexpr{ + ( + not test {\ifnameundef{maintranslator}} + and + test {\ifnameundef{booktranslator}} + ) + or + ( + test {\iffieldundef{maintitle}} + and + test {\ifnameundef{booktranslator}} + ) + } + {\usebibmacro{bytranslator}} + {\usebibmacro{bybooktranslator}}} + +\newbibmacro*{bybookauthor/bybookeditor+others/bybooktranslator+others}{% + \iffieldundef{booktitle} + {} + {\usebibmacro{bybookauthor}% + \newunit + \iffieldundef{maintitle} + {\usebibmacro{bybookeditor+others}% + \newunit + \usebibmacro{bybooktranslator+others}} + {\usebibmacro{bybookeditor/bybooktranslator}}}} + +\newbibmacro*{bymaineditor+others}{% + \ifnameundef{maineditor} + {\usebibmacro{byeditor+others}} + {\usebibmacro{byeditor+othersstrg}% + \setunit{\addspace}% + \printnames[byeditor]{maineditor}% + \clearname{maineditor}% + \usebibmacro{withname}{maineditor}% + \newunit + \usebibmacro{byeditorx}}} + +\newbibmacro*{bymaintranslator+others}{% + \ifnameundef{maintranslator} + {\usebibmacro{bytranslator+others}} + {\usebibmacro{bytranslator+othersstrg}% + \setunit{\addspace}% + \printnames[bytranslator]{maintranslator}% + \clearname{maintranslator}% + \usebibmacro{withname}{maintranslator}% + \newunit + \usebibmacro{withothers}}} + +\newbibmacro*{bymainauthor/bymaineditor+others/bymaintranslator+others}{% + \iffieldundef{maintitle} + {} + {\usebibmacro{bymainauthor}% + \newunit + \usebibmacro{bymaineditor+others}% + \newunit + \usebibmacro{bymaintranslator+others}}} + +\newbibmacro*{revdauthor}{% + \ifnameundef{revdauthor} + {} + {\bibstring{byauthor}% + \setunit{\addspace}% + \ifciteseen + {\printnames[labelname]{revdauthor}} + {\printnames{revdauthor}}}} + +\newbibmacro*{revdeditor}{% + \ifnameundef{revdeditor} + {} + {\bibsstring{byeditor}% + \setunit{\addspace}% + \ifciteseen + {\printnames[labelname]{revdeditor}} + {\printnames{revdeditor}}}} + +\newbibmacro*{revdauthor/revdeditor}{% + \usebibmacro{revdauthor}% + \setunit{\addcomma\space}% + \usebibmacro{revdeditor}} + +\newbibmacro*{revdauthor/revdeditor+revdtitle}{% + \biblstring{reviewof}% + \setunit{\addspace}% + \usebibmacro{revdauthor/revdeditor}% + \ifciteseen + {} + {\setunit{\addcomma\space}% + \usebibmacro{revdtitle}}} + +% ------------------------------------------------------------------ +% SERIES MACROS +% ------------------------------------------------------------------ + +\newbibmacro*{shortseries}{% + \iffieldundef{shortseries} + {\printfield{series}} + {\printtext[shortseries]{% + \bibhyperlink{\strfield{shortseries}}{\thefield{shortseries}}}}% +} + +\newbibmacro*{shortseries+number}{% + \usebibmacro{shortseries}% + \setunit{\addspace}% + \iffieldundef{seriesseries} + {} + {\printfield{seriesseries}% + \printtext{/}}% + \printfield{number}% + \newunit} + +% ------------------------------------------------------------------ +% EVENT MACROS +% ------------------------------------------------------------------ + +\renewbibmacro*{event+venue+date}{% + \iffieldundef{eventtitle} + {} + {\printfield{eventtitle}% + \newunit + \printfield{eventtitleaddon}}% + \ifboolexpr{ + test {\iffieldundef{venue}} + and + test {\iffieldundef{eventyear}} + } + {} + {\setunit{\addspace}% + \printtext[parens]{% + \printfield{venue}% + \setunit*{\addcomma\space}% + \printeventdate}}% + \newunit + \clearfield{eventtitle}% + \clearfield{venue}% + \clearfield{eventyear}} + +\newbibmacro*{eventtitle}{% + \iffieldundef{eventtitle} + {} + {\ifbibliography + {} + {\midsentence}% + \bibstring{paperpresented}% + \setunit{\addspace}% + \printfield{eventtitle}% + \newunit + \printfield{eventtitleaddon}}} + +\newbibmacro*{venue+eventdate}{% + \iffieldundef{venue} + {\printlist{location}} + {\printfield{venue}}% + \setunit{\addcomma\space}% + \iffieldundef{eventyear} + {\printdate} + {\printeventdate}} + +% ------------------------------------------------------------------ +% PUBLISHER MACROS +% ------------------------------------------------------------------ + +\newbibmacro*{parens+publisher+location+date}{% + \ifboolexpr{ + test {\iflistundef{publisher}} + and + test {\iflistundef{location}} + and + test {\iffieldundef{howpublished}} + and + test {\iffieldundef{year}} + } + {} + {\setunit{\addspace}% + \printtext[parens]{% + \usebibmacro{publisher+location+date}% + \iffieldequalstr{relatedtype}{reprint} + {\renewcommand*{\newunitpunct}{\addsemicolon\space}% + \newunit + \usebibmacro{related:init}% + \usebibmacro{related}% + \global\toggletrue{relatedseen}} + {}}}} + +\newcounter{currentpublisher} +\newcounter{currentlocation} +\newcounter{currentorganization} +\newcounter{currentinstitution} +\newcounter{publishertotal} +\newcounter{locationtotal} +\newcounter{organizationtotal} +\newcounter{institutiontotal} + +\DeclareListFormat{publisher}{% + \setcounter{publishertotal}{\value{listtotal}}% + \usebibmacro{list:delim}{#1}% + #1\isdot + \ifnumequal{\value{currentpublisher}}{\value{listtotal}} + {\setcounter{currentpublisher}{0}} + {\addtocounter{currentpublisher}{1}}} + +\DeclareListFormat{organization}{% + \setcounter{organizationtotal}{\value{listtotal}}% + \usebibmacro{list:delim}{#1}% + #1\isdot + \ifnumequal{\value{currentorganization}}{\value{listtotal}} + {\setcounter{currentorganization}{0}} + {\addtocounter{currentorganization}{1}}} + +\DeclareListFormat{institution}{% + \setcounter{institutiontotal}{\value{listtotal}}% + \usebibmacro{list:delim}{#1}% + #1\isdot + \ifnumequal{\value{currentinstitution}}{\value{listtotal}} + {\setcounter{currentinstitution}{0}} + {\addtocounter{currentinstitution}{1}}} + +\DeclareListFormat{location}{% + \setcounter{locationtotal}{\value{listtotal}}% + \usebibmacro{list:delim}{#1}% + #1\isdot + \ifnumequal{\value{currentlocation}}{\value{listtotal}} + {\setcounter{currentlocation}{0}} + {\addtocounter{currentlocation}{1}}} + +\newbibmacro*{loop:location+publisher}{% + \ifnumequal{\value{currentlocation}}{0} + {} + {\printlist[][\value{currentlocation}-\value{currentlocation}]{location}% + \setunit*{\addcolon\space}}% + \ifnumequal{\value{currentorganization}}{0} + {} + {\printlist[][\value{currentorganization}-\value{currentorganization}]{organization}% + \setunit*{\addcomma\space}}% + \ifnumequal{\value{currentinstitution}}{0} + {} + {\printlist[][\value{currentinstitution}-\value{currentinstitution}]{institution}% + \setunit*{\addcomma\space}}% + \ifnumequal{\value{currentpublisher}}{0} + {} + {\printlist[][\value{currentpublisher}-\value{currentpublisher}]{publisher}}% + \setunit*{\addsemicolon\space}% + \ifboolexpr{ + test {\ifnumgreater{\value{locationtotal}}{1}} + and + test {\ifnumgreater{\value{currentlocation}}{\value{organizationtotal}}} + and + test {\ifnumgreater{\value{currentlocation}}{\value{institutiontotal}}} + and + test {\ifnumgreater{\value{currentlocation}}{\value{publishertotal}}} + } + {\setcounter{currentlocation}{0}} + {}% + \ifboolexpr{ + test {\ifnumgreater{\value{currentorganization}}{0}} + or + test {\ifnumgreater{\value{currentinstitution}}{0}} + or + test {\ifnumgreater{\value{currentpublisher}}{0}} + or + test {\ifnumgreater{\value{currentlocation}}{0}} + } + {\usebibmacro{loop:location+publisher}} + {}} + +\newbibmacro*{init:location+publisher}{% + \setcounter{locationtotal}{0}% + \setcounter{organizationtotal}{0}% + \setcounter{institutiontotal}{0}% + \setcounter{publishertotal}{0}% + \iflistundef{location} + {\setcounter{currentlocation}{0}} + {\setcounter{currentlocation}{1}}% + \iflistundef{organization} + {\setcounter{currentorganization}{0}} + {\setcounter{currentorganization}{1}}% + \iflistundef{institution} + {\setcounter{currentinstitution}{0}} + {\setcounter{currentinstitution}{1}}% + \iflistundef{publisher} + {\setcounter{currentpublisher}{0}} + {\setcounter{currentpublisher}{1}}} + +\renewbibmacro*{publisher+location+date}{% + \usebibmacro{reprint}% + \usebibmacro{init:location+publisher}% + \usebibmacro{loop:location+publisher}% + \iffieldundef{howpublished} + {} + {\ifboolexpr{ + test {\iflistundef{organization}} + and + test {\iflistundef{institution}} + and + test {\iflistundef{publisher}} + } + {\setunit*{\addcolon\space}} + {\setunit*{\addcomma\space}}% + \printfield{howpublished}}% + \setunit*{\addcomma\space}% + \usebibmacro{date}% + \newunit} + +\newbibmacro*{origpublisher+location+date}{% + \printlist{origlocation}% + \iflistundef{origpublisher} + {\setunit*{\addcomma\space}} + {\setunit*{\addcolon\space}}% + \printlist{origpublisher}% + \setunit*{\addcomma\space}% + \usebibmacro{origdate}% + \newunit} + +% ------------------------------------------------------------------ +% CHAPTER, PAGES, VOLUME, PART MACROS +% ------------------------------------------------------------------ + +\newbibmacro*{volume}{% + \iffieldundef{volume} + {} + {\setunit{\addspace}% + \global\booltrue{usevolpostnotedelim}% + \printfield{volume}% + \newunit}} + +\newbibmacro*{ifbooktitleormaintitle}[2]{% + \ifboolexpr{ + not test {\iffieldundef{booktitle}} + or + not test {\iffieldundef{maintitle}} + } + {#1} + {#2}} + +\newbibmacro*{ifneedstitlein}[2]{% + \usebibmacro{ifbooktitleormaintitle} + {\ifboolexpr{ + togl {inentrytype} + or + not test {\usebibmacro{ifusevolumeandpart}} + } + {#1} + {#2}} + {#2}} + +\newbibmacro{pagesin}{% + \usebibmacro{ifbooktitleormaintitle} + {\iffieldundef{pages} + {} + {\printfield[pagesin]{pages}% + \setunit*{\addspace}}} + {\printfield[pagepages]{pages}% + \newunit}} + +\newbibmacro*{chapterin}{% + \ifboolexpr{ + test {\usebibmacro{ifbooktitleormaintitle}} + or + not test {\iffieldundef{volume}} + or + not test {\iffieldundef{part}} + } + {\iffieldundef{chapter} + {\usebibmacro{ifneedstitlein} + {\usebibmacro{in}} + {}}% + {\printfield[chapterin]{chapter}% + \setunit*{\addspace}}} + {\printfield{chapter}% + \setunit*{\addcomma\space}}} + +\newbibmacro*{chapter+pagesin}{% + \iffieldundef{pages} + {\usebibmacro{chapterin}} + {\ifbibliography + {\printfield{chapter}% + \setunit*{\addcomma\space}% + \ifboolexpr{ + test {\usebibmacro{ifbooktitleormaintitle}} + or + not test {\iffieldundef{volume}} + or + not test {\iffieldundef{part}} + } + {\printfield[pagesin]{pages}% + \setunit*{\addspace}} + {\printfield[pagepages]{pages}% + \newunit}} + {\usebibmacro{chapterin}}}} + +\newbibmacro*{ifusevolumeandpart}[2]{% + \ifboolexpr{ + test {\ifbibliography}% always if in bibliography + or + not test {\iffieldundef{chapter}}% always if chapter is defined + or + (% always if volume defined, part not defined, and usevolume=true + not test {\iffieldundef{volume}} + and + test {\iffieldundef{part}} + and + togl {blx@usevolume}% + ) + or + (% always if part defined and volume not defined + not test {\iffieldundef{part}} + and + test {\iffieldundef{volume}} + ) + or + (% always if neither volume nor part are defined + test {\iffieldundef{volume}} + and + test {\iffieldundef{part}} + ) + } + {#1} + {#2}} + +\newbibmacro*{volume+partof}{% + \usebibmacro{ifusevolumeandpart} + {\iffieldundef{part} + {\iffieldundef{maintitle} + {\printfield[vol]{volume}% + \newunit} + {\iffieldundef{volume} + {} + {\printfield[volumeof]{volume}% + \setunit*{\addspace}}}} + {\printfield[vol]{volume}% + \setunit*{\addcomma\space}% + \iffieldundef{maintitle} + {\printfield[pt]{part}% + \newunit} + {\printfield[partof]{part} + \setunit*{\addspace}}}} + {}} + +\newbibmacro*{volume+pages}{% + \iffieldundef{volume} + {} + {\setunit{\addspace}% + \printfield{volume}% + \setunit*{\addperiod}% + \printfield{part}% + \setunit{\volpostnotedelim}% + \global\booltrue{usevolpostnotedelim}} + \usebibmacro{pages}} + +\newbibmacro*{volume+part+pages}{% + \usebibmacro{ifusevolumeandpart} + {} + {\printfield{volume}% + \setunit*{\addperiod}% + \printfield{part}% + \setunit{\volpostnotedelim}% + \global\booltrue{usevolpostnotedelim}}% + \usebibmacro{pages}} + +\newbibmacro*{volume+part}{% + \iffieldundef{volume} + {} + {\iftoggle{blx@usevolume} + {} + {\printfield{volume}% + \setunit{\addperiod}% + \printfield{part}% + \global\booltrue{usevolpostnotedelim}}}} + +\renewbibmacro*{urldate}{% + \iftoggle{blx@accessdate} + {\iffieldundef{urlyear} + {} + {\printurldate}} + {}} + +\newbibmacro*{reprint}{% + \ifboolexpr{ + not test {\iffieldundef{origpublisher}} + or + not test {\iffieldundef{origlocation}} + or + not test {\iffieldundef{origyear}} + } + {\usebibmacro{origpublisher+location+date}% + \ifbibliography + {\setunit{\addperiod\space}} + {\setunit{\addsemicolon\space}}% + \bibstring{reprint}% + \setunit{\addcomma\addspace}} + {}} + +% ------------------------------------------------------------------ +% DATE MACROS +% ------------------------------------------------------------------ + +\renewbibmacro*{date}{% + \printdate + \setunit{\addcomma\addspace}% + \printfield{pubstate}} + +\newbibmacro*{origdate}{\printorigdate} + +\newbibmacro*{eprintdate}{\printeprintdate} + +\newbibmacro*{patentdate}{% + \iffieldundef{year} + {} + {\bibstring{patentfiled}% + \setunit{\addspace}% + \printdate + \setunit{\addcomma\addspace}}% + \printfield{pubstate}} + +\renewbibmacro*{doi+eprint+url}{% + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}} + {}% + \newunit\newblock + \usebibmacro{urldate}% + \newunit + \iftoggle{bbx:doi} + {\printfield{doi}} + {}% + \newunit + \iftoggle{bbx:url} + {\printfield{url}} + {}} + +\newbibmacro*{ebook}{% + \iftoggle{bbx:eprint} + {\iffieldequalstr{eprinttype}{ebook} + {\usebibmacro{eprint}% + \clearfield{eprint}} + {}} + {}} + +\newbibmacro*{isbn}{% + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}} + +\newbibmacro*{isrn}{% + \iftoggle{bbx:isbn} + {\printfield{isrn}} + {}} + +\newbibmacro*{issn}{% + \iftoggle{bbx:isbn} + {\printfield{issn}} + {}} + +% ------------------------------------------------------------------ +% RELATED MACROS +% ------------------------------------------------------------------ + +\csundef{abx@ffd@*@related:multivolume} +\csundef{abx@ffd@*@related:origpubin} +\csundef{abx@ffd@*@related:origpubas} +\csundef{abx@ffd@*@relatedstring:reprintfrom} +\csundef{abx@macro@related:multivolume} +%\csundef{abx@macro@related:bytranslator} +\csundef{abx@macro@related:origpubas} +\csundef{abx@macro@related:origpubin} +\csundef{abx@macro@related:reprintfrom} + +\renewbibmacro*{begrelated}{% + \global\booltrue{bbx@inset}} + +\renewbibmacro*{endrelated}{% + \global\boolfalse{bbx@inset}% + \usebibmacro*{savehash}} + +\renewbibmacro*{related:default}[1]{% + \entrydata*{#1}{% + \usedriver + {\ifnameundef{savedauthor} + {\ifnameundef{savededitor} + {} + {\ifnamesequal{editor}{savededitor} + {\clearname{editor}} + {}}} + {\ifnamesequal{author}{savedauthor} + {\clearname{author}} + {}}% + \renewbibmacro*{related:init}{% + \ifnameundef{savedauthor} + {} + {\restorename{author}{\abx@name@savedauthor}}% + \ifnameundef{savededitor} + {} + {\restorename{editor}{\abx@namesavededitor}}}% + \DeclareNameAlias{sortname}{default}}% + {\ifbibliography + {\thefield{entrytype}} + {cite:\thefield{entrytype}}}% + \setunit{\relateddelim}% + \usebibmacro{related}}} + +\newbibmacro*{related:reprint}[1]{% + \entrydata*{#1}{% + \usedriver + {\renewbibmacro*{related:init}{}% + \ifbibliography + {\renewbibmacro*{parens+publisher+location+date}{% + \newunit + \usebibmacro{publisher+location+date}}} + {}} + {\ifbibliography + {\thefield{entrytype}} + {cite:\thefield{entrytype}}}}} + +\newbibmacro*{related:ancienttext}[1]{% + \global\togglefalse{blx@testpostnotedelim}% + \togglefalse{blx@citeindex}% + \ifciteseen{\let\ifciteseen\@firstoftwo}{}% + \entrydata*{#1}{% + \usebibmacro{ifuseshorthand} + {\usebibmacro{cite:shorthand}% + \usebibmacro{volume}% + \setunit{\addperiod}% + \printfield{part}% + \global\toggletrue{blx@testpostnotedelim}} + {\usedriver{}{cite:\thefield{entrytype}}% + \ifboolexpr{ + test {\ifciteseen} + and + not togl {blx@useshorttitle} + } + {\global\toggletrue{blx@testpostnotedelim}} + {}}}} + +% ------------------------------------------------------------------ +% ANCIENT AND CLASSIC TEXT MACROS +% ------------------------------------------------------------------ + +\newtoggle{blx@testpostnotedelim} + +\newbibmacro*{volume+part+postnote}{% + \usebibmacro{volume}% + \iffieldundef{part} + {} + {\setunit{\addperiod}% + \printfield{part}}% + \iftoggle{blx@testpostnotedelim}{\usebibmacro{setpostnotedelim}}{}% + \ifbool{usevolpostnotedelim} + {\setunit{\volpostnotedelim}} + {\setunit{\postnotedelim}}% + \ifboolexpr{ + test {\ifciteseen} + or + test {\iffieldundef{pages}} + } + {\printfield{postnote}} + {\usebibmacro{pages}}% + \global\booltrue{suppresspostnote}} + +\newbibmacro*{classic:translator+series}{% + \ifnameundef{translator} + {} + {\setunit{\addspace}% + \printtext[parens]{% + \printnames[labelname]{translator}% + \iftoggle{blx@useseries} + {\newunit + \usebibmacro{shortseries}} + {}}}} + +% ------------------------------------------------------------------ +% ALTERNATE POSTNOTE MACROS +% ------------------------------------------------------------------ + +\ExplSyntaxOn +\DeclareDocumentCommand{\savepostnotes}{d() u{++}}{ + \IfValueT {#1} { \gdef\postnotefirst{#1} } + \tl_if_empty:nF {#2} { \gdef\postnotelast{#2} } +} +\cs_new:Npn \_biblatexsbl_splitpostnote:n #1 { \savepostnotes #1++ } +\cs_generate_variant:Nn \_biblatexsbl_splitpostnote:n { o } +\cs_new_eq:NN \splitpostnote \_biblatexsbl_splitpostnote:o +\ExplSyntaxOff + +\newrobustcmd*{\volsplitpostnote}[2]{% + \gdef\volvol{#1}% + \gdef\abx@field@volpostnote{#2}% + \iffieldundef{volpostnote} + {} + {\splitpostnote{\abx@field@volpostnote}}} + +\def\setuppostnotes{% + \global\undef\postnotefirst + \global\undef\postnotelast + \iftoggle{cbx:involcite} + {\expandafter\volsplitpostnote\abx@field@postnote}% + {\splitpostnote{\abx@field@postnote}}} + +\renewbibmacro*{prenote}{% + \iffieldundef{postnote} + {} + {\setuppostnotes + \iftoggle{cbx:involcite} + {\ifdefined\postnotelast + \def\abx@field@postnote{{\volvol}{\postnotelast}}% + \else + \def\abx@field@postnote{{\volvol}{}}% + \fi} + {\restorefield{postnote}{\postnotelast}}% + \restorefield{altpostnote}{\postnotefirst}}% + \iffieldundef{prenote} + {} + {\printfield{prenote}% + \setunit{\prenotedelim}}} + +\DeclareFieldFormat{altpostnote}{\mkcomprange{#1}} + +% ------------------------------------------------------------------ +% BIBLIOGRAPHY REPEATED AUTHOR MACROS +% ------------------------------------------------------------------ + +\newbool{bbx@inset} + +\renewcommand*{\bibnamedash}{% + \leavevmode\raise 0.6ex\hbox to 3em{\hrulefill}\namedashpunct} + +\newbibmacro*{bbx:dashcheck}[2]{% + \ifboolexpr{ + test {\iffieldequals{fullhash}{\bbx@lasthash}} + and + not test \iffirstonpage + and + ( + not bool {bbx@inset} + or + test {\iffieldequalstr{entrysetcount}{1}} + ) + and togl {blx@dashed} + } + {#1} + {#2}} + +\newbibmacro*{cbx:dashcheck}[2]{#2} + +\newbibmacro*{dashcheck}[2]{% + \usebibmacro{cbx:dashcheck}{#1}{#2}} + +\newbibmacro*{savehash}{} + +% ------------------------------------------------------------------ +% ENTRY SET MACROS +% ------------------------------------------------------------------ + +\def\blx@entryset#1{% + \blx@ifdata{#1} + {\begingroup + \blx@imc@clearlist{pageref}% + \blx@getdata{#1}% + \blx@setoptions@type\abx@field@entrytype + \def\abx@field@entrysetcount{1}% + \blx@entryset@precode + \ifbibliography + {\blx@driver{\blx@imc@thefield{entrytype}}} + {\blx@driver{cite:\blx@imc@thefield{entrytype}}}% + \blx@entryset@postcode + \endgroup} + {}% + \let\do\blx@entryset@i} + +\def\blx@entryset@i#1{% + \blx@ifdata{#1} + {\begingroup + \blx@resetdata + \blx@getdata{#1}% + \blx@entrysetcount + \blx@setoptions@type\abx@field@entrytype + \blx@setoptions@entry + \addtocounter{instcount}\@ne + \blx@execute + \blx@beglangbib + \blx@begunit + \blx@entryset@precode + \ifbibliography + {\blx@driver{\blx@imc@thefield{entrytype}}} + {\blx@driver{cite:\blx@imc@thefield{entrytype}}}% + \blx@entryset@postcode + \blx@endunit + \blx@endlangbib + \endgroup} + {\blx@nounit}} + +% ------------------------------------------------------------------ +% INDEXING MACROS +% ------------------------------------------------------------------ + +\renewbibmacro*{bibindex}{% + \ifbibindex + {\indexnames{labelname}} + {}} + +\renewbibmacro*{citeindex}{% + \ifciteindex + {\indexnames{labelname}} + {}} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl.pdf Binary files differnew file mode 100644 index 0000000000..3f2859021f --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl.pdf diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl.tex b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl.tex new file mode 100644 index 0000000000..02ea67f292 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/biblatex-sbl.tex @@ -0,0 +1,1289 @@ +% imakeidx needs to be loaded before hyperref +\RequirePackage{scrlfile}\AfterPackage{textcomp}{\RequirePackage{imakeidx}} +\documentclass[a4paper]{ltxdockit}[2011/03/25] +\usepackage{microtype} +\usepackage{xcolor} +\makeindex[title=Author Index,intoc,options=-q] +\usepackage{btxdockit} +\usepackage{fontspec} +\usepackage{realscripts} +\usepackage{xparse} +\usepackage{framed} +\usepackage{enumitem} + +\usepackage[style=sbl,indexing=cite,idemtracker=false,ibidtracker=false]{biblatex} +\addbibresource{biblatex-sbl.bib} + +\hypersetup{colorlinks,citecolor=spot} + +\hyphenation{Prei-sen-daz} + +\setmonofont{DejaVu Sans Mono}[Scale=MatchLowercase] +\setromanfont{Linux Libertine O} +\setsansfont{Linux Biolinum O}[ + BoldItalicFont={* Bold}, + BoldItalicFeatures={FakeSlant=0.2} +] + +\newcommand*{\biblatexsbl}{\sty{biblatex-sbl}\xspace} +\newcommand*{\biblatexsblhome}{https://github.com/dcpurton/biblatex-sbl/} +\newcommand*{\biblatex}{\sty{biblatex}\xspace} + +\ExplSyntaxOn +\NewDocumentCommand \samplemacro { m } + { + \texttt{#1}\par + } +\NewDocumentCommand \sblrefsamplecite { s m m m o o m } + { + \IfNoValueTF { #5 } + { + \IfNoValueT { #6 } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash #2\{#7\}} + } + \hspace*{\bibindent}#4\csuse{#3}{#7} + } + } + { + \IfNoValueTF { #6 } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash #2[#5]\{#7\}} + } + \hspace*{\bibindent}#4\csuse{#3}[#5]{#7} + } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash #2[#5][#6]\{#7\}} + } + \hspace*{\bibindent}#4\csuse{#3}[#5][#6]{#7} + } + } + } +\NewDocumentCommand \samplecite { s m o o m } + { + \rmfamily + \IfBooleanTF { #1 } + { + \sblrefsamplecite*{autocite}{cite}{#2.~}[#3][#4]{#5}.\par + } + { + \sblrefsamplecite{autocite}{cite}{#2.~}[#3][#4]{#5}.\par + } + } +\NewDocumentCommand \sampleparencite { s o o m } + { + \rmfamily + \IfBooleanTF { #1 } + { + \sblrefsamplecite*{parencite}{parencite}{}[#2][#3]{#4}\par + } + { + \sblrefsamplecite{parencite}{parencite}{}[#2][#3]{#4}\par + } + } +\NewDocumentCommand \samplebib { s m } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash printbibliography} + } + \hangindent\bibindent\bibentrycite{#2}.\par + } +\NewDocumentCommand \samplebiblist { s m } + { + \IfBooleanF { #1 } + { + \samplemacro{\textbackslash printbiblist\{abbreviations\}} + } + \biblistcite{#2} + } +\ExplSyntaxOff + +\lstset{% + basicstyle=\displayverbfont\normalsize, + keywordstyle=\bfseries +} + +\makeatletter +\def\ltd@printarg@v<(#1)#2>{[(\prm{#1})\prm{#2}]\ltd@parseargs} +\makeatother + +\titlepage{% + title={\biblatexsbl}, + subtitle={SBL Style Using \biblatex}, + url={\biblatexsblhome}, + author={David Purton}, + email={dcpurton@marshwiggle.net}, + revision={\printsblversion}, + date={\printsbldate}} + +\hypersetup{% + pdftitle={biblatex-sbl}, + pdfsubject={SBL Style Using biblatex}, + pdfauthor={David Purton}, + pdfkeywords={sbl, biblatex, bibliography, citation}} + +\definecolor{spot}{rgb}{0.25,0.25,0.65} +\colorlet{shadecolor}{black!15} + +\begin{document} + +\printtitlepage + +\tableofcontents + +\section{Introduction} + +\biblatexsbl provides support to \biblatex and LaTeX for citations, +bibliography, and a list of abbreviations in the style recommended by the +Society of Biblical Literature (\citeshorthand{SBL}). The style conforms to +the second edition of the \cite{SBLHS}. + +The style supports all examples given in the handbook (see +\sty{biblatex-sbl-examples.pdf}). Shorthand citations and a list of +abbreviations containing journals, series, and shorthands are handled +automatically. Repeated authors in the bibliography are replaced by a +horizontal line. \emph{Ibidem} and \emph{idem} is enabled by default. Indexing +of names is supported, but not enabled by default. Only note style citations, +not Author-Date citations are supported. Primary sources can be cited in +parentheses. \biblatexsbl is compatible with \biblatex's support for +\sty{hyperref}. + +For anything not covered in this manual, please see the \biblatex +documentation. Bugs and feature requests can be submitted at +\url{\biblatexsblhome}. + +\textbf{Note:} This package should be considered as beta software and its +output carefully checked when you use it. + +\section{Requirements} + +\biblatexsbl requires at least version 3.11 of \biblatex and the \sty{xparse} +package. \sty{biber} must be used. \sty{bibtex} is not supported. For +localization \sty{babel} (not \sty{polyglossia}) and \sty{csquotes} are +recommended. + +\section{Usage} + +The following minimal example will set up \biblatexsbl to conform to the +defaults of the \cite{SBLHS}. + +\begin{quote} +\begin{lstlisting}[style=latex]{} +\documentclass{article} +\usepackage[style=sbl]{biblatex} +\addbibresource{<bibfile.bib>} +\begin{document} +\printbiblist{abbreviations} +\printbibliography +\end{document} +\end{lstlisting} +\end{quote} + +\subsection{Localization} + +By default \biblatexsbl uses American style punctuation and quotation marks. +You can choose a different style by including the +\sty{babel} and \sty{csquotes} packages in your +document preamble. \sty{polyglossia} is not well supported by \biblatex and +its use is discouraged. + +\begin{quote} +\begin{lstlisting}[style=latex]{} +\usepackage[ngerman]{babel} +\usepackage{csquotes} +\usepackage[style=sbl]{biblatex} +\end{lstlisting} +\end{quote} + +Currently \opt{english} (including variants such as \opt{british}, +\opt{australian}, etc.), \opt{spanish}, and \opt{german} are supported. + +For Greek and especially Hebrew, the set up is more complicated and you should +use \sty{xelatex} or \sty{lualatex}. See \sty{sbl-paper.pdf} for example Greek +and Hebrew usage with \sty{babel}. + +\begin{quote} +\begin{lstlisting}[style=latex]{} +\usepackage[nil,bidi=default]{babel} +\usepackage{csquotes} +\babelprovide[import=en-US,main]{american} +\babelprovide[import=he]{hebrew} +\babelprovide[import=el]{polutonikogreek} +\babelfont[american]{rm}[Ligatures=TeX]{Linux Libertine O} +\babelfont[hebrew]{rm}% + [Ligatures=TeX,Contextuals=Alternate]{SBL BibLit} +\babelfont[polutonikogreek]{rm}% + [Ligatures=TeX,Contextuals=Alternate]{SBL BibLit} +\end{lstlisting} +\end{quote} + +\subsection{Commands} + +The standard commands for \biblatexsbl generally follow those defined by +\biblatex. Included below are the most typical commands. For more commands and +options, reference the \biblatex manual. + +\begin{ltxsyntax} + +\cmditem{autocite}[prenote]<(altpostnote)postnote>{key} +\cmditem{autocite*}[prenote]<(altpostnote)postnote>{key} + +\cmd{autocite} inserts a citation as a footnote. If used in a footnote, the +citation is placed in parentheses. The starred variant suppresses the author, +editor, or translator (provided the entry options are set to use them). It +works as in the standard \biblatex styles, except that that +\bibfield{postnote} argument can be divided into two using parentheses. This +creates an \bibfield{altpostnote} field which is used in some of the examples +from §6.4 of the \cite{SBLHS}. e.g., + +\begin{snugshade} + \samplecite{1}[See][(1.3)8:223]{clementinehomilies} +\end{snugshade} + +To use only \bibfield{altpostnote} surround the whole argument in parentheses. +e.g., + +\begin{snugshade} + \samplecite{1}[(III. 1-164)]{PGM:betz} +\end{snugshade} + +\cmditem{cite}[prenote]<(altpostnote)postnote>{key} +\cmditem{cite*}[prenote]<(altpostnote)postnote>{key} + +\cmd{cite} works in the same way as \cmd{autocite} except that the citation is +placed directly into the text instead of in a footnote. The starred variant +suppresses the author, editor, or translator (provided the entry options are +set to use them). + +\cmditem{parencite}[prenote]<(altpostnote)postnote>{key} +\cmditem{parencite*}[prenote]<(altpostnote)postnote>{key} + +\cmd{parencite} works in the same way as \cmd{autocite} except that the +citation is placed inside parentheses instead of in a footnote. The starred +variant suppresses the author, editor, or translator (provided the entry +options are set to use them). This is most useful for citing primary sources. +e.g., + +\begin{snugshade} + \sampleparencite[2.233-235]{josephus:ant} +\end{snugshade} + +\cmditem{journalcite}{key} +\cmditem{seriescite}{key} +\cmditem{shorthandcite}{key} + +\cmd{journalcite}, \cmd{seriescite}, and \cmd{shorthandcite} inserts the +respective abbreviation into the text and also adds it to the list of +abbreviations. The abbreviation is hyperlinked to the list of abbreviations if +the \sty{hyperref} package is loaded. + +These commands ignore the \bibfield{prenote} and \bibfield{postnote} fields, +so can safely be used anywhere within a database entry. + +\cmditem{printbiblist} + +This command prints a bibliography list. In \biblatexsbl all abbreviations +(journals, series, and shorthands) can be printed using the following command: + +\begin{quote} + \verb+\printbiblist[...]{abbreviations}+ +\end{quote} + +See the \biblatex manual for an explanation of available optional arguments. + +\cmditem{printbibliography} + +Inserts the bibliography. See the \biblatex manual for an explanation of +available optional arguments. + +\end{ltxsyntax} + +\subsection{Package Options} + +\biblatexsbl defaults to the recommendations of the \citeshorthand{SBL}, but +it also supports many of the standard options from \biblatex as well as a few +custom ones outlined below. + +\begin{optionlist} + +\optitem[false]{accessdate}{\opt{true}, \opt{false}} + +The \cite{SBLHS} discourages the use of access +dates.\autocite[See][§6.1.6, 84]{SBLHS} If they are required this option can be +passed to \biblatex. + +\optitem[sbl]{citepages}{\opt{sbl}, \opt{permit}, \opt{omit}, \opt{separate}} + +Use this option to fine-tune the formatting of the \bibfield{pages} field +the first time an entry is cited. + +\begin{valuelist} +\item[sbl] The \bibfield{postnote} field is not printed for first citations. + e.g., + + \begin{snugshade} + \samplecite{1}[159]{leyerle:1993} + \end{snugshade} + + If \bibfield{postnote} is not a page range, then it is printed in + parentheses after \bibfield{pages}. e.g., + + \begin{snugshade} + \samplecite{1}[a note]{irvine:2014} + \end{snugshade} + + The one exception to this is the \bibtype{incommentary} entry type which + always sets \opt{citepages} to \opt{omit} (see below) when \bibfield{volume} + is defined.\autocite[See][§1.3.3.2]{SBLHS:studentsupp} + +\item[permit] The \bibfield{postnote} is printed in parentheses after the + \bibfield{pages} field. e.g., + + \makeatletter\cbx@opt@citepages@permit\makeatother + + \begin{snugshade} + \samplecite{1}[245]{wildberger:1965} + \end{snugshade} + +\item[omit] The \bibfield{pages} field is not printed unless + \bibfield{postnote} is empty or not a page range (in which case behaviour + matches \opt{citepages=sbl}). e.g., + + \makeatletter\cbx@opt@citepages@omit\makeatother + + \begin{snugshade} + \samplecite{1}[5]{freedman:1977} + \end{snugshade} + +\item[separate] The \bibfield{postnote} is printed in parentheses after the + \bibfield{pages} field preceeded by the bibliography string \sty{thiscite}. + e.g., + + \makeatletter\cbx@opt@citepages@separate\makeatother + + \begin{snugshade} + \samplecite{1}[1]{petersen:1988} + \end{snugshade} + + If \bibfield{postnote} is not a page range, then \sty{firstcite} is not + used and the behaviour matches \opt{citepages=sbl}. + + \makeatletter\cbx@opt@citepages@sbl\makeatother + +\end{valuelist} + +\boolitem[true]{dashed} + +By default, this style replaces recurrent authors/editors in the bibliography +by a dash so that items by the same author or editor are visually grouped. +This feature is controlled by the package option \opt{dashed}. Setting +\opt{dashed=false} in the preamble will disable this feature. + +\optitem[comp]{eprintdate}{\opt{year}, \opt{short}, \opt{long}, \opt{terse, +\opt{comp}, \opt{iso8601}}} + +Similar to the \opt{date} option (for details see the \biblatex manual) but +controls the format of the \bibfield{eprintdate}. + +\boolitem[false]{fullbibrefs} + +The \emph{Student Supplement for the} \cite{SBLHS} permits two styles for the +bibliography entry for Bible dictionaries, encyclopaedias, and multivolume +commentaries for the entire Bible by multiple +authors.\autocite[4–5]{SBLHS:studentsupp} + +This option applies to \bibtype{inreference} and \bibtype{incommentary} +entry types. + +\begin{valuelist} +\item[true] The bibliography entry is printed in long form. e.g., + + \begin{snugshade} + \toggletrue{fullbibrefs} + \nocite{IDB} + \samplebib*{stendahl:1962} + \togglefalse{fullbibrefs} + \end{snugshade} + +\item[false] The bibliography entry is printed in a short form. e.g., + + \begin{snugshade} + \samplebib*{stendahl:1962} + \end{snugshade} +\end{valuelist} + +\optitem[constrict]{ibidtracker}{\opt{true}, \opt{false}, \opt{context}, +\opt{strict}, \opt{constrict}} + +This option controls the \emph{ibidem} tracker. The possible choices are: + +\begin{valuelist} +\item[true] Enable the tracker in global mode. + not tracked separately between text body and footnotes. +\item[false] Disable the tracker: \emph{ibid.}\ will not be used. +\item[context] Enable the tracker in context-sensitive mode. In this mode, + citations in footnotes and in the body text are tracked separately. +\item[strict] Enable the tracker in strict mode. In this mode, potentially + ambiguous references are suppressed. A reference is considered ambiguous if + either the current citation (the one including the \emph{ibidem}) or the + previous citation (the one the \emph{ibidem} refers to) consists of a list + of references. +\item[constrict] This mode combines the features of \opt{context} and + \opt{strict}. It also keeps track of footnote numbers and detects + potentially ambiguous references in footnotes in a stricter way than the + \opt{strict} option. In addition to the conditions imposed by the + \opt{strict} option, a reference in a footnote will only be considered as + unambiguous if the current citation and the previous citation are given in + the same footnote or in immediately consecutive footnotes. +\end{valuelist} + +\boolitem[false]{ibidpage} + +The scholarly abbreviation \emph{ibidem} is sometimes taken to mean both ‘same +author + same title’ and ‘same author + same title + same page’ in traditional +citation schemes. By default, this is not the case with this style because it +may lead to ambiguous citations. If you prefer the wider interpretation of +\emph{ibidem}, set the package option \opt{ibidpage=true} or simply +\opt{ibidpage} in the preamble. The default setting is \opt{ibidpage=false}. + +\optitem[constrict]{idemtracker}{\opt{true}, \opt{false}, \opt{context}, +\opt{strict}, \opt{constrict}} + +This option controls the \emph{idem} tracker. The possible choices are: + +\begin{valuelist} +\item[true] Enable the tracker in global mode. +\item[false] Disable the tracker: \emph{idem} will not be used. +\item[context] Enable the tracker in context-sensitive mode. In this mode, + citations in footnotes and in the body text are tracked separately. +\item[strict] This is an alias for \opt{true}, provided only for consistency + with the other trackers. Since \emph{idem} replacements do not get ambiguous + in the same way as \emph{ibidem}, the strict tracking mode does not apply to + them. +\item[constrict] This mode is similar to \opt{context} with one additional + condition: a reference in a footnote will only be considered as unambiguous + if the current citation and the previous citation are given in the same + footnote. +\end{valuelist} + +\optitem[true]{pagetracker}{\opt{true}, \opt{false}} + +This option controls whether \emph{ibidem} and \emph{idem} are used across +page breaks or not. + +\begin{valuelist} +\item[true] Enable the tracker in automatic mode. This is like \opt{spread} if + LaTeX is in twoside mode, and like \opt{page} otherwise. +\item[false] Disable the tracker. +\item[page] Enable the tracker in page mode. In this mode, tracking works on a + per-page basis. +\item[spread] Enable the tracker in spread mode. In this mode, tracking works + on a per-spread (double page) basis. +\end{valuelist} + +\boolitem[true]{sblfootnotes} + +This option controls the style of footnotes. This option is compatible with +the \sty{footmisc} package provided \sty{footmisc} is loaded before \biblatex. + +\begin{valuelist} +\item[true] Footnotes are printed with a normal number followed by a period + and the first line indented: + + \begin{snugshade} + \samplecite*{1}{talbert:1992} + \end{snugshade} + +\item[false] Footnotes are printed with a superscript (or whatever other + default has been set up by your style): + + \begin{snugshade} + \hspace*{\bibindent}\llap{\textsuperscript{1}}\cite{robinson+koester:1971}. + \end{snugshade} +\end{valuelist} + +\optitem[true]{shorthand}{\opt{true}, \opt{false}, \opt{short}, \opt{intro}} + +This option controls when and whether the \bibfield{shorthand} field is used +as a citation. This can also be used as a type option or entry option. +\bibtype{ancienttext} and \bibtype{classictext} entry types ignore this +option. + +\begin{valuelist} +\item[true] Always use the \bibfield{shorthand} when citing the entry. +\item[false] Never use the \bibfield{shorthand} when citing the entry. +\item[short] Print the full citation the first time the entry is cited. Use + the \bibfield{shorthand} on subsequent citations. +\item[intro] Print the full citation the first time the entry is cited + followed by (henceforth cited as \bibfield{shorthand}). Use the + \bibfield{shorthand} on subsequent citations. +\end{valuelist} + + +\end{optionlist} + +\section{Database Guide} + +\subsection{Entry Types} + +All standard entry types of \biblatex{} are supported by \biblatexsbl. This +section gives an overview of entry types that are most relevant, unique to, or +treated in a custom way by \biblatexsbl{}. + +\begin{typelist} + +\typeitem{ancienttext} + +This is a custom type for \biblatexsbl. It is used for the special examples in +\cite[§6.4.1, §6.4.3 and §6.4.8]{SBLHS}. + +Unless \bibfield{options = \{skipbib=false\}} is set explicitly, an +\bibtype{ancienttext} entry will not appear in the bibliography. (Although, +see \opt{ANRW} \bibfield{entrysubtype} below for an exception.) The +\bibfield{related} field is used to refer to the entry which should appear in +the bibliography instead of the \bibtype{ancienttext} entry. Options can be +set on the related entry using the \bibfield{relatedoptions} field. + +The entry pointed to by \bibfield{related} along with the \bibfield{postnote} +is printed in parentheses after the \bibfield{altpostnote}, \bibfield{editor}, +and \bibfield{translator} fields if they are present. \bibfield{translator} +and \bibfield{editor} fields are omitted for subsequent citations. e.g., + +\begin{snugshade} + \samplecite{1}[319]{suppiluliumas} + \samplecite*{2}[319]{suppiluliumas} + \samplebib{ANET} +\end{snugshade} + +If the entry contains \bibfield{options = \{skipbib=false\}}, then the +bibliography entry will be like \bibtype{book}. Any shorthand is also +printed in the same way as a \bibtype{book} shorthand. + +The following values for the \bibfield{entrysubtype} field are supported: + +\begin{valuelist} + +\item[ANRW] + +The \opt{ANRW} \bibfield{entrysubtype} is particularly for citing \cite{ANRW} +as outlined in §6.4.8 of the \cite{SBLHS}. In this case, the entry \emph{will} +appear in the bibliography. See \sty{biblatex-sbl-examples.pdf} for full +details of the required database entry. + +\item[chronicle] + +Formats the \bibfield{title} using an upright shape font without quotation +marks. e.g., + +\begin{snugshade} + \samplecite{1}[(lines 3--4)125]{esarhaddonchronicle} +\end{snugshade} + +\item[COS] + +Suppresses parentheses around \emph{COS} and the \bibfield{postnote} for +subsequent citations. e.g., + +\begin{snugshade} + \samplecite{1}[44]{greathymnaten} + \samplecite*{2}[44]{greathymnaten} +\end{snugshade} + +\item[inscription] + + Similarly to \bibfield{entrysubtype = \{chronicle\}}, this formats the + \bibfield{title} using an upright shape font without quotation marks. + +\end{valuelist} + +\typeitem{article} + +An article in a journal or magazine. Also use this type for review articles +\parencite[§6.3.4]{SBLHS} and electronic journal articles +\parencite[§6.3.10]{SBLHS}. + +\typeitem{book} + +A single-volume book with one or more authors where the authors share credit +for the work as a whole. + +\typeitem{inbook} + +A part of a book which forms a self-contained unit with its own title. + +\typeitem{bookinbook} + +This type is similar to \bibtype{inbook} but intended for works originally +published as a stand-alone book. The main difference is that the title is +printed in italics instead of in quotation marks. + +\typeitem{mvbook} + +A multivolume \bibtype{book}. + +There is one \bibfield{entrysubtype} supported: + +\begin{valuelist} + +\item[RIMA] + +The citation for \citeseries{RIMA} \parencite[97]{SBLHS} is treated like a +series with a number when cited in full, but as a shorthand with a volume when +cited in short form. See \sty{biblatex-sbl-examples.pdf} for full details. + +\end{valuelist} + +\typeitem{suppbook} + +Supplemental material in a \bibtype{book}. Use this for an introduction, +preface or foreword written by someone other than the author +\parencite[§6.2.14]{SBLHS}. The \bibfield{type} field is used to specify the +type of supplementary material. See §6.2.14 of +\sty{biblatex-sbl-examples.pdf}. If no \bibfield{type} is given, then this +behaves like an \bibtype{inbook}. + +\typeitem{booklet} + +A book-like work without a formal publisher or sponsoring institution. + +\typeitem{classictext} + +This type is a custom type for \biblatexsbl. It is used for the special +examples in \cite[§6.4.2 and §§6.4.4–6]{SBLHS}. + +Unless \bibfield{options = \{skipbib=false\}} is set explicitly, a +\bibtype{classictext} entry will not appear in the bibliography. The +\bibfield{xref} field is used to refer to the entry which should appear in the +bibliography instead of the \bibtype{classictext} entry. + +If present, the \bibfield{translator} and \bibfield{series} are printed in +parentheses following the \bibfield{postnote}. e.g., + +\begin{snugshade} + \samplecite{1}[15.18-19]{tacitus:ann:jackson} + \samplebib{tacitus} +\end{snugshade} + +The \bibfield{series} can be suppressed by setting \bibfield{options = +\{useseries=false\}}. + +If the entry contains \bibfield{options = \{skipbib=false\}}, then the +bibliography entry will be like \bibtype{incollection} except that the +\bibfield{title} is set in italics instead of within quotation marks. + +The following values for the \bibfield{entrysubtype} field are supported: + +\begin{valuelist} + +\item[churchfather] + +Entries using the \opt{churchfather} \bibfield{entrysubtype} print the entry +pointed to by \bibfield{related} within parentheses following the +\bibfield{altpostnote}. The \bibfield{postnote} field applies to the entry in +\bibfield{related}. \bibfield{relatedoptions} can be used to control some +aspects of the formatting for the related entry. \bibfield{altpostnote} is +always separated from the title by a space. + +\begin{snugshade} + \samplecite{1}[(28.3.5)252]{augustine:letters} + \samplebib{augustine:letters} +\end{snugshade} + +\end{valuelist} + +\typeitem{collection} + +A single-volume collection with multiple, self-contained contributions by +distinct authors which have their own title. The work as a whole has no +overall author but it will usually have an editor. + +\typeitem{mvcollection} + +A multi-volume \bibtype{collection}. + +\typeitem{incollection} + +A contribution to a collection which forms a self-contained unit with a +distinct author and title. + +\typeitem{commentary} + +A single-volume commentary on a book (or part of a book) of the Bible by one +or more authors. This entry type is similar to \bibtype{book}, except that any +\bibfield{volume} and \bibfield{maintitle} is only printed in the +bibliography, not the citation. + +\typeitem{mvcommentary} + +A multi-volume commentary on a single book of the Bible by one or more authors +or a multi-volume commentary on the whole Bible by multiple authors. Unlike +\bibtype{commentary}, this behaves exactly the same as a \bibtype{mvbook}. + +\typeitem{incommentary} + +A contribution to a commentary which forms a self-contained unit with a +distinct author and title. This is typically a commentary on a book of the +Bible appearing in a single or multi-volume commentary on the entire Bible. + +If an entry contains an \bibfield{xref} field, then the bibliography entry is +printed in either short or long form as described above under +\opt{fullbibrefs}. + +\typeitem{conferencepaper} + +An unpublished paper presented at a professional society. Use the +\bibfield{eventtitle}, \bibfield{venue}, and \bibfield{date} fields to +specify detail for the conference. See §6.3.8 of +\sty{biblatex-sbl-examples.pdf} for and example. + +\typeitem{lexicon} + +A single-volume lexicon or theological dictionary. This is similar to a +\bibtype{book}. + +\typeitem{mvlexicon} + +A multi-volume lexicon or theological dictionary. This is similar to a +\bibtype{mvbook}. + +\typeitem{inlexicon} + +An article in a lexicon or theological dictionary. This is a custom type for +\biblatexsbl. The required \bibfield{xref} field must contain the entry name +of a \bibtype{lexicon} or \bibtype{mvlexicon}. The \bibtype{inlexicon} entry +does not appear in the bibliography. Instead the lexicon pointed to by +\bibfield{xref} appears in the bibliography. + +Subsequent citations do not include the \bibfield{title}, only the name of the +lexicon (specified by the \bibfield{xref} entry). e.g., + +\begin{snugshade} + \samplecite{1}[511]{dahn+liefeld:see+vision+eye} + \samplecite{2}[511]{dahn+liefeld:see+vision+eye} + \samplebib{NIDNTT} +\end{snugshade} + +\typeitem{misc} + +A fallback type for entries which do not fit into any other category. Use the +\bibfield{howpublished} field to supply publishing information in free format, +if applicable. + +\typeitem{online} + +An online resource without a print counterpart. This is similar to an +\bibtype{article}. + +\typeitem{periodical} + +A complete issue of a periodical, such as a special issue of a journal. The +title of the periodical is given in the \bibfield{title} field. If the issue +has its own title in addition to the main title of the periodical, it goes in +the \bibfield{issuetitle} field. + +This type could also be used to insert a journal into the list of +abbreviations. In this case, just use \bibfield{title}, \bibfield{shorttitle}, +and set \bibfield{options = \{skipbib\}}. + +\typeitem{reference} + +A single-volume encyclopaedia or dictionary. This is similar to a +\bibtype{book}. + +\typeitem{mvreference} + +A multi-volume \bibtype{reference}. This is similar to a \bibtype{mvbook}. + +\typeitem{inreference} + +An article in an encyclopaedia or dictionary. The required \bibfield{xref} +field must contain the entry name of a \bibtype{reference} or +\bibtype{mvreference}. + +The bibliography entry is printed in either short or long form as described +above under \opt{fullbibrefs}. + +\typeitem{review} + +A book review in a journal. This is similar to an \bibtype{article}. Use the +\bibfield{revdauthor}\slash\bibfield{revdeditor} and \bibfield{revdtitle} +fields to specify the author\slash editor and title of the book being +reviewed. + +Note that review articles are treated like articles and should use the +\bibtype{article} entry type. + +\typeitem{seminarpaper} + +An \citeshorthand{SBL} seminar paper. This is similar to an +\bibtype{incollection} except that \emph{in} is suppressed byfore the +\bibfield{booktitle}\slash\bibfield{maintitle}. See §6.4.11 of +\sty{biblatex-sbl-examples.pdf} for an example. + +\typeitem{series} + +A multi-volume series. This is similar to a \bibtype{mvbook} except that an +upright shaped font is used for the \bibfield{title} field and the +\bibfield{option} field is set to \bibfield{\{useauthor=false,} +\bibfield{useditor=false\}} by default. + +This type could also be used to place a series in the list of abbreviations. +In this case, just use \bibfield{series}, \bibfield{shortseries}, and set +\bibfield{options = \{skipbib\}}. + +\end{typelist} + +\subsection{Entry Fields} + +\biblatexsbl supports all entry fields from the \biblatex manual except for +\bibfield{pagetotal}. There are also a number of custom entry fields and +specially handled fields supported by \biblatexsbl. These are documented +below. + +\begin{fieldlist} + +\listitem{bookeditor}{name} + +The editor(s) of the \bibfield{booktitle}. + +The behaviour of \bibfield{editor}, \bibfield{bookeditor}, and +\bibfield{maineditor} is as follows (when \bibfield{editor} is not used as +the overall editor): \bibfield{editor} applies to \bibfield{maintitle} (if +set) unless \bibfield{maineditor} is set. In this case, \bibfield{editor} +applies to \bibfield{booktitle} (if set) unless \bibfield{bookeditor} is +set. In this case, \bibfield{editor} applies to \bibfield{title}. + +\listitem{booktranslator}{name} + +The translator(s) of the \bibfield{booktitle}. + +The behaviour of \bibfield{translator}, \bibfield{booktranslator}, and +\bibfield{maintranslator} is the same as for \bibfield{editor}, +\bibfield{bookeditor}, and \bibfield{maineditor}. + +\fielditem{eprintdate}{date} + +The date a text edition published online with no print counterpart or an +article in an online database is released. See §6.4.1 and §6.4.13 of +\sty{biblatex-sbl-examples.pdf}. + +\fielditem{eprintday}{datepart} + +This field holds the day component of the \bibfield{eprintdate} field. + +\fielditem{eprintmonth}{datepart} + +This field holds the month component of the \bibfield{eprintdate} field. + +\fielditem{eprintyear}{datepart} + +This field holds the year component of the \bibfield{eprintdate} field. + +\listitem{maineditor}{name} + +The editor(s) of the \bibfield{maintitle}. + +\listitem{maintranslator}{name} + +The translator(s) of the \bibfield{maintitle}. + +\listitem{revdauthor}{name} + +The author(s) of the \bibfield{revdtitle}. + +\listitem{revdeditor}{name} + +The editor(s) of the \bibfield{revdtitle}. + +\fielditem{revdshorttitle}{literal} + +The title of a book being review in an abridged form. This field is used in +subsequent citations of \bibtype{review} entry types. + +\fielditem{revdsubtitle}{literal} + +The subtitle of a book being reviewed. + +\fielditem{revdtitle}{literal} + +The title of a book being reviewed. + +\fielditem{revdtitleaddon}{literal} + +An annex to the \bibfield{revdtitle}, to be printed in a different font. + +\fielditem{seriesseries}{literal} + +This field is used when a \bibfield{series} is begun anew to distinguish +between the old and new series. See \cite[§6.2.24]{SBLHS}. + +\fielditem{shortbooktitle}{literal} + +The \bibfield{booktitle} in abridged form. + +\fielditem{shorthand}{literal} + +A special short form printed instead of the usual citation. Sometimes the +\bibfield{shorthand} is short for the authors and should be printed in an +upright font shape. Other times it is short for the \bibfield{title} and +should be printed in italics. This behaviour is controlled using the +\bibfield{shorttitle} field. If the \bibfield{shorttitle} is the same as the +\bibfield{shorthand} then the \bibfield{shorthand} is assumed to be short for +the \bibfield{title} and printed in italics, otherwise it is printed in an +upright font. The \bibfield{shorthand} is automatically inserted into the list +of abbreviations. + +The separator between the \bibfield{shorthand} and \bibfield{postnote} depends +on the content of the \bibfield{postnote}. If the \bibfield{postnote} contains +a ‘.’, ‘:’, or ‘§’, then the separator is a space, otherwise it is a comma. + +\fielditem{shortjournal}{literal} + +The \bibfield{journaltitle} in abridged form. This is always printed instead +of the \bibfield{journaltitle}. The \bibfield{shortjournal} and +\bibfield{journaltitle} is then automatically inserted into the list of +abbreviations. + +\fielditem{shortmaintitle}{literal} + +The \bibfield{maintitle} in abridged form. + +\fielditem{shortseries}{literal} + +The \bibfield{series} in abridged form. This is always printed instead of the +\bibfield{series}. The \bibfield{shortseries} and \bibfield{series} is then +automatically inserted into the list of abbreviations. + +\fielditem{shorttitle}{literal} + +The \bibfield{title} in abridged form. This is printed instead of the full +title on subsequent citations. + +\listitem{withauthor}{name} + +The author(s) who assist the \bibfield{author}. See \bibfield{witheditortype}, +below, for an example. + +\fielditem{withauthortype}{literal} + +The type of \bibfield{withauthor}. This field will affect the string used to +introduce the author(s) who assist the author. If unspecified, the +bibliography string \sty{with} is used. + +\listitem{witheditor}{name} + +The editor(s) who assist the \bibfield{editor}. + +\fielditem{witheditortype}{literal} + +The type of \bibfield{witheditor}. This field will affect the string used to +introduce the editor(s) who assist the editor. If unspecified, the +bibliography string \sty{with} is used. + +\begin{snugshade} + \samplecite{1}[1:24]{TLOT} + \samplebib{TLOT} + \samplebiblist{TLOT} +\end{snugshade} + +\listitem{withtranslator}{name} + +The translator(s) who assist the \bibfield{translator}. + +\fielditem{withtranslatortype}{literal} + +The type of \bibfield{withtranslator}. This field will affect the string used +to introduce the translator(s) who assist the translator. If unspecified, the +bibliography string \sty{with} is used. + +\listitem{withbookauthor}{name} + +The author(s) who assist the \bibfield{bookauthor}. + +\fielditem{withbookauthortype}{literal} + +This field is analogous to the \bibfield{withauthortype}, but for the +\bibfield{bookauthor}. + +\listitem{withbookeditor}{name} + +The editor(s) who assist the \bibfield{bookeditor}. + +\fielditem{withbookeditortype}{literal} + +This field is analogous to the \bibfield{witheditortype}, but for the +\bibfield{bookeditor}. + +\listitem{withbooktranslator}{name} + +The translator(s) who assist the \bibfield{booktranslator}. + +\fielditem{withbooktranslatortype}{literal} + +This field is analogous to the \bibfield{withtranslatortype}, but for the +\bibfield{booktranslator}. + +\listitem{withmainauthor}{name} + +The author(s) who assist the \bibfield{mainauthor}. + +\fielditem{withmainauthortype}{literal} + +This field is analogous to the \bibfield{withauthortype}, but for the +\bibfield{mainauthor}. + +\listitem{withmaineditor}{name} + +The editor(s) who assist the \bibfield{maineditor}. + +\fielditem{withmaineditortype}{literal} + +This field is analogous to the \bibfield{witheditortype}, but for the +\bibfield{maineditor}. + +\listitem{withmaintranslator}{name} + +The translator(s) who assist the \bibfield{maintranslator}. + +\fielditem{withmaintranslatortype}{literal} + +This field is analogous to the \bibfield{withtranslatortype}, but for the +\bibfield{maintranslator}. + +\end{fieldlist} + +\subsection{Type and Entry Options} + +\biblatexsbl supports many of the entry options outlined in the \biblatex +manual. There are also a number of custom entry options supported by +\biblatexsbl. These are documented below. + +\begin{optionlist} + +\optitem[false]{skipbiblistshorthand}{\opt{true}, \opt{false}} + +This option controls what appears in the list of abbreviations for database +entries containing both a \bibfield{shorthand} and a \bibfield{shortseries}. +For entries not containing a \bibfield{shortseries} just use the option +\opt{skipbiblist}. The possible options are: + +\begin{valuelist} +\item[true] Do not include the \bibfield{shorthand} in the list of + abbreviations. +\item[false] Include the \bibfield{shorthand} in the list of abbreviations. +\end{valuelist} + +\optitem[false]{skipbiblistshortseries}{\opt{true}, \opt{false}} + +This option controls what appears in the list of abbreviations for database +entries containing both a \bibfield{shorthand} and a \bibfield{shortseries}. +For entries not containing a \bibfield{shorthand} just use the option +\opt{skipbiblist}. The possible options are: + +\begin{valuelist} +\item[true] Do not include the \bibfield{shortseries} in the list of + abbreviations. +\item[false] Include the \bibfield{shortseries} in the list of abbreviations. +\end{valuelist} + +\optitem[true]{usefullcite}{\opt{true}, \opt{false}} + +This options controls the format of first citations. The possible choices are: + +\begin{valuelist} +\item[true] Use a full citation the first time the entry is cited. +\item[false] Use the short citation form the first time the entry is cited. +\end{valuelist} + +\optitem[true]{useseries}{\opt{true}, \opt{false}} + +This option controls whether the \bibfield{series} is printed in parentheses +following a \bibtype{classictext} citation. This does not affect other entry +types. + +\begin{valuelist} +\item[true] Print the \bibfield{series}. + \begin{snugshade} + \samplecite{1}[2.233-235]{josephus:ant:thackery} + \samplebib{josephus} + \end{snugshade} +\item[false] Suppress printing the \bibfield{series}. + \begin{snugshade} + \samplecite{2}[10]{heraclitus:epistle1:worley} + \samplebib{heraclitus:epistle1:worley} + \end{snugshade} +\end{valuelist} + +\optitem[true]{useshorttitle}{\opt{true}, \opt{false}} + +This option controls the format of subsequent citations. The possible choices +are: + +\begin{valuelist} +\item[true] Include the \bibfield{shorttitle} or \bibfield{title} in + subsequent citations. +\item[false] Suppress the \bibfield{shorttitle} or \bibfield{title} in + subsequent citations, so only the author(s) or editor(s) are printed. +\end{valuelist} + +\optitem[true]{usevolume}{\opt{true}, \opt{false}} + +This option controls whether the \bibfield{volume} is printed as part of the +citation text or as part of the \bibfield{postnote}. + +\begin{valuelist} +\item[true] Print the \bibfield{volume} as part of the main citation + information. e.g., “Vol.~1.” +\item[false] Print the \bibfield{volume} field as part of the + \bibfield{postnote}. e.g., “1:” +\end{valuelist} + +\end{optionlist} + +\subsection{Reprints} + +\biblatexsbl supports three different ways of doing reprints with varying +complexity. + +If only the original publisher, location, and/or year are required, then use +the fields \bibfield{origpublisher}, \bibfield{origlocation}, and +\bibfield{origdate}. e.g., + +\begin{quote} +\begin{lstlisting}{} +@book{vanseters:1997, + author = {Van Seters, John}, + title = {In Search of History: Histeriography in the Ancient + World and the Origins of Biblical History}, + origlocation = {New Haven}, + origpublisher = {Yale University Press}, + origdate = {1983}, + location = {Winona Lake, IN}, + publisher = {Eisenbrauns}, + date = {1997} +} +\end{lstlisting} +\begin{snugshade} + \samplecite{1}[90]{vanseters:1997} + \samplebib{vanseters:1997} +\end{snugshade} +\end{quote} + +When extra information is required, use a related entry with +\bibfield{relatedtype = \{reprint\}}. A custom string can be specified instead +of “Repr.” using the optional \bibfield{relatedstring} field. In this case no +punctuation is inserted after the \bibfield{relatedstring}. You could think of +the default being \bibfield{relatedstring = \{\cmd{bibstring}\{reprint\},\}}. +e.g., + +\begin{quote} +\begin{lstlisting}{} +@mvbook{sasson:2000, + editor = {Sasson, Jack M.}, + title = {Civilizations of the Ancient Near East}, + volumes = {4}, + location = {New York}, + publisher = {Scribner's Sons}, + year = {1995}, + related = {sasson:repr}, + relatedtype = {reprint} +} +@mvbook{sasson:repr, + volumes = {4~vols.\ in 2}, + location = {Peabody, MA}, + publisher = {Hendrickson}, + date = {2000} +} +\end{lstlisting} +\begin{snugshade} + \samplecite{1}[1:40]{sasson:2000} + \samplebib{sasson:2000} +\end{snugshade} +\end{quote} + +A full reprint history also uses the \bibfield{related} field, but with some +other \bibfield{relatedtype} apart from \bibfield{relatedtype = \{reprint\}}. +e.g., + +\begin{quote} +\begin{lstlisting}{} +@book{wellhausen:1883, + author = {Wellhausen, Julius}, + title = {Prolegomena zur Geschichte Israels}, + edition = {2}, + location = {Berlin}, + publisher = {Reimer}, + date = {1883} +} +@book{wellhausen:1885, + author = {Wellhausen, Julius}, + title = {Prolegomena to the History of Israel}, + translator = {Black, J. Sutherland and Enzies, A.}, + preface = {Smith, W. Robertson}, + location = {Edinburgh}, + publisher = {Black}, + related = {wellhausen:1883}, + relatedtype = {translationof}, + date = {1885} +} +@book{wellhausen:1957, + author = {Wellhausen, Julius}, + title = {Prolegomena to the History of Ancient Israel}, + location = {New York}, + publisher = {Meridian Books}, + related = {wellhausen:1885}, + relatedtype = {reprintof}, + date = {1957} +} +\end{lstlisting} +\begin{snugshade} + \samplecite{1}[20]{wellhausen:1957} + \samplebib{wellhausen:1957} +\end{snugshade} +\end{quote} + +\section{Important Changes} + +\subsection*{0.11\quad 2018-12-13} + +\begin{itemize} + \item Add abbreviations from related entries to the list of abbreviations. + \item Add starred variants for citation commands. +\end{itemize} + +\subsection*{0.10\quad 2018-05-24} + +\begin{itemize} + \item Add \opt{dashed} option. + \item Fix list of abbreviations regression from v0.9. +\end{itemize} + +\subsection*{0.9\quad 2018-05-20} + +\begin{itemize}[itemsep=0pt] + \item Support and require \biblatex 3.11. + \item Use ibid and idem by default. + \item \sty{polyglossia} is no longer supported. You should use \sty{babel} + instead. +\end{itemize} + +\subsection*{0.8.2\quad 2017-11-16} + +\begin{itemize}[itemsep=0pt] + \item Support and require \biblatex 3.8a +\end{itemize} + +\printbiblist[heading=biblistintoc]{abbreviations} + +\printbibliography[heading=bibintoc] + +\printindex + +\end{document} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/english-sbl.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/english-sbl.lbx new file mode 100644 index 0000000000..e56c07368a --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/english-sbl.lbx @@ -0,0 +1,34 @@ +\ProvidesFile{english-sbl.lbx}[\sbl@abx@lbxid] + +\InheritBibliographyExtras{english} + +\DeclareBibliographyStrings{% + inherit = {english}, + by = {{by}{by}}, + to = {{to}{to}}, + of = {{of}{of}}, + with = {{with}{with}}, + byeditor = {{edited by}{ed\adddot}}, + bytranslator = {{translated \lbx@lfromlang\isdot\space by}{trans\adddot}}, + withpreface = {{with preface by}{with preface by}}, + introduction = {{introduction}{introduction}}, + foreword = {{foreword}{foreword}}, + mathesis = {{master's thesis}{master's thesis}}, + reprint = {{repr\adddot}{repr\adddot}}, + paperpresented = {{paper presented at}{paper presented at}}, + patentfiled = {{filed}{filed}}, + phdthesis = {{PhD diss\adddot}{PhD diss\adddot}}, + released = {{released}{released}}, + withassistance = {{with assistance from}{with assistance from}}, + byeditortr = {{translated \lbx@lfromlang\isdot\space and edited by}% + {trans\adddotspace \lbx@sfromlang\isdot\space and ed\adddot}}, + urlseen = {{accessed}{accessed}}, + commonera = {{CE}{CE}}, + beforecommonera = {{BCE}{BCE}}, + annodomini = {{AD}{AD}}, + beforechrist = {{BC}{BC}} +} + +\DeclareBibliographyExtras{% + \DeclarePunctuationPairs{colon}{*}% +} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/german-sbl.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/german-sbl.lbx new file mode 100644 index 0000000000..cb98da0185 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/german-sbl.lbx @@ -0,0 +1,28 @@ +\ProvidesFile{german-sbl.lbx}[\sbl@abx@lbxid] + +\InheritBibliographyExtras{german} + +\DeclareBibliographyStrings{% + inherit = {german}, + by = {{von}{von}}, + to = {{zu}{zu}}, + of = {{von}{von}}, + with = {{mit}{mit}}, + byeditor = {{herausgegeben von}{hg.\adddotspace v\adddot}}, + bytranslator = {{\"ubersetzt \lbx@lfromlang\isdot\space von}{\"ubers\adddot}}, + withpreface = {{mit einem Geleitwort von}{mit einem Geleitwort von}}, + introduction = {{Einleitung}{Einleitung}}, + foreword = {{Vorwort}{Vorwort}}, + reprint = {{Ndr\adddot}{Ndr\adddot}}, + paperpresented = {{paper presented at}{paper presented at}}, + patentfiled = {{eingereicht}{eingereicht}}, + phdthesis = {{Diss\adddot}{Diss\adddot}}, + released = {{ver\"offentlicht}{ver\"offentlicht}}, + withassistance = {{mit Unterst\"utzung von}{mit Unterst\"utzung von}}, + byeditortr = {{\"bersetzt \lbx@lfromlang\isdot\space und herausgegeben von}% + {\"bers\adddotspace \lbx@sfromlang\isdot\space und hg\adddotspace v\adddot}}, + commonera = {{u\adddotspace Z\adddot}{u\adddotspace Z\adddot}}, + beforecommonera = {{v\adddotspace u\adddotspace Z\adddot}{v\adddotspace u\adddotspace Z\adddot}}, + annodomini = {{n\adddotspace Chr\adddot}{n\adddotspace Chr\adddot}}, + beforechrist = {{v\adddotspace Chr\adddot}{v\adddotspace Chr\adddot}}, +} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl-paper-bibleref.ist b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl-paper-bibleref.ist new file mode 100644 index 0000000000..0257d460a9 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl-paper-bibleref.ist @@ -0,0 +1,26 @@ +preamble +"\\begin{theindex} +\\renewcommand\\item{\\bigskip\\par\\normalfont\\bfseries} +\\renewcommand\\subitem{\\medskip\\par\\normalfont\\itshape} +\\newcommand\\firstsubitem{\\medskip\\par\\nobreak\\hangindent 1in\\normalfont\\itshape} +\\renewcommand\\subsubitem{\\par\\hangindent 1in\\normalfont\\hspace*{0.25in}} +\\newcommand\\firstsubsubitem{\\par\\nobreak\\hangindent 1in\\normalfont\\hspace*{0.25in}}\n" + +item_01 +"\n \\firstsubitem" + +item_x1 +"\n \\firstsubitem" + +item_2 +"\n \\subsubitem\\raggedright\\strut\\rlap{" + +item_12 +"\n \\firstsubsubitem\\raggedright\\strut\\rlap{" + +item_x2 +"\n \\firstsubsubitem\\raggedright\\strut\\rlap{" + +delim_0 "\\normalfont , " +delim_1 "\\normalfont , " +delim_2 "}\\normalfont\\hspace*{0.75in}%" diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl-paper.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl-paper.pdf Binary files differnew file mode 100644 index 0000000000..a297d85e2e --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl-paper.pdf diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl-paper.sty b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl-paper.sty new file mode 100644 index 0000000000..65a1884b92 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl-paper.sty @@ -0,0 +1,584 @@ +%Copyright 2015-2018 David Purton +% +%This work may be distributed and/or modified under the +%conditions of the LaTeX Project Public License, either version 1.3 +%of this license or (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 David Purton. +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{sbl-paper} + [2018/05/24 Society of Bibilical Literature Paper Style (DCP)] + + +% Load required packages + +\RequirePackage[headheight=14.5pt,margin=1in]{geometry} +\RequirePackage{textcase} +\RequirePackage{setspace} +\RequirePackage{titlesec} +\RequirePackage{titletoc} +\RequirePackage{fancyhdr} +\RequirePackage[bottom]{footmisc} +\RequirePackage{bibleref-parse} +\RequirePackage[style=sbl]{biblatex} +\RequirePackage{imakeidx} +\RequirePackage{hyperref} + + +% patch index commands so contents is in all caps + +\patchcmd{\imki@putindexsplit} +{\addcontentsline{toc}{\imki@toclevel}{\imki@title}} +{\addcontentsline{toc}{\imki@toclevel}{\MakeTextUppercase{\imki@title}}} +{}{} +\patchcmd{\imki@putindexunique} +{\addcontentsline{toc}{\imki@toclevel}{\imki@title}} +{\addcontentsline{toc}{\imki@toclevel}{\MakeTextUppercase{\imki@title}}} +{}{} +\ifimki@splitindex + \let\imki@putindex\imki@putindexunique +\else + \let\imki@putindex\imki@putindexsplit +\fi + + +% Set up document spacing + +\doublespacing +\raggedright +\raggedbottom +\setlength{\parindent}{0.5in} +\frenchspacing + + +% Set up headers and footers + +\pagestyle{fancy} +\fancyhf{} +\fancyhead[R]{\thepage} +\renewcommand{\headrulewidth}{0pt} + +\renewcommand\footnoterule{\kern-3pt \hrule width 2in \kern 2.6pt\vskip -8pt} +\renewcommand\footnotelayout{\raggedright} +\setlength{\footnotemargin}{0.5in} +\setlength{\footnotesep}{18pt} + + +% set up quotations + +\renewenvironment{quote}% + {\list{}{\leftmargin 0.5in + \rightmargin \z@ + \topsep \z@ + \partopsep \z@ + \itemsep \z@ + \parsep \z@ + \itemindent \z@ + \listparindent 0.5in + }% + \item[]\singlespacing\vspace*{-5pt}}% + {\endlist} + + +% Set up Bibliography + +\renewcommand*{\bibsetup}{\vspace*{7pt}} + +\setlength{\bibitemsep}{14.5pt} + +\DefineBibliographyStrings{english}{% + shorthands = {List of Abbreviations} +} + +\ifcase\abx@classtype\relax % article + \defbibheading{bibliography}[\bibname]{% + \clearpage + \thispagestyle{plain}% + \firstsection*{#1}% + \markboth{\MakeTextUppercase{#1}}{\MakeTextUppercase{#1}}} + \defbibheading{biblist}[\biblistname]{% + \clearpage + \thispagestyle{plain}% + \firstsection*{#1}% + \markboth{\MakeTextUppercase{#1}}{\MakeTextUppercase{#1}}} + \defbibheading{bibintoc}[\bibname]{% + \clearpage + \thispagestyle{plain}% + \phantomsection + \firstsection*{#1}% + \addcontentsline{toc}{section}{\MakeTextUppercase{#1}}% + \markboth{\MakeTextUppercase{#1}}{\MakeTextUppercase{#1}}} + \defbibheading{biblistintoc}[\biblistname]{% + \clearpage + \thispagestyle{plain}% + \phantomsection + \section*{#1}% + \addcontentsline{toc}{section}{\MakeTextUppercase{#1}}% + \markboth{\MakeTextUppercase{#1}}{\MakeTextUppercase{#1}}} + +\or % book/report + \defbibheading{bibliography}[\bibname]{% + \clearpage + \thispagestyle{plain}% + \chapter*{#1}% + \markboth{\MakeTextUppercase{#1}}{\MakeTextUppercase{#1}}} + \defbibheading{biblist}[\biblistname]{% + \clearpage + \thispagestyle{plain}% + \firstsection*{#1}% + \markboth{\MakeTextUppercase{#1}}{\MakeTextUppercase{#1}}} + \defbibheading{bibintoc}[\bibname]{% + \clearpage + \thispagestyle{plain}% + \phantomsection + \chapter*{#1}% + \addcontentsline{toc}{chapter}{\MakeTextUppercase{#1}}% + \markboth{\MakeTextUppercase{#1}}{\MakeTextUppercase{#1}}} + \defbibheading{biblistintoc}[\biblistname]{% + \clearpage + \thispagestyle{plain}% + \phantomsection + \section*{#1}% + \addcontentsline{toc}{chapter}{\MakeTextUppercase{#1}}% + \markboth{\MakeTextUppercase{#1}}{\MakeTextUppercase{#1}}} + +\fi + + +% Set up section headings and table of contents + +\setcounter{secnumdepth}{0} +\titleformat + {\chapter} + [block] + {\singlespacing\centering} + {\MakeTextUppercase{\chaptertitlename} \thechapter:} + {.5em} + {\MakeTextUppercase} +\titleformat + {\section} + [block] + {\singlespacing\centering} + {\thesection} + {.5em} + {\MakeTextUppercase} +\titleformat + {\subsection} + [block] + {\singlespacing\centering\bfseries} + {\thesubsection} + {.5em} + {} +\titleformat + {\subsubsection} + [block] + {\singlespacing\centering} + {\thesubsubsection} + {.5em} + {} +\titleformat + {\paragraph} + [hang] + {\singlespacing\raggedright\bfseries\itshape} + {\theparagraph} + {.5em} + {} +\titleformat + {\subparagraph} + [hang] + {\singlespacing\raggedright} + {\thesubparagraph} + {.5em} + {} +\titlespacing*{\chapter}{0pt}{38pt}{29pt} +\titlespacing*{\section}{0pt}{38pt}{29pt} +\titlespacing*{\subsection}{0pt}{38pt}{0pt} +\titlespacing*{\subsubsection}{0pt}{38pt}{0pt} +\titlespacing*{\paragraph}{0pt}{38pt}{0pt} +\titlespacing*{\subparagraph}{0pt}{38pt}{0pt} +\assignpagestyle{\chapter}{plain} +\def\firstsection{% + \clearpage + \null + \thispagestyle{plain} + \section} +\setcounter{tocdepth}{3} +\renewcommand\tableofcontents{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \section*{\contentsname + \@mkboth{% + \MakeTextUppercase\contentsname}{\MakeTextUppercase\contentsname}}% + \@starttoc{toc}% + \if@restonecol\twocolumn\fi + \thispagestyle{plain} + } +\titlecontents{chapter} + [0pt] + {\singlespacing} + {\MakeTextUppercase{\chaptertitlename~\thecontentslabel}: } + {} + {\hspace{.5em}\titlerule*[.5pc]{.}\contentspage} +\titlecontents{section} + [0pt] + {\singlespacing} + {\MakeTextUppercase{\chaptertitlename~\thecontentslabel}: } + {} + {\hspace{.5em}\titlerule*[.5pc]{.}\contentspage} +\titlecontents{subsection} + [1em] + {\singlespacing} + {\thecontentslabel~} + {} + {\hfill\contentspage} +\titlecontents{subsubsection} + [1em] + {\singlespacing} + {\thecontentslabel~} + {} + {\hfill\contentspage} + +\renewcommand\appendix{\par + \ifcase\abx@classtype\relax % article + \setcounter{section}{0}% + \setcounter{secnumdepth}{1} + \gdef\@chapapp{\appendixname}% + \titleformat + {\section} + [block] + {\singlespacing\centering} + {\MakeTextUppercase{\chaptertitlename} \thesection:} + {.5em} + {\MakeTextUppercase} + \titlecontents{section} + [0pt] + {\singlespacing} + {\MakeTextUppercase{\appendixname~\thecontentslabel}: } + {} + {\hspace{.5em}\titlerule*[.5pc]{.}\contentspage} + + \or % book/report + \setcounter{chapter}{0}% + \setcounter{section}{0}% + \gdef\@chapapp{\appendixname}% + \titlecontents{chapter} + [0pt] + {\singlespacing} + {\MakeTextUppercase{\appendixname~\thecontentslabel}: } + {} + {\hspace{.5em}\titlerule*[.5pc]{.}\contentspage} + + \fi} + + +% make sure chapter and section commands uppercase with hyperref + +\pdfstringdefDisableCommands{% + \let\MakeTextUppercase\relax} + +\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \refstepcounter{chapter}% + \typeout{\@chapapp\space\thechapter.}% + \addcontentsline{toc}{chapter}% + {\protect\numberline{\thechapter}\MakeTextUppercase{#1}}% + \else + \addcontentsline{toc}{chapter}{\MakeTextUppercase{#1}}% + \fi + \else + \addcontentsline{toc}{chapter}{\MakeTextUppercase{#1}}% + \fi + \chaptermark{#1}% + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \if@twocolumn + \@topnewpage[\@makechapterhead{#2}]% + \else + \@makechapterhead{#2}% + \@afterheading + \fi} + +\def\ttl@addcontentsline#1#2{% + \expandafter\ifx\csname l@#1\endcsname\l@section + \expandafter\@firstoftwo + \else + \expandafter\@secondoftwo + \fi + {% + \addcontentsline{toc}{#1}{\ifttl@toclabel\ttl@a\fi\MakeTextUppercase{#2}}% + }{% + \addcontentsline{toc}{#1}{\ifttl@toclabel\ttl@a\fi#2}% + }\nobreak} + + +% Set up title page + +\renewcommand{\maketitle}{% + \hypersetup{pageanchor=false}% + \newgeometry{margin=2in}% + \thispagestyle{empty}% + \singlespacing + \begin{center} + \MakeTextUppercase{\@institution} + + \vfill + + \doublespacing + \MakeTextUppercase{\@title} + + \vfill + + \singlespacing + \MakeTextUppercase{Submitted to \@professor \protect\\ + in Partial Fulfilment of \protect\\\relax + \@course} + + \vfill + + \MakeTextUppercase{By \protect\\\relax + \@author \protect\\\relax + \@date} + \end{center} + \restoregeometry + \hypersetup{pageanchor=true}% +} + +\def\author#1{\gdef\@author{#1}} +\def\@author{[Your name]} +\def\title#1{\gdef\@title{#1}} +\def\@title{Title of Paper} +\def\institution#1{\gdef\@institution{#1}} +\def\@institution{[Name of Institution]} +\def\professor#1{\gdef\@professor{#1}} +\def\@professor{[Name of Professor]} +\def\course#1{\gdef\@course{#1}} +\def\@course{[Course Number and Title]} + + +% Set up Bible references + +\newcommand{\Pbibleverse}[2][]{% + \begingroup + \csdef{br@Ps}{Psalm}% + \brfullname + \pbibleverse[#1]{#2}% + \endgroup} + +\newcommand{\Pibibleverse}[2][]{% + \begingroup + \brfullname + \csdef{br@Ps}{Psalm}% + \pibibleverse[#1]{#2}% + \endgroup} + +\braltabbrvname +\renewcommand*{\BRperiod}{} +\renewcommand*{\BRchsep}{;\space} +\renewcommand*{\BRvsep}{,\space} + +\def\br@Ecclesiastes{Eccl\BRperiod} +\def\br@SongofSongs{Song\BRperiod} + +\def\br@Titus{Titus} +\def\br@Philemon{Phlm\BRperiod} + +\csdef{bri@Gen}{\BRbookof Genesis} +\csdef{bri@Exod}{\BRbookof Exodus} +\csdef{bri@Lev}{\BRbookof Levitcus} +\csdef{bri@Num}{\BRbookof Numbers} +\csdef{bri@Deut}{\BRbookof Deuteronomy} +\csdef{bri@Josh}{\BRbookof Joshua} +\csdef{bri@Judg}{\BRbookof Judges} +\csdef{bri@Ruth}{\BRbookof Ruth} +\csdef{bri@1Sam}{\BRbooknumberstyle{1}\BRbookof Samuel} +\csdef{bri@2Sam}{\BRbooknumberstyle{2}\BRbookof Samuel} +\csdef{bri@1Kgs}{\BRbooknumberstyle{1}\BRbookof Kings} +\csdef{bri@2Kgs}{\BRbooknumberstyle{2}\BRbookof Kings} +\csdef{bri@1Chr}{\BRbooknumberstyle{1}\BRbookof Chronicles} +\csdef{bri@2Chr}{\BRbooknumberstyle{2}\BRbookof Chronicles} +\csdef{bri@Ezra}{\BRbookof Ezra} +\csdef{bri@Neh}{\BRbookof Nehemiah} +\csdef{bri@Esth}{\BRbookof Esther} +\csdef{bri@Job}{\BRbookof Job} +\csdef{bri@Ps}{\BRbookof Psalms} +\csdef{bri@Prov}{\BRbookof Proverbs} +\csdef{bri@Eccl}{\BRbookof Ecclesiastes} +\csdef{bri@Song}{\BRbookof Song of Songs} +\csdef{bri@Isa}{\BRbookof Isaiah} +\csdef{bri@Jer}{\BRbookof Jeremiah} +\csdef{bri@Lam}{\BRbookof Lamentations} +\csdef{bri@Ezek}{\BRbookof Ezekiel} +\csdef{bri@Dan}{\BRbookof Daniel} +\csdef{bri@Hos}{\BRbookof Hosea} +\csdef{bri@Joel}{\BRbookof Joel} +\csdef{bri@Amos}{\BRbookof Amos} +\csdef{bri@Obad}{\BRbookof Obadiah} +\csdef{bri@Jonah}{\BRbookof Jonah} +\csdef{bri@Mic}{\BRbookof Micah} +\csdef{bri@Nah}{\BRbookof Nahum} +\csdef{bri@Hab}{\BRbookof Habakkuk} +\csdef{bri@Zeph}{\BRbookof Zephaniah} +\csdef{bri@Hag}{\BRbookof Haggai} +\csdef{bri@Zech}{\BRbookof Zechariah} +\csdef{bri@Mal}{\BRbookof Malachi} + +\csdef{bri@Matt}{\BRbookof Matthew} +\csdef{bri@Mark}{\BRbookof Mark} +\csdef{bri@Luke}{\BRbookof Luke} +\csdef{bri@John}{\BRbookof John} +\csdef{bri@Acts}{\BRbookof Acts} +\csdef{bri@Rom}{\BRbookof Romans} +\csdef{bri@1Cor}{\BRbooknumberstyle{1}\BRbookof Corinthians} +\csdef{bri@2Cor}{\BRbooknumberstyle{2}\BRbookof Corinthians} +\csdef{bri@Gal}{\BRbookof Galatians} +\csdef{bri@Eph}{\BRbookof Ephesians} +\csdef{bri@Phil}{\BRbookof Philippians} +\csdef{bri@Col}{\BRbookof Colossians} +\csdef{bri@1Thess}{\BRbooknumberstyle{1}\BRbookof Thessalonians} +\csdef{bri@2Thess}{\BRbooknumberstyle{2}\BRbookof Thessalonians} +\csdef{bri@1Tim}{\BRbooknumberstyle{1}\BRbookof Timothy} +\csdef{bri@2Tim}{\BRbooknumberstyle{2}\BRbookof Timothy} +\csdef{bri@Titus}{\BRbookof Titus} +\csdef{bri@Phlm}{\BRbookof Philemon} +\csdef{bri@Heb}{\BRbookof Hebrews} +\csdef{bri@Jas}{\BRbookof James} +\csdef{bri@1Pet}{\BRbooknumberstyle{1}\BRbookof Peter} +\csdef{bri@2Pet}{\BRbooknumberstyle{2}\BRbookof Peter} +\csdef{bri@1John}{\BRbooknumberstyle{1}\BRbookof John} +\csdef{bri@2John}{\BRbooknumberstyle{2}\BRbookof John} +\csdef{bri@3John}{\BRbooknumberstyle{3}\BRbookof John} +\csdef{bri@Jude}{\BRbookof Jude} +\csdef{bri@Rev}{\BRbookof Revelation} + +\csdef{br@oldtestament}{Old Testament} +\csdef{br@newtestament}{New Testament} + +\biblerefmap{Gen}{01@\br@oldtestament !01} +\biblerefmap{Genesis}{01@\br@oldtestament !01} +\biblerefmap{Exod}{01@\br@oldtestament !02} +\biblerefmap{Exodus}{01@\br@oldtestament !02} +\biblerefmap{Lev}{01@\br@oldtestament !03} +\biblerefmap{Leviticus}{01@\br@oldtestament !03} +\biblerefmap{Num}{01@\br@oldtestament !04} +\biblerefmap{Numbers}{01@\br@oldtestament !04} +\biblerefmap{Deut}{01@\br@oldtestament !05} +\biblerefmap{Deuteronomy}{01@\br@oldtestament !05} +\biblerefmap{Josh}{01@\br@oldtestament !06} +\biblerefmap{Joshua}{01@\br@oldtestament !06} +\biblerefmap{Judg}{01@\br@oldtestament !07} +\biblerefmap{Judges}{01@\br@oldtestament !07} +\biblerefmap{Ruth}{01@\br@oldtestament !08} +\biblerefmap{Sam1}{01@\br@oldtestament !09} +\biblerefmap{Samuel1}{01@\br@oldtestament !09} +\biblerefmap{Sam2}{01@\br@oldtestament !10} +\biblerefmap{Samuel2}{01@\br@oldtestament !10} +\biblerefmap{Kgs1}{01@\br@oldtestament !11} +\biblerefmap{Kings1}{01@\br@oldtestament !11} +\biblerefmap{Kgs2}{01@\br@oldtestament !12} +\biblerefmap{Kings2}{01@\br@oldtestament !12} +\biblerefmap{Chr1}{01@\br@oldtestament !13} +\biblerefmap{Chronicles1}{01@\br@oldtestament !13} +\biblerefmap{Chr2}{01@\br@oldtestament !14} +\biblerefmap{Chronicles2}{01@\br@oldtestament !14} +\biblerefmap{Ezra}{01@\br@oldtestament !15} +\biblerefmap{Neh}{01@\br@oldtestament !16} +\biblerefmap{Nehemiah}{01@\br@oldtestament !16} +\biblerefmap{Esth}{01@\br@oldtestament !17} +\biblerefmap{Esther}{01@\br@oldtestament !17} +\biblerefmap{Job}{01@\br@oldtestament !18} +\biblerefmap{Ps}{01@\br@oldtestament !19} +\biblerefmap{Psalm}{01@\br@oldtestament !19} +\biblerefmap{Prov}{01@\br@oldtestament !20} +\biblerefmap{Proverbs}{01@\br@oldtestament !20} +\biblerefmap{Eccl}{01@\br@oldtestament !21} +\biblerefmap{Ecclesiastes}{01@\br@oldtestament !21} +\biblerefmap{Song}{01@\br@oldtestament !22} +\biblerefmap{Song of Songs}{01@\br@oldtestament !22} +\biblerefmap{Isa}{01@\br@oldtestament !23} +\biblerefmap{Isaiah}{01@\br@oldtestament !23} +\biblerefmap{Jer}{01@\br@oldtestament !24} +\biblerefmap{Jermiah}{01@\br@oldtestament !24} +\biblerefmap{Lam}{01@\br@oldtestament !25} +\biblerefmap{Lamentations}{01@\br@oldtestament !25} +\biblerefmap{Ezek}{01@\br@oldtestament !26} +\biblerefmap{Ezekiel}{01@\br@oldtestament !26} +\biblerefmap{Dan}{01@\br@oldtestament !27} +\biblerefmap{Daniel}{01@\br@oldtestament !27} +\biblerefmap{Hos}{01@\br@oldtestament !28} +\biblerefmap{Hosea}{01@\br@oldtestament !28} +\biblerefmap{Joel}{01@\br@oldtestament !29} +\biblerefmap{Amos}{01@\br@oldtestament !30} +\biblerefmap{Obad}{01@\br@oldtestament !31} +\biblerefmap{Obadiah}{01@\br@oldtestament !31} +\biblerefmap{Jonah}{01@\br@oldtestament !32} +\biblerefmap{Mic}{01@\br@oldtestament !33} +\biblerefmap{Micah}{01@\br@oldtestament !33} +\biblerefmap{Nah}{01@\br@oldtestament !34} +\biblerefmap{Nahum}{01@\br@oldtestament !34} +\biblerefmap{Hab}{01@\br@oldtestament !35} +\biblerefmap{Habakkuk}{01@\br@oldtestament !35} +\biblerefmap{Zeph}{01@\br@oldtestament !36} +\biblerefmap{Zephaniah}{01@\br@oldtestament !36} +\biblerefmap{Hag}{01@\br@oldtestament !37} +\biblerefmap{Haggai}{01@\br@oldtestament !37} +\biblerefmap{Zech}{01@\br@oldtestament !38} +\biblerefmap{Zechariah}{01@\br@oldtestament !38} +\biblerefmap{Mal}{01@\br@oldtestament !39} +\biblerefmap{Malachi}{01@\br@oldtestament !39} + +\biblerefmap{Matt}{02@\br@newtestament !01} +\biblerefmap{Matthew}{02@\br@newtestament !01} +\biblerefmap{Mark}{02@\br@newtestament !02} +\biblerefmap{Luke}{02@\br@newtestament !03} +\biblerefmap{John}{02@\br@newtestament !04} +\biblerefmap{Acts}{02@\br@newtestament !05} +\biblerefmap{Rom}{02@\br@newtestament !06} +\biblerefmap{Romans}{02@\br@newtestament !06} +\biblerefmap{Cor1}{02@\br@newtestament !07} +\biblerefmap{Corinthians1}{02@\br@newtestament !07} +\biblerefmap{Cor2}{02@\br@newtestament !08} +\biblerefmap{Corinthians2}{02@\br@newtestament !08} +\biblerefmap{Gal}{02@\br@newtestament !09} +\biblerefmap{Galatians}{02@\br@newtestament !09} +\biblerefmap{Eph}{02@\br@newtestament !10} +\biblerefmap{Ephesians}{02@\br@newtestament !10} +\biblerefmap{Phil}{02@\br@newtestament !11} +\biblerefmap{Philippians}{02@\br@newtestament !11} +\biblerefmap{Col}{02@\br@newtestament !12} +\biblerefmap{Colossians}{02@\br@newtestament !12} +\biblerefmap{Thess1}{02@\br@newtestament !13} +\biblerefmap{Thessalonians1}{02@\br@newtestament !13} +\biblerefmap{Thess2}{02@\br@newtestament !14} +\biblerefmap{Thessalonians2}{02@\br@newtestament !14} +\biblerefmap{Tim1}{02@\br@newtestament !15} +\biblerefmap{Timothy1}{02@\br@newtestament !15} +\biblerefmap{Tim2}{02@\br@newtestament !16} +\biblerefmap{Timothy2}{02@\br@newtestament !16} +\biblerefmap{Titus}{02@\br@newtestament !17} +\biblerefmap{Phlm}{02@\br@newtestament !18} +\biblerefmap{Phlemon}{02@\br@newtestament !18} +\biblerefmap{Heb}{02@\br@newtestament !19} +\biblerefmap{Hebrews}{02@\br@newtestament !19} +\biblerefmap{Jas}{02@\br@newtestament !20} +\biblerefmap{James}{02@\br@newtestament !20} +\biblerefmap{Pet1}{02@\br@newtestament !21} +\biblerefmap{Peter1}{02@\br@newtestament !21} +\biblerefmap{Pet2}{02@\br@newtestament !22} +\biblerefmap{Peter2}{02@\br@newtestament !22} +\biblerefmap{John1}{02@\br@newtestament !23} +\biblerefmap{John2}{02@\br@newtestament !24} +\biblerefmap{John3}{02@\br@newtestament !25} +\biblerefmap{Jude}{02@\br@newtestament !26} +\biblerefmap{Rev}{02@\br@newtestament !27} +\biblerefmap{Revelation}{02@\br@newtestament !27} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl-paper.tex b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl-paper.tex new file mode 100644 index 0000000000..633965f8bd --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl-paper.tex @@ -0,0 +1,234 @@ +\documentclass[letterpaper,12pt]{article} + +% --------------------------------------------------------------------- +% Convenience xetex/luatex engine test set up +\usepackage{ifxetex} +\usepackage{ifluatex} +\newif\ifxetexorluatex +\ifxetex + \xetexorluatextrue +\else + \ifluatex + \xetexorluatextrue + \else + \xetexorluatexfalse + \fi +\fi +% --------------------------------------------------------------------- + + +% --------------------------------------------------------------------- +% Language and font set up +% Note: Polyglossia is *not* well supported +\ifxetexorluatex + \usepackage[nil,bidi=default]{babel} + \babelprovide[import=en-US,main]{american} + \babelprovide[import=he]{hebrew} + \babelprovide[import=el]{polutonikogreek} + \babelfont[american]{rm}[Ligatures=TeX]{Linux Libertine O} + \babelfont[hebrew]{rm}% + [Ligatures=TeX,Contextuals=Alternate]{SBL BibLit} + \babelfont[polutonikogreek]{rm}% + [Ligatures=TeX,Contextuals=Alternate]{SBL BibLit} +\else + \usepackage[polutonikogreek,american]{babel} + \usepackage{libertineRoman} +\fi +\usepackage{csquotes} +% --------------------------------------------------------------------- + + +% --------------------------------------------------------------------- +% Load main style +% Pass indexing=cite to biblatex (if you want author indexing) +\PassOptionsToPackage{indexing=cite}{biblatex} +\usepackage{sbl-paper} + +% Add your bib resource here +\addbibresource{biblatex-sbl.bib} +% --------------------------------------------------------------------- + + +% --------------------------------------------------------------------- +% Index set up (optional) +% Include separate indices for subjects, authors, and Scripture +% references + +% Set up subject index +\makeindex[title=Subject Index,intoc,options=-q] + +% Set up Scripture reference index +\makeindex[name=\jobname-scr,title=Scripture Reference Index,intoc, + options=-s sbl-paper-bibleref.ist -q] +% Index Bible references in a scripture index +\renewcommand{\biblerefindex}{\index[\jobname-scr]} + +% Set up Author index +\makeindex[name=\jobname-aut,title=Author Index,intoc,options=-q] +% Redefine index format so biblatex inserts names into a separate +% author index rather than the main index +\DeclareIndexNameFormat{default}{% + \nameparts{#1}% + \usebibmacro{index:name} + {\index[\jobname-aut]} + {\namepartfamily} + {\namepartgiven} + {\namepartprefix} + {\namepartsuffix}} +% --------------------------------------------------------------------- + + +\begin{document} + +\institution{[Name of Institution]} +\title{Title of Paper} +\professor{[Name of Professor]} +\course{[Course Number and Title]} +\author{[Your Name]} +\date{[Month, Day, Year]} +\maketitle + +\pagenumbering{roman} + +\tableofcontents + +\printbiblist[heading=biblistintoc]{abbreviations} + +\clearpage +\pagenumbering{arabic} + +\firstsection[Primary Heading]{Primary Heading \break + Long Titles Are Single-Spaced on Subsequent Lines} + +\index{margins}% +The top margin is two inches for the first page only. There are two blank +lines between the title and the text (or subheading if there is one). The +left, right, top, and bottom margins are one inch. The first pages of chapters +are formatted like the primary heading. + +Indent the first line of subsequent paragraphs. All main text should be set in +a standard 12-point font such as Times-New-Roman. + +\subsection{First-Level Subheading} + +Keep two blank lines between the text of the preceding section and a +subheading, regardless of the level. A first level subheading is centered, +bold, and capitalized headline style. + +\subsubsection{Second-Level Subheading} + +There are two blank lines between the text of the preceding section and the +subheading. A second-level subheading is centered and capitalized headline +style. + +\paragraph{Third-Level Subheading} + +A third level subheading is on the left margin, in bold, italics, and +capitalized headline style. A heading should never be the last text on a page. +If necessary, add extra blank space at the end of the page and begin the +following page with a heading. + +\subparagraph{Fourth-Level Subheading} + +A fourth-level subheading is on the left margin, capitalized headline style. + +The page numbers for the noninitial pages of the paper (or chapter) are +located at the top right corner. The text of the body of the paper is +double-spaced except for blocked +quotations. +\begin{quote} + \index{quotations!block}% + This is a blocked quotation. It should consist of five or more lines of text + and be indented one-half inch. Block quotations should be single-spaced. No + quotation marks are used at the beginning or the end of the quote. Double + quotation marks within the original matter are retained. The blocked quote + is set off by a regular double space before and after the quote. Note that + regular spacing resumes after the end of the quotation.\footnote{The first + line of a footnote is indented one-half inch. A 10-point font is acceptable. + Footnotes, unlike the main text of the paper, should be single-spaced.} +\end{quote} +After a block quotation, return to double-spaced text justified to the left +margin until you finish the paragraph. + +\index{footnotes}% +Footnotes at the bottom of the page are separated by a two-inch +rule.\footnote{There should be a blank line between each note and a blank en +space between the number and the first word of the note.} Maintain subsequent +numbering in notes. Make sure a footnote and the text to which it refers are +on the same page. + +\section{Citations} + +\index{citations}% +Citations should be referenced using \verb+\autocite+ or \verb+\autocites+ for +citations in footnotes and \verb+\parencite+ or \verb+\parencites+ for +citations in parentheses. For example, here is a dictionary with a shorthand: +\parencite{NIDNTT}. Here's a commentary,\autocite{dahood:1965-1970} and here's +the same article referenced in two different +publications.\autocites{freedman:1977,freedman:1980} + +% Use xelatex or lualatex if you need Hebrew +\section{Greek\ifxetexorluatex{} and Hebrew\fi} + +\index{Greek!paragraph}Paragraph Greek: +\begin{quote} + \selectlanguage{polutonikogreek} + Ἐν ἀρχῇ ἦν ὁ λόγος, καὶ ὁ λόγος ἦν πρὸς τὸν θεόν, καὶ θεὸς ἦν ὁ λόγος. + \foreignlanguage{american}{(\pibibleverse{John 1:1})} +\end{quote} +\ifxetexorluatex + \index{Hebrew!paragraph}Paragraph Hebrew: + \begin{quote} + \selectlanguage{hebrew} + \ifxetex + \raggedleft + \fi + בְּרֵאשִׁית בָּרָא אֱלֹהִים אֵת הַשָּׁמַיִם וְאֵת הָאָרֶץ. + \foreignlanguage{american}{(\pibibleverse{Genesis 1:1})} + \end{quote} +\fi +\ifxetexorluatex + \index{Greek!inline}Inline Greek (\foreignlanguage{polutonikogreek}{Ἐν + ἀρχῇ}), + \index{Greek!transliterated}transliterated Greek (\emph{En archē}), + \index{Hebrew!inline}Hebrew (\foreignlanguage{hebrew}{בראשית}), and + \index{Hebrew!transliterated}transliterated Hebrew (\emph{bərēʾšı̂t}). +\else + \index{Greek!inline}Inline Greek (\foreignlanguage{polutonikogreek}{Ἐν + ἀρχῇ}) and + \index{Greek!transliterated}transliterated Greek (\emph{En archē}). +\fi + +\appendix + +\firstsection{Appendix Title} + +\index{appendixes}% +There should be two blank lines between the title and the text. + +Each appendix should have a number and a title, unless there is only one +appendix, in which case the appendix does not need a number. Every appendix +requires a heading, so if you are including a preexisting document you will +need to type a heading (i.e., the appendix number and title) on that document +so that it conforms to your numbered appendixes. + +An appendix is formatted like the first page of a chapter, using a two-inch +top margin. Locate page numbers at the bottom center of the first page of each +appendix and at the top right corner of subsequent pages. If the appendix is +already numbered, put those page numbers in square brackets. Page numbering +for the appendixes is consecutive with the rest of the paper. + +Margins for the appendixes should be the same as the rest of the paper. You +may need to reduce the content of the appendix to fit the margins. + +\printbibliography[heading=bibintoc] + +\singlespacing + +\printindex + +\printindex[\jobname-scr] + +\printindex[\jobname-aut] + +\end{document} diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl.bbx new file mode 100644 index 0000000000..4c9ee7f50d --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl.bbx @@ -0,0 +1,591 @@ +\blx@inputonce{biblatex-sbl.def}{biblatex-sbl definitions and macros}{}{}{}{} + +\ProvidesFile{sbl.bbx}[\sbl@abx@bbxid] + +\AtBeginBibliography{% + \citereset + \global\undef\bbx@lasthash + \def\abx@str{abx@lstr}% + \renewcommand*{\relateddelim}{\addperiod\space}% + \renewcommand*{\begrelateddelim}{\addperiod\space}% + \renewcommand*{\revsdnamedelim}{\addcomma}% + \DeclareNameAlias{author}{sortname}% + \DeclareNameAlias{editor}{sortname}% + \DeclareNameAlias{translator}{sortname}% + \renewcommand*{\newunitpunct}{\addperiod\space}% + \renewbibmacro{dashcheck}[2]{\usebibmacro{bbx:dashcheck}{#1}{#2}}% + \renewbibmacro*{savehash}{\savefield{fullhash}{\bbx@lasthash}}% + \sloppy +} + +\AtEveryBibitem{% + \global\togglefalse{relatedseen}% + \global\togglefalse{inentrytype}}% + +\DeclareBibliographyDriver{set}{% + \booltrue{bbx@inset}% + \entryset{}{}% + \finentry} + +\DeclareBibliographyDriver{classictext}{% + \usebibmacro{begentry}% + \DeclareFieldFormat[classictext]{title}{\mkbibemph{##1}}% + \clearfield{related}% + \usedriver{}{incollection}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{ancienttext}{% + \usebibmacro{begentry}% + \iffieldequalstr{entrysubtype}{ANRW} + {\usebibmacro{bibindex}% + \usebibmacro{author/editor+others/translator+others}% + \newunit + \usebibmacro{title}% + \newunit + \entrydata{\thefield{related}}{% + \printtext[title]{% + \bibhyperlink{\strfield{shorthand}}{\thefield{shorthand}}}}% + \setunit{\addspace}% + \printfield{volume}% + \setunit*{\addperiod}% + \printfield{part}% + \setunit{\volpostnotedelim}% + \usebibmacro{pages}% + \newunit + \entrydata{\thefield{related}}{\printfield{titleaddon}}% + \setunit{\addcomma\addspace}% + \printfield{volume}% + \setunit*{\addperiod}% + \printfield{part}% + \newunit + \entrydata{\thefield{related}} + {\usebibmacro{bymaineditor+others}% + \newunit + \usebibmacro{bymaintranslator+others}}% + \usebibmacro{publisher+location+date}% + \newunit} + {\DeclareFieldFormat[ancienttext]{title}{\mkbibemph{##1}}% + \clearfield{related}% + \usedriver{}{book}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{article}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \newunit + \usebibmacro{title}% + \newunit + \usebibmacro{bytranslator+others}% + \newunit + \usebibmacro{inissuetitle}% + \newunit + \printfield{version}% + \newunit + \printlist{organization}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{shortjournal+issue}% + \usebibmacro{pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{issn}% + \newunit + \usebibmacro{doi+eprint+url}% + \newunit + \ifboolexpr{ + togl {relatedseen} + or + not togl {bbx:related} + } + {} + {\usebibmacro{related:init}% + \usebibmacro{related}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{book}{% + \clearfield{booktitle}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \iftoggle{blx@abbrevcite} + {\usebibmacro{title}% + \newunit + \printnames[default]{author}} + {\usebibmacro{author/editor+others/translator+others}% + \newunit + \usebibmacro{title}}% + \newunit + \usebibmacro{byauthor/byeditor+others/bytranslator+others}% + \newunit + \usebibmacro{chapter+pagesin}% + \usebibmacro{volume+partof}% + \usebibmacro{maintitle}% + \newunit + \usebibmacro{event+venue+date}% + \newunit + \usebibmacro{bymainauthor/bymaineditor+others/bymaintranslator+others}% + \newunit + \printfield{edition}% + \newunit + \printfield{volumes}% + \newunit + \ifentrytype{report} + {\printfield{type}% + \clearfield{type}% + \setunit*{\addspace}% + \printfield{number}} + {\usebibmacro{shortseries+number}}% + \newunit + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{publisher+location+date}% + \newunit + \usebibmacro{ebook}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{isbn}% + \newunit + \usebibmacro{isrn}% + \newunit + \usebibmacro{doi+eprint+url}% + \newunit + \ifboolexpr{ + togl {relatedseen} + or + not togl {bbx:related} + } + {} + {\usebibmacro{related:init}% + \usebibmacro{related}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{suppbook}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \newunit + \iffieldundef{type} + {\toggletrue{inentrytype}% + \usebibmacro{title}% + \setunit{\addspace}% + \usebibmacro{in}} + {\printfield{type}% + \usebibmacro{language}% + \setunit{\addspace}% + \usebibmacro{to}}% + \usebibmacro{booktitle}% + \usebibmacro{bybookauthor/bybookeditor+others/bybooktranslator+others}% + \clearfield{booktitle}% + \newunit + \usebibmacro{chapter+pagesin}% + \usebibmacro{volume+partof}% + \usebibmacro{maintitle}% + \newunit + \usebibmacro{bymainauthor/bymaineditor+others/bymaintranslator+others}% + \newunit + \printfield{edition}% + \newunit + \printfield{volumes}% + \newunit + \usebibmacro{shortseries+number}% + \newunit + \printfield{note}% + \newunit% + \usebibmacro{publisher+location+date}% + \newunit + \usebibmacro{ebook}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{isbn}% + \newunit + \usebibmacro{doi+eprint+url}% + \ifboolexpr{ + togl {relatedseen} + or + not togl {bbx:related} + } + {} + {\usebibmacro{related:init}% + \usebibmacro{related}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{incommentary}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \iffieldundef{volume} + {\usedriver{}{incollection}} + {\iftoggle{fullbibrefs} + {\usedriver{}{incollection}} + {\usedriver{}{incommentary:short}}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{incommentary:short}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \newunit + \usebibmacro{title}% + \newunit + \usebibmacro{byauthor}% + \newunit + \usebibmacro{bytranslator+others}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{xrefshortmaintitle}% + \newunit + \usebibmacro{volume+pages}% + \newunit + \usebibmacro{ebook}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{isbn}% + \newunit + \usebibmacro{doi+eprint+url}% + \newunit + \ifboolexpr{ + togl {relatedseen} + or + not togl {bbx:related} + } + {} + {\usebibmacro{related:init}% + \usebibmacro{related}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{incollection}{% + \toggletrue{inentrytype}% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \newunit + \usebibmacro{title}% + \newunit + \ifentrytype{classictext} + {\usebibmacro{byauthor}% + \newunit + \usebibmacro{bytranslator+others}} + {\usebibmacro{byauthor/byeditor+others/bytranslator+others}}% + \newunit + \usebibmacro{chapter+pagesin}% + \iffieldundef{booktitle} + {} + {\usebibmacro{booktitle}% + \newunit + \usebibmacro{event+venue+date}% + \newunit + \usebibmacro{bybookauthor/bybookeditor+others/bybooktranslator+others}% + \newunit}% + \usebibmacro{volume+partof}% + \iffieldundef{maintitle} + {} + {\usebibmacro{maintitle}% + \newunit + \usebibmacro{event+venue+date}% + \newunit + \usebibmacro{bymainauthor/bymaineditor+others/bymaintranslator+others}}% + \newunit + \printfield{edition}% + \newunit + \printfield{volumes}% + \newunit + \usebibmacro{shortseries+number}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{publisher+location+date}% + \newunit + \usebibmacro{ebook}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{isbn}% + \newunit + \usebibmacro{doi+eprint+url}% + \ifboolexpr{ + togl {relatedseen} + or + not togl {bbx:related} + } + {} + {\usebibmacro{related:init}% + \usebibmacro{related}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{inlexicon}{% + \usebibmacro{begentry}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{inreference}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \iffieldundef{volume} + {\usedriver{}{incollection}} + {\iftoggle{fullbibrefs} + {\usedriver{}{incollection}} + {\usedriver{}{inreference:short}}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{inreference:short}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \newunit + \usebibmacro{title}% + \newunit + \usebibmacro{byauthor}% + \newunit + \usebibmacro{bytranslator+others}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{xrefshortmaintitle+xrefshortbooktitle}% + \newunit + \usebibmacro{volume+pages}% + \newunit + \usebibmacro{ebook}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{isbn}% + \newunit + \usebibmacro{doi+eprint+url}% + \newunit + \ifboolexpr{ + togl {relatedseen} + or + not togl {bbx:related} + } + {} + {\usebibmacro{related:init}% + \usebibmacro{related}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{review}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \newunit + \iffieldundef{title} + {\newunit} + {\usebibmacro{title}% + \newunit + \usebibmacro{byauthor}% + \newunit + \usebibmacro{bytranslator+others}% + \setunit{\addcomma\addspace}}% + \usebibmacro{revdtitle}% + \setunit{\addcomma\addspace}% + \usebibmacro{revdauthor/revdeditor}% + \newunit + \usebibmacro{inissuetitle}% + \newunit + \printfield{version}% + \newunit + \printlist{organization}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{shortjournal+issue}% + \usebibmacro{pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{issn}% + \newunit + \usebibmacro{doi+eprint+url}% + \newunit + \ifboolexpr{ + togl {relatedseen} + or + not togl {bbx:related} + } + {} + {\usebibmacro{related:init}% + \usebibmacro{related}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{thesis}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \usebibmacro{title}% + \newunit + \usebibmacro{pagesin}% + \newunit + \printfield{note}% + \newunit + \printfield{type}% + \setunit{\addcomma\addspace}% + \usebibmacro{publisher+location+date}% + \newunit + \usebibmacro{ebook}% + \newunit + \printfield{addendum}% + \newunit + \printfield{isbn}% + \newunit + \usebibmacro{doi+eprint+url}% + \newunit + \ifboolexpr{ + togl {relatedseen} + or + not togl {bbx:related} + } + {} + {\usebibmacro{related:init}% + \usebibmacro{related}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{misc}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \newunit + \usebibmacro{title}% + \usebibmacro{byauthor/byeditor+others/bytranslator+others}% + \newunit + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{publisher+location+date}% + \newunit + \usebibmacro{ebook}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{doi+eprint+url}% + \newunit + \ifboolexpr{ + togl {relatedseen} + or + not togl {bbx:related} + } + {} + {\usebibmacro{related:init}% + \usebibmacro{related}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{conferencepaper}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \usebibmacro{title}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{eventtitle}% + \newunit + \printfield{organization}% + \newunit + \usebibmacro{venue+eventdate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{doi+eprint+url}% + \newunit + \ifboolexpr{ + togl {relatedseen} + or + not togl {bbx:related} + } + {} + {\usebibmacro{related:init}% + \usebibmacro{related}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{periodical}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{editor+others}% + \newunit + \usebibmacro{issuetitle}% + \usebibmacro{language}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{shortjournal+issue}% + \usebibmacro{pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{issn}% + \newunit + \usebibmacro{doi+eprint+url}% + \newunit + \ifboolexpr{ + togl {relatedseen} + or + not togl {bbx:related} + } + {} + {\usebibmacro{related:init}% + \usebibmacro{related}}% + \usebibmacro{finentry}% +} + +\DeclareBibliographyDriver{patent}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author+holder}% + \newunit + \usebibmacro{title}% + \newunit + \printfield{note}% + \newunit + \printfield{type}% + \setunit*{\addspace}% + \printfield{number}% + \iflistundef{location} + {} + {\setunit*{\addspace}% + \printtext[parens]{\printlist{location}}}% + \setunit{\addcomma\space}% + \printfield{version}% + \setunit{\addcomma\space}% + \usebibmacro{patentdate}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{doi+eprint+url}% + \newunit + \ifboolexpr{ + togl {relatedseen} + or + not togl {bbx:related} + } + {} + {\usebibmacro{related:init}% + \usebibmacro{related}}% + \usebibmacro{finentry}% +} +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl.cbx new file mode 100644 index 0000000000..bb745ef0b8 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl.cbx @@ -0,0 +1,981 @@ +\blx@inputonce{biblatex-sbl.def}{biblatex-sbl definitions and macros}{}{}{}{} + +\ProvidesFile{sbl.cbx}[\sbl@abx@cbxid] + +\newbool{suppresspostnote} +\newbool{usevolpostnotedelim} + +\newtoggle{cbx:loccit} +\newtoggle{usingibid} +\newtoggle{relatedseen} +\newtoggle{inentrytype} +\newtoggle{cbx:involcite} + +\newbibmacro*{cite}{% + \boolfalse{suppresspostnote}% + \boolfalse{usevolpostnotedelim}% + \global\togglefalse{usingibid}% + \global\togglefalse{inentrytype}% + \global\toggletrue{blx@testpostnotedelim}% + \ifciteseen + {\global\toggletrue{relatedseen}} + {\global\togglefalse{relatedseen}}% + \ifciteseen{}{\iffieldundef{pages}{}{\booltrue{suppresspostnote}}}% + \iffieldundef{shorthand} + {\ifciteseen{}{\bibhypertarget{\strfield{entrykey}}{}}} + {}% + \printtext{% + \ifboolexpr{% + test {\ifciteibid} + and + not test {\iffirstonpage} + } + {\usebibmacro{cite:ibid}} + {\usebibmacro{ifciteuseshorthand} + {\usebibmacro{cite:shorthand}} + {\usedriver{}{cite:\thefield{entrytype}}% + \ifcsstring{blx@shorthand}{intro} + {\usebibmacro{shorthandintro}} + {}}}}} + +% redefine default loccit tracker so that citations with no postnote also match +\def\blx@loccit@tracker#1{% + \global\csundef{blx@lastnote@#1@\abx@field@entrykey}% + \blx@imc@iffieldundef{postnote} + {\global\cslet{blx@lastnote@#1@\abx@field@entrykey}\abx@field@entrykey} + {\global\cslet{blx@lastnote@#1@\abx@field@entrykey}\abx@field@postnote}% + \xifinlistcs\abx@field@entrykey{blx@trackkeys@#1} + {} + {\listcsxadd{blx@trackkeys@#1}\abx@field@entrykey}} + +\def\blx@loccit@check#1{% + \blx@imc@iffieldundef{postnote} + {\blx@imc@iffieldequalcs{entrykey}{blx@lastnote@#1@\abx@field@entrykey}} + {\blx@imc@iffieldequalcs{postnote}{blx@lastnote@#1@\abx@field@entrykey}}} + +\newbibmacro*{cite:ibid}{% + \usebibmacro{citeindex}% + \global\toggletrue{usingibid}% + \printtext[bibhyperlink]{\bibstring[\mkibid]{ibidem}}% + \ifloccit + {\global\booltrue{suppresspostnote}} + {}} + +\newbibmacro*{cite:shorthand}{% + \togglefalse{blx@citeindex}% + \global\toggletrue{relatedseen}% + \usebibmacro{shorthand}% + \iffieldequalstr{entrysubtype}{RIMA} + {\restorefield{volume}{\abx@field@number}} + {}% + \ifboolexpr{ + test {\ifentrytype{ancienttext}} + and + not test {\iffieldundef{related}} + } + {\usebibmacro{setaltpostnotedelim}% + \setunit{\postnotedelim}% + \printfield{altpostnote}% + \DeclareFieldFormat{related}{\mkbibparens{##1}}% + \renewcommand*{\begrelateddelim}{\addspace}% + \renewbibmacro*{endrelatedloop}{\usebibmacro{volume+part+postnote}}% + \usebibmacro{related:init}% + \usebibmacro{related}}% + {\ifciteseen + {} + {\newunit + \printfield{pages}}}} + +\newbibmacro*{cite:suppresslabelname}{% + \renewbibmacro*{author}{}% + \renewbibmacro*{author+holder}{}% + \renewbibmacro*{editor}{% + \ifboolexpr{ + test \ifuseeditor + and + not test {\ifnameundef{editor}} + } + {\clearname{editor}} + {}}% + \renewbibmacro*{editor+others}{\usebibmacro{editor}}% + \renewbibmacro*{translator}{% + \ifboolexpr{ + test \ifusetranslator + and + not test {\ifnameundef{translator}} + } + {\clearname{translator}} + {}}% + \renewbibmacro*{translator+others}{\usebibmacro{translator}}% +} + +\newbibmacro*{bibentrycite}{% + \citereset + \global\togglefalse{relatedseen}% + \toggletrue{blx@bibliography}% + \def\abx@str{abx@lstr}% + \renewcommand*{\revsdnamedelim}{\addcomma}% + \setcounter{maxnames}{100}% + \setcounter{maxitems}{100}% + \DeclareNameAlias{author}{sortname}% + \DeclareNameAlias{editor}{sortname}% + \DeclareNameAlias{translator}{sortname}% + \renewcommand*{\newunitpunct}{\addperiod\space}% + \renewcommand*{\relateddelim}{\addperiod\space}% + \renewcommand*{\begrelateddelim}{\addperiod\space}% + \sloppy + \printtext{\usedriver{}{\thefield{entrytype}}}} + +\newbibmacro*{biblistcite}{% + \sloppy + \hangindent 6em\rlap + {\printfield[shorthandwidth]{shortjournal}% + \iffieldundef{shorthand} + {\printfield[shorthandwidth]{shortseries}} + {\iffieldsequal{shorthand}{shorttitle} + {\printtext{\mkbibemph{\printfield[shorthandwidth]{shorthand}}}} + {\printfield[shorthandwidth]{shorthand}}}}% + \renewcommand*{\bibhypertarget}[2]{##2}% + \hskip 6em \setunit{}\usedriver{}{abbreviations}\par +} + +\renewrobustcmd*{\volcitecmd}{% + \AtNextCite{% + \toggletrue{cbx:involcite}% + \DeclareFieldAlias{postnote}{volcitenote}}% + \begingroup\let\blx@citeargs\blx@volciteargs} + +\renewrobustcmd*{\multivolcitecmd}{% + \AtNextCite{% + \toggletrue{cbx:involcite}% + \DeclareFieldAlias{postnote}{volcitenote}}% + \def\blx@hook@mcite@before{% + \global\undef\blx@hook@mcite@before + \let\blx@citeargs\blx@volmciteargs}} + +\newbibmacro*{cite:postnote}{% + \iffieldundef{shorthand} + {} + {\iftoggle{usingibid} + {} + {\usebibmacro{ifneedsetpostnotedelim} + {\usebibmacro{setpostnotedelim}} + {}}}% + \ifbool{suppresspostnote}{}{% + \ifboolexpr{% + not test {\iffieldundef{postnote}} + or + not test {\iffieldundef{pages}} + } + {\ifbool{usevolpostnotedelim} + {\setunit{\volpostnotedelim}} + {\setunit{\postnotedelim}}% + \usebibmacro{postnote}} + {}}% + \ifboolexpr{ + togl {relatedseen} + or + not togl {bbx:related} + or + test {\iffieldundef{related}} + } + {} + {\usebibmacro{related:init}% + \usebibmacro{related}}} + +\DeclareCiteCommand{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{cite:suppresslabelname}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\cite} + {\usebibmacro{prenote}} + {\usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\cite} + {\usebibmacro{prenote}} + {\usebibmacro{cite:suppresslabelname}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\bibentrycite} + {} + {\usebibmacro{bibentrycite}} + {\multicitedelim} + {} + +\DeclareCiteCommand{\biblistcite} + {} + {\usebibmacro{biblistcite}} + {} + {} + +\DeclareCiteCommand{\parencite}[\mkbibparens] + {\usebibmacro{prenote}} + {\usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\parencite}[\mkbibparens] + {\usebibmacro{prenote}} + {\usebibmacro{cite:suppresslabelname}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\footcite}[\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\footcite}[\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{cite:suppresslabelname}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext] + {\usebibmacro{prenote}} + {\usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\footcitetext}[\mkbibfootnotetext] + {\usebibmacro{prenote}} + {\usebibmacro{cite:suppresslabelname}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\fullcite} + {\usebibmacro{prenote}} + {\def\blx@shorthand{false}% + \let\ifciteseen\@secondoftwo + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\fullcite} + {\usebibmacro{prenote}} + {\def\blx@shorthand{false}% + \let\ifciteseen\@secondoftwo + \usebibmacro{cite:suppresslabelname}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\footfullcite}[\mkbibfootnote] + {\usebibmacro{prenote}} + {\def\blx@shorthand{false}% + \let\ifciteseen\@secondoftwo + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand*{\footfullcite}[\mkbibfootnote] + {\usebibmacro{prenote}} + {\def\blx@shorthand{false}% + \let\ifciteseen\@secondoftwo + \usebibmacro{cite:suppresslabelname}% + \usebibmacro{cite}} + {\multicitedelim} + {\usebibmacro{cite:postnote}} + +\DeclareCiteCommand{\citeseries} + {} + {\usebibmacro{shortseries}} + {} + {} + +\DeclareCiteCommand{\citejournal} + {} + {\usebibmacro{shortjournal}} + {} + {} + +\DeclareCiteCommand{\citeshorthand} + {} + {\usebibmacro{shorthand}} + {} + {} + +\newbibmacro*{textcite}{% + \ifnameundef{labelname} + {\printfield[citetitle]{labeltitle}} + {\printnames{labelname}}} + +\newbibmacro*{textcite:init}{% + \citetrackerfalse% + \pagetrackerfalse% + \iffirstcitekey + {\global\undef\cbx@lasthash} + {}} + +\newbibmacro*{textcite:count}{% + \stepcounter{textcitetotal}% + \ifnumgreater{\value{uniquelist}}{\value{maxnames}} + {\ifnumgreater{\value{uniquelist}}{\value{textcitemaxnames}} + {\setcounter{textcitemaxnames}{\value{uniquelist}}} + {}} + {\ifnumless{\value{labelname}}{\value{maxnames}} + {\ifnumgreater{\value{labelname}}{\value{textcitemaxnames}} + {\setcounter{textcitemaxnames}{\value{labelname}}} + {}} + {\ifnumgreater{\value{maxnames}}{\value{textcitemaxnames}} + {\setcounter{textcitemaxnames}{\value{maxnames}}} + {}}}} + +\DeclareCiteCommand{\cbx@textcite} + {\usebibmacro{textcite:init}} + {\iffieldequals{namehash}{\cbx@lasthash} + {} + {\iffirstcitekey + {} + {\textcitedelim}% + \stepcounter{textcitecount}% + \usebibmacro{textcite}% + \savefield{namehash}{\cbx@lasthash}}} + {} + {} + +\DeclareCiteCommand{\textcite}[\cbx@textcite@init\cbx@textcite\footcite] + {\usebibmacro{textcite:init}% + \gdef\cbx@savedkeys{}% + \DeferNextCitekeyHook} + {\ifthenelse{\iffirstcitekey\AND\value{multicitetotal}>0} + {\protected@xappto\cbx@footcite@args{% + (\thefield{multiprenote})(\thefield{multipostnote})}} + {}% + \xappto\cbx@savedkeys{\thefield{entrykey},}% + \iffieldequals{namehash}{\cbx@lasthash} + {} + {\usebibmacro{textcite:count}% + \savefield{namehash}{\cbx@lasthash}}% + \ifnumequal{\value{citecount}}{\value{citetotal}} + {\protected@xappto\cbx@textcite@args{{\cbx@savedkeys}}% + \protected@xappto\cbx@footcite@args{% + [\thefield{prenote}][\thefield{postnote}]{\cbx@savedkeys}}% + \iflastcitekey + {\protected@xappto\cbx@textcite@args{\thefield{postpunct}}% + \protected@xappto\cbx@footcite@args{\nopunct}} + {}} + {}} + {} + {} + +% textcite has nested \DeclareCiteCommand definitions for textcite and we want to use +% the normal textcite context +\DeclareDelimcontextAlias{cbx@textcite}{textcite} + +\newrobustcmd{\cbx@textcite@init}[3]{% + \setcounter{textcitetotal}{0}% + \setcounter{textcitecount}{0}% + \setcounter{textcitemaxnames}{0}% + \def\cbx@textcite@args{#1}\def\cbx@footcite@args{#2}#3% + \cbx@textcite@args\empty\cbx@footcite@args\empty} + +\DeclareMultiCiteCommand{\cbx@textcites}{\cbx@textcite}{} +\DeclareMultiCiteCommand{\textcites} + [\cbx@textcites@init\cbx@textcites\footcites]{\textcite}{} + +\let\cbx@textcites@init\cbx@textcite@init +\pretocmd{\cbx@textcites@init}{% + \UseNextMultiCiteHook% + \AtNextMultiCite{% + \renewbibmacro{multiprenote}{}% + \renewbibmacro{multipostnote}{}}}{}{} + +% ------------------------------------------------------------------ +% CITE DRIVERS +% ------------------------------------------------------------------ + +\DeclareBibliographyDriver{cite:set}{% + \booltrue{bbx@inset}% + \ifciteseen + {\let\abx@field@setkey\abx@field@entrykey + \let\ifciteseen\@firstoftwo} + {}% + \entryset{}{}% + \newunit\newblock + \printfield{postnote}% + \finentry + \global\booltrue{suppresspostnote}} + +\DeclareBibliographyDriver{cite:ancienttext}{% + \usebibmacro{citeindex}% + \togglefalse{blx@citeindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit + \usebibmacro{title}% + \newunit + \printfield{altpostnote}% + \newunit + \ifciteseen + {} + {\usebibmacro{byauthor/byeditor+others/bytranslator+others}}% + \ifboolexpr{ + test {\iffieldequalstr{entrysubtype}{ANRW}} + or + test {\ifboolexpr{ + test {\ifciteseen} + and + test {\iffieldequalstr{entrysubtype}{COS}} + }} + } + {\renewcommand*{\begrelateddelim}{\newunitpunct}% + \usebibmacro{related:init}% + \usebibmacro{related}% + \usebibmacro{volume+part+postnote}} + {\DeclareFieldFormat{related}{\mkbibparens{##1}}% + \renewcommand*{\begrelateddelim}{\addspace}% + \renewbibmacro*{endrelatedloop}{\usebibmacro{volume+part+postnote}}% + \usebibmacro{related:init}% + \usebibmacro{related}}% + \global\toggletrue{relatedseen} + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:classictext}{% + \usebibmacro{citeindex}% + \togglefalse{blx@citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firstoftwo}% + \usebibmacro{author}% + \newunit + \usebibmacro{shorttitlenohyperlink}% + \iffieldequalstr{entrysubtype}{churchfather} + {\setunit{\addspace}% + \printfield{altpostnote}% + \DeclareFieldFormat{related}{\mkbibparens{##1}}% + \renewcommand*{\begrelateddelim}{\addspace}% + \renewbibmacro*{endrelatedloop}{\usebibmacro{volume+part+postnote}}% + \usebibmacro{related:init}% + \usebibmacro{related}% + \global\toggletrue{relatedseen}} + {\clearfield{pages}% + \usebibmacro{volume+part+postnote}% + \usebibmacro{classic:translator+series}}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:article}{% + \usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firtoftwo}% + \usebibmacro{author/editor+others/translator+others}% + \newunit + \usebibmacro{title}% + \ifciteseen + {} + {\newunit + \usebibmacro{byauthor}% + \newunit + \usebibmacro{bytranslator+others}% + \newunit + \usebibmacro{inissuetitle}% + \newunit + \printfield{version}% + \newunit + \printlist{organization}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{shortjournal+issue}% + \usebibmacro{pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{issn}% + \newunit + \usebibmacro{doi+eprint+url}}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:book}{% + \clearfield{booktitle}% + \usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firstoftwo}% + \usebibmacro{author/editor+others/translator+others}% + \newunit + \usebibmacro{title}% + \ifciteseen + {\newunit + \usebibmacro{volume+part}} + {\usebibmacro{byauthor/byeditor+others/bytranslator+others}% + \newunit + \usebibmacro{chapter+pagesin}% + \usebibmacro{volume+partof}% + \usebibmacro{maintitle}% + \newunit + \usebibmacro{event+venue+date}% + \newunit + \usebibmacro{bymainauthor/bymaineditor+others/bymaintranslator+others}% + \newunit + \printfield{edition}% + \newunit + \printfield{volumes}% + \newunit + \ifentrytype{report} + {\printfield{type}% + \clearfield{type}% + \setunit*{\addspace}% + \printfield{number}} + {\usebibmacro{shortseries+number}}% + \newunit + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \iflistundef{institution} + {\usebibmacro{parens+publisher+location+date}} + {\setunit{\addspace}% + \printtext[parens]{\usebibmacro{institution+location+date}}}% + \newunit + \usebibmacro{ebook}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{volume+part+pages}% + \newunit + \usebibmacro{isbn}% + \newunit + \usebibmacro{isrn}% + \newunit + \usebibmacro{doi+eprint+url}}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:suppbook}{% + \usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firstoftwo}% + \usebibmacro{author/editor+others/translator+others}% + \newunit + \ifciteseen + {\iffieldundef{type} + {\usebibmacro{title}} + {\printfield{type}}} + {\iffieldundef{type} + {\toggletrue{inentrytype}% + \usebibmacro{title}% + \setunit{\addspace}% + \usebibmacro{in}} + {\printfield{type}% + \usebibmacro{language}% + \setunit{\addspace}% + \usebibmacro{to}}% + \usebibmacro{booktitle}% + \usebibmacro{bybookauthor/bybookeditor+others/bybooktranslator+others}% + \clearfield{booktitle}% + \newunit + \usebibmacro{chapterin}% + \usebibmacro{volume+partof}% + \usebibmacro{maintitle}% + \newunit + \usebibmacro{bymainauthor/bymaineditor+others/bymaintranslator+others}% + \newunit + \printfield{edition}% + \newunit + \printfield{volumes}% + \newunit + \usebibmacro{shortseries+number}% + \newunit + \printfield{note}% + \usebibmacro{parens+publisher+location+date}% + \newunit + \usebibmacro{ebook}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pages}% + \newunit + \usebibmacro{isbn}% + \newunit + \usebibmacro{doi+eprint+url}}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:commentary}{% + \usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firstoftwo}% + \usebibmacro{author/editor+others/translator+others}% + \newunit + \usebibmacro{title}% + \ifciteseen + {} + {\usebibmacro{byauthor/byeditor+others/bytranslator+others}% + \newunit + \printfield{edition}% + \newunit + \printfield{volumes}% + \newunit + \usebibmacro{shortseries+number}% + \newunit + \printfield{note}% + \usebibmacro{parens+publisher+location+date}% + \newunit + \usebibmacro{ebook}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pages}% + \newunit + \usebibmacro{isbn}% + \newunit + \usebibmacro{doi+eprint+url}}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:incommentary}{% + \iffieldundef{volume} + {\usedriver{}{cite:incollection}} + {\usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firstoftwo}% + \iffieldundef{xref}{}{\addskipentry{\thefield{xref}}}% + \cbx@opt@citepages@omit + \usebibmacro{author/translator+others}% + \newunit + \ifciteseen + {\usebibmacro{xrefshortmaintitle}% + \iffieldundef{volume} + {} + {\setunit{\addspace}% + \printfield{volume}% + \setunit*{\addperiod}% + \printfield{part}% + \global\booltrue{usevolpostnotedelim}}} + {\printfield{note}% + \newunit + \usebibmacro{xrefshortmaintitle}% + \newunit + \usebibmacro{volume+pages}% + \newunit + \printfield{addendum}}% + \usebibmacro{finentry}}} + +\DeclareBibliographyDriver{cite:incollection}{% + \ifentrytype{seminarpaper} + {} + {\toggletrue{inentrytype}}% + \usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firstoftwo}% + \usebibmacro{author/editor+others/translator+others}% + \newunit + \usebibmacro{title}% + \ifciteseen + {} + {\usebibmacro{byauthor/byeditor+others/bytranslator+others}% + \newunit + \usebibmacro{chapter+pagesin}% + \iffieldundef{booktitle} + {} + {\usebibmacro{booktitle}% + \newunit + \usebibmacro{event+venue+date}% + \newunit + \usebibmacro{bybookauthor/bybookeditor+others/bybooktranslator+others}% + \newunit}% + \usebibmacro{volume+partof}% + \iffieldundef{maintitle} + {} + {\usebibmacro{maintitle}% + \newunit + \usebibmacro{event+venue+date}% + \newunit + \usebibmacro{bymainauthor/bymaineditor+others/bymaintranslator+others}}% + \newunit + \printfield{edition}% + \newunit + \printfield{volumes}% + \newunit + \usebibmacro{shortseries+number}% + \newunit + \printfield{note}% + \usebibmacro{parens+publisher+location+date}% + \newunit + \usebibmacro{ebook}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{volume+part+pages}% + \newunit + \usebibmacro{isbn}% + \newunit + \usebibmacro{doi+eprint+url}}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:inlexicon}{% + \usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firstoftwo}% + \usebibmacro{author/translator+others}% + \newunit + \ifciteseen + {\usebibmacro{xrefshortmaintitle+xrefshortbooktitle}% + \iffieldundef{volume} + {} + {\setunit{\addspace}% + \printfield{volume}% + \setunit*{\addperiod}% + \printfield{part}% + \global\booltrue{usevolpostnotedelim}}} + {\usebibmacro{title}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{xrefshortmaintitle+xrefshortbooktitle}% + \newunit + \usebibmacro{volume+pages}% + \newunit + \printfield{addendum}}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:inreference}{% + \usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firstoftwo}% + \iffieldundef{xref}{}{\addskipentry{\thefield{xref}}}% + \usebibmacro{author/translator+others}% + \newunit + \usebibmacro{title}% + \ifciteseen + {\newunit + \iffieldundef{volume} + {} + {\newunit + \global\booltrue{usevolpostnotedelim}% + \printfield{volume}% + \setunit*{\addperiod}% + \printfield{part}}} + {\newunit + \printfield{note}% + \newunit + \usebibmacro{xrefshortmaintitle+xrefshortbooktitle}% + \newunit + \usebibmacro{volume+pages}% + \newunit + \printfield{addendum}}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:review}{% + \usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firstoftwo}% + \usebibmacro{author/translator+others}% + \newunit + \iffieldundef{title} + {} + {\usebibmacro{title}% + \newunit + \ifciteseen + {} + {\usebibmacro{byauthor}% + \newunit + \usebibmacro{bytranslator+others}% + \newunit}}% + \usebibmacro{revdtitle}% + \newunit + \ifciteseen + {\setunit{\addspace}% + \printtext[parens]{\usebibmacro{revdauthor/revdeditor}}} + {\usebibmacro{revdauthor/revdeditor}% + \newunit + \usebibmacro{inissuetitle}% + \newunit + \printfield{version}% + \newunit + \printlist{organization}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{shortjournal+issue}% + \usebibmacro{pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{issn}% + \newunit + \usebibmacro{doi+eprint+url}}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:thesis}{% + \usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firstoftwo}% + \usebibmacro{author}% + \newunit + \usebibmacro{title}% + \ifciteseen + {} + {\newunit + \printfield{chapter}% + \newunit + \printfield{note}% + \setunit{\addspace}% + \printtext[parens]{% + \renewcommand*{\newunitpunct}{\addsemicolon\space}% + \printfield{type}% + \setunit{\addcomma\addspace}% + \usebibmacro{institution+location+date}}% + \newunit + \usebibmacro{ebook}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pages}% + \newunit + \printfield{isbn}% + \newunit + \usebibmacro{doi+eprint+url}}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:misc}{% + \usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firstoftwo}% + \usebibmacro{author/editor+others/translator+others}% + \newunit + \usebibmacro{title}% + \ifciteseen + {} + {\usebibmacro{byauthor/byeditor+others/bytranslator+others}% + \newunit + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \setunit{\addspace}% + \printtext[parens]{% + \usebibmacro{publisher+location+date}}% + \newunit + \usebibmacro{ebook}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{pages}% + \newunit + \usebibmacro{doi+eprint+url}}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:conferencepaper}{% + \usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firstoftwo}% + \usebibmacro{author}% + \newunit + \usebibmacro{title}% + \ifciteseen + {} + {\newunit + \printfield{note}% + \setunit{\addspace}% + \printtext[parens]{% + \usebibmacro{eventtitle}% + \newunit + \printfield{organization}% + \newunit + \usebibmacro{venue+eventdate}}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{doi+eprint+url}}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:periodical}{% + \usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firtoftwo}% + \usebibmacro{editor+others}% + \newunit + \ifciteseen + {\usebibmacro{shorttitle}} + {\usebibmacro{issuetitle}% + \usebibmacro{language}% + \newunit + \printfield{note}% + \newunit + \usebibmacro{shortjournal+issue}% + \usebibmacro{pages}% + \newunit + \printfield{addendum}% + \newunit + \usebibmacro{issn}% + \newunit + \usebibmacro{doi+eprint+url}}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{cite:patent}{% + \usebibmacro{citeindex}% + \usebibmacro{begentry}% + \iftoggle{blx@usefullcite} + {} + {\let\ifciteseen\@firtoftwo}% + \usebibmacro{author+holder}% + \newunit + \usebibmacro{title}% + \ifciteseen + {} + {\newunit + \printfield{note}% + \setunit{\addspace}% + \printtext[parens]{% + \printfield{type}% + \setunit*{\addspace}% + \printfield{number}% + \iflistundef{location} + {} + {\setunit*{\addspace}% + \printtext[parens]{\printlist{location}}}% + \newunit + \printfield{version}% + \newunit + \usebibmacro{patentdate}% + \newunit + \printfield{addendum}}% + \newunit + \usebibmacro{doi+eprint+url}}% + \usebibmacro{finentry}} + +\endinput diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl.dbx b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl.dbx new file mode 100644 index 0000000000..02f0b2ed21 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/sbl.dbx @@ -0,0 +1,55 @@ +\ProvidesFile{sbl.dbx}[biblatex-sbl database structure] + +\DeclareDatamodelEntrytypes{ + ancienttext, + conferencepaper, + incommentary, + inlexicon, + review, + seminarpaper} + +\DeclareDatamodelFields[type=field, datatype=literal]{ + seriesseries, + revdtitle, + revdshorttitle, + revdsubtitle, + revdtitleaddon, + shortbooktitle, + shortissuetitle, + shortmaintitle, + withauthortype, + witheditortype, + withtranslatortype, + withbookauthortype, + withbookeditortype, + withbooktranslatortype, + withmainauthortype, + withmaineditortype, + withmaintranslatortype} + +\DeclareDatamodelFields[type=list, datatype=name]{ + bookeditor, + booktranslator, + mainauthor, + maineditor, + maintranslator, + revdauthor, + revdeditor, + withauthor, + witheditor, + withtranslator, + withbookauthor, + withbookeditor, + withbooktranslator, + withmainauthor, + withmaineditor, + withmaintranslator} + +\DeclareDatamodelFields[type=field, datatype=date]{ + eprintdate} + +\DeclareDatamodelFields[type=field, datatype=datepart]{ + eprintday, + eprintmonth, + eprintyear} + diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-sbl/spanish-sbl.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/spanish-sbl.lbx new file mode 100644 index 0000000000..e6a8345dfa --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-sbl/spanish-sbl.lbx @@ -0,0 +1,29 @@ +\ProvidesFile{spanish-sbl.lbx}[\sbl@abx@lbxid] + +\InheritBibliographyExtras{spanish} + +\DeclareBibliographyStrings{% + inherit = {spanish}, + by = {{por}{por}}, + to = {{a}{a}}, + of = {{de}{de}}, + with = {{con}{con}}, + byeditor = {{editado por}{ed\adddotspace por}}, + bytranslator = {{traducido \lbx@lfromlang\isdot\space por}% + {trad\adddotspace}}, + withpreface = {{con un prefacio por}{con un prefacio por}}, + introduction = {{Introducci{\'o}n}{Introducci{\'o}n}}, + foreword = {{Presentaci{\'o}n}{Presentaci{\'o}n}}, + reprint = {{reimp\adddot}{reimp\adddot}}, + paperpresented = {{documento presentado a}{documento presentado a}}, + patentfiled = {{filed}{filed}}, % FIXME: missing + phdthesis = {{Tesis}{Tesis}}, + released = {{publicado}{publicado}}, + withassistance = {{con la asistencia de}{con la asistencia de}}, + byeditortr = {{Traducido \lbx@lfromlang\isdot\space y editado por}% + {trad\adddotspace \lbx@sfromlang\isdot\space y ed\adddotspace por}}, + commonera = {{e\adddotspace c\adddot}{e\adddotspace c\adddot}}, + beforecommonera = {{a\adddotspace e\adddotspace c\adddot}{a\adddotspace e\adddotspace c\adddot}}, + annodomini = {{d\adddotspace C\adddot}{d\adddotspace C\adddot}}, + beforechrist = {{a\adddotspace C\adddot}{a\adddotspace C\adddot}} +} |