diff --git a/base/pdata.sty b/base/pdata.sty index 5cd50ce..a68ce9e 100644 --- a/base/pdata.sty +++ b/base/pdata.sty @@ -118,6 +118,19 @@ \newcommand\WAref[1]{\pdataRef{wa}{#1}{label}} \newcommand\WAtref[1]{\WAref{#1}: \pdataRefFB{wa}{#1}{short}{title}} \fi +\renewbibmacro*{event+venue+date}{} +\renewbibmacro*{doi+eprint+url}{% + \iftoggle{bbx:doi} + {\printfield{doi}\iffieldundef{doi}{}{\clearfield{url}}} + {}% + \newunit\newblock + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}} + {}% + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}} \newcommand{\signatures}[1]{\section{#1} \qquad\number\day. \number\month. \number\year\\[6ex] \strut\qquad Date\hfill\@for\@p:=\prop@gen@PIs\do{% diff --git a/base/proposal.cls b/base/proposal.cls index 6cd1c88..00b46b7 100644 --- a/base/proposal.cls +++ b/base/proposal.cls @@ -34,6 +34,19 @@ \ProcessOptions \LoadClass[a4paper,twoside]{\proposal@class} \RequirePackage{proposal} +\renewbibmacro*{event+venue+date}{} +\renewbibmacro*{doi+eprint+url}{% + \iftoggle{bbx:doi} + {\printfield{doi}\iffieldundef{doi}{}{\clearfield{url}}} + {}% + \newunit\newblock + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}} + {}% + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}} \endinput %% %% End of file `proposal.cls'. diff --git a/base/proposal.dtx b/base/proposal.dtx index 7a39753..f8183f6 100644 --- a/base/proposal.dtx +++ b/base/proposal.dtx @@ -2512,6 +2512,23 @@ joint&\multicolumn{\the@site}{l|}{\jpub $\hat=$ publication, \jpro $\hat=$ proje \@for\@I:=\prop@gen@pubspages\do{\par\noindent\csname\@I\endcsname}}} % % \end{macrocode} +% +% Finally, we tweak {bib\LaTeX} to not give DOIs and URLS at the same time. +% \begin{macrocode} +\renewbibmacro*{event+venue+date}{} +\renewbibmacro*{doi+eprint+url}{% + \iftoggle{bbx:doi} + {\printfield{doi}\iffieldundef{doi}{}{\clearfield{url}}} + {}% + \newunit\newblock + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}} + {}% + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}} +% \end{macrocode} % % \subsection{Miscellaneous}\label{sec:impl:misc} % diff --git a/base/proposal.pdf b/base/proposal.pdf index a423dd9..c53f341 100644 Binary files a/base/proposal.pdf and b/base/proposal.pdf differ diff --git a/base/proposal.sty b/base/proposal.sty index 5c0b50d..938afa9 100644 --- a/base/proposal.sty +++ b/base/proposal.sty @@ -1000,6 +1000,19 @@ joint&\multicolumn{\the@site}{l|}{\jpub $\hat=$ publication, \jpro $\hat=$ proje use the pubspage key in the proposal environment!}} {\prop@warnpubs@message% \@for\@I:=\prop@gen@pubspages\do{\par\noindent\csname\@I\endcsname}}} +\renewbibmacro*{event+venue+date}{} +\renewbibmacro*{doi+eprint+url}{% + \iftoggle{bbx:doi} + {\printfield{doi}\iffieldundef{doi}{}{\clearfield{url}}} + {}% + \newunit\newblock + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}} + {}% + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}} \endinput %% %% End of file `proposal.sty'. diff --git a/base/reporting.cls b/base/reporting.cls index d97fc36..da024cb 100644 --- a/base/reporting.cls +++ b/base/reporting.cls @@ -60,6 +60,19 @@ \end{center} \setcounter{tocdepth}{2}\tableofcontents\newpage\setcounter{page}{1}} {} +\renewbibmacro*{event+venue+date}{} +\renewbibmacro*{doi+eprint+url}{% + \iftoggle{bbx:doi} + {\printfield{doi}\iffieldundef{doi}{}{\clearfield{url}}} + {}% + \newunit\newblock + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}} + {}% + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}} \endinput %% %% End of file `reporting.cls'.