summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.bbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-05-16 22:30:59 +0000
committerKarl Berry <karl@freefriends.org>2017-05-16 22:30:59 +0000
commit3d8a9d90818e4363451111a43e0501e64fcdced8 (patch)
treea792b33eb46af7ed5cbcb6b69ce3ad78a4aa717b /Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.bbx
parent34979adaa4a498ab8f2acb76715ef6e36871893a (diff)
biblatex-oxref (17may17)
git-svn-id: svn://tug.org/texlive/trunk@44385 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.bbx63
1 files changed, 63 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.bbx b/Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.bbx
new file mode 100644
index 00000000000..6b50f6a13c3
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-oxref/oxnotes.bbx
@@ -0,0 +1,63 @@
+%%
+%% This is file `oxnotes.bbx',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% oxref.dtx (with options: `bbx,n')
+%% ----------------------------------------------------------------
+%% biblatex-oxref --- Biblatex styles inspired by the Oxford Guide to Style
+%% Author: Alex Ball
+%% E-mail: a.j.ball@bath.ac.uk
+%% License: Released under the LaTeX Project Public License v1.3c or later
+%% See: http://www.latex-project.org/lppl.txt
+%% ----------------------------------------------------------------
+%%
+\def\Version{2017/05/14 v0.10}
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesFile{oxnotes.bbx}
+ [\Version\space Footnote-based bibliography style inspired by the Oxford Guide to Style]
+\RequireBibliographyStyle{oxref}
+\DeclareNameAlias{author}{bib-family-given/cite-given-family}
+\DeclareNameAlias[related:reviewof]{author}{given-family}
+\DeclareNameAlias{editor}{bib-family-given/cite-given-family}
+\DeclareNameAlias[related:reviewof]{editor}{given-family}
+\xpatchbibmacro{author}{%
+ \iftoggle{blx@ox@abbranon}{\bibcpsstring{anon}}{\bibcplstring{anon}}%
+}{%
+ \iftoggle{blx@ox@abbranon}{%
+ \iftoggle{blx@ox@scnames}{\bibcpsstring[\textsc]{anon}}{\bibcpsstring{anon}}%
+ }{%
+ \iftoggle{blx@ox@scnames}{\bibcplstring[\textsc]{anon}}{\bibcplstring{anon}}%
+ }%
+}{}{}
+\renewbibmacro*{postnote}{%
+ \iffieldundef{postnote}{}{%
+ \iffieldundef{pages}{%
+ \setunit{\postnotedelim}%
+ \printfield{postnote}%
+ }{%
+ \printtext{\addspace\bibstring{thiscite}\space}%
+ \printfield{postnote}}}}
+\DeclareStyleSourcemap{%
+ \maps[datatype=bibtex]{%
+ \map{
+ \pertype{mvbook}
+ \pertype{mvcollection}
+ \pertype{mvreference}
+ \pertype{proceedings}
+ \pertype{mvproceedings}
+ \pertype{report}
+ \step[fieldsource=maintitle]%
+ \step[fieldset=sorttitle, origfieldval]%
+ \step[fieldsource=volume]%
+ \step[fieldset=sorttitle, append, origfieldval]%
+ \step[fieldsource=title]%
+ \step[fieldset=sorttitle, append, origfieldval]%
+ }%
+ }%
+}
+%%
+%% Copyright (C) 2016 Alex Ball
+%%
+%% End of file `oxnotes.bbx'.