8

Similarly to DOI, will an OAI (Open Archives Initiative) field be soon added to bibtex/biblatex styles?

  • 2
    I've never seen OAI identifiers used in a reflist, and the OAI identifier standard says "oai-identifiers are not designed for human use, they are designed to be used only with the OAI-PMH" - have you got a sample of their use in a reflist? – Charles Stewart Nov 5 '10 at 19:38
  • ok, here is a document with such a reference http://cel.archives-ouvertes.fr/cel-00451733/fr/ See the reference page [last page] and reference Sidoroff. There is an oai reference with an hyperlink to the appropriate webpage. I think we should see more of this kind of link as long as pdf is the norm (which won't last soomuch longer). – pluton Jan 8 '11 at 18:05
8

With the help of experts, here is one solution that satisfies oai requirements. The oai references require a repository and a number such as, for instance oai:hal.example.com:hal-0000001 that can be used to reconstruct the actual internet address of the document of interest, here : http://hal.example.com/hal-000001/

The eprint and eprinttype fields together with the following definition shall be used:

\def\oaitourl#1:#2{#1/#2}
\DeclareFieldFormat{eprint:oai}%
{oai:\href{http://\oaitourl#1}{\nolinkurl{#1}}}

\begin{document}
\cite{EX}
\end{document}

together with, in the .bib file :

@TechReport{EX,
author =      {Name, First name},
title =       {Report},
institution = {INH},
year =        {2010},
eprint =      {hal.example.com:hal-000000001},
eprinttype =  {oai}} 

The thing is that it would be even better with an oai field directly in the .bib file.

edit: This approach requires the use of the biblatex package together with the biber engine.

  • I get this error with the command DeclareFieldFormat dl.dropboxusercontent.com/u/62073194/… Do you know why? – Léo Léopold Hertz 준영 Oct 30 '13 at 11:39
  • @Masi you have to use biblatex and the associated biber engine in this approach: \usepackage[style=numeric-comp,sorting=nyt, sortcites=true,autopunct=true,babel=hyphen,hyperref=true,backref=true]{biblatex}. From your file, you seem to be using natbib with bibtex I would say. Am I correct? – pluton Oct 30 '13 at 12:12
  • Yes, you are correct. – Léo Léopold Hertz 준영 Oct 30 '13 at 12:14
  • @Masi please retry with biblatex and biber and let me know if it works. – pluton Oct 30 '13 at 18:16
2

I didn't find any reference to OAI in the Feature Tracker of the biblatex page at sourceforge. You should consider to create a feature request.

  • 1
    after reading biblatex guide, I feel that considering a request on the oai field or offering a patch may be appropriate. Other people than just myself may be soon interested in this field. – pluton Nov 17 '10 at 18:36
  • @pluton: did you submit a feature request? I can't find any tickets with keyword oai. – anderstood Aug 28 '15 at 15:53
  • @anderstood nope because I am quite happy with the provided solution. This could be requested as a feature, but I am not sure. – pluton Aug 30 '15 at 16:22
2

biblatex has resources for custom field types. (p. 26 of texdoc biblatex ) It would mean modifying the bibliography style (since none of the standard types make use of, say verba ). So it is already possible to make use of oai fields, with a little work...

  • yes, coming back to lockstep's suggestion and my original post, it may be a the bst-like style level that the oai field could be added. I'll try to investigate. – pluton Nov 5 '10 at 18:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.