summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/biblatex-sbl/sbl-paper.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-05-24 21:31:36 +0000
committerKarl Berry <karl@freefriends.org>2018-05-24 21:31:36 +0000
commit967810882bc89a23f636aa8ee1a18bdeb0c85d8b (patch)
treef3138e4a1cbdee95f0e366a22d3468c52cda7a23 /Master/texmf-dist/doc/latex/biblatex-sbl/sbl-paper.tex
parent02c7b1553e2e3ea2657ff01c3a87c5b27da2bb6a (diff)
biblatex-sbl (24may18)
git-svn-id: svn://tug.org/texlive/trunk@47825 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/biblatex-sbl/sbl-paper.tex')
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-sbl/sbl-paper.tex92
1 files changed, 61 insertions, 31 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-sbl/sbl-paper.tex b/Master/texmf-dist/doc/latex/biblatex-sbl/sbl-paper.tex
index 81a9ee6c1f3..d5d237081bb 100644
--- a/Master/texmf-dist/doc/latex/biblatex-sbl/sbl-paper.tex
+++ b/Master/texmf-dist/doc/latex/biblatex-sbl/sbl-paper.tex
@@ -1,35 +1,72 @@
-\documentclass[letterpaper,12pt,oneside,openany]{book}
-
-\usepackage{sbl-paper}
-
-%% Add your bib resource here
-\addbibresource{biblatex-sbl.bib}
+\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
+% ---------------------------------------------------------------------
+% 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,Scale=1.2]{SBL BibLit}
- \babelfont[polutonikogreek]{rm}[Ligatures=TeX,Contextuals=Alternate]{SBL BibLit}
+ \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}
-%% Index set up (optional)
-%% Include separate indices for subjects, authors, and Scripture references
-\makeindex[title=Subject Index,intoc]
-\makeindex[name=\jobname-scr,title=Scripture Reference Index,intoc,options=-s sbl-paper-bibleref.ist]
-\makeindex[name=\jobname-aut,title=Author Index,intoc]
-%% Index Bible references in a scripture index
+% 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]}
-%% Redefine index format so biblatex inserts names into an author index
+
+% 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}
@@ -38,10 +75,7 @@
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}}
-
-
-%% Disable hyperlinks
-%\hypersetup{draft=true}
+% ---------------------------------------------------------------------
\begin{document}
@@ -54,13 +88,14 @@
\date{[Month, Day, Year]}
\maketitle
-\frontmatter
+\pagenumbering{roman}
\tableofcontents
\printbiblist[heading=biblistintoc]{abbreviations}
-\mainmatter
+\clearpage
+\pagenumbering{arabic}
\firstsection[Primary Heading]{Primary Heading \break
Long Titles Are Single-Spaced on Subsequent Lines}
@@ -132,11 +167,8 @@ citations in parentheses. For example, here is a dictionary with a shorthand:
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}
+% Use xelatex or lualatex if you need Hebrew
+\section{Greek\ifxetexorluatex{} and Hebrew\fi}
\index{Greek!paragraph}Paragraph Greek:
\begin{quote}
@@ -167,7 +199,7 @@ publications.\autocites{freedman:1977,freedman:1980}
\appendix
-\chapter{Appendix Title}
+\firstsection{Appendix Title}
\index{appendixes}%
There should be two blank lines between the title and the text.
@@ -187,8 +219,6 @@ 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.
-\backmatter
-
\printbibliography[heading=bibintoc]
\singlespacing