Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question
1  
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
add comment

3 Answers

up vote 5 down vote accepted

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.

share|improve this answer
    
I get this error with the command DeclareFieldFormat dl.dropboxusercontent.com/u/62073194/… Do you know why? –  Masi 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. –  Masi 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
add comment

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.

share|improve this answer
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
add comment

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...

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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