diff options
author | Karl Berry <karl@freefriends.org> | 2020-06-01 21:08:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-06-01 21:08:28 +0000 |
commit | db8e86866f5ce0e485dc22e402eeaa54bd4da6d0 (patch) | |
tree | 4ed0a004d405480e2853fb4c629feb2f41f7e816 /Master/texmf-dist/tex/latex/biblatex-software | |
parent | 9020d74b49c3af42428162bebf9df6dcf7c95556 (diff) |
biblatex-software (1jun20)
git-svn-id: svn://tug.org/texlive/trunk@55376 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-software')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-software/software.bbx | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-software/software.bbx b/Master/texmf-dist/tex/latex/biblatex-software/software.bbx index 2358ec10321..48f58eb736b 100644 --- a/Master/texmf-dist/tex/latex/biblatex-software/software.bbx +++ b/Master/texmf-dist/tex/latex/biblatex-software/software.bbx @@ -44,11 +44,14 @@ % Macros % +% +% Notice the use of \edef to force expansion of the macro parameters before calling \nolinkurl +% \newbibmacro*{swurl+urldate}{% \mkbibacro{URL}\addcolon\addspace% \ifhyperref% {\href{\strfield{url}}{\nolinkurl{\strfield{url}}}}% - {\nolinkurl{\strfield{url}}}% + {\edef\temp{\noexpand\nolinkurl{\strfield{url}}}\temp}% \iffieldundef{urlyear}% {}% {\setunit*{\addspace}% @@ -80,7 +83,7 @@ {\mkbibacro{HAL}\addcolon\addspace% \ifhyperref% {\href{https://hal.archives-ouvertes.fr/#1\thefield{hal_version}}{\(\langle\)\nolinkurl{#1\thefield{hal_version}}\(\rangle\)}}% - {\(\langle\)\nolinkurl{#1\thefield{hal_version}}\(\rangle\)}% + {\(\langle\)\nolinkurl{#1}\thefield{hal_version}\(\rangle\)}% }% {}% } @@ -111,17 +114,18 @@ % Add here special eprint formats % \DeclareFieldFormat{eprint:ascl}{% - ascl\addcolon\space + \mkbibacro{ASCL}\addcolon\addspace% \ifhyperref {\href{https://ascl.net/#1}{% - \nolinkurl{#1}% + \(\langle\)ascl\addcolon\nolinkurl{#1}\(\rangle\)% \iffieldundef{eprintclass} {} {\addspace\texttt{\mkbibbrackets{\thefield{eprintclass}}}}}} - {\nolinkurl{#1}% + {\(\langle\)ascl\addcolon\nolinkurl{#1}\(\rangle\)% \iffieldundef{eprintclass} {} - {\addspace\texttt{\mkbibbrackets{\thefield{eprintclass}}}}}} + {\addspace\texttt{\mkbibbrackets{\thefield{eprintclass}}}}} +} % % Macros to format output |