summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bibcommon.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/udesoftec/udesoftec-bibcommon.sty')
-rw-r--r--Master/texmf-dist/tex/latex/udesoftec/udesoftec-bibcommon.sty17
1 files changed, 8 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bibcommon.sty b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bibcommon.sty
index 9d57ce4ace8..2d56018a0ef 100644
--- a/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bibcommon.sty
+++ b/Master/texmf-dist/tex/latex/udesoftec/udesoftec-bibcommon.sty
@@ -1,7 +1,7 @@
% !Mode:: "TeX:UTF-8"
%% udesoftec-biblatex.sty
%% Copyright 2015 J. Peter M. Schuler
-%% 2020/03/09 v1.7.0 udesoftec
+%% 2021/02/22 v1.7.1 udesoftec
%
% This work may be distributed and/or modified under the
@@ -40,7 +40,7 @@
% http://mirrors.ctan.org/macros/latex/contrib/udesoftec/udesoftec-doc.pdf
\NeedsTeXFormat{LaTeX2e}%
-\ProvidesPackage{udesoftec-bibcommon}[2020/03/09 v1.6.6 udesoftec-bibcommon.sty udesoftec bibstyle configuration commons]%
+\ProvidesPackage{udesoftec-bibcommon}[2021/02/22 v1.7.1 udesoftec-bibcommon.sty udesoftec bibstyle configuration commons]%
\newif\ifprimaryDocumentLanguageGerman
@@ -62,6 +62,8 @@
\RequirePackage{hyperref} % support doi-links
\RequirePackage{hyphenat} % prevent author names and quotations from hyphenating
%%%%%%%%%%%%%%%%%%%%%%%%
+\usepackage[doipre={doi:}]{uri}
+
\providecaptionname{ngerman}{\bbland}{und }%
\providecaptionname{english}{\bbland}{and }%
\providecaptionname{british}{\bbland}{and }%
@@ -165,8 +167,8 @@
\textbf{\emph{BibError: #2 -- #1}}%
}
\fi
-\providecommand{\bblyear}[1]{\ifnumber{#1}{#1}{\bblnoyear}}
-\providecommand{\bbledGenerateEdition}[1]{\ifnumber{#1}{\bbledOrdinal{#1}\bbledn}{#1}}
+\providecommand{\bblyear}[1]{\Ifnumber{#1}{#1}{\bblnoyear}}
+\providecommand{\bbledGenerateEdition}[1]{\Ifnumber{#1}{\bbledOrdinal{#1}\bbledn}{#1}}
\providecommand{\englishordinal}[1]{\ifcase #1\or 1\textsuperscript{st}\or 2\textsuperscript{nd}\or 3\textsuperscript{rd}\else #1\textsuperscript{th}\fi}
\providecommand{\germanordinal}[1]{#1.}
@@ -179,12 +181,9 @@
}
-% http://tex.stackexchange.com/questions/262103/interpret-tex-commands-and-remove-curly-braces-from-href-content/262133#262133
+% taken from pkg:uri
\providecommand{\bbldoi}[1]{%
- \def\tmpdoi{#1}%
- \xpatchcmd*\tmpdoi{{_}}{_}{}{}%
- \def\tmpdoitext{\detokenize\expandafter{\tmpdoi}}%
- \href{http://dx.doi.org/\tmpdoi}{doi:\tmpdoitext}%
+ \doi{#1}%
}%
\RequirePackage{xstring}