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.

Using BibTeX, I'm trying to add a DOI 10.1002/(SICI)1097-0118(199902)30:2<71::AID-JGT1>3.0.CO;2-G to my bibliography. However, the presence of the < and > characters causes problems.

Is there a good way to add such a DOI?

I'm using a bibliography style which has been processed with urlbst to support DOI and URL fields. My current workaround is to drop the DOI field. Instead I add a field

url = {http://dx.doi.org/10.1002/(SICI)1097-0118(199902)30:2<71::AID-JGT1>3.0.CO;2-G},

which seems to work, but it would be preferable to use the DOI directly.

share|improve this question
7  
The DOI spec is broken, for allowing all "the legal graphic characters of Unicode", and Wiley is insane for actually using them (or trying, and failing to do so). Your exmaple is bad with the <>, but try using this one with a # (fragment ident): 10.1002/(SICI)1521-3978(200005)48:5/7<531::AID-PROP531>3.0.CO;2-#. Even after you convince tex to deal with it, good luck getting it to work: doi.org/syntax.html says to encode # as %23 for URLs, which gets past http://dx.doi.org/ but still fails. I'm pretty sure Wiley has come up with a DOI that is impossible to resolve! –  Lev Bishop Sep 13 '10 at 16:52
    
They usually work from something like JabRef via Firefox for me, but I agree that they are a pain in the neck! –  Joseph Wright Oct 6 '10 at 10:22

2 Answers 2

I was having similar problems with underscores in doi's, and found that using BibLaTeX solved the problem.

share|improve this answer
    
I'd prefer to stick to BibTeX for now -- I have an otherwise perfectly functional style file and don't have time to switch right now. –  András Salamon Sep 16 '10 at 12:56

There is the doi package that gives you the command \doi{...} that will probably do exactly what you want.

share|improve this answer
    
incidentally, this is the second hit when you google "LaTeX DOI"... –  Seamus Sep 13 '10 at 11:29
    
How would you mix that with BibTeX? –  Caramdir Sep 13 '10 at 21:58
1  
doi ={\doi{...}}, I presume... –  Seamus Sep 14 '10 at 10:10

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.