URL styling in btx bibliography
ConTeXters, Is there a user-level control for the styling of urls in the new bibliography system? I use \setupurl[style=\addff{f:ns}\ss] (where f:ns is a fontfeature definition for lining/new style numerals) for the rest of the document. The bibliography honors this formatting for urls present in bibtex note entries, but persists in serif and oldstyle (the document defaults) for urls provided by bibtex url entries. -- Rik
On Fri, 3 Feb 2017 17:26:35 -0500
Rik Kabel
Is there a user-level control for the styling of urls in the new bibliography system? I use
\setupurl[style=\addff{f:ns}\ss]
(where f:ns is a fontfeature definition for lining/new style numerals) for the rest of the document. The bibliography honors this formatting for urls present in bibtex note entries, but persists in serif and oldstyle (the document defaults) for urls provided by bibtex url entries.
The bibliography specifications use the command \hyphenatedurl{} to flush the url (or doi) field. Alan
On Sat, 4 Feb 2017 09:10:33 -0700
Alan Braslau
On Fri, 3 Feb 2017 17:26:35 -0500 Rik Kabel
wrote: Is there a user-level control for the styling of urls in the new bibliography system? I use
\setupurl[style=\addff{f:ns}\ss]
(where f:ns is a fontfeature definition for lining/new style numerals) for the rest of the document. The bibliography honors this formatting for urls present in bibtex note entries, but persists in serif and oldstyle (the document defaults) for urls provided by bibtex url entries.
The bibliography specifications use the command \hyphenatedurl{} to flush the url (or doi) field.
Alan
Hans, This should probably be replaced by \url[]? Alan \unexpanded\def\url[#label]% move \hyphenatedurl to lua end (is already lua) {\dontleavehmode \begingroup \useurlstyleandcolor\c!style\c!color \hyphenatedurl{\clf_geturl{#label}}% \endgroup}
participants (2)
-
Alan Braslau
-
Rik Kabel