Hi Taco,

Taco Hoekwater wrote:
> Tobias Burnus wrote:
>   
> [...]
> Somebody should tell me explicitly what to do and what not to do.
> (the interaction code for dois and urls, that I added after a
> request, I thought I had implemented exactly as requested).
>   

Assuming \setupinteraction[state=start], \insertbiburl should produce a
hyperlink
e.g.
\biburl{http://link.aps.org/abstract/PRL/v45/p566##bar}
should become something like the following:
\gotoURL{http://link.aps.org/abstract/PRL/v45/p566##bar}

* * *

\insertdoi should also produce a hyperlink
e.g.
\doi{10.1103/PhysRevLett.45.566}
should become something like:
\def\gotoDOI#1#2%
{\useURL[bibfoo#1][http://dx.doi.org/#2]
\useURL[bibfoodoi#1][#2]
\goto{\url[bibfoodoi#1]}[url(bibfoo#1)]}
\gotoDOI{myRef}{10.1103/PhysRevLett.45.566}

* * *

\cite[doi][myRef] should not print "http://dx.doi.org/"; on the
screen/paper but only the DOI itself (if hyperlinked, the link should of
cause contain "http://dx.doi.org/";)


* * *

What \setupcite[interaction=start|stop] does should be documented in the
manual

* * *

For \cite[url|doi][myRef] three behaviours are useful:
(a) No hyperlink
(b) Jumping to the associated publicationlist item
(c) Going to the associated webpage (url target or dx.doi.org server)

Which option should should be used with
\setupinteraction[state=start]
\setupcite[interaction=start|stop]
is unclear to me.

For interaction=stop, (c) seems to be most useful for me, others
probably prefer option (a) in this case.


Tobias
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to