summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-12-01 03:01:29 +0000
committerNorbert Preining <norbert@preining.info>2019-12-01 03:01:29 +0000
commit1dcb87019d8965fa1ba1ea339b7330225b2e545b (patch)
treeb8638900881a7f7c3bd052e8be8a53c6a1680f3f /macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.tex
parent763d7adeac2bc39fb895a0748f12422d5c959d4c (diff)
CTAN sync 201912010301
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.tex')
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.tex51
1 files changed, 27 insertions, 24 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.tex b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.tex
index 5f2dc59e0c..9361fd6f06 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.tex
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.tex
@@ -1,14 +1,6 @@
\documentclass[DIV=9]{scrartcl}
-\usepackage{ifxetex,ifluatex}
-\newif\iffontspec
-\ifxetex
- \fontspectrue
-\else\ifluatex
- \fontspectrue
-\else
- \fontspecfalse
-\fi\fi
-\iffontspec
+\usepackage{iftex}
+\iftutex
\usepackage{fontspec}
\else
\usepackage[T1]{fontenc}
@@ -19,11 +11,11 @@
\usepackage[french,ngerman,british]{babel}
\usepackage{csquotes}
\usepackage[useregional]{datetime2}
-\iffontspec\else
+\iftutex\else
\usepackage{lmodern}
\fi
\usepackage[mono=false]{libertinus}
-\iffontspec
+\iftutex
\setmonofont[Scale=0.78]{Bitstream Vera Sans Mono}
\usepackage{unicode-math}
\setmathfont[Scale=MatchUppercase]{libertinusmath-regular.otf}
@@ -196,7 +188,7 @@
colframe=red, colback=red!5!white,
underlay={%
\path[draw=none] (interior.south east)
- rectangle node{\warnsymbol}
+ rectangle node {\warnsymbol}
([xshift=15mm,yshift=.1cm]interior.north east);},
#1}
@@ -205,7 +197,7 @@
colframe=yellow, colback=yellow!5!white,
underlay={%
\path[draw=none] (interior.south east)
- rectangle node{\dbendsymbol}
+ rectangle node {\dbendsymbol}
([xshift=15mm,yshift=.1cm]interior.north east);},
#1}
@@ -463,7 +455,7 @@
\newcommand*{\ctan}{\mkbibacro{CTAN}}
\newcommand*{\gitbaseurl}{https://github.com/moewew/biblatex-ext}
-\newcommand*{\extblxversion}{0.8b}
+\newcommand*{\extblxversion}{0.8c}
\newcommand*{\biber}{Biber}
\newcommand*{\gitissuelink}[1]{%
\href{\gitbaseurl/issues/#1}{issue \##1 on github}}
@@ -476,7 +468,7 @@
\newcommand*{\mpdl}{$\langle$}
\newcommand*{\mpdr}{$\rangle$}
-\iffontspec
+\iftutex
\newcommand*{\hmpdl}{$\langle$}
\newcommand*{\hmpdr}{$\rangle$}
\else
@@ -511,14 +503,21 @@
\sbox{\dbendsymbol@box}{\dbendsymbol@tikz}
\newcommand*{\dbendsymbol}{\usebox{\dbendsymbol@box}}
-\newcommand{\warnsymbol}{%
- \makebox[2em][c]{%
- \makebox[0pt][c]{\raisebox{.26em}{\LARGE\bfseries!}}%
- \makebox[0pt][c]{%
- \fontsize{40}{40}\selectfont\color{red}$\bigtriangleup$}}}
+\newcommand*{\warnsymbol@tikz}{%
+ \begin{tikzpicture}[
+ line cap=but,
+ line join=round,
+ line width=2pt,
+ rounded corners=1.5pt,]
+ \node[regular polygon, regular polygon sides=3,
+ scale=1.2, inner sep=-.22em,
+ draw=red]
+ {\raisebox{.26em}{\LARGE\bfseries !}};
+ \end{tikzpicture}}
-\newcommand*{\marginwarn}{%
- \leavevmode\marginpar{\raisebox{-1.5em}{\warnsymbol}}}
+\newsavebox{\warnsymbol@box}
+\sbox{\warnsymbol@box}{\warnsymbol@tikz}
+\newcommand*{\warnsymbol}{\usebox{\warnsymbol@box}}
\makeatother
@@ -529,7 +528,7 @@
author = {Moritz Wemheuer},
link = {mwemheu@gmail.com},%
revision = {\extblxversion},
- date = {\DTMDate{2019-11-01}},
+ date = {\DTMDate{2019-11-30}},
}
\hypersetup{%
@@ -3177,6 +3176,10 @@ See also \filename{CHANGES.md}.
The numbers on the right indicate the relevant section of the manual.
\begin{changelog}
+\begin{release}{0.8c}{2019-11-30}
+ \item Stopped querying \url{https://doi.org} API for DOI
+ verification \hypersty{biblatex-ext-oa-doiapi}\see{sec:oa:doiapi}
+\end{release}
\begin{release}{0.8b}{2019-11-01}
\item Fixed bug in \blxstyle{ext-verbose-trad2}%
\see{sec:styles:standard}