Skip to content

Commit

Permalink
Use list for origlanguage field for biblatex 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dcpurton committed Nov 16, 2017
1 parent 4efb367 commit 236e36d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion doc/biblatex-sbl-test.tex
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ \subsubsection{A Multivolume Work}
author = {Harnack, Adolf},
title = {History of Dogma},
translator = {Buchanan, Neil},
origlanguage = {the 3rd German ed.},
origlanguage = {from the 3rd German ed\adddot},
volumes = {7},
location = {Boston},
publisher = {Little, Brown},
Expand Down
2 changes: 1 addition & 1 deletion doc/biblatex-sbl.bib
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ @mvbook{harnack:1896-1905
author = {Harnack, Adolf},
title = {History of Dogma},
translator = {Buchanan, Neil},
origlanguage = {the 3rd German ed.},
origlanguage = {from the 3rd German ed\adddot},
volumes = {7},
location = {Boston},
publisher = {Little, Brown},
Expand Down
16 changes: 0 additions & 16 deletions latex/biblatex-sbl.def
Original file line number Diff line number Diff line change
Expand Up @@ -888,22 +888,6 @@
% ------------------------------------------------------------------
% LANGUAGE
% ------------------------------------------------------------------
% - use literals for origlanguage if no translation found
% ------------------------------------------------------------------

\renewcommand*{\lbx@lfromlang}{%
\iffieldundef{origlanguage}
{\unspace}
{\ifbibxstring{from\abx@field@origlanguage}
{\biblstring{from\thefield{origlanguage}}}
{from \printfield{origlanguage}}}}

\renewcommand*{\lbx@sfromlang}{%
\iffieldundef{origlanguage}
{\unspace}
{\ifbibxstring{from\abx@field@origlanguage}
{\bibsstring{from\thefield{origlanguage}}}
{from \printfield{origlanguage}}}}

\newbibmacro*{language}{%
\iflistundef{language}
Expand Down

0 comments on commit 236e36d

Please sign in to comment.