I have built a .bib file with some entries providing a file attribute.
I want this file to be automatically attached to the document (at the end, where the references are).
I'm already using biblatex to provide a direct http link to some references via the doi=true flag (references that I can't legally include as PDFs).
I'd like this:
As stated in my previous report, \cite{report1} ...
to be translated into that:
As stated in my previous report, [1] ...
[...]
References
[1] My interesting report, 2012 (click here)
Does anyone know about a package able to do that? I've asked google and CTAN without much success...
EDIT:
Here we are, an example of .bib file, let's call it refs.bib:
@Article{SomethingIDidntRead,
author = {Some Authors},
title = {The Early Typography of Printed Welsh (sounds great)},
journal = {The Library},
volume = {3},
pages = {217--231},
year = {1981},
doi = {10.1093/library/s6-III.3.217},
}
@unpublished{navigator,
author = {Some Authors},
title = {Navigator},
year = {2010},
url = {http://mirrors.ctan.org/macros/generic/navigator/navigator-doc.pdf},
file = {navigator-doc.pdf}
}
And the main.tex file:
\documentclass[
fontsize=12pt,
]{scrartcl}
\usepackage{luatextra}
\usepackage{hyperref}
\usepackage[
hyperref=true,
backend=biber,
style=numeric-comp,
doi=true,
url=true,
block=none,
]{biblatex}
\addbibresource{refs.bib}
\begin{document}
This seems to be an interesting article\cite{SomethingIDidntRead}.
But I just took it at random for its \textsc{doi}.
This file is also interesting\cite{navigator} and I'd like it to be embedded.
\printbibliography
\end{document}
What I want is to know if there is a package that takes the file name I provide in the .bib file to automatically and embed it to get file:click here just as I get doi:XXXXXXX.
If no package provides that, we'll see what can be done.
Thanks for your attention.
pdfpages. In yourbiblatexstyle, specify\AtEndDocument{\includepdf{filename}}. (Sorry, I can't offer any advice on how to extend abiblatexstyle, because I've never usedbiblatex... yet!) – Sašo Živanović Feb 22 at 2:21.bibor the.pdf? – Martin Schröder Feb 22 at 9:05embedfiledo it. I prefer theattachfile2approach here. I'd like to have[1] My interesting report, 2012 (click here)just like I already have[2] Interesting paper, 2013, DOI:[clickable_doi]. But maybe this does not exist. That's fine, I can try to code something but I wouldn't like to reimplement something that already exists. – Gael Feb 22 at 13:58