3 Nov
2018
3 Nov
'18
9:25 a.m.
Am 02.11.2018 um 13:08 schrieb Wolfgang Schuster
: Axel Kielhorn schrieb am 02.11.18 um 10:10:
Hello!
Where is the best way to define URLs in a project?
I currently define them when I need them, but wouldn’t it be better to keep them in a project file and have only one location to edit when they change?
When you use \useurl in combination with \url or \from you can define them in a environment file. To make themeasier to handle you can use a separate environment file only for the urls.
\setupinteraction[state=start]
\useurl [garden] [https://wiki.contextgarden.net/] [ConTeXt garden]
\starttext
\url [garden]
\from[garden]
\stoptext
Is there a way to loop over all defined urls to generate a link list (like a bibliography)? Axel