From: Alan Bowen <acbowen@princeton.edu>
Subject: Re: wrapping a long URL without added spaces
Date: Wed, 12 Apr 2006 07:47:38 -0400 [thread overview]
Message-ID: <B1436E55-54EB-40A5-8042-4443A2F29041@princeton.edu> (raw)
In-Reply-To: <443CB4A7.1040700@elvenkind.com>
[-- Attachment #1: Type: text/plain, Size: 300 bytes --]
Hi, Taco!
Here is a minimal file that produces the problem. Note that if you
comment out \setupinteraction[...], the problem goes away and the URL
is wrapped nicely.
Thanks for looking at this.
Alan
PS I am using ConTeXt ver: 2006.04.09 22:25 fmt: 2006.4.10 int:
english mes: english
[-- Attachment #2: hyphenatedurlTest.tex --]
[-- Type: application/octet-stream, Size: 1614 bytes --]
\setupcolors [state=start,textcolor=black]
\setupcolor[rgb]
\setupinteraction[state=start,color=blue,style=rm]
%Bibliography Format
\definehead[BibTitle][subject]
\setupsectionblock[BibTitle][number=no,page=right]
\setuphead[BibTitle][style={sc}, after={\blank}]
\def\hangover{\hangafter=1\hangindent=1.5pc\raggedright}
\definestartstop[bibliography][
before={
\page[no]
\indenting[never]
\startalignment[left]
\BibTitle{bibliography}
\stopalignment
\bgroup\appendtoks\hangover\to\everypar
},
after={
\egroup
\indenting[yes]}]
\def\bibentryrule{\noindent\vrule height0.4pt width44pt depth0pt\thinspace}
\useURL
[CampbellinLICSa]
[{http://www.leeds.ac.uk/classics/lics/2002/200203.pdf}]
[]
[{\hyphenatedurl{http://www.leeds.ac.uk/classics/lics/2002/200203.pdf}}]
\useURL
[CampbellinLICSb]
[{http://www.leeds.ac.uk/classics/lics/discussion/2002dp1.pdf}]
[]
[{\hyphenatedurl{http://www.leeds.ac.uk/classics/lics/discussion/2002dp1.pdf}}]
\starttext
\input knuth
The following is a test of URL wrapping \from[CampbellinLICSa]
\startbibliography
Blickman, D.\ R.\ 1989.\ \quote{Lucretius, Epicurus and Prehistory}.\ {\em Harvard Studies in Classical Philology} 92:157||191.
Campbell, G. 2002a. \quote{Lucretius 5.1011||27: The Origins of Justice and the Prisoner's
Dilemma}.\ {\em Leeds International Classical Studies} 1.3:1||12 (\from[CampbellinLICSa]).
\bibentryrule 2002b. \quote{Lucretius and the Memes of Prehistory}.\ Discussion Paper 1, November 2002.\ {\em Leeds International Classical Studies} \from[CampbellinLICSb].
\stopbibliography
\stoptext
[-- Attachment #3: Type: text/plain, Size: 596 bytes --]
On Apr 12, 2006, at 4:04 AM, Taco Hoekwater wrote:
>
>
> Hi Alan,
>
> Alan Bowen wrote:
>> I can wrap a long URL using \hyphenatedurl, but not without getting
>> some unwanted spaces before the numerous “/”s in the URL.
>
> You are not telling us something, because I get no extra spaces
> after toying around with your description for a while. Please
> post a minimal file that demonstrates the problem.
>
> Greetings, Taco
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
[-- Attachment #4: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
next prev parent reply other threads:[~2006-04-12 11:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-11 22:33 Alan Bowen
2006-04-12 8:04 ` Taco Hoekwater
2006-04-12 11:47 ` Alan Bowen [this message]
2006-04-12 12:45 ` Taco Hoekwater
2006-04-13 11:53 ` Alan Bowen
2006-04-13 11:29 ` Hans Hagen
2006-04-13 12:03 ` Alan Bowen
2006-04-13 13:00 ` Hans Hagen
2006-04-13 19:15 ` Alan Bowen
2006-04-14 18:21 ` Johannes Graumann
2006-04-14 18:35 ` Hans Hagen
2006-04-14 18:36 ` Johannes Graumann
2006-04-14 18:55 ` Alan Bowen
2006-04-14 18:58 ` Johannes Graumann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B1436E55-54EB-40A5-8042-4443A2F29041@princeton.edu \
--to=acbowen@princeton.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).