diff options
author | Karl Berry <karl@freefriends.org> | 2018-05-20 21:24:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-05-20 21:24:30 +0000 |
commit | ad9c864ce4e52a636d20454491151145a174f4a6 (patch) | |
tree | e0fc97f051c60742dc88c8dbfdef54b67e774bee /Master/texmf-dist/tex/latex/biblatex-sbl/sbl-paper.sty | |
parent | 047296d0431e552d00d8de48124312fc45e5d3c2 (diff) |
biblatex-sbl (20may18)
git-svn-id: svn://tug.org/texlive/trunk@47780 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-sbl/sbl-paper.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-sbl/sbl-paper.sty | 69 |
1 files changed, 16 insertions, 53 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-sbl/sbl-paper.sty b/Master/texmf-dist/tex/latex/biblatex-sbl/sbl-paper.sty index 77dcb8705ab..438ebf34e8d 100644 --- a/Master/texmf-dist/tex/latex/biblatex-sbl/sbl-paper.sty +++ b/Master/texmf-dist/tex/latex/biblatex-sbl/sbl-paper.sty @@ -1,4 +1,4 @@ -%Copyright 2015-2017 David Purton +%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 @@ -13,7 +13,7 @@ %The Current Maintainer of this work is David Purton. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{sbl-paper} - [2017/11/16 Society of Bibilical Literature Paper Style (DCP)] + [2018/05/20 Society of Bibilical Literature Paper Style (DCP)] % xetex/luatex engine test set up @@ -34,43 +34,22 @@ % Load required packages -\ifxetexorluatex - \RequirePackage{fontspec} - \RequirePackage{polyglossia} -\else - \RequirePackage[T1]{fontenc} - \RequirePackage[utf8]{inputenc} - \RequirePackage[base]{babel} -\fi - \RequirePackage{csquotes} -\RequirePackage{ragged2e} \RequirePackage[headheight=14.5pt,margin=1in]{geometry} \RequirePackage{textcase} \RequirePackage{setspace} \RequirePackage{titlesec} \RequirePackage{titletoc} -\RequirePackage{quoting} \RequirePackage{fancyhdr} \RequirePackage[bottom]{footmisc} \RequirePackage{bibleref-parse} -\RequirePackage[style=sbl,indexing=cite,backend=biber]{biblatex} +\RequirePackage[style=sbl,indexing=cite]{biblatex} \RequirePackage{imakeidx} \RequirePackage{hyperref} -% work around bidi redefining theindex -\ifxetex - \let\imakeidxtheindex\theindex - \let\imakeidxendtheindex\endtheindex - \AtBeginDocument{% - \let\theindex\imakeidxtheindex - \let\endtheindex\imakeidxendtheindex - } -\fi - - % 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}}} @@ -86,32 +65,6 @@ \fi -% Set up languages - -\ifxetexorluatex - \setdefaultlanguage[variant=american]{english} - \setotherlanguage[variant=ancient]{greek} - \setotherlanguage{hebrew} - \ifxetex - \renewenvironment{hebrew}[1][]{% - \par - \raggedleft % add to right align paragraphs - \begin{otherlanguage}[#1]{hebrew}}% - {\end{otherlanguage}\par} - \else % luatex - \let\luatexpardir\pardir % luabidi needs this - \let\luatextextdir\textdir % luabidi needs this - % text direction gets stuffed up without these workarounds - \let\luatextextgreek\textgreek - \let\luatextextenglish\textenglish - \AtBeginDocument{% - \renewcommand{\textgreek}[1]{\bgroup\luatextextgreek{#1}\egroup} - \renewcommand{\textenglish}[1]{\bgroup\setLTR\luatextextenglish{#1}\egroup} - } - \fi -\fi - - % Set up document spacing \doublespacing @@ -136,8 +89,18 @@ % set up quotations -\quotingsetup{leftmargin=0.5in,rightmargin=0in,vskip=0pt} -\renewcommand*{\quotingfont}{\singlespacing\vspace*{-5pt}} +\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 |