Dear list, I have the following sample: \starttext The wiki located at \useURL[url1][http://wiki.contextgarden.net][][\hyphenatedurl{http://wiki.contextgarden.net}]\from[url1]. \stoptext This is actually ConTeXt output generated from pandoc. Is there any way to have \hyphenatedrul with \tt and *without* editing the text itself? (Since this is automatically generated output, it makes no sense having to edit it.) Many thanks for your help, Pablo -- http://www.ousia.tk
Am 27.04.2014 um 00:15 schrieb Pablo Rodriguez
Dear list,
I have the following sample:
\starttext The wiki located at \useURL[url1][http://wiki.contextgarden.net][][\hyphenatedurl{http://wiki.contextgarden.net}]\from[url1]. \stoptext
This is actually ConTeXt output generated from pandoc.
Is there any way to have \hyphenatedrul with \tt and *without* editing the text itself? (Since this is automatically generated output, it makes no sense having to edit it.)
When you omit the fourth argument for \useurl you can change the style and color for the url with the \setupurl command, it would even be split at page breaks because context already uses the \hyphenatedurl command in this case. \setupurl[style=mono,color=red] \starttext The wiki located at \useURL[url1][http://wiki.contextgarden.net]\from[url1]. \stoptext Wolfgang
On 04/27/2014 09:04 PM, Wolfgang Schuster wrote:
Am 27.04.2014 um 00:15 schrieb Pablo Rodriguez:
Is there any way to have \hyphenatedrul with \tt and *without* editing the text itself? (Since this is automatically generated output, it makes no sense having to edit it.)
When you omit the fourth argument for \useurl you can change the style and color for the url with the \setupurl command, it would even be split at page breaks because context already uses the \hyphenatedurl command in this case.
\setupurl[style=mono,color=red]
\starttext The wiki located at \useURL[url1][http://wiki.contextgarden.net]\from[url1]. \stoptext
Many thanks for your help, Wolfgang. Pablo -- http://www.ousia.tk
participants (2)
-
Pablo Rodriguez
-
Wolfgang Schuster