texlive[49232] Master/texmf-dist: biblatex-ext (23nov18)
commits+karl at tug.org
commits+karl at tug.org
Fri Nov 23 22:42:39 CET 2018
Revision: 49232
http://tug.org/svn/texlive?view=revision&revision=49232
Author: karl
Date: 2018-11-23 22:42:39 +0100 (Fri, 23 Nov 2018)
Log Message:
-----------
biblatex-ext (23nov18)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/biblatex-ext/CHANGES.md
trunk/Master/texmf-dist/doc/latex/biblatex-ext/README.md
trunk/Master/texmf-dist/doc/latex/biblatex-ext/biblatex-ext-examples.bib
trunk/Master/texmf-dist/doc/latex/biblatex-ext/biblatex-ext.pdf
trunk/Master/texmf-dist/doc/latex/biblatex-ext/biblatex-ext.tex
trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-tabular.sty
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-common.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-common.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ecomp.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ecomp.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-iecomp.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-iecomp.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tecomp.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tecomp.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tiecomp.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tiecomp.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-biblatex-aux.def
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-dashed-common.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.cbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.bbx
trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.cbx
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/biblatex-ext/blxextdoiapi.lua
trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa-doiapi.sty
trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa-tikzsymbols.sty
trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa.sty
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-ext/CHANGES.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-ext/CHANGES.md 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-ext/CHANGES.md 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,3 +1,23 @@
+# Version 0.6 (2018-11-23)
+See https://github.com/moewew/biblatex-ext/compare/v0.5a..v0.6
+- Sync `mergedate` code with `biblatex` 3.12
+ (https://github.com/plk/biblatex/pull/810
+ https://github.com/plk/biblatex/issues/752).
+- `biblatex` 3.12 is now recommended.
+- Added `\titleaddonpunct`.
+- Make `introcite` and `dashed` option available on per-entry and
+ per-type basis.
+ - `introcite=label` needs support of the bibliography environment,
+ so it is not officially supported if its is not set globally.
+ - Simplify code to set options at all three levels at the same time.
+- Added package for open access symbols and open access 'detection'.
+ See https://tex.stackexchange.com/q/459449/.
+ - The default detection relies on explicit configuration for all url,
+ doi and eprint-like and data in the `.bib` file.
+ - There is a Lua module that queries Unpaywall.org by DOI to find
+ open access info.
+ - A support package provides two open access symbols drawn with TikZ.
+
# Version 0.5a (2018-10-09)
See https://github.com/moewew/biblatex-ext/compare/v0.5...v0.5a
- Fixed a bug with `\footcites` and `\footcitetexts` in `ext-authoryear.cbx`
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-ext/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-ext/README.md 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-ext/README.md 2018-11-23 21:42:39 UTC (rev 49232)
@@ -66,12 +66,17 @@
- `ext-verbose-trad2.bbx` and `ext-verbose-trad2.cbx`
- `ext-verbose-trad3.bbx` and `ext-verbose-trad3.cbx`
- The package for tabular bibliographies `biblatex-ext-tabular.sty`
-
+- The package `biblatex-ext-oa.sty`
+ - The support package `biblatex-ext-oa-doiapi.sty`
+ - The Lua module `blxextdoiapi.lua`
+ - The symbol package `biblatex-ext-oa-tikzsymbols.sty`
+
## Licence
Copyright 2017-2018 Moritz Wemheuer
-This work consists of the `.bbx`, `.cbx` and `.def` files mentioned above.
+This work consists of the `.bbx`, `.cbx`, `.def`, `.sty` and `.lua` files
+mentioned above.
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License (LPPL), either
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-ext/biblatex-ext-examples.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-ext/biblatex-ext-examples.bib 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-ext/biblatex-ext-examples.bib 2018-11-23 21:42:39 UTC (rev 49232)
@@ -23,3 +23,26 @@
date = {1973},
options = {maxnames=1, uniquelist=false},
}
+
+ at article{cipriani,
+ author = {Cipriani, Alessandra and Hazra, Rajat Subhra
+ and Ruszel, Wioletta M.},
+ title = {Scaling limit of the odometer in divisible sandpiles},
+ journal = {Probability Theory and Related Fields},
+ date = {2018},
+ volume = {172},
+ number = {3},
+ pages = {829--868},
+ doi = {10.1007/s00440-017-0821-x},
+ doi+an = {=openaccess},
+}
+
+ at online{meckes,
+ author = {Elizabeth Meckes and Kathryn Stewart},
+ title = {On the eigenvalues of truncations
+ of random unitary matrices},
+ eprinttype = {arxiv},
+ eprint = {1811.08340},
+ eprintclass = {math.PR},
+ date = {2018-11-20}
+}
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-ext/biblatex-ext.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/biblatex-ext/biblatex-ext.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-ext/biblatex-ext.tex 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-ext/biblatex-ext.tex 2018-11-23 21:42:39 UTC (rev 49232)
@@ -13,21 +13,27 @@
\else
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
+ \input glyphtounicode
+ \pdfgentounicode=1
\fi
\usepackage[french,ngerman,british]{babel}
\usepackage{csquotes}
\usepackage[useregional]{datetime2}
-\usepackage{lmodern}
-\usepackage[mono=false]{libertine}
-\usepackage[libertine]{newtxmath}
+\iffontspec\else
+ \usepackage{lmodern}
+\fi
+\usepackage[mono=false]{libertinus}
\iffontspec
\setmonofont[Scale=0.78]{Bitstream Vera Sans Mono}
+ \usepackage{unicode-math}
+ \setmathfont[Scale=MatchUppercase]{libertinusmath-regular.otf}
\else
+ \usepackage[libertine]{newtxmath}
\usepackage[scaled=0.78]{beramono}
+ \usepackage{bm}
\fi
\usepackage{microtype}
\usepackage{hyphenat}
-\usepackage{bm}
\usepackage{booktabs}
\usepackage{multicol}
\usepackage[svgnames]{xcolor}
@@ -41,6 +47,7 @@
\addbibresource{biblatex-examples.bib}
\addbibresource{biblatex-ext-examples.bib}
\usepackage{biblatex-ext-tabular}
+\usepackage[tikzsymbol=plos]{biblatex-ext-oa}
\makeatletter
\defbibcheck{examplebib}{%
@@ -63,25 +70,6 @@
\printbibtabular[check=examplebib, heading=none]}
-\iffontspec
-\def\textvisiblespace{%
- \raisebox{-2.2pt}{%
- \mbox{\kern.04em\vrule \@height.5ex \@width.12ex}%
- \vbox{\hrule \@width.2em \@height.12ex}%
- \hbox{\vrule \@height.5ex \@width.12ex}%
- \kern.04em}}
-\fi
-
-\newcommand{\warnsymbol}{%
- \makebox[2em][c]{%
- \makebox[0pt][c]{\raisebox{.26em}{\LARGE\bfseries!}}%
- \makebox[0pt][c]{\fontsize{40}{40}\selectfont\color{red}$\bigtriangleup$}}}
-
-\newcommand*{\marginwarn}{%
- \leavevmode\marginpar{\raisebox{-1.5em}{\warnsymbol}}}
-\makeatother
-
-
\usepackage{ltxdockit}
\usepackage{btxdockit}
\usepackage{cleveref}
@@ -120,7 +108,8 @@
@proceedings, at reference, at report, at review, at set, at software, at standard,%
@suppbook, at suppcollection, at suppperiodical, at thesis, at unpublished, at video%
},
- morekeywords=[2]{author,title,date},
+ morekeywords=[2]{author,title,date,journal,volume,number,pages,doi,
+ eprint,eprinttype,eprintclass},
keywordstyle=[1]{\bfseries\spotcolor},
keywordstyle=[2]{\spotcolor},
sensitive=false,
@@ -132,6 +121,7 @@
moretexcs = {
dimexpr,arraybackslash,newcolumntype,anchor,driver,plain,plainlang,
anchorlang,
+ thefield,
setlength,bibhang,addcomma,adddot,addperiod,addcolon,addspace,
addnbspace,
mkbibbold,mkbibemph,mkbibbrackets,mkbibparens,
@@ -145,7 +135,9 @@
DeclareOuterCiteDelims,UndeclareOuterCiteDelims,DeclareOuterCiteDelimsAlias,
introcitepunct,volnumdelim,maintitletitledelim,voltitledelim,sernumdelim,
volnumdatedelim,locdatedelim,locpubdelim,publocdelim,pubdatedelim,
- extradateonlycompcitedelim,introcitesep,introcitewidth,introcitesep},
+ extradateonlycompcitedelim,introcitesep,introcitewidth,introcitesep,
+ DeclareOpenAccessFieldUrl,DeclareOpenAccessEprintUrl,
+ DeclareOpenAccessEprintAlias,DeclareOpenAccessUrlFieldPriority},
}
\lstdefinestyle{extblxstylebibtex}{%
@@ -238,6 +230,7 @@
\BeforeStartingTOC[toc]{\begin{multicols}{2}}
\AfterStartingTOC[toc]{\end{multicols}}
+\BeforeTOCHead[toc]{\pdfbookmark[1]{\contentsname}{contents}}
\newrobustcmd*{\tex}{\TeX}
\newrobustcmd*{\etex}{\mbox{e-TeX}}
@@ -254,6 +247,7 @@
\newrobustcmd*{\lppl}{\latex{} Project Public License}
\newrobustcmd*{\pdf}{\acr{PDF}}
\newrobustcmd*{\utf}{\mbox{\acr{UTF}-8}}
+\newrobustcmd*{\pgftikz}{PGF/Ti\emph{k}Z}
\pdfstringdefDisableCommands{%
\def\tex{TeX}%
@@ -421,7 +415,7 @@
\newcommand*{\ctan}{\mkbibacro{CTAN}}
\newcommand*{\gitbaseurl}{https://github.com/moewew/biblatex-ext}
-\newcommand*{\extblxversion}{0.5a}
+\newcommand*{\extblxversion}{0.6}
\newcommand*{\biber}{Biber}
\newcommand*{\gitissuelink}[1]{%
\href{\gitbaseurl/issues/#1}{issue \##1 on github}}
@@ -431,6 +425,37 @@
\newrobustcmd*{\CSdelimMark}{%
\leavevmode\marginpar{\CSdelim}}
+\newcommand*{\mpdl}{$\langle$}
+\newcommand*{\mpdr}{$\rangle$}
+
+\iffontspec
+ \newcommand*{\hmpdl}{$\langle$}
+ \newcommand*{\hmpdr}{$\rangle$}
+\else
+ \newcommand*{\hmpdl}{$\bm{\langle}$}
+ \newcommand*{\hmpdr}{$\bm{\rangle}$}
+\fi
+
+\makeatletter
+\iffontspec
+\def\textvisiblespace{%
+ \raisebox{-2.2pt}{%
+ \mbox{\kern.04em\vrule \@height.5ex \@width.12ex}%
+ \vbox{\hrule \@width.2em \@height.12ex}%
+ \hbox{\vrule \@height.5ex \@width.12ex}%
+ \kern.04em}}
+\fi
+\makeatother
+
+\newcommand{\warnsymbol}{%
+ \makebox[2em][c]{%
+ \makebox[0pt][c]{\raisebox{.26em}{\LARGE\bfseries!}}%
+ \makebox[0pt][c]{\fontsize{40}{40}\selectfont\color{red}$\bigtriangleup$}}}
+
+\newcommand*{\marginwarn}{%
+ \leavevmode\marginpar{\raisebox{-1.5em}{\warnsymbol}}}
+\makeatother
+
\titlepage{%
title = {The \sty{biblatex-ext} Bundle},
subtitle = {Extensions for the \sty{biblatex} standard styles},
@@ -438,7 +463,7 @@
author = {Moritz Wemheuer},
link = {mwemheu at gmail.com},%
revision = {\extblxversion},
- date = {\DTMDate{2018-10-09}},
+ date = {\DTMDate{2018-11-23}},
}
\hypersetup{%
@@ -461,6 +486,7 @@
jour-vol-delim
}
+
\begin{document}
\printtitlepage
@@ -584,7 +610,8 @@
\sty{tlmgr} for \texlive\fnurl{https://www.tug.org/texlive/pkginstall.html}).
If you must install this package manually, get the files from \ctan{}
and install the \sty{.bbx}, \sty{.cbx} and \sty{.def} files preferably to
-\path{tex/latex/biblatex-ext} of your local or home \TeX{} tree, the other
+\path{tex/latex/biblatex-ext} of your local or home \TeX{} tree%
+\fnurl{https://texfaq.org/FAQ-inst-wlcf}, the other
files (\path{CHANGES.md}, \path{README.md}, \path{biblatex-ext.tex},
\path{biblatex-ext.pdf} and \path{biblatex-ext-examples.bib}) go into
\path{doc/latex/biblatex-ext}. You may have to refresh your file name database
@@ -643,8 +670,7 @@
available on \ctan\fnurl{https://ctan.org/pkg/latex-sciences-humaines}.
If you read German you may be interested in Dominik Waßenhoven's two-part
series \foreignlanguage{ngerman}{\emph{Bibliographien erstellen mit
-\sty{biblatex}}}\fnurl{http://biblatex.dominik-wassenhoven.de/dtk.shtml}
-in \foreignlanguage{ngerman}{\emph{Die \TeX nische Komödie}}
+\sty{biblatex}}} in \foreignlanguage{ngerman}{\emph{Die \TeX nische Komödie}}
2/2008\fnurl{http://www.dante.de/DTK/Ausgaben/2008-2.pdf} (pp.~53--75)
and 4/2008\fnurl{http://www.dante.de/DTK/Ausgaben/2008-4.pdf} (pp.~31--51).
Please keep in mind that some of these texts were written a while ago and
@@ -1142,12 +1168,16 @@
\end{optionlist}
\subsection{Style-specific options}\label{sec:opt:style}
-The \opt{dashed} option of the \sty{authoryear}- and \sty{authortitle}-like
-bibliography styles allows for finer control over the dashes now.
\begin{optionlist}
\optitem[true]{dashed}{\opt{true}, \opt{false}, \opt{fullhash},
\opt{bibnamehash}}
+The \opt{dashed} option of the \sty{authoryear}- and \sty{authortitle}-like
+bibliography styles allows for finer control over the dashes than in the
+standard styles.
+The option is available globally and additionally on a per-type and per-entry
+level.
+
This option controls whether or not recurring lists of authors/editors in the
bibliography are replaced with a dash.
The standard values \opt{true} and \opt{false} are still valid and give the
@@ -1173,7 +1203,7 @@
\makeatletter
Assuming \kvopt{maxnames}{1} and no name list disambiguation
(\kvopt{uniquelist}{false}), the four entries
-\inputexamplebibfile[listing options={linerange={1-16,18-23,25},
+\inputexamplebibfile[listing options={linerange={1-16,18-23,25-25},
style = extblxstylebibtex}]
{biblatex-ext-examples.bib}
give
@@ -1229,10 +1259,14 @@
lists are only replaced if they are indistinguishable in the data source.
+
+\optitem[false]{introcite}{\opt{false}, \opt{plain}, \opt{label}}
The \opt{introcite} option is available for the bibliography styles of the
\sty{authoryear} and \sty{authortitle} family.
-It can not be used with citation styles of the \sty{verbose} family.
-\optitem[false]{introcite}{\opt{false}, \opt{plain}, \opt{label}}
+It can not be used with citation styles of the \sty{verbose} family and may
+produce undesired output or errors.
+The option is available globally and on a per-type and per-entry level, where
+only the values \opt{plain} (and the default \opt{false}) are supported.
This option controls whether or not the citation label is repeated in the
bibliography.
@@ -1277,7 +1311,9 @@
The label produced by the \opt{plain} option can be customised as follows.
\begin{ltxsyntax}
-\csitem{introcitepunct} The punctuation insterted between the label and the
+\csitem{introcitepunct}
+
+The punctuation insterted between the label and the
rest of the entry with \kvopt{introcite}{plain}.
The default value is a colon followed by a space.
\begin{bibexample}
@@ -1288,8 +1324,9 @@
\exampleprintbib{sigfridsson}
\end{bibexample}
\end{ltxsyntax}
+
\begin{keymarglistbook}
- \keyitem[bbx:introcite:plain:keeprelated] This toggle controls whether or
+\keyitem[bbx:introcite:plain:keeprelated] This toggle controls whether or
not the citation label is also repeated for default related entries.
The default value \opt{false} suppresses the label for related entries.
\begin{bibexample}[title={\texttt{\string\togglefalse\{%
@@ -1643,6 +1680,16 @@
\exampleprintbib{knuth:ct:a}
\end{bibexample}
+\csitem{titleaddonpunct}
+The punctuation between \bibfield{title}\slash\bibfield{subtitle} and
+\bibfield{maintitle} as well as other \bibfield{title}-like and
+\bibfield{maintitle}-like fields. The default is \cmd{newunitpunct}
+\begin{bibexample}
+\renewcommand*{\titleaddonpunct}{\highlight{\textbf{\addperiod}%
+ \textvisiblespace}\bibsentence}%<- hacky & hard-coded!
+\exampleprintbib{salam}
+\end{bibexample}
+
\csitem{jourvoldelim}
The delimiter between the \bibfield{journaltitle} and \bibfield{volume} fields
for \bibtype{article} if no \bibfield{series} is present.
@@ -1828,7 +1875,7 @@
\centering
\caption[Outer and inner citation delimiters by style]{\highlight[1]{Outer} and
\highlight[2]{inner} citation delimiters by style. If the style does not use
-the delimiters by default, $\langle$ and $\rangle$ are substituted in the
+the delimiters by default, \mpdl{} and \mpdr{} are substituted in the
appropriate place.}
\label{tab:citationdelims}
\begin{tabular}{@{}llll@{}}
@@ -1838,23 +1885,23 @@
Style family & \cmd{cite} & \cmd{parencite} & \cmd{textcite}\\
\midrule
\sty{alphabetic} & \highlightbf[1]{[}Knu84\highlightbf[1]{]} &
- \highlightbf[1]{[}Knu84\highlightbf[1]{]} & \highlight[1]{$\bm{\langle}$}Knuth
- \highlightbf[2]{[}2\highlightbf[2]{]}\highlight[1]{$\bm{\rangle}$}\\
+ \highlightbf[1]{[}Knu84\highlightbf[1]{]} & \highlightbf[1]{\hmpdl}Knuth
+ \highlightbf[2]{[}2\highlightbf[2]{]}\highlightbf[1]{\hmpdr}\\
\sty{numeric} & \highlightbf[1]{[}2\highlightbf[1]{]} &
- \highlightbf[1]{[}2\highlightbf[1]{]} & \highlight[1]{$\bm{\langle}$}Knuth
- \highlightbf[2]{[}2\highlightbf[2]{]}\highlight[1]{$\bm{\rangle}$}\\
-\sty{authortitle} & \highlight[1]{$\bm{\langle}$}Knuth,
- \highlight[2]{$\bm{\langle}$}\emph{\TeX book}\highlight[2]{$\bm{\rangle}$}%
- \highlight[1]{$\bm{\rangle}$} & \highlightbf[1]{(}Knuth,
- \highlight[2]{$\bm{\langle}$}\emph{\TeX book}\highlight[2]{$\bm{\rangle}$}%
- \highlightbf[1]{)} & \highlight[1]{$\bm{\langle}$}Knuth \highlightbf[2]{(}%
- \emph{\TeX book}\highlightbf[2]{)}\highlight[1]{$\bm{\rangle}$}\\
-\sty{authoryear} & \highlight[1]{$\bm{\langle}$}Knuth
- \highlight[2]{$\bm{\langle}$}1984\highlight[2]{$\bm{\rangle}$}%
- \highlight[1]{$\bm{\rangle}$} & \highlightbf[1]{(}Knuth
- \highlight[2]{$\bm{\langle}$}1984\highlight[2]{$\bm{\rangle}$}%
- \highlightbf[1]{)} & \highlight[1]{$\bm{\langle}$}Knuth
- \highlightbf[2]{(}1984\highlightbf[2]{)}\highlight[1]{$\bm{\rangle}$}\\
+ \highlightbf[1]{[}2\highlightbf[1]{]} & \highlightbf[1]{\hmpdl}Knuth
+ \highlightbf[2]{[}2\highlightbf[2]{]}\highlightbf[1]{\hmpdr}\\
+\sty{authortitle} & \highlightbf[1]{\hmpdl}Knuth,
+ \highlightbf[2]{\hmpdl}\emph{\TeX book}\highlightbf[2]{\hmpdr}%
+ \highlightbf[1]{\hmpdr} & \highlightbf[1]{(}Knuth,
+ \highlightbf[2]{\hmpdl}\emph{\TeX book}\highlightbf[2]{\hmpdr}%
+ \highlightbf[1]{)} & \highlightbf[1]{\hmpdl}Knuth \highlightbf[2]{(}%
+ \emph{\TeX book}\highlightbf[2]{)}\highlightbf[1]{\hmpdr}\\
+\sty{authoryear} & \highlightbf[1]{\hmpdl}Knuth
+ \highlightbf[2]{\hmpdl}1984\highlightbf[2]{\hmpdr}%
+ \highlightbf[1]{\hmpdr} & \highlightbf[1]{(}Knuth
+ \highlightbf[2]{\hmpdl}1984\highlightbf[2]{\hmpdr}%
+ \highlightbf[1]{)} & \highlightbf[1]{\hmpdl}Knuth
+ \highlightbf[2]{(}1984\highlightbf[2]{)}\highlightbf[1]{\hmpdr}\\
\bottomrule
\end{tabular}
\end{table}
@@ -1962,7 +2009,8 @@
friends to define the opening and closing delimiters, otherwise you need to
define them manually.
-All styles of \sty{biblatex-ext} define the following wrapper commands
+All styles of \sty{biblatex-ext} define the wrapper commands listed in
+\cref{tab:delimwrappers}.
\begin{table}[btph]
\centering
\caption{Delimiter wrappers defined by \sty{biblatex-ext}}
@@ -2176,7 +2224,7 @@
Within the \prm{row code} argument the following macros are defined and can be
used to typeset the result of bibliography macros.
-Every cell should normally be wrapped into exactly one of the following macro
+Each cell should normally be wrapped into exactly one of the following macros
since they are responsible for providing the necessary entry data to the
bibliography macros.
@@ -2191,10 +2239,12 @@
\cmditem{anchor}{code}
-Like \cmd{plain}, and but additionally sets a link anchor for the current entry.
-There should only be one \cmd{anchor} or \cmd{anchorlang} per row,
+Like \cmd{plain}, but additionally sets a link anchor for the current entry.
+That link anchor is used when a citation links to the bibliography entry.
+There should only be one \cmd{anchor} or \cmd{anchorlang} per entry (and
+hence per row),
and for proper linking there should be at least one.
-Usually \cmd{anchor} or \cmd{anchorlang} is the first cell in the row.
+Usually \cmd{anchor} or \cmd{anchorlang} is the first cell in a row.
\cmditem{anchorlang}{code}
@@ -2206,8 +2256,8 @@
This always uses the entry language if language switching is enabled.
The \prm{precode} argument can be used to execute code before the driver
is executed.
-Usually this would be the last cell in a row, duplicate information can be
-cleaned up with help of the \prm{precode} argument.
+Usually \cmd{driver} would be issued in the last (and widest) cell in a row,
+duplicate information can be cleaned up with help of the \prm{precode} argument.
Recall that standard \env{tabular} can't break across pages, so you may want
to give \env{longtable} a try.
@@ -2318,6 +2368,489 @@
\end{ltxsyntax}
\clearpage
+\section{Open Access Symbols}\label{sec:oasymb}
+The package \sty{biblatex-ext-oa} was inspired by a question%
+\fnurl{https://tex.stackexchange.com/q/459449/35864}
+by pluton\fnurl{https://tex.stackexchange.com/users/371/pluton} on TeX.SX
+about promoting open access works by adding a small open access symbol into
+the margin.
+
+The package must be loaded after \sty{biblatex}
+and is not tied to use with styles of this bundle, though it can not be
+guaranteed that everything will work out of the box with other styles.
+\begin{biblatexcode}
+\usepackage[(*@\prm{\sty{biblatex} options}@*)]{biblatex}
+(*@\dots @*)
+\usepackage[(*@\prm{\sty{biblatex-ext-oa} options}@*)]{biblatex-ext-oa}
+\end{biblatexcode}
+
+The package may load the support packages \sty{biblatex-ext-oa-doiapi} and
+\sty{biblatex-ext-oa-tikzsymbols}.
+The preferred way to load these packages is with \sty{biblatex-ext-oa}'s
+package options.
+It should usually not be necessary to load these two packages directly with
+\cmd{usepackage}, but it is possible to use them as stand-alone packages
+should the need arise in other situations.
+
+The package \sty{biblatex-ext-oa} provides the following load-time options.
+\begin{optionlist}
+\boolitem[true]{enable}
+
+This option controls whether the package is only loaded (\opt{false}) or
+loaded and active (\opt{true}).
+
+\enquote{Active} means that the initial state of the global bibliography option
+\opt{openaccess} is \opt{auto} and that useful default settings are applied for
+semi-automatic open access detection.
+These useful defaults include redefinitions of the bibmacro \bibmacro{begentry}
+and, if \opt{doiapi} is enabled, also \bibmacro{doi+eprint+url}.
+
+If the package is loaded with \opt{enable} set to \opt{false} the global
+bibliography option \opt{openaccess} will be set to \opt{false} and no sensible
+defaults are defined for the semi-automatic open access detection.
+
+\optitem[false]{tikzsymbol}{\opt{true}, \opt{false}, \prm{string}}
+
+Load the support package \sty{biblatex-ext-oa-tikzsymbols} with its load-time
+option \opt{symbol} set to \prm{string}.
+The values \opt{true} and \opt{false} are provided for convenience.
+\opt{false} does not load the package at all, \opt{true} is like giving the
+value \opt{plos}.
+
+See \cref{sec:oa-symbol} for a thorough discussion of the available symbols
+as well as a short note on their respective licenses.
+
+\marginwarn Note that \sty{biblatex-ext-oa-tikzsymbols} will load \pgftikz
+\fnurl{https://ctan.org/pkg/pgf} to draw the open access symbols.
+If you prefer a more light-weight solution you can define a symbol yourself
+with an external graphics file.
+
+\marginwarn
+Note further that for the package \sty{biblatex-ext-oa} to work properly
+the macro \cmd{oasymbol} must be defined and should contain an open access
+symbol that can be printed in the margin.
+The package \sty{biblatex-ext-oa} itself does not provide a defintion for
+\cmd{oasymbol} if the option \opt{tikzsymbol} is not used.
+
+\boolitem[false]{doiapi}
+
+Whether or not to the support package \sty{biblatex-ext-oa-doiapi},
+which provides a Lua module that can be used to query open access information
+from Unpaywall\fnurl{https://unpaywall.org/} via the DOI of an entry.
+
+\marginwarn The package \sty{biblatex-ext-oa-doiapi} and hence this option can
+only be used with \lualatex.
+\end{optionlist}
+
+The following macros in \sty{biblatex-ext-oa} are also of interest.
+\begin{ltxsyntax}
+\cmditem{LoadTikZOASymbol}[symbol]
+
+This command provides an alternative way of loading the
+\sty{biblatex-ext-oa-tikzsymbols} package.
+The optional argument \prm{symbol} has the same meaning as the possible values
+for the \opt{tikzsymbol} package option.
+
+The command can only be used in the preamble.
+It may only be used once.
+
+\cmditem{oasymbol}
+
+This commands holds the little symbol that is going to be printed in the margin
+to mark open access publications.
+
+\marginwarn The command is initially undefined and must be defined for the
+package to work.
+One way of giving this command a useful definition is via the \opt{tikzsymbol}
+option of \sty{biblatex-ext-oa}.
+\end{ltxsyntax}
+
+An entry will be marked as open access if it has a \enquote{best open access
+URL}.
+This best open access URL will be determined according to the rules set out by
+the \opt{openaccess} bibliography option (see \cref{sec:oa:detect}) in the
+\cmd{AtDataInput} hook,
+it is stored in the newly defined field \bibfield{bestoaurl}.
+\begin{fieldlist}
+\fielditem{bestoaurl}{literal}
+This field holds the \enquote{best open access URL} as determined by the open
+access detection outlined in \cref{sec:oa:detect}.
+
+Note that this field need not hold the URL in expanded form.
+\end{fieldlist}
+
+Depending on the load-time options the package may define the following two
+bibliography macros.
+\begin{keymarglistbook}
+\keyitem[oamark]
+
+Prints the open access symbol if a best open access URL is available.
+This bibliography macro is available if the package is loaded with \opt{enable}
+set to \opt{true}
+
+\keyitem[api:bestoaurl]
+
+Display the best open access URL according to the Unpaywall API.
+The URL is not shown if it coincides with the DOI, the check for that is
+performed by \cmd{OpenaccessURLisDOI} (see \cref{sec:oa:doiapi}).
+This macro is only available if both the \opt{enable} and the \opt{doiapi}
+options are set to \opt{true}.
+
+This macro is useful in connection with the Unpaywall API since the best
+open access URL may not be amongst the fields that are already displayed
+in the entry.
+\end{keymarglistbook}
+
+With \opt{enable} set to \opt{true} the package will furtermore redefine the
+bibliography macro \bibmacro{begentry} to execute the bibliography macro
+\bibmacro{oamark}.
+If additionally \opt{doiapi} is \opt{true} the bibliography macro
+\bibmacro{doi+eprint+url} will be redefined to include a call to
+\bibmacro{api:bestoaurl}.
+
+\subsection{Open access detection}\label{sec:oa:detect}
+The heart of the package \sty{biblatex-ext-oa} is the bibliography option
+\opt{openaccess}, which can be set globally, per type or per entry.
+
+A short example document can be found at
+\url{https://github.com/moewew/biblatex-ext/blob/master/oaslinks.tex}.
+
+\begin{optionlist}
+\optitem[auto/none]{openaccess}{\opt{auto}, \opt{doiapi}, \opt{forcedoiapi},
+ \opt{true}, \opt{false}, \opt{none}, \prm{open access field}}
+
+This option controls how the best open access URL is detected.
+The initial value is \opt{none} when the package is loaded with the \opt{enable}
+option set to \opt{false}, otherwise~-- and by default~-- it is \opt{auto}.
+
+All following values are valid at all three levels (global, per-type and
+per-entry), but it may not be useful to use a particular option at all levels.
+\begin{valuelist}
+\item[auto] Use a semi-automatic heuristic to find the best open access URL.
+
+\item[all] Assume that all known \enquote{open access fields} contain an open
+ access URL.
+
+ Note that an entry still needs at least one field that open access field
+ for the open access symbol to show up.
+
+\item[none] Assume that no known \enquote{open access field} contains an open
+ access URL.
+
+ The value \opt{none} may be used to disable the \opt{openaccess} feature.
+
+\item[doiapi] Use API queries from the \sty{biblatex-ext-oa-doiapi} package
+ to determine the best open access link from the DOI.
+
+ \marginwarn This option requires that the \opt{doiapi} package option be set
+ to \opt{true} and only works with \lualatex.
+ Furthermore it needs a DOI in the \bibfield{doi} field.
+ If the \bibfield{doi} field is empty, this option falls back to \opt{auto}.
+
+\item[onlydoiapi] Like \opt{doiapi}, but does not fall back to \opt{auto}
+ in case no DOI is present.
+
+\item[forcedoiapi] Like \opt{doiapi}, but overrides more specific option levels
+ that would say otherwise.
+
+ By default more specific options take precedence over more general options,
+ that means that a per-entry option trumps a per-type option, which in turn
+ overrides the global setting.
+ If \opt{forcedoiapi} is set it will prevail over more specific options that
+ would say otherwise. A common use case is to override per-entry options with
+ a global \opt{forcedoiapi}.
+
+\item[forceonlydoiapi] A combination of \opt{onlydoiapi} and \opt{forcedoiapi}.
+ This options overrides all more specific values and does not fall back to
+ \opt{auto} in case the DOI is not given.
+
+\item[true] An alias for \opt{all}.
+\item[false] An alias for \opt{none}.
+
+\item[\prm{open access field}] Specifies that the open access version is given
+ by \prm{open access field}.
+ This value would normally be used only on a per-enry level.
+
+ Any field for which \cmd{DeclareOpenAccessFieldUrl} has declared a URL
+ specification is a valid \enquote{open access field}.
+\end{valuelist}
+
+\end{optionlist}
+
+The heuristics to find the best open access link are governed
+by the following commands and rely on information present in the \sty{.bib} file
+(ideally in field annotations).
+
+\begin{ltxsyntax}
+\cmditem{DeclareOpenAccessFieldUrl}[openness]{field}{url spec}
+
+Declares \prm{field} to be an \enquote{open access field}.
+The code for \prm{url spec} should expand to the full URL under which the entry
+can be accessed.
+The optional \prm{openness} argument indicates whether the URL will always be
+open access (\texttt{always}) or whether it is only open access under certain
+conditions (\texttt{conditional});
+if it is not present \texttt{conditional} is assumed.
+
+If the package is loaded with \opt{enable} set to \opt{true},
+the following declarations are active.
+\begin{biblatexcode}
+\DeclareOpenAccessFieldUrl{url}{\thefield{url}}
+\DeclareOpenAccessFieldUrl{doi}{https://doi.org/\thefield{doi}}
+\end{biblatexcode}
+
+\cmditem{UndeclareOpenAccessFieldUrl}{field}
+
+Disable \prm{field} as \enquote{open access field} and remove its mapping
+to a URL.
+
+\cmditem{DeclareOpenAccessEprintUrl}[openness]{eprinttype}{url spec}
+
+Declares the \bibfield{eprinttype} \prm{eprinttype} to be an
+\enquote{open access eprint type}.
+The code for \prm{url spec} should expand to the full URL under which the entry
+can be accessed.
+
+The optional \prm{openness} argument indicates whether the URL will always be
+open access (\texttt{always}) or whether it is only open access under certain
+conditions (\texttt{conditional});
+if it is not present \texttt{conditional} is assumed.
+
+The \texttt{always} decision can be overridden on a per-entry basis by
+giving the field annotation \texttt{closedaccess}.
+If a field has openness \texttt{conditional} it is only considered for a
+particular entry if the field annotation \texttt{openaccess} is set.
+
+If the package is loaded with \opt{enable} set to \opt{true},
+the following declarations are active.
+\begin{biblatexcode}
+\DeclareOpenAccessEprintUrl{jstor}{%
+ http://www.jstor.org/stable/\thefield{eprint}}
+\DeclareOpenAccessEprintUrl{hdl}{%
+ http://hdl.handle.net/\thefield{eprint}}
+\DeclareOpenAccessEprintUrl{pubmed}{%
+ http://www.ncbi.nlm.nih.gov/pubmed/\thefield{eprint}}
+\DeclareOpenAccessEprintUrl[always]{arxiv}{%
+ https://arxiv.org/\abx@arxivpath/\thefield{eprint}}
+\end{biblatexcode}
+Note the optional argument \texttt{always} for \bibfield{arxiv}, because
+articles on the arXiv are always open access.
+
+\cmditem{DeclareOpenAccessEprintAlias}{alias}{eprinttype}
+
+Handle the open access URL detection for \prm{alias} exactly as that for
+\prm{eprinttype}.
+
+If the package is loaded with \opt{enable} set to \opt{true},
+the following declarations are active.
+\begin{biblatexcode}
+\DeclareOpenAccessEprintAlias{JSTOR}{jstor}
+\DeclareOpenAccessEprintAlias{HDL}{hdl}
+\DeclareOpenAccessEprintAlias{PubMed}{pubmed}
+\DeclareOpenAccessEprintAlias{arXiv}{arxiv}
+\end{biblatexcode}
+
+\cmditem{UndeclareOpenAccessEprintUrl}{eprinttype}
+
+Disable \prm{eprinttype} as \enquote{open access eprint type} and remove its
+mapping to a URL.
+
+\cmditem{DeclareOpenAccessUrlFieldPriority}{fields}
+
+Define the priority order of \enquote{open access fields} if several fields
+contain valid open access URLs.
+The fields processed in the given order and the last field prevails, meaning
+that fields later in the list have higher priority.
+
+The default definition if the package is active is
+\begin{biblatexcode}
+\DeclareOpenAccessUrlFieldPriority{url,eprint,doi}
+\end{biblatexcode}
+which means that the DOI is given preference over eprints, which in turn
+prevail over the \bibfield{url} field.
+\end{ltxsyntax}
+
+The \opt{auto} detection works as follows.
+\begin{itemize}
+\item The best known open access URL is cleared.
+\item For each non-empty field listed in \cmd{DeclareOpenAccessUrlFieldPriority}
+ the URL specification is obtained.
+ \begin{itemize}
+ \item If the field has \prm{openness} \texttt{always}, the best known open
+ access URL is updated with the new value, unless the field has been
+ explicitly marked as closed acces with the field annotation
+ \texttt{closedaccess}.
+ \item If the field has \prm{openness} \texttt{conditional}, the best known
+ open access URL is updated with the new value if the field has been marked
+ with the field annotation \texttt{openaccess}.
+ \end{itemize}
+\end{itemize}
+
+For \opt{auto}-detection, an open access article with DOI would ideally
+look like this.
+% cipriani
+\inputexamplebibfile[listing options={linerange={27-38},
+ style = extblxstylebibtex}]
+ {biblatex-ext-examples.bib}
+Preprints on the arXiv, on the other hand, need no field annotation, because
+they are always open access.
+% meckes
+\inputexamplebibfile[listing options={linerange={40-48},
+ style = extblxstylebibtex}]
+ {biblatex-ext-examples.bib}
+\makeatletter
+\renewcommand{\extblx at oa@marginmark at do}{%
+ \vbox to 0pt{%
+ \kern-3\dp\strutbox
+ \strut
+ \hfill
+ \rlap{\kern.6em
+ \ifhyperref
+ {\href{\thefield{bestoaurl}}}
+ {\@firstofone}%
+ {\oasymbol}}
+ \vss
+ }%
+}
+\makeatother
+\begin{bibexample}
+\exampleprintbib{cipriani,meckes,sigfridsson}
+\end{bibexample}
+
+If the \opt{openaccess} option is set to one specific field only, only
+that field will be taken into consideration and it will be assumed that the
+field contains an open access link unless the field annotation
+\texttt{closedaccess} is set.
+In particular the \prm{openness} of each field does not play a role.
+
+
+\subsection{Open access detection with the Unpaywall API}\label{sec:oa:doiapi}
+Inspired by Eric Marsden's%
+\fnurl{https://tex.stackexchange.com/users/29621/eric-marsden}
+answer to the open access symbol question on TeX.SX, the package
+\sty{biblatex-oa-doiapi}, which can be loaded via the \opt{doiapi} option
+of \sty{biblatex-oa}, provides means to automatically find the best open
+access link to a given article via its DOI by querying the Unpaywall API%
+\fnurl{https://unpaywall.org/}.
+
+\marginwarn This package can only be used with \lualatex{} and needs online
+access.
+Furthermore the Unpaywall API requires an email address and asks to limit
+calls to 100000 per day\fnurl{https://unpaywall.org/products/api}.
+
+To avoid too many calls to the API, the package caches its information in the
+temporary \sty{.oai} file.
+It is safe to delete that file at any point, but if you do so the next
+\lualatex{} run may take a while, because all information has to be retrieved
+from the APIs.
+To avoid old information sticking around for too long you can set a cache
+expiration period.
+
+\begin{ltxsyntax}
+\cmditem{SetDOIAPIMail}{email}
+
+Define the email address that is going to be used for API queries that require
+an email.
+
+\marginwarn
+There is no predefined default email address.
+If the package is loaded and no email was provided until the
+beginning of the document (as tested in an \cmd{AtBeginDocument} hook)
+you will recieve a warning.
+A fatal error will be thrown if you try to query the Unpaywall database
+without an email.
+
+\cmditem{SetDOIAPICacheExpiration}{days}
+
+Set the expiration period for the cache.
+If the information for an entry in the cache is older than \prm{days} days
+it will be queried again.
+The default expiration period is seven days.
+
+\cmditem{IsOpenaccess}{DOI}{true}{false}
+
+Expands to \prm{true} if the DOI is an open access work according to the
+Unpaywall database and to \prm{false} otherwise.
+
+\cmditem{GetOpenaccessURLWrapped}{DOI}
+
+Obtain the best open access URL as returned by the Unpaywall API wrapped in
+the \cmd{url} macro.
+
+\cmditem{OpenaccessURLisDOI}{DOI}{true}{false}
+
+Expands to \prm{true} if the best open access URL as resturned by the Unpaywall
+API is the DOI and to \prm{false} otherwise.
+\end{ltxsyntax}
+
+
+
+\subsection{Open access symbols with Ti\emph{k}Z}\label{sec:oa-symbol}
+The main purpose of the package \sty{biblatex-ext-oa-tikzsymbols}
+is to define the command \cmd{oasymbol}.
+As mentioned above, usually this package is not going to be loaded as a
+stand-alone package, instead it is loaded via \sty{biblatex-ext-oa}.
+
+If used as a stand-alone package, \sty{biblatex-ext-oa-tikzsymbols} has one
+load-time option.
+\begin{optionlist}
+\optitem{symbol}{\opt{plos}, \opt{oanet}}
+
+This options determines which of the two provided symbols is going to be used
+for \cmd{oasymbol}.
+
+\begin{valuelist}
+\item[plos] Use the open access symbol by PLOS | Public Library of Science%
+ \fnurl{https://www.plos.org/} \csuse{extblx at oasymbol@plos}.
+
+ The drawing is based on a CC0 work by PLoS, modified by Wikipedia users
+ Nina, Beao, and JakobVoss%
+\fnurl{https://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg}.
+
+\item[oanet] Use the open access symbol by open-access.net%
+ \fnurl{https://open-access.net/}
+ \csuse{extblx at oasymbol@oanet}.
+
+ The drawing is based on the logo uploaded to Wikimedia%
+ \fnurl{https://commons.wikimedia.org/wiki/File:Open_access.svg}
+ and originally from open-access.net%
+ \fnurl{https://open-access.net/fileadmin/logos/oa.svg}.
+ Wikimedia claims the content does not meet the threshold of originality
+ for copyright protection.
+ Even if that is not the case, the legal notices on open-access.net%
+ \fnurl{https://open-access.net/DE-EN/provider-legal-notices-and-terms/}
+ place all contents under a Creative Commons 4.0 Attribution International
+ (CC BY 4.0) Licence\fnurl{https://creativecommons.org/licenses/by/4.0/}
+ unless stated otherwise.
+ The logo designer is listed as
+ \emph{Medien + Design\fnurl{http://www.cedis.fu-berlin.de/mediendesign/},
+ Center for Digital Systems,
+ Competence Center for E-Learning and Multimedia, Freie Universität Berlin}.
+
+ There is no implication that the open-access.net logo is not covered by
+ the CC BY 4.0 terms.
+ Indeed, the German \enquote{about us} page explicitly states
+ \foreignquote{ngerman}{%
+ Das Logo der Informationsplattform darf nachgenutzt werden,
+ gerne mit einem Link zu open-access.net.}%
+ \fnurl{https://open-access.net/ueber-uns/}
+ The English version has \enquote{The logo of the information platform
+ may be reused with a link to open-access.net}%
+ \fnurl{https://open-access.net/DE-EN/about-us/}.
+ While the German version leaves some leeway as to whether or not a link is
+ required as attribution, the English version seems more explicit.
+\end{valuelist}
+\end{optionlist}
+
+Apart from \cmd{oasymbol} the package only defines one other user-level command.
+\begin{ltxsyntax}
+\cmditem{DefineTikZOASymbol}[symbol]
+
+This command redefines \cmd{oasymbol} to point to either the PLOS version or
+the open-access.net version of the logo.
+\end{ltxsyntax}
+
+\clearpage
\section{Revision History}\label{sec:log}
The GitHub repository of this project uses release tags, so you can compare
the changes in source code there.\footnote{\url{\gitbaseurl/compare/}}
@@ -2325,6 +2858,13 @@
The numbers on the right indicate the relevant section of the manual.
\begin{changelog}
+\begin{release}{0.6}{2018-11-23}
+ \item Require \sty{biblatex} 3.12
+ \item Make \opt{dashed} and \opt{introcite} options available on a per-entry
+ and per-type basis\see{sec:opt:style}
+ \item Added \cs{titleaddonpunct}\see{sec:opt:punct}
+ \item Add \sty{biblatex-ext-oa} package for open access symbols\see{sec:oasymb}
+\end{release}
\begin{release}{0.5a}{2018-10-09}
\item Fix a bug with \cmd{footcites} and \cmd{footcitetexts} in
\sty{ext-authoryear}
@@ -2369,7 +2909,7 @@
\end{changelog}
\begin{bibexample}[breakable]
-\printbibliography[title={Example \refname}]
+\printbibliography[heading=bibintoc, title={Example \refname}]
\end{bibexample}
\clearpage
Added: trunk/Master/texmf-dist/doc/latex/biblatex-ext/blxextdoiapi.lua
===================================================================
--- trunk/Master/texmf-dist/doc/latex/biblatex-ext/blxextdoiapi.lua (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/biblatex-ext/blxextdoiapi.lua 2018-11-23 21:42:39 UTC (rev 49232)
@@ -0,0 +1,252 @@
+blxextdoiapi = blxextdoiapi or {}
+
+local blxextdoiapi_module = {
+ name = "blxextdoiapi",
+ version = "v0.6",
+ date = "2018/11/23",
+ description = "Obtain open access information from DOI via unpaywall.org",
+ author = "Moritz Wemheuer",
+ license = "LPPL v1.3c",
+ url = "https://github.com/moewew/biblatex-ext/",
+}
+-- inspired by Eric Marsden's answer to https://tex.stackexchange.com/q/459449/
+
+local err, warn, info, log = luatexbase.provides_module(blxextdoiapi_module)
+
+local error = err or
+ (function (s) luatexbase.module_error(blxextdoiapi_module.name, s) end)
+local warning = warn or
+ (function (s) luatexbase.module_warning(blxextdoiapi_module.name, s) end)
+local info = info or
+ (function (s) luatexbase.module_info(blxextdoiapi_module.name, s) end)
+local log = log or
+ (function (s) luatexbase.module_info(blxextdoiapi_module.name, s) end)
+
+
+local http = require("socket.http")
+local json = utilities.json
+local os_time = os.time
+local os_date = os.date
+local os_difftime = os.difftime
+local format = string.format
+local gsub = string.gsub
+local byte = string.byte
+local texwrite = tex.write
+
+local catpackage
+if luatexbase.catcodetables then
+ catpackage = luatexbase.catcodetables["latex-package"] -- luatexbase
+else
+ catpackage = luatexbase.registernumber("catcodetable at atletter") -- ltluatex
+end
+
+local function texsprint(s)
+ tex.sprint(catpackage, s)
+end
+
+-- global database of DOIs
+-- is going to be loaded from \jobname.oai beforehand
+-- if the file exists
+oadb = oadb or {}
+
+-- parse YYYY-MM-DD date as string (UTC time!)
+-- os.time is usually local time, hence the utc_offset to get UTC
+-- see also https://stackoverflow.com/q/4105012
+local function ymdstr_to_date(date_str)
+ local date_pattern = "(%d+)-(%d+)-(%d+)"
+ local utc_offset = os_difftime(os_time(), os_time(os_date("!*t")))
+ local year, month, day = date_str:match(date_pattern)
+
+ if year and month and day then
+ return os_time({year = year, month = month, day = day, sec=utc_offset})
+ end
+
+ return nil
+end
+
+local TODAY_STR = os_date("!%Y-%m-%d")
+local TODAY = ymdstr_to_date(TODAY_STR)
+
+local SECONDS_PER_DAY = 86400
+
+-- info in oadb expires after blxextdoiapi.cache_expire days
+-- if the info is older than that is_recent_info will return false
+-- can be set with \SetDOIAPICacheExpiration
+local cache_expire = 7
+
+-- this includes a test if there is info at all
+local function is_recent_info(doi, days, api)
+ if oadb[doi] and oadb[doi]["cache_date_" .. api] then
+ return os_difftime(TODAY, ymdstr_to_date(oadb[doi]["cache_date_" .. api]))
+ < days * SECONDS_PER_DAY
+ end
+
+ return false
+end
+
+local function chr_to_perchex (chr)
+ return format("%%%02X", byte(chr))
+end
+
+local function url_encode(url)
+ if url then
+ return gsub(url, "([%W])", chr_to_perchex)
+ end
+
+ return nil
+end
+
+local function query_json_api(url)
+ body, code, headers = http.request(url)
+ if body then
+ -- JSON escapes don't quite work for Lua
+ -- https://tools.ietf.org/html/rfc8259, §7
+ -- http://lua-users.org/lists/lua-l/2017-04/msg00100.html
+ -- query DOI 10.1371/journal.pbio.2005099 from Unpaywall
+ -- to see what goes wrong
+ body = body:gsub("\\u(%x%x%x%x)","\\u{%1}")
+ return json.tolua(body), code
+ end
+
+ return nil, code
+end
+
+local function get_doi_info(doi)
+ local url = "https://doi.org/api/handles/" .. url_encode(doi)
+ local doi_info, code = query_json_api(url)
+
+ if doi_info then
+ oadb[doi] = oadb[doi] or {}
+ oadb[doi]["cache_date_doi"] = TODAY_STR
+ oadb[doi]["is_valid"] = (doi_info["responseCode"] == 1)
+ info("Successfully queried doi.org for info on\n" .. doi)
+ return oadb[doi]["is_valid"]
+ end
+
+ warning("Failed to obtain DOI info\nfrom doi.org for\n"
+ .. doi .. "\nerror code " .. code)
+ return false
+end
+
+local function is_valid_doi(doi)
+ if is_recent_info(doi, blxextdoiapi.cache_expire, "doi") then
+ return oadb[doi]["is_valid"]
+ end
+
+ return get_doi_info(doi)
+end
+
+-- email is required, error out if not given
+-- Unfortunately, this gives a weird Lua dump as well and one has to scroll
+-- up to see the error, but it felt like cheating shoehorning in
+-- a usual TeX error instead of the generic LuaTeX error provided by ltluatex.
+-- Only makes sense if the DOI is valid.
+local function get_unpaywall_info(doi)
+ if not is_valid_doi(doi) then
+ return nil
+ elseif not blxextdoiapi.mail or blxextdoiapi.mail == "" then
+ error("No mail address supplied.\n" ..
+ "You must give a valid email address\n" ..
+ "to be able to use the Unpaywall API\n")
+ return nil
+ end
+
+ local url = "https://api.unpaywall.org/v2/" .. doi
+ .. "?email=" .. blxextdoiapi.mail
+ local upw_info, code = query_json_api(url)
+
+ if code == 200 and upw_info then
+ oadb[doi] = oadb[doi] or {}
+ oadb[doi]["cache_date_upw"] = TODAY_STR
+ -- Don't read "is_oa", we go to the URL directly.
+ if upw_info["best_oa_location"] then
+ oadb[doi]["oa_url"] = upw_info["best_oa_location"]["url_for_landing_page"]
+ or upw_info["best_oa_location"]["url"]
+ or upw_info["best_oa_location"]["url_for_pdf"]
+ -- As it turns out url_for_landing_page might be null
+ -- even though there is a url and a url_for_pdf.
+ -- http://unpaywall.org/data-format does not explicitly list
+ -- url_for_landing_page as String|Null like other null-able objects.
+ -- But request 10.1007/s00163-016-0235-2 to see this issue
+ -- (at least updated: "2018-07-28T00:37:18.524676").
+ -- I don't understand why Unpaywall returns two objects in the first place
+ -- they are clearly the same. Yet the one identified as 'best' has a
+ -- longer, weird URL and no landing page. It was probably chosen because
+ -- it is marked as having been updated more recently.
+ else
+ oadb[doi]["oa_url"] = nil
+ end
+ info("Successfully queried unpaywall.org\n"
+ .. "for info on\n" .. doi)
+ return oadb[doi]["oa_url"]
+ end
+
+ warning("Failed to obtain open access info\n"
+ .. "from unpaywall.org for DOI\n" .. doi .. "\n"
+ .. "error code: " .. code)
+ return nil
+end
+
+
+local function get_openaccess_url(doi)
+ if is_recent_info(doi, blxextdoiapi.cache_expire, "upw") then
+ return oadb[doi]["oa_url"]
+ end
+
+ return get_unpaywall_info(doi)
+end
+
+-- returns false if there is no open access URL since the RHS ~= nil
+local function openaccess_url_is_doi(doi)
+ return get_openaccess_url(doi) == "https://doi.org/" .. doi
+end
+
+local function is_openaccess(doi)
+ return get_openaccess_url(doi) ~= nil
+end
+
+-- For TeX. I'd have liked this better in the .sty, but the whole \ escape
+-- malarkey made that a pain, so the function is here now.
+local function assign_openaccess_url_to(macro, doi)
+ local url = get_openaccess_url(doi)
+ if url then
+ texsprint("\\def"..macro.."{")
+ texwrite(url)
+ texsprint("}")
+ end
+end
+
+-- make conditionals usable as \<...>{<true>}{<false>} directly
+local function texify_conditional(cond)
+ if cond then
+ texsprint("\\@firstoftwo")
+ else
+ texsprint("\\@secondoftwo")
+ end
+end
+
+-- mail is not exported, we just expect the user to set it
+blxextdoiapi = {
+ module = module,
+ cache_expire = cache_expire,
+ is_valid_doi = is_valid_doi,
+ is_openaccess = is_openaccess,
+ get_openaccess_url = get_openaccess_url,
+ assign_openaccess_url_to = assign_openaccess_url_to,
+ openaccess_url_is_doi = openaccess_url_is_doi,
+ texify_conditional = texify_conditional,
+}
+
+--
+-- This file is part of the biblatex-ext bundle.
+-- biblatex-ext is released under the LaTeX Project Public License v1.3c
+-- or later.
+--
+-- A complete list of files included in that package can be found in README.md
+-- or - failing that - in ext-standard.bbx.
+--
+-- Official releases of this package are on CTAN
+-- https://www.ctan.org/pkg/biblatex-ext
+-- development takes place on GitHub
+-- https://github.com/moewew/biblatex-ext
+--
Property changes on: trunk/Master/texmf-dist/doc/latex/biblatex-ext/blxextdoiapi.lua
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa-doiapi.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa-doiapi.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa-doiapi.sty 2018-11-23 21:42:39 UTC (rev 49232)
@@ -0,0 +1,107 @@
+\ProvidesPackage{biblatex-ext-oa-doiapi}
+ [2018/11/23 v0.6 Obtain open access information from DOI via unpaywall.org
+ and doi.org (MW)]
+
+\RequirePackage{etoolbox}
+
+\protected\def\extblx at oa@api at error#1#2{%
+ \PackageError{biblatex-ext-oa-doiapi}{#1}{#2.}}
+
+\protected\def\extblx at oa@api at warning@noline#1{%
+ \PackageWarningNoLine{biblatex-ext-oa-doiapi}{#1}}
+
+\protected\def\extblx at oa@api at info@noline#1{%
+ \PackageInfo{biblatex-ext-oa-doiapi}{#1\@gobble}}
+
+\let\extblx at oa@api at warning\extblx at oa@api at warning@noline
+\AtEndOfPackage{%
+ \protected\def\extblx at oa@api at warning#1{%
+ \PackageWarning{biblatex-ext-oa-doiapi}{#1}}}
+
+% LuaLaTeX only!
+\ifundef\luatexversion
+ {\extblx at oa@api at error
+ {Not running under LuaLaTeX!\MessageBreak
+ This package needs LuaLaTeX.\MessageBreak
+ I will stop right here}
+ {This package can only be run with LuaLaTeX.\MessageBreak
+ Please see the documentation of biblatex-ext for more information}
+ \endinput}
+ {}
+
+\def\extblx at oa@api at luastring#1{"\luaescapestring{#1}"}
+\def\extblx at oa@api at luastringN#1{\extblx at oa@api at luastring{\unexpanded{#1}}}
+
+% The oai file should contain a Lua table with the relevant OA data
+\IfFileExists{\jobname.oai}
+ {\extblx at oa@api at info@noline{%
+ Load OA database from\MessageBreak
+ \jobname.oai}%
+ \directlua{dofile(\extblx at oa@api at luastring{\jobname.oai})}}
+ {\extblx at oa@api at info@noline{%
+ No OA database file present at\MessageBreak
+ \jobname.oai}}
+
+\directlua{require("blxextdoiapi")}
+
+\newcommand*{\SetDOIAPIMail}[1]{%
+ \cslet{extblx at oa@api at mailset}\@empty
+ \directlua{
+ blxextdoiapi.mail = \extblx at oa@api at luastring{#1}}}
+
+\newcommand*{\SetDOIAPICacheExpiration}[1]{%
+ \directlua{
+ blxextdoiapi.cache_expire = \extblx at oa@api at luastring{#1}}}
+
+\newcommand*{\IsOpenaccess}[1]{%
+ \directlua{
+ blxextdoiapi.texify_conditional(
+ blxextdoiapi.is_openaccess(\extblx at oa@api at luastring{#1}))}}
+
+\newcommand*{\GetOpenaccessURLWrapped}[1]{%
+ \directlua{
+ blxextdoiapi.get_openaccess_url_tex(\extblx at oa@api at luastring{#1})}}
+
+\newcommand*{\OpenaccessURLisDOI}[1]{%
+ \directlua{
+ blxextdoiapi.texify_conditional(
+ blxextdoiapi.openaccess_url_is_doi(\extblx at oa@api at luastring{#1}))}}
+
+\newcommand*{\extblx at oa@api at getoaurl}[1]{%
+ \directlua{
+ blxextdoiapi.assign_openaccess_url_to
+ (\extblx at oa@api at luastringN{\extblx at oa@url},
+ \extblx at oa@api at luastring{#1})
+ }%
+}
+
+\AtBeginDocument{%
+ \ifcsundef{extblx at oa@api at mailset}
+ {\extblx at oa@api at warning@noline{%
+ No mail address declared.\MessageBreak
+ To access the Unpaywall.org api\MessageBreak
+ an email address is required.\MessageBreak
+ It should be given in the preamble\MessageBreak
+ with '\string\SetDOIAPIMail'.\MessageBreak
+ The API request will fail with a\MessageBreak
+ fatal error if no email is provided}}
+ {}}
+
+\AtEndDocument{%
+ \directlua{%
+ table.tofile(\extblx at oa@api at luastring{\jobname.oai}, oadb, "oadb")}}
+
+\endinput
+%
+% This file is part of the biblatex-ext bundle.
+% biblatex-ext is released under the LaTeX Project Public License v1.3c
+% or later.
+%
+% A complete list of files included in that package can be found in README.md
+% or - failing that - in ext-standard.bbx.
+%
+% Official releases of this package are on CTAN
+% https://www.ctan.org/pkg/biblatex-ext
+% development takes place on GitHub
+% https://github.com/moewew/biblatex-ext
+%
Property changes on: trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa-doiapi.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa-tikzsymbols.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa-tikzsymbols.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa-tikzsymbols.sty 2018-11-23 21:42:39 UTC (rev 49232)
@@ -0,0 +1,156 @@
+\ProvidesPackage{biblatex-ext-oa-tikzsymbols}
+ [2018/11/23 v0.6 open access symbols (MW)]
+
+\RequirePackage{etoolbox}
+\RequirePackage{kvoptions}
+
+\protected\def\extblx at oasymb@error#1#2{%
+ \PackageError{biblatex-ext-oa-tikzsymbols}{#1}{#2.}}
+
+\protected\def\extblx at oasymb@warning at noline#1{%
+ \PackageWarningNoLine{biblatex-ext-oa-tikzsymbols}{#1}}
+
+\let\extblx at oasymb@warning\extblx at oasymb@warning at noline
+\AtEndOfPackage{%
+ \protected\def\extblx at oasymb@warning#1{%
+ \PackageWarning{biblatex-ext-oa-tikzsymbols}{#1}}}
+
+\RequirePackage{tikz}
+
+% PLoS Open Access symbol based on
+% https://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg
+% public domain/CC0 by PLoS & Wikipedia users Nina, Beao and JakobVoss
+\definecolor{extblx at oasymbol@plos at orange}{HTML}{f68212}
+\newcommand*{\extblx at oasymbol@plos at tikz}{%
+ \begin{tikzpicture}[x=.1pt,y=.1pt]
+ \begin{scope}
+ \clip (06,73) rectangle ++(52,26);
+ \fill[extblx at oasymbol@plos at orange, even odd rule]
+ (32,73) circle[radius=26]
+ (32,73) circle[radius=15];
+ \end{scope}
+ \fill[extblx at oasymbol@plos at orange, even odd rule]
+ (32,32) circle[radius=32]
+ (32,32) circle[radius=21]
+ (32,32) circle[radius= 9];
+ \fill[extblx at oasymbol@plos at orange]
+ (47,47) rectangle ++ (11,26);
+ \end{tikzpicture}%
+}
+
+\newsavebox{\extblx at oasymbol@plos at box}
+\sbox{\extblx at oasymbol@plos at box}{\extblx at oasymbol@plos at tikz}
+\newcommand*{\extblx at oasymbol@plos}{\usebox{\extblx at oasymbol@plos at box}}
+
+% PLoS symbols is standard
+\newcommand*{\oasymbol}{\extblx at oasymbol@plos}
+
+% Open-Acess.net Open Acess symbol
+% redrawn with TikZ from
+% http://open-access.net/fileadmin/logos/oa.svg
+% public domain according to
+% https://commons.wikimedia.org/wiki/File:Open_access.svg
+% might be covered by open-access.net's overall CC-BY 4.0 license
+% (https://creativecommons.org/licenses/by/4.0/)
+% see https://open-access.net/impressum/
+% the site states no specific conditions for use of the logo
+% other than
+% "Das Logo der Informationsplattform darf nachgenutzt werden,
+% gerne mit einem Link zu open-access.net"
+% on https://open-access.net/ueber-uns/
+% see also https://open-access.net/community/materialien/
+% logo by
+% Medien + Design
+% Center for Digital Systems
+% Competence Center for E-Learning and Multimedia
+% Freie Universität Berlin
+\definecolor{extblx at oasymbol@oanet at green}{HTML}{356031}
+\definecolor{extblx at oasymbol@oanet at gold}{HTML}{f9c63a}
+\definecolor{extblx at oasymbol@oanet at intersect}{HTML}{89923a}
+
+\newcommand*{\extblx at oasymbol@oanet at tikz}{%
+ \begin{tikzpicture}[x=1.1pt,y=1.1pt]
+ \fill[extblx at oasymbol@oanet at green, even odd rule]
+ ( 4,4) circle[radius=4.3]
+ ( 4,4) circle[radius=2.7];
+ \begin{scope}
+ \clip % this is *terrible*, but it was the only way I could stop
+ % some viewers from adding thin lines that shouldn't be there
+ (11,4) circle[radius=2.7]
+ -- +(-4.3,-4.3) -- +(-4.3,+4.3) -- +(+4.3,+4.3) -- +(+4.3,-4.3)
+ -- +(-4.3,-4.3);
+ \fill[extblx at oasymbol@oanet at gold, even odd rule]
+ (11,4) ++ (0:4.3) arc (0:300:4.3) -- (11,4) ++ (300:4.3) -- cycle
+ (11,4) ++ (0:2.7) arc (0:300:2.7) -- (11,4) ++ (300:2.7) -- cycle;
+ \end{scope}
+ \begin{scope}
+ \clip ( 4,4) circle[radius=4.3];
+ \fill[extblx at oasymbol@oanet at intersect] (11,4) circle[radius=4.3];
+ \end{scope}
+ \fill[extblx at oasymbol@oanet at gold] (11,4) ++ (2.7,.1) rectangle ++(1.6,-4.1);
+ \end{tikzpicture}%
+}
+
+\newsavebox{\extblx at oasymbol@oanet at box}
+\sbox{\extblx at oasymbol@oanet at box}{\extblx at oasymbol@oanet at tikz}
+\newcommand*{\extblx at oasymbol@oanet}{\usebox{\extblx at oasymbol@oanet at box}}
+
+\protected\def\extblx at oasymbol@opt at symbol@process#1{%
+ \begingroup
+ \edef\extblx at oasymb@tempa{\endgroup
+ \noexpand\extblx at oasymbol@opt at symbol@process at i{#1}}
+ \extblx at oasymb@tempa}
+
+\def\extblx at oasymbol@opt at symbol@process at i#1{%
+ \ifcsundef{extblx at oasymbol@#1}
+ {\extblx at oasymb@error
+ {Unknown value\MessageBreak
+ \space\space'#1'\MessageBreak
+ for option 'symbol'}
+ {The symbol '#1' does not exist.\MessageBreak
+ Please consult the documentation for a list of valid options}}
+ {\edef\oasymbol{\expandonce{\csname extblx at oasymbol@#1\endcsname}}}}
+
+
+\newrobustcmd*{\DefineTikZOASymbol}[1][plos]{%
+ \begingroup
+ \edef\extblx at oasymb@tempa{\endgroup
+ \noexpand\extblx at oasymbol@DefineTikZOASymbol at i{#1}}
+ \extblx at oasymb@tempa}
+
+\protected\def\extblx at oasymbol@DefineTikZOASymbol at i#1{%
+ \ifcsundef{extblx at oasymbol@#1}
+ {\extblx at oasymb@error
+ {Unknown symbol option\MessageBreak
+ \space\space'#1'}
+ {The symbol '#1' does not exist.\MessageBreak
+ Please consult the documentation for a list of valid options}}
+ {\edef\oasymbol{\expandonce{\csname extblx at oasymbol@#1\endcsname}}}}
+
+\SetupKeyvalOptions{
+ family=extblx at oasymb@opt,
+ prefix=extblx at oasymb@opt@,
+}
+
+\DeclareStringOption[plos]{symbol}
+\DeclareVoidOption{plos}{\csdef{extblx at oasymb@opt at symbol}{plos}}
+\DeclareVoidOption{oanet}{\csdef{extblx at oasymb@opt at symbol}{oanet}}
+
+\ProcessKeyvalOptions*
+
+\extblx at oasymbol@opt at symbol@process{\csuse{extblx at oasymb@opt at symbol}}
+
+\endinput
+%
+% This file is part of the biblatex-ext bundle.
+% biblatex-ext is released under the LaTeX Project Public License v1.3c
+% or later.
+%
+% A complete list of files included in that package can be found in README.md
+% or - failing that - in ext-standard.bbx.
+%
+% Official releases of this package are on CTAN
+% https://www.ctan.org/pkg/biblatex-ext
+% development takes place on GitHub
+% https://github.com/moewew/biblatex-ext
+%
Property changes on: trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa-tikzsymbols.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa.sty 2018-11-23 21:42:39 UTC (rev 49232)
@@ -0,0 +1,331 @@
+\ProvidesPackage{biblatex-ext-oa}
+ [2018/11/23 v0.6 mark open access in biblatex bibliographies (MW)]
+
+\protected\def\extblx at oa@error#1#2{%
+ \PackageError{biblatex-ext-oa}{#1}{#2.}}
+
+\protected\def\extblx at oa@warning at noline#1{%
+ \PackageWarningNoLine{biblatex-ext-oa}{#1}}
+
+\let\extblx at oa@warning\extblx at oa@warning at noline
+\AtEndOfPackage{%
+ \protected\def\extblx at oa@warning#1{%
+ \PackageWarning{biblatex-ext-oa}{#1}}}
+
+\@ifpackageloaded{biblatex}
+ {}
+ {\extblx at oa@error
+ {biblatex not loaded!\MessageBreak
+ This package must be loaded after biblatex.\MessageBreak
+ This is a fatal error, the package will not\MessageBreak be loaded}
+ {Load biblatex with \string\usepackage{biblatex} before
+ you load 'biblatex-ext-oa'.\MessageBreak
+ Please see the documentation of biblatex-ext for more information}%
+ \endinput}
+
+\newtoggle{extblx at oa@opt at forcedoiapi}
+\DeclareBibliographyOption[string]{openaccess}[true]{%
+ \ifstrequal{#1}{forcedoiapi}
+ {\@firstoftwo}
+ {\ifstrequal{#1}{forceonlydoiapi}
+ {\@firstoftwo}
+ {\@secondoftwo}}
+ {\toggletrue{extblx at oa@opt at forcedoiapi}}
+ {}%
+ \extblx at oa@blxopt at openaccess{#1}}
+\DeclareTypeOption[string]{openaccess}[true]{%
+ \ifstrequal{#1}{forcedoiapi}
+ {\toggletrue{extblx at oa@opt at forcedoiapi}%
+ \csletcs{extblx at oa@url at from}{extblx at oa@url at from@forcedoiapi}}
+ {}%
+ \ifstrequal{#1}{forcedoiapi}
+ {\toggletrue{extblx at oa@opt at forceonlydoiapi}%
+ \csletcs{extblx at oa@url at from}{extblx at oa@url at from@forceonlydoiapi}}
+ {}%
+ \iftoggle{extblx at oa@opt at forcedoiapi}
+ {}
+ {\extblx at oa@blxopt at openaccess{#1}}}
+\DeclareEntryOption[string]{openaccess}[true]{%
+ \iftoggle{extblx at oa@opt at forcedoiapi}
+ {}
+ {\extblx at oa@blxopt at openaccess{#1}}}
+
+\def\extblx at oa@blxopt at openaccess#1{%
+ \ifcsundef{extblx at oa@url at from@#1}
+ {\ifcsundef{extblx at oa@warn at field@\abx at field@entrykey @#1}
+ {\extblx at oa@warning at noline{%
+ Field '#1' not set up for\MessageBreak
+ open access detection.\MessageBreak
+ Ignoring the option\MessageBreak
+ 'openaccess=#1'\MessageBreak
+ for entry '\abx at field@entrykey'}%
+ \global\cslet{extblx at oa@warn at field@\abx at field@entrykey @#1}\@empty}
+ {}}
+ {\csletcs{extblx at oa@url at from}{extblx at oa@url at from@#1}}%
+ \ifcsequal{extblx at oa@url at from}{extblx at oa@url at from@onlydoiapi}
+ {\@firstoftwo}
+ {\ifcsequal{extblx at oa@url at from}{extblx at oa@url at from@doiapi}
+ {\@firstoftwo}
+ {\@secondoftwo}}
+ {\ifextblx at oa@opt at doiapi
+ \else
+ \extblx at oa@error
+ {'openaccess=#1' requires 'doiapi=true'\MessageBreak
+ and LuaLaTeX}
+ {If you want to use 'openaccess=#1', you must load the
+ 'biblatex-ext-oa'\MessageBreak
+ package with the option 'doiapi=true'.
+ That option also requires LuaLaTeX.\MessageBreak
+ Please see the documentation of biblatex-ext for more information}
+ \fi}
+ {}
+}
+
+% define special detection settings
+% auto, all (=:true), none (=:false),
+% doiapi, forcedoiapi (=doiapi, but overrides more specific options)
+% onlydoiapi, forceonlydoiapi
+\csdef{extblx at oa@url at from@auto}{auto}
+\csdef{extblx at oa@url at from@all}{all}
+\csletcs{extblx at oa@url at from@true}{extblx at oa@url at from@all}
+\csdef{extblx at oa@url at from@none}{none}
+\csletcs{extblx at oa@url at from@false}{extblx at oa@url at from@none}
+\csdef{extblx at oa@url at from@doiapi}{doiapi}
+\csdef{extblx at oa@url at from@onlydoiapi}{onlydoiapi}
+\csletcs{extblx at oa@url at from@forcedoiapi}{extblx at oa@url at from@doiapi}
+\csletcs{extblx at oa@url at from@forceonlydoiapi}{extblx at oa@url at from@onlydoiapi}
+
+% {<field_1,...,field_n>}
+\newrobustcmd*{\DeclareOpenAccessUrlFieldPriority}{%
+ \let\extblx at oa@url at autofields\@empty
+ \forcsvlist{\listadd\extblx at oa@url at autofields}}
+
+% {<macroname>}{<field>}{<url spec>}{<openness>}
+\def\extblx at oa@url at definefieldurl#1#2#3#4{%
+ \csdef{extblx at oa@url at from@#2}{#2}%
+ \ifstrequal{#4}{always}
+ {\csdef{extblx at oa@url at getfromfield@#1}{%
+ \iffieldannotation[#2]{closedaccess}
+ {}
+ {\def\extblx at oa@url{#3}}}}
+ {\csdef{extblx at oa@url at getfromfield@#1}{%
+ \iffieldannotation[#2]{closedaccess}
+ {\@secondoftwo}
+ {\iffieldannotation[#2]{openaccess}
+ {\@firstoftwo}
+ {\ifcsequal{extblx at oa@url at from}{extblx at oa@url at from@#2}
+ {\@firstoftwo}
+ {\ifcsequal{extblx at oa@url at from}{extblx at oa@url at from@all}
+ {\@firstoftwo}
+ {\@secondoftwo}}}}
+ {\def\extblx at oa@url{#3}}
+ {}}}}
+
+% [<openness>]{<field>}{<url spec>}
+\newrobustcmd*{\DeclareOpenAccessFieldUrl}[3][conditional]{%
+ \extblx at oa@url at definefieldurl{#2}{#2}{#3}{#1}}
+% [<openness>]{<eprint type>}{<url spec>}
+\newrobustcmd*{\DeclareOpenAccessEprintUrl}[3][conditional]{%
+ \extblx at oa@url at definefieldurl{eprint@#2}{eprint}{#3}{#1}}
+
+\newrobustcmd*{\DeclareOpenAccessEprintAlias}[2]{%
+ \csdef{extblx at oa@url at getfromfield@eprint@#1}{%
+ \csuse{extblx at oa@url at getfromfield@eprint@#2}}}
+
+\def\extblx at oa@url at undefinefieldurl#1#2{
+ \csundef{extblx at oa@url at from@#2}
+ \csundef{extblx at oa@url at getfromfield@#1}}
+
+\newrobustcmd*{\UndeclareOpenAccessFieldUrl}[1]{%
+ \extblx at oa@url at undefinefieldurl{#1}{#1}}
+\newrobustcmd*{\UndeclareOpenAccessEprintUrl}[1]{%
+ \extblx at oa@url at undefinefieldurl{eprint@#1}{eprint}}
+
+
+\def\extblx at oa@url at processfield@@generic#1{%
+ \csuse{extblx at oa@url at getfromfield@#1}}
+
+\def\extblx at oa@url at processfield@eprint#1{%
+ \iffieldundef{eprinttype}
+ {\csuse{extblx at oa@url at getfromfield@#1}}
+ {\csuse{extblx at oa@url at getfromfield@eprint@\thefield{eprinttype}}}}
+
+\def\extblx at oa@url at processfield#1{%
+ \iffieldundef{#1}
+ {}
+ {\ifcsundef{extblx at oa@url at processfield@#1}
+ {\extblx at oa@url at processfield@@generic{#1}}
+ {\csuse{extblx at oa@url at processfield@#1}{#1}}}}
+
+\newcommand*{\extblx at oa@url at getoaurl}{%
+ \ifcsequal{extblx at oa@url at from}{extblx at oa@url at from@onlydoiapi}
+ {\iffieldundef{doi}
+ {}
+ {\extblx at oa@api at getoaurl{\thefield{doi}}}}
+ {\ifcsequal{extblx at oa@url at from}{extblx at oa@url at from@doiapi}
+ {\iffieldundef{doi}
+ {\forlistloop{\extblx at oa@url at processfield}{\extblx at oa@url at autofields}}
+ {\extblx at oa@api at getoaurl{\thefield{doi}}}}
+ {\ifcsequal{extblx at oa@url at from}{extblx at oa@url at from@none}
+ {}
+ {\ifcsequal{extblx at oa@url at from}{extblx at oa@url at from@all}
+ {\@firstoftwo}
+ {\ifcsequal{extblx at oa@url at from}{extblx at oa@url at from@auto}
+ {\@firstoftwo}
+ {\@secondoftwo}}
+ {\forlistloop{\extblx at oa@url at processfield}{\extblx at oa@url at autofields}}
+ {\extblx at oa@url at processfield{\csuse{extblx at oa@url at from}}}}}}}
+
+
+\newrobustcmd*{\LoadTikZOASymbol}[1][plos]{%
+ \@ifpackageloaded{biblatex-ext-oa-tikzsymbols}
+ {\extblx at oa@warning{%
+ TikZ open access symbols already loaded.\MessageBreak
+ Redefining the symbol with\MessageBreak\string\DefineTikZOASymbol}%
+ \DefineTikZOASymbol[#1]}
+ {\RequirePackage[symbol=#1]{biblatex-ext-oa-tikzsymbols}}%
+ \gdef\LoadTikZOASymbol{%
+ \extblx at oa@warning{%
+ TikZ open access symbols can not be\MessageBreak
+ loaded more than once.\MessageBreak
+ I'll now behave like \string\DefineTikZOASymbol\MessageBreak}%
+ \DefineTikZOASymbol}}
+\@onlypreamble\LoadTikZOASymbol
+
+\def\extblx at oa@opt at tikzsymbol@val at false{}
+\def\extblx at oa@opt at tikzsymbol@val at true{\LoadTikZOASymbol[plos]}
+
+\def\extblx at oa@opt at tikzsymbol@process#1{%
+ \begingroup
+ \edef\extblx at oa@tempa{\endgroup
+ \noexpand\extblx at oa@opt at tikzsymbol@process at i{#1}}
+ \extblx at oa@tempa}
+
+\def\extblx at oa@opt at tikzsymbol@process at i#1{%
+ \ifcsundef{extblx at oa@opt at tikzsymbol@val@#1}
+ {\LoadTikZOASymbol[#1]}
+ {\csuse{extblx at oa@opt at tikzsymbol@val@#1}}}
+
+\SetupKeyvalOptions{
+ family=extblx at oa@opt,
+ prefix=extblx at oa@opt@,
+}
+
+\DeclareBoolOption[true]{enable}
+\DeclareBoolOption[false]{doiapi}
+\DeclareStringOption[false]{tikzsymbol}[true]
+
+
+\ProcessKeyvalOptions*
+
+\extblx at oa@opt at tikzsymbol@process{\csuse{extblx at oa@opt at tikzsymbol}}
+
+\ifbool{extblx at oa@opt at doiapi}
+ {\RequirePackage{biblatex-ext-oa-doiapi}}
+ {}
+
+\def\extbl at oa@bbl at fielddef@bestoaurl#1{%
+ \blx at bbl@fielddef{bestoaurl}{#1}}
+
+\AtDataInput{%
+ \undef\extblx at oa@url
+ \extblx at oa@url at getoaurl
+ \ifundef\extblx at oa@url
+ {}
+ {\expandafter\extbl at oa@bbl at fielddef@bestoaurl\expandafter{\extblx at oa@url}}}
+
+
+
+% based on egreg's (https://tex.stackexchange.com/users/4427/egreg)
+% answer to https://tex.stackexchange.com/a/123451/35864
+% originally CC BY-SA 3.0, but dual-licensed under LPPL
+% see https://tex.meta.stackexchange.com/a/3333/35864
+\newcommand{\extblx at oa@marginmark}{\strut\vadjust{\extblx at oa@marginmark at do}}
+\newcommand{\extblx at oa@marginmark at do}{%
+ \vbox to 0pt{%
+ \kern-3\dp\strutbox
+ \strut
+ \hfill
+ \rlap{\kern1em
+ \ifhyperref
+ {\href{\thefield{bestoaurl}}}
+ {\@firstofone}%
+ {\oasymbol}}
+ \vss
+ }%
+}
+
+
+\ifbool{extblx at oa@opt at enable}
+ {\csletcs{extblx at oa@url at from}{extblx at oa@url at from@auto}
+ \DeclareOpenAccessFieldUrl{url}{\thefield{url}}
+ \DeclareOpenAccessFieldUrl{doi}{https://doi.org/\thefield{doi}}
+
+ \DeclareOpenAccessEprintUrl{jstor}{%
+ http://www.jstor.org/stable/\thefield{eprint}}
+ \DeclareOpenAccessEprintAlias{JSTOR}{jstor}
+ \DeclareOpenAccessEprintUrl{hdl}{%
+ http://hdl.handle.net/\thefield{eprint}}
+ \DeclareOpenAccessEprintAlias{HDL}{hdl}
+ \DeclareOpenAccessEprintUrl{pubmed}{%
+ http://www.ncbi.nlm.nih.gov/pubmed/\thefield{eprint}}
+ \DeclareOpenAccessEprintAlias{PubMed}{pubmed}
+ \DeclareOpenAccessEprintUrl[always]{arxiv}{%
+ https://arxiv.org/\abx@arxivpath/\thefield{eprint}}
+ \DeclareOpenAccessEprintAlias{arXiv}{arxiv}
+
+ \DeclareOpenAccessUrlFieldPriority{url,eprint,doi}
+
+ \DeclareFieldFormat{bestoaurl}{\url{#1}}
+
+ \newbibmacro*{oamark}{%
+ \iffieldundef{bestoaurl}
+ {}
+ {\extblx at oa@marginmark}}
+
+ \renewbibmacro*{begentry}{%
+ \usebibmacro{oamark}}
+
+ \ifbool{extblx at oa@opt at doiapi}
+ {\NewBibliographyString{openaccessat}
+ \DefineBibliographyStrings{english}{
+ openaccessat = {open access version at},
+ }
+ \newbibmacro{api:bestoaurl}{%
+ \ifcsequal{extblx at oa@url at from}{extblx at oa@url at from@doiapi}
+ {\iffieldundef{doi}
+ {\@secondoftwo}
+ {\iffieldundef{bestoaurl}
+ {\@secondoftwo}
+ {\OpenaccessURLisDOI{\thefield{doi}}
+ {\@secondoftwo}
+ {\@firstoftwo}}}}
+ {\@secondoftwo}
+ {\bibstring{openaccessat}%
+ \setunit{\addspace}%
+ \printfield{bestoaurl}%
+ \newunit\newblock}
+ {}}
+
+ \letbibmacro*{bbxorig:doi+eprint+url}{doi+eprint+url}
+ \renewbibmacro*{doi+eprint+url}{%
+ \usebibmacro{bbxorig:doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{api:bestoaurl}}}}
+ {\csletcs{extblx at oa@url at from}{extblx at oa@url at from@none}}
+
+
+\endinput
+%
+% This file is part of the biblatex-ext bundle.
+% biblatex-ext is released under the LaTeX Project Public License v1.3c
+% or later.
+%
+% A complete list of files included in that package can be found in README.md
+% or - failing that - in ext-standard.bbx.
+%
+% Official releases of this package are on CTAN
+% https://www.ctan.org/pkg/biblatex-ext
+% development takes place on GitHub
+% https://github.com/moewew/biblatex-ext
+%
Property changes on: trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-oa.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-tabular.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-tabular.sty 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/biblatex-ext-tabular.sty 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesPackage{biblatex-ext-tabular}
- [2018/10/09 v0.5a tabular bibliographies for biblatex (MW)]
+ [2018/11/23 v0.6 tabular bibliographies for biblatex (MW)]
% Code based on Audrey's (https://tex.stackexchange.com/users/4483/audrey)
% answer https://tex.stackexchange.com/a/71454/35864 on TeX.SX
@@ -241,3 +241,16 @@
{\clearname{\thefield{labelnamesource}}}}
\endinput
+%
+% This file is part of the biblatex-ext bundle.
+% biblatex-ext is released under the LaTeX Project Public License v1.3c
+% or later.
+%
+% A complete list of files included in that package can be found in README.md
+% or - failing that - in ext-standard.bbx.
+%
+% Official releases of this package are on CTAN
+% https://www.ctan.org/pkg/biblatex-ext
+% development takes place on GitHub
+% https://github.com/moewew/biblatex-ext
+%
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-alphabetic-verb.bbx}
- [2018/10/09 v0.5a extended biblatex alphabetic-verb
+ [2018/11/23 v0.6 extended biblatex alphabetic-verb
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic-verb.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-alphabetic-verb.cbx}
- [2018/10/09 v0.5a extended biblatex alphabetic-verb citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex alphabetic-verb citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-alphabetic.bbx}
- [2018/10/09 v0.5a extended biblatex alphabetic bibliography style (MW)]
+ [2018/11/23 v0.6 extended biblatex alphabetic bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
\RequireBibliographyStyle{alphabetic}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-alphabetic.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-alphabetic.cbx}
- [2018/10/09 v0.5a extended biblatex alphabetic citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex alphabetic citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-common.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-common.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-common.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-common.bbx}
- [2018/10/09 v0.5a common files for extended biblatex
+ [2018/11/23 v0.6 common files for extended biblatex
authortitle bibliography styles (MW)]
\RequireBibliographyStyle{ext-dashed-common}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-comp.bbx}
- [2018/10/09 v0.5a extended biblatex authortitle-comp
+ [2018/11/23 v0.6 extended biblatex authortitle-comp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-comp.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-comp.cbx}
- [2018/10/09 v0.5a extended biblatex authortitle-comp
+ [2018/11/23 v0.6 extended biblatex authortitle-comp
citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-ibid.bbx}
- [2018/10/09 v0.5a extended biblatex authortitle-ibid
+ [2018/11/23 v0.6 extended biblatex authortitle-ibid
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ibid.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-ibid.cbx}
- [2018/10/09 v0.5a extended biblatex authortitle-ibid
+ [2018/11/23 v0.6 extended biblatex authortitle-ibid
citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-icomp.bbx}
- [2018/10/09 v0.5a extended biblatex authortitle-icomp
+ [2018/11/23 v0.6 extended biblatex authortitle-icomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-icomp.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-icomp.cbx}
- [2018/10/09 v0.5a extended biblatex authortitle-icomp
+ [2018/11/23 v0.6 extended biblatex authortitle-icomp
citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-tcomp.bbx}
- [2018/10/09 v0.5a extended biblatex authortitle-tcomp
+ [2018/11/23 v0.6 extended biblatex authortitle-tcomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-tcomp.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-tcomp.cbx}
- [2018/10/09 v0.5a extended biblatex authortitle-tcomp
+ [2018/11/23 v0.6 extended biblatex authortitle-tcomp
citation style (MW)]
\RequireCitationStyle{ext-authortitle-comp}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-terse.bbx}
- [2018/10/09 v0.5a extended biblatex authortitle-terse
+ [2018/11/23 v0.6 extended biblatex authortitle-terse
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-terse.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-terse.cbx}
- [2018/10/09 v0.5a extended biblatex authortitle-terse
+ [2018/11/23 v0.6 extended biblatex authortitle-terse
citation style (MW)]
\RequireCitationStyle{ext-authortitle}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-ticomp.bbx}
- [2018/10/09 v0.5a extended biblatex authortitle-ticomp
+ [2018/11/23 v0.6 extended biblatex authortitle-ticomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle-ticomp.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-ticomp.cbx}
- [2018/10/09 v0.5a extended biblatex authortitle-ticomp citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex authortitle-ticomp citation style (MW)]
\RequireCitationStyle{ext-authortitle-icomp}
\ExecuteBibliographyOptions{singletitle,uniquename,uniquelist,autocite=inline}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle.bbx}
- [2018/10/09 v0.5a extended biblatex authortitle
+ [2018/11/23 v0.6 extended biblatex authortitle
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authortitle.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle.cbx}
- [2018/10/09 v0.5a extended biblatex authortitle citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex authortitle citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-common.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-common.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-common.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-common.bbx}
- [2018/10/09 v0.5a common files for extended biblatex
+ [2018/11/23 v0.6 common files for extended biblatex
authoryear bibliography styles (MW)]
\RequireBibliographyStyle{ext-dashed-common}
@@ -7,6 +7,13 @@
\DeclareFieldFormat{biblabeldate}{\mkbibparens{#1}}
\DeclareFieldAlias{biblistlabeldate}{biblabeldate}
+\providebibmacro*{bbx:ifmergeddate}{\@secondoftwo}
+
+\renewbibmacro*{date}{%
+ \usebibmacro{bbx:ifmergeddate}
+ {}
+ {\printdate}}
+
% merge date/issue with date label
\def\bbx at opt@mergedate at maximum{%
\renewbibmacro*{date+extradate}{%
@@ -18,12 +25,9 @@
\setunit*{\addspace}%
\printdateextra}
{\printlabeldateextra}}}}%
- \renewbibmacro*{date}{%
- \iflabeldateisdate
- {}
- {\printdate}}%
+ \renewbibmacro*{bbx:ifmergeddate}{\iflabeldateisdate}%
\renewbibmacro*{issue+date}{%
- \iflabeldateisdate
+ \usebibmacro{bbx:ifmergeddate}
{}
{\printtext[issuedate]{%
\printfield{issue}%
@@ -39,20 +43,18 @@
\iflabeldateisdate
{\printdateextra}
{\printlabeldateextra}}}}%
- \renewbibmacro*{date}{%
- \iflabeldateisdate
+ \renewbibmacro*{bbx:ifmergeddate}{\iflabeldateisdate}%
+ \renewbibmacro*{issue+date}{%
+ \ifboolexpr{test {\usebibmacro{bbx:ifmergeddate}}
+ and
+ test {\iffieldundef{issue}}}
{}
- {\printdate}}%
- \renewbibmacro*{issue+date}{%
- \ifboolexpr{not test {\iffieldundef{issue}}
- or not test {\iflabeldateisdate}}
{\printtext[issuedate]{%
\printfield{issue}%
\setunit*{\addspace}%
- \iflabeldateisdate
+ \usebibmacro{bbx:ifmergeddate}
{}
- {\printdate}}}
- {}%
+ {\printdate}}}%
\newunit}}
% merge year-only date with date label
@@ -61,20 +63,17 @@
\iffieldundef{labelyear}
{}
{\printtext[\blx at delimcontext labeldate]{\printlabeldateextra}}}%
- \renewbibmacro*{date}{%
+ \renewbibmacro*{bbx:ifmergeddate}{%
\ifboolexpr{
test {\iflabeldateisdate}
and
not test {\ifdateshavedifferentprecision{label}{}}
- }
- {}
- {\printdate}}%
+ }%
+ }%
\renewbibmacro*{issue+date}{%
\ifboolexpr{
- test {\iflabeldateisdate}
+ test {\usebibmacro{bbx:ifmergeddate}}
and
- not test {\ifdateshavedifferentprecision{label}{}}
- and
test {\iffieldundef{issue}}
}
{}
@@ -90,7 +89,7 @@
\iffieldundef{labelyear}
{}
{\printtext[\blx at delimcontext labeldate]{\printlabeldateextra}}}%
- \renewbibmacro*{date}{%
+ \renewbibmacro*{bbx:ifmergeddate}{%
\ifboolexpr{
test {\iflabeldateisdate}
and
@@ -97,17 +96,12 @@
not test {\ifdateshavedifferentprecision{label}{}}
and
test {\iffieldundef{extradate}}
- }
- {}
- {\printdate}}%
+ }%
+ }%
\renewbibmacro*{issue+date}{%
\ifboolexpr{
- test {\iflabeldateisdate}
+ test {\usebibmacro{bbx:ifmergeddate}}
and
- not test {\ifdateshavedifferentprecision{label}{}}
- and
- test {\iffieldundef{extradate}}
- and
test {\iffieldundef{issue}}
}
{}
@@ -123,7 +117,7 @@
\iffieldundef{labelyear}
{}
{\printtext[\blx at delimcontext labeldate]{\printlabeldateextra}}}%
- \renewbibmacro*{date}{\printdate}%
+ \renewbibmacro*{bbx:ifmergeddate}{\@secondoftwo}%
\renewbibmacro*{issue+date}{%
\printtext[issuedate]{%
\printfield{issue}%
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-comp.bbx}
- [2018/10/09 v0.5a extended biblatex authoryear-comp
+ [2018/11/23 v0.6 extended biblatex authoryear-comp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-comp.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-comp.cbx}
- [2018/10/09 v0.5a extended biblatex authoryear-comp
+ [2018/11/23 v0.6 extended biblatex authoryear-comp
citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ecomp.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ecomp.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ecomp.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-ecomp.bbx}
- [2018/10/09 v0.5a biblatex authoryear-ecomp
+ [2018/11/23 v0.6 biblatex authoryear-ecomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ecomp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ecomp.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ecomp.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-ecomp.cbx}
- [2018/10/09 v0.5a biblatex authoryear-ecomp
+ [2018/11/23 v0.6 biblatex authoryear-ecomp
citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-ibid.bbx}
- [2018/10/09 v0.5a extended biblatex authoryear-ibid
+ [2018/11/23 v0.6 extended biblatex authoryear-ibid
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ibid.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-ibid.cbx}
- [2018/10/09 v0.5a extended biblatex authoryear-ibid
+ [2018/11/23 v0.6 extended biblatex authoryear-ibid
citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-icomp.bbx}
- [2018/10/09 v0.5a extended biblatex authoryear-icomp
+ [2018/11/23 v0.6 extended biblatex authoryear-icomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-icomp.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-icomp.cbx}
- [2018/10/09 v0.5a extended biblatex authoryear-icomp
+ [2018/11/23 v0.6 extended biblatex authoryear-icomp
citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-iecomp.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-iecomp.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-iecomp.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-iecomp.bbx}
- [2018/10/09 v0.5a biblatex authoryear-iecomp
+ [2018/11/23 v0.6 biblatex authoryear-iecomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-iecomp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-iecomp.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-iecomp.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-iecomp.cbx}
- [2018/10/09 v0.5a biblatex authoryear-iecomp
+ [2018/11/23 v0.6 biblatex authoryear-iecomp
citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-tcomp.bbx}
- [2018/10/09 v0.5a extended biblatex authoryear-tcomp
+ [2018/11/23 v0.6 extended biblatex authoryear-tcomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tcomp.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-tcomp.cbx}
- [2018/10/09 v0.5a extended biblatex authoryear-tcomp
+ [2018/11/23 v0.6 extended biblatex authoryear-tcomp
citation style (MW)]
\RequireCitationStyle{ext-authoryear-comp}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tecomp.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tecomp.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tecomp.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-tecomp.bbx}
- [2018/10/09 v0.5a extended biblatex authoryear-tecomp
+ [2018/11/23 v0.6 extended biblatex authoryear-tecomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tecomp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tecomp.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tecomp.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-tecomp.cbx}
- [2018/10/09 v0.5a extended biblatex authoryear-tecomp
+ [2018/11/23 v0.6 extended biblatex authoryear-tecomp
citation style (MW)]
\RequireCitationStyle{ext-authoryear-ecomp}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-terse.bbx}
- [2018/10/09 v0.5a extended biblatex authoryear-terse
+ [2018/11/23 v0.6 extended biblatex authoryear-terse
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-terse.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-terse.cbx}
- [2018/10/09 v0.5a extended biblatex authoryear-terse
+ [2018/11/23 v0.6 extended biblatex authoryear-terse
citation style (MW)]
\RequireCitationStyle{ext-authoryear}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-ticomp.bbx}
- [2018/10/09 v0.5a extended biblatex authoryear-ticomp
+ [2018/11/23 v0.6 extended biblatex authoryear-ticomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-ticomp.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-ticomp.cbx}
- [2018/10/09 v0.5a extended biblatex authoryear-ticomp citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex authoryear-ticomp citation style (MW)]
\RequireCitationStyle{ext-authoryear-icomp}
\ExecuteBibliographyOptions{singletitle,uniquename,uniquelist,autocite=inline}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tiecomp.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tiecomp.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tiecomp.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-tiecomp.bbx}
- [2018/10/09 v0.5a extended biblatex authoryear-tiecomp
+ [2018/11/23 v0.6 extended biblatex authoryear-tiecomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tiecomp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tiecomp.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear-tiecomp.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-tiecomp.cbx}
- [2018/10/09 v0.5a extended biblatex authoryear-tiecomp citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex authoryear-tiecomp citation style (MW)]
\RequireCitationStyle{ext-authoryear-icomp}
\ExecuteBibliographyOptions{singletitle,uniquename,uniquelist,autocite=inline}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear.bbx}
- [2018/10/09 v0.5a extended biblatex authoryear bibliography style (MW)]
+ [2018/11/23 v0.6 extended biblatex authoryear bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
\RequireBibliographyStyle{authoryear}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-authoryear.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear.cbx}
- [2018/10/09 v0.5a extended biblatex authoryear citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex authoryear citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-biblatex-aux.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-biblatex-aux.def 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-biblatex-aux.def 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,8 +1,8 @@
\ProvidesFile{ext-biblatex-aux.def}
- [2018/10/09 v0.5a auxiliaries for extended biblatex citation style (MW)]
+ [2018/11/23 v0.6 auxiliaries for extended biblatex citation style (MW)]
-\def\extblx at requiredbiblatexversion{3.11}
-\def\extblx at requiredbiblatexdate{2018/02/20}
+\def\extblx at requiredbiblatexversion{3.12}
+\def\extblx at requiredbiblatexdate{2018/11/02}
\newrobustcmd*{\extblx at info}[1]{\PackageInfo{biblatex-ext}{#1}}
\newrobustcmd*{\extblx at warning}[1]{\PackageWarning{biblatex-ext}{#1}}
@@ -18,6 +18,16 @@
(\extblx at requiredbiblatexdate) or later.\MessageBreak
I found '\csuse{abx at version} (\csuse{abx at date})'}}
+\newrobustcmd*{\extblx at DeclareBTEOption}[2][boolean]{%
+ \@ifnextchar[%]
+ {\extblx at DeclareBTEOption@i[#1]{#2}}
+ {\extblx at DeclareBTEOption@i[#1]{#2}[]}}
+
+\def\extblx at DeclareBTEOption@i[#1]#2[#3]#4{%
+ \DeclareBibliographyOption[#1]{#2}[#3]{#4}%
+ \DeclareTypeOption[#1]{#2}[#3]{#4}
+ \DeclareEntryOption[#1]{#2}[#3]{#4}}
+
%{<context>}{<opening delim>}{<closing delim>}
\newrobustcmd*{\DeclareOuterCiteDelims}{%
\extblx at declareciteddelims{outer}}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-dashed-common.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-dashed-common.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-dashed-common.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-dashed-common.bbx}
- [2018/10/09 v0.5a common files for extended biblatex
+ [2018/11/23 v0.6 common files for extended biblatex
dashed bibliography styles (MW)]
% \DeclareBibliographyOption checks if an option is already defined.
@@ -14,7 +14,7 @@
Please update 'etoolbox' to v2.4 (2017-01-02)\MessageBreak or later}}
{\listcsremove{blx at globalopts@boolean}{dashed}}
-\DeclareBibliographyOption[string]{dashed}[true]{%
+\extblx at DeclareBTEOption[string]{dashed}[true]{%
\ifcsdef{extblx at opt@dashed@#1}
{\csuse{extblx at opt@dashed@#1}}
{\PackageWarningNoLine{biblatex-ext}{%
@@ -65,7 +65,7 @@
\renewbibmacro*{bbx:savehash}{}%
\renewbibmacro*{bbx:dashcheck}[2]{##2}}
-% We need to execute the option that were already executed
+% We need to execute the options that were already executed
% by the standard styles again, because we changed the
% underlying definitions.
\ExecuteBibliographyOptions{dashed=true}%
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-numeric-comp.bbx}
- [2018/10/09 v0.5a extended biblatex numeric-comp
+ [2018/11/23 v0.6 extended biblatex numeric-comp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-comp.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-numeric-comp.cbx}
- [2018/10/09 v0.5a extended biblatex numeric-comp citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex numeric-comp citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-numeric-verb.bbx}
- [2018/10/09 v0.5a extended biblatex numeric-verb
+ [2018/11/23 v0.6 extended biblatex numeric-verb
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric-verb.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-numeric-verb.cbx}
- [2018/10/09 v0.5a extended biblatex numeric-verb citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex numeric-verb citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-numeric.bbx}
- [2018/10/09 v0.5a extended biblatex numeric bibliography style (MW)]
+ [2018/11/23 v0.6 extended biblatex numeric bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
\RequireBibliographyStyle{numeric}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-numeric.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-numeric.cbx}
- [2018/10/09 v0.5a extended biblatex numeric citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex numeric citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,9 +1,9 @@
-% biblatex-ext v0.5a (2018-10-09)
+% biblatex-ext v0.6 (2018-11-23)
% Maintainer: Moritz Wemheuer
% Licence: LaTeX Project Public License v1.3c or later
%
\ProvidesFile{ext-standard.bbx}
- [2018/10/09 v0.5a extended biblatex standard style (MW)]
+ [2018/11/23 v0.6 extended biblatex standard style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
@@ -18,22 +18,27 @@
\newtoggle{bbx:maintitleaftertitle}
\newtoggle{bbx:introcite:plain:keeprelated}
-\DeclareBibliographyOption[boolean]{citexref}[true]{%
+\extblx at DeclareBTEOption[boolean]{citexref}[true]{%
\settoggle{bbx:citexref}{#1}}
-\DeclareBibliographyOption[boolean]{citeinxref}[true]{%
+\extblx at DeclareBTEOption[boolean]{citeinxref}[true]{%
\blx at warning{The option 'citeinxref' is deprecated.\MessageBreak
Use 'citexref' (without in) instead.\MessageBreak
Setting 'citexref' now}%
\settoggle{bbx:citexref}{#1}}
-\DeclareBibliographyOption[boolean]{innamebeforetitle}[true]{%
+\extblx at DeclareBTEOption[boolean]{innamebeforetitle}[true]{%
\settoggle{bbx:innamebeforetitle}{#1}}
-\DeclareBibliographyOption[boolean]{innameidem}[true]{%
+\extblx at DeclareBTEOption[boolean]{innameidem}[true]{%
\settoggle{bbx:innameidem}{#1}}
-\DeclareBibliographyOption[boolean]{articlein}[true]{%
+\extblx at DeclareBTEOption[boolean]{articlein}[true]{%
\settoggle{bbx:articlein}{#1}}
-\DeclareBibliographyOption[boolean]{maintitleaftertitle}[true]{%
+\extblx at DeclareBTEOption[boolean]{maintitleaftertitle}[true]{%
\settoggle{bbx:maintitleaftertitle}{#1}}
-\DeclareBibliographyOption[string]{introcite}[label]{%
+
+\def\extblx at opt@introcite at false{0}
+\def\extblx at opt@introcite at label{1}
+\def\extblx at opt@introcite at plain{2}
+
+\def\extblx at opthandler@introcite#1{%
\ifcsdef{extblx at opt@introcite@#1}
{\letcs\extblx at introcite{extblx at opt@introcite@#1}}
{\PackageWarningNoLine{biblatex-ext}{%
@@ -41,10 +46,31 @@
Possible values are 'false', 'label', 'plain'.\MessageBreak
Falling back to 'introcite=false'}%
\letcs\extblx at introcite{extblx at opt@introcite at false}}}
-\def\extblx at opt@introcite at false{0}
-\def\extblx at opt@introcite at label{1}
-\def\extblx at opt@introcite at plain{2}
+% {<per-...>}{<option value>}
+\protected\def\extblx at specialopthandler@introcite#1#2{%
+ \ifstrequal{#2}{label}
+ {\ifcsundef{extblx at warn@introcitelabel@#1}
+ {\PackageWarningNoLine{biblatex-ext}{%
+ Value 'introcite=label' not officially supported\MessageBreak
+ on per-#1 level.\MessageBreak
+ It requires setup changes for a complete\MessageBreak
+ bibliography environment, which can only happen\MessageBreak
+ globally or per bibliography.\MessageBreak
+ Using 'introcite=label' anyway, the result might\MessageBreak
+ be off. You have been warned}%
+ \global\cslet{extblx at warn@introcitelabel@#1}\@empty}
+ {}}}
+
+\DeclareBibliographyOption[string]{introcite}[label]{%
+ \extblx at opthandler@introcite{#1}}
+\DeclareTypeOption[string]{introcite}[label]{%
+ \extblx at opthandler@introcite{#1}%
+ \extblx at specialopthandler@introcite{type}{#1}}
+\DeclareEntryOption[string]{introcite}[label]{%
+ \extblx at opthandler@introcite{#1}%
+ \extblx at specialopthandler@introcite{entry}{#1}}
+
\ExecuteBibliographyOptions{%
citexref = false,
innamebeforetitle = false,
@@ -55,39 +81,7 @@
% maxbibnames = 999,
}
-\DeclareTypeOption[boolean]{citexref}[true]{%
- \settoggle{bbx:citexref}{#1}}
-\DeclareTypeOption[boolean]{citeinxref}[true]{%
- \blx at warning{The option 'citeinxref' is deprecated.\MessageBreak
- Use 'citexref' (without in) instead.\MessageBreak
- Setting 'citexref' now}%
- \settoggle{bbx:citexref}{#1}}
-\DeclareTypeOption[boolean]{innamebeforetitle}[true]{%
- \settoggle{bbx:innamebeforetitle}{#1}}
-\DeclareTypeOption[boolean]{innameidem}[true]{%
- \settoggle{bbx:innameidem}{#1}}
-\DeclareTypeOption[boolean]{articlein}[true]{%
- \settoggle{bbx:articlein}{#1}}
-\DeclareTypeOption[boolean]{maintitleaftertitle}[true]{%
- \settoggle{bbx:maintitleaftertitle}{#1}}
-\DeclareEntryOption[boolean]{citexref}[true]{%
- \settoggle{bbx:citexref}{#1}}
-\DeclareEntryOption[boolean]{citeinxref}[true]{%
- \blx at warning{The option 'citeinxref' is deprecated.\MessageBreak
- Use 'citexref' (without in) instead.\MessageBreak
- Setting 'citexref' now}%
- \settoggle{bbx:citexref}{#1}}
-\DeclareEntryOption[boolean]{innamebeforetitle}[true]{%
- \settoggle{bbx:innamebeforetitle}{#1}}
-\DeclareEntryOption[boolean]{innameidem}[true]{%
- \settoggle{bbx:innameidem}{#1}}
-\DeclareEntryOption[boolean]{articlein}[true]{%
- \settoggle{bbx:articlein}{#1}}
-\DeclareEntryOption[boolean]{maintitleaftertitle}[true]{%
- \settoggle{bbx:maintitleaftertitle}{#1}}
-
-
\newbibmacro*{bbx:introcite}{\usebibmacro{cite}}
\RegisterCiteDelims{inner}{bbx at introcite}
@@ -116,6 +110,7 @@
\undef\cbx at lastyear
\citetrackerfalse\pagetrackerfalse\backtrackerfalse
\defcounter{maxnames}{\blx at maxcitenames}%
+ \defcounter{minnames}{\blx at mincitenames}%
\printtext[bbx at introcite]{\usebibmacro{bbx:introcite}}%
\endgroup
}
@@ -163,6 +158,7 @@
\DeclareDelimAlias{innametitledelim}{nametitledelim}
\DeclareDelimAlias*[bib,biblist]{innametitledelim}{nametitledelim}
+\newcommand*{\titleaddonpunct}{\newunitpunct}
\DeclareBibliographyDriver{article}{%
\usebibmacro{introcite:plain}%
@@ -844,7 +840,7 @@
\printfield[titlecase:title]{title}%
\setunit{\subtitlepunct}%
\printfield[titlecase:title]{subtitle}}%
- \newunit}%
+ \setunit{\titleaddonpunct}}%
\printfield{titleaddon}}
\DeclareFieldAlias{titlecase:booktitle}{titlecase}
@@ -859,7 +855,7 @@
\printfield[titlecase:booktitle]{booktitle}%
\setunit{\subtitlepunct}%
\printfield[titlecase:booktitle]{booksubtitle}}%
- \newunit}%
+ \setunit{\titleaddonpunct}}%
\printfield{booktitleaddon}}
\DeclareFieldAlias{titlecase:maintitle}{titlecase}
@@ -874,7 +870,7 @@
\printfield[titlecase:maintitle]{maintitle}%
\setunit{\subtitlepunct}%
\printfield[titlecase:maintitle]{mainsubtitle}}%
- \newunit}%
+ \setunit{\titleaddonpunct}}%
\printfield{maintitleaddon}}
\DeclareFieldAlias{titlecase:journaltitle}{titlecase}
@@ -983,6 +979,22 @@
{}%
\newunit}
+\renewbibmacro*{event+venue+date}{%
+ \printfield{eventtitle}%
+ \setunit{\titleaddonpunct}%
+ \printfield{eventtitleaddon}%
+ \ifboolexpr{
+ test {\iffieldundef{venue}}
+ and
+ test {\iffieldundef{eventyear}}
+ }
+ {}
+ {\setunit{\addspace}%
+ \printtext[parens]{%
+ \printfield{venue}%
+ \setunit*{\addcomma\space}%
+ \printeventdate}}%
+ \newunit}
\renewbibmacro*{bybookauthor}{%
\ifnamesequal{author}{bookauthor}
@@ -1196,7 +1208,7 @@
% Copyright 2017-2018 Moritz Wemheuer
%
-% This work consists of the `.bbx`, `.cbx`, `.def` and `.sty` files
+% This work consists of the `.bbx`, `.cbx`, `.def`, `.sty` and `.lua` files
% ext-standard.bbx
% ext-biblatex-aux.def
% ext-dashed-common.bbx
@@ -1233,6 +1245,10 @@
% ext-verbose-trad2.bbx ext-verbose-trad2.cbx
% ext-verbose-trad3.bbx ext-verbose-trad3.cbx
% biblatex-ext-tabular.sty
+% biblatex-ext-oa.sty
+% biblatex-ext-oa-doiapi.sty
+% blxextdoiapi.lua
+% biblatex-ext-oa-tikzsymbols.sty
%
% Refer also to README.md.
%
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-ibid.bbx}
- [2018/10/09 v0.5a extended biblatex verbose-ibid
+ [2018/11/23 v0.6 extended biblatex verbose-ibid
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-ibid.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-ibid.cbx}
- [2018/10/09 v0.5a extended biblatex verbose-ibid citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex verbose-ibid citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-inote.bbx}
- [2018/10/09 v0.5a extended biblatex verbose-inote
+ [2018/11/23 v0.6 extended biblatex verbose-inote
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-inote.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-inote.cbx}
- [2018/10/09 v0.5a extended biblatex verbose-inote citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex verbose-inote citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-note.bbx}
- [2018/10/09 v0.5a extended biblatex verbose-note
+ [2018/11/23 v0.6 extended biblatex verbose-note
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-note.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-note.cbx}
- [2018/10/09 v0.5a extended biblatex verbose-note citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex verbose-note citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-trad1.bbx}
- [2018/10/09 v0.5a extended biblatex verbose-trad1
+ [2018/11/23 v0.6 extended biblatex verbose-trad1
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad1.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-trad1.cbx}
- [2018/10/09 v0.5a extended biblatex verbose-trad1 citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex verbose-trad1 citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-trad2.bbx}
- [2018/10/09 v0.5a extended biblatex verbose-trad2
+ [2018/11/23 v0.6 extended biblatex verbose-trad2
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad2.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-trad2.cbx}
- [2018/10/09 v0.5a extended biblatex verbose-trad2 citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex verbose-trad2 citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-trad3.bbx}
- [2018/10/09 v0.5a extended biblatex verbose-trad3
+ [2018/11/23 v0.6 extended biblatex verbose-trad3
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose-trad3.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-trad3.cbx}
- [2018/10/09 v0.5a extended biblatex verbose-trad3 citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex verbose-trad3 citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.bbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.bbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose.bbx}
- [2018/10/09 v0.5a extended biblatex verbose
+ [2018/11/23 v0.6 extended biblatex verbose
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
Modified: trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.cbx 2018-11-23 21:42:15 UTC (rev 49231)
+++ trunk/Master/texmf-dist/tex/latex/biblatex-ext/ext-verbose.cbx 2018-11-23 21:42:39 UTC (rev 49232)
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose.cbx}
- [2018/10/09 v0.5a extended biblatex verbose citation style (MW)]
+ [2018/11/23 v0.6 extended biblatex verbose citation style (MW)]
\blx at inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}{}{}{}{}
More information about the tex-live-commits
mailing list