Hi,
Taco Hoekwater wrote:
I've created a new beta of the bib module, and uploaded it to my
server.
Great.
* add interaction to \cite[url]
How about adding alike for DOI (see below), not much tested.
Maybe the shown DOI should be put though the URL hyphenation algorithm
as they can be quite long?
(In any case I'd like to see the DOIs in sans serif and not in \tt.)
Examples for DOIs:
10.1103/PhysRevLett.95.196404
10.1016/j.physb.2004.11.012
10.1021/ic020653b S0020-1669(02)00653-5
URL = http://dx.doi.org/ + <doi>
Tobias
diff -ur f/t-bib.tex t/t-bib.tex
--- f/t-bib.tex 2005-11-23 13:20:20.000000000 +0100
+++ t/t-bib.tex 2005-11-23 15:06:54.501153250 +0100
@@ -1228,9 +1228,11 @@
\firstreftrue\processcommalist[#1]\dobibdoiref
\bibalternative\v!right}
+\def\gotoDOI#1{\useURL[bibfoo][http://dx.doi.org/#1]\goto{#1}[url(bibfoo)]}
+
\def\dobibdoiref#1%
{\addthisref{#1}\refsep
- \doifbibreferencefoundelse{#1}{\getvalue{pbdo-#1}}{??}}
+
\doifbibreferencefoundelse{#1}{\expanded{\gotoDOI{\getvalue{pbdo-#1}}}}{??}}
\def\biburlref[#1]%
{\bibalternative\v!left
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context