using biblatex, I want to hide the full URL of some phd references on TEL (thèse en ligne) and HAL (Hyper articles en ligne) and just display the actual reference number that will link to the proper URL when clicked. Exactly how ArXiv references are displayed here.
Here is a MWE, notice how the two different entries are displayed. I want the PhD entry to be displayed same as the ArXiv one, without displaying the entire URL but rather the ID saying something like "TEL: " with the being clickable and linking directly to the actual URL.
\documentclass[french, 11pt, a4paper, titlepage]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage[
backend=biber,
style=numeric,
sorting=ynt
]{biblatex}
\addbibresource{biblio.bib}
\begin{document}
The arXiv eprint: \cite{2018arXiv180609824G}\\
Some PhD on HAL/TEL: \cite{olry:tel-00005985}
\printbibliography[heading=bibintoc, title={Bibliographie}]
\end{document}
With biblio.bib as such, directly downloaded from arxiv and tel.
@phdthesis{olry:tel-00005985,
TITLE = {{Etude d'une cavite acc{\'e}l{\'e}ratrice supraconductrice Spoke pour les acc{\'e}l{\'e}rateurs de protons de forte intensit{\'e}}},
AUTHOR = {Olry, Guillaume},
URL = {https://tel.archives-ouvertes.fr/tel-00005985},
HAL_LOCAL_REFERENCE = {IPNO-T-04-02},
SCHOOL = {{Universit{\'e} Paris-Diderot - Paris VII}},
YEAR = {2004},
MONTH = Apr,
KEYWORDS = {cavit{\'e}s spoke ; supraconductivit{\'e} ; acc{\'e}l{\'e}rateur lin{\'e}aire {\`a} protons ; contr{\^o}le dimensionnel},
TYPE = {Theses},
PDF = {https://tel.archives-ouvertes.fr/tel-00005985/file/tel-00005985.pdf},
HAL_ID = {tel-00005985},
HAL_VERSION = {v1},
}
@ARTICLE{2018arXiv180609824G,
author = {{Grassellino}, A. and {Romanenko}, A. and {Bice}, D. and {Melnychuk}, O. and
{Crawford}, A.~C. and {Chandrasekaran}, S. and {Sung}, Z. and
{Sergatskov}, D.~A. and {Checchin}, M. and {Posen}, S. and {Martinello}, M. and
{Wu}, G.},
title = "{Accelerating fields up to 49 MV/m in TESLA-shape superconducting RF niobium cavities via 75C vacuum bake}",
journal = {ArXiv e-prints},
archivePrefix = "arXiv",
eprint = {1806.09824},
primaryClass = "physics.acc-ph",
keywords = {Physics - Accelerator Physics},
year = 2018,
month = jun,
adsurl = {http://adsabs.harvard.edu/abs/2018arXiv180609824G},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
By the way, if there is a way to frenchasize biblatex using the French quotation marks «» and not the English ones "". As well as printing the "et al." in italic I would be down to know how as well. Thank you.
![Guillaume Olry. « Etude d’une cavite accélératrice supraconductrice Spoke pour les accélérateurs de protons de forte intensité ». Thèse de doct. Université Paris-Diderot – Paris VII, avr. 2004. hal : tel-00005985.//Jan Wassenberg et Peter Sanders. Faster Radix Sort via Virtual Memory and Write-Combining. Version 1. 17 août 2010. arXiv : 1008.2849v1 [cs.DS].//Milène Sasso et al. « Performances of Four Real-Time PCR Assays for Diagnosis of Pneumocystis jirovecii Pneumonia ». In : Journal of Clinical Microbiology 54.3 (fév. 2016), p. 625-630. hal : hal-01882235.//Audrey Waldvogel. « Development of an efficient catalyst for the process chain Power-to-Methane and kinetic study ». Thèse de doct. Université de Strasbourg, déc. 2017. hal : tel-01881957.](../../images/8f9eded186143177e7134807eed4dff7.webp)
babelwith thefrenchoption and loadcsquotes. If you still want to write in English and just use French quotation marks (not sure if that is wise), you need a few tricks like\usepackage[style=french]{csquotes}. – moewe Sep 26 '18 at 09:28.bibentries? – moewe Sep 26 '18 at 09:35DeclareFieldFormatfrom biblatex. – Odyseus_v4 Sep 26 '18 at 09:49.bibdata that makes things a bit harder.\DeclareFieldFormatwon't be enough if you want to usehal_idand friends, you will need to declare them in the data model to be able to use them (see my link). – moewe Sep 26 '18 at 09:53eprint = {tel-00005985}andeprinttype = {tel}. Is the\DeclareFieldFormatenough to declare a new URL for TEL. PS: it don't seem to but i'm working on it. – Odyseus_v4 Sep 26 '18 at 10:06tel-as well: https://hal.archives-ouvertes.fr/tel-00005985 So do you really need to link TELs to the specialtel.archives-ouvertes.frresolver. If you were to useeprintandeprinttypethat would drastically simplify things. You would not need a data model file for Biber and could do things with only\DeclareFieldFormat. – moewe Sep 26 '18 at 10:13