14 Apr
2014
14 Apr
'14
8:34 a.m.
Dear list, I want to have better hyphenated and clickable URLs in my bibliography. I have defined the following macro: \define [1] \URL {\goto{\hyphenatedurl{#1}}[url(#1)]} And I want to use it in the bibliography like that: \setuppublicationlayout [electronic] { \inserturl{ URL:\ \URL\bgroup }{\egroup.}{}% } But the macro doesn't work with \bgroup ... \egroup, it works with braces only. Minimal non-working example: \define [1] \URL {\goto{\hyphenatedurl{#1}}[url(#1)]} \starttext \URL \bgroup http://test.invalid\egroup \stoptext It complains about too many }. How can I use my URL macro in the bibliography? Thanks and kind regards, Joshua Kraemer