From 3af3a12964becfabf25c7b1323c67faaf4e368fa Mon Sep 17 00:00:00 2001 From: Quentin Meeus <25608944+qmeeus@users.noreply.github.com> Date: Mon, 10 Jun 2024 09:52:58 +0200 Subject: [PATCH 1/2] Add eprint format to biblatex Add support for IEEE Xplore in biblatex. In reference file, just add: ``` @article{key authors={Me, and Myself, and I}, title={...}, year={2024}, eprint={doc_id}, eprinttype={ieee} } ``` to have the IEEE Xplore document as a href link (https://ieeexplore.ieee.org/document/$doc_id), just like arxiv and pubmed --- biblatex.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/biblatex.cfg b/biblatex.cfg index 9610d2d..206a205 100644 --- a/biblatex.cfg +++ b/biblatex.cfg @@ -21,3 +21,11 @@ backrefpages = {pp.~}% } +\DeclareFieldFormat{eprint:ieee}{% + IEEE\addcolon\space + \ifhyperref + {\href{https://ieeexplore.ieee.org/document/#1}{% + \nolinkurl{#1} + }} + {\nolinkurl{#1}% + }} From ba314da76f1a5674a8b6e9b3b3321d0d83e14747 Mon Sep 17 00:00:00 2001 From: Quentin Meeus <25608944+qmeeus@users.noreply.github.com> Date: Mon, 10 Jun 2024 10:02:38 +0200 Subject: [PATCH 2/2] Add support for ACL Anthology eprint use `eprinttype = {acl}` and ACL Anthology ID as value for eprint --- biblatex.cfg | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/biblatex.cfg b/biblatex.cfg index 206a205..b1a0eba 100644 --- a/biblatex.cfg +++ b/biblatex.cfg @@ -29,3 +29,12 @@ }} {\nolinkurl{#1}% }} + +\DeclareFieldFormat{eprint:acl}{% + ACL\addcolon\space + \ifhyperref + {\href{https://aclanthology.org/#1}{% + \nolinkurl{#1} + }} + {\nolinkurl{#1}% + }}