* Hyphenatedurl: custom line-break symbol, disable stretching
@ 2014-07-30 21:02 Joshua Krämer
2014-07-31 4:42 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Joshua Krämer @ 2014-07-30 21:02 UTC (permalink / raw)
To: ntg-context-wvrSQK3plZs
Dear list,
I typeset URLs with \hyphenatedurl, and have two questions.
(1) Is there a feature available to insert a custom symbol when a
line-break occurs, e.g. \hookleftarrow?
(2) How can I disable the stretching between characters? I've tried
the following without success:
\setupurl [space=no]
\setupurl [urlspace=no]
\unprotect
\def\lang_url_space{}
\protect
Thanks and kind regards,
Joshua
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context-wvrSQK3plZs@public.gmane.org / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Hyphenatedurl: custom line-break symbol, disable stretching
2014-07-30 21:02 Hyphenatedurl: custom line-break symbol, disable stretching Joshua Krämer
@ 2014-07-31 4:42 ` Wolfgang Schuster
2014-07-31 12:45 ` Joshua Krämer
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2014-07-31 4:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 30.07.2014 um 23:02 schrieb Joshua Krämer <joshua.kraemer@gmail.com>:
> Dear list,
>
> I typeset URLs with \hyphenatedurl, and have two questions.
>
> (1) Is there a feature available to insert a custom symbol when a
> line-break occurs, e.g. \hookleftarrow?
\setuplayout[width=4cm]
\starttext
\hyphenatedurl{http://optimist.optimist/optimist/optimist.optimist#optimist}
\def\hyphenatedurlseparator{→}
\hyphenatedurl{http://optimist.optimist/optimist/optimist.optimist#optimist}
\stoptext
> (2) How can I disable the stretching between characters? I've tried
> the following without success:
>
> \setupurl [space=no]
>
> \setupurl [urlspace=no]
>
> \unprotect
> \def\lang_url_space{}
> \protect
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Hyphenatedurl: custom line-break symbol, disable stretching
2014-07-31 4:42 ` Wolfgang Schuster
@ 2014-07-31 12:45 ` Joshua Krämer
2014-07-31 12:49 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Joshua Krämer @ 2014-07-31 12:45 UTC (permalink / raw)
To: ntg-context-wvrSQK3plZs
On 2014-07-31, 6:42, Wolfgang Schuster wrote:
> \def\hyphenatedurlseparator{→}
Thanks, I've added it to the wiki. Now only the question remains how
to disable URL stretching.
Kind regards,
Joshua
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Hyphenatedurl: custom line-break symbol, disable stretching
2014-07-31 12:45 ` Joshua Krämer
@ 2014-07-31 12:49 ` Wolfgang Schuster
2014-08-01 11:52 ` Joshua Krämer
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2014-07-31 12:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 31.07.2014 um 14:45 schrieb Joshua Krämer <joshua.kraemer@gmail.com>:
> On 2014-07-31, 6:42, Wolfgang Schuster wrote:
>> \def\hyphenatedurlseparator{→}
>
> Thanks, I've added it to the wiki. Now only the question remains how
> to disable URL stretching.
From what I can see in the code there is no option to disable the stretch values.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Hyphenatedurl: custom line-break symbol, disable stretching
2014-07-31 12:49 ` Wolfgang Schuster
@ 2014-08-01 11:52 ` Joshua Krämer
0 siblings, 0 replies; 5+ messages in thread
From: Joshua Krämer @ 2014-08-01 11:52 UTC (permalink / raw)
To: ntg-context-wvrSQK3plZs
On 2014-07-31, 14:49, Wolfgang Schuster wrote:
> From what I can see in the code there is no option to disable the
> stretch values.
Thanks for checking.
Kind regards,
Joshua
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context-wvrSQK3plZs@public.gmane.org / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-08-01 11:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-30 21:02 Hyphenatedurl: custom line-break symbol, disable stretching Joshua Krämer
2014-07-31 4:42 ` Wolfgang Schuster
2014-07-31 12:45 ` Joshua Krämer
2014-07-31 12:49 ` Wolfgang Schuster
2014-08-01 11:52 ` Joshua Krämer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).