From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27113 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: wrapping a long URL without added spaces Date: Wed, 12 Apr 2006 07:47:38 -0400 Message-ID: References: <443CB4A7.1040700@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: multipart/mixed; boundary=Apple-Mail-8--968465764 X-Trace: sea.gmane.org 1144842503 31795 80.91.229.2 (12 Apr 2006 11:48:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Apr 2006 11:48:23 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 12 13:48:20 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FTdpS-0005fX-8v for gctc-ntg-context-518@m.gmane.org; Wed, 12 Apr 2006 13:48:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2E03912797; Wed, 12 Apr 2006 13:48:09 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15545-05; Wed, 12 Apr 2006 13:48:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CE8221278D; Wed, 12 Apr 2006 13:48:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CBC641278D for ; Wed, 12 Apr 2006 13:48:01 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15546-04 for ; Wed, 12 Apr 2006 13:47:59 +0200 (CEST) Original-Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by ronja.ntg.nl (Postfix) with SMTP id 9471A1277E for ; Wed, 12 Apr 2006 13:47:59 +0200 (CEST) Original-Received: from [151.204.18.39] by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IXL006ZLY3EY070@vms042.mailsrvcs.net> for ntg-context@ntg.nl; Wed, 12 Apr 2006 06:47:39 -0500 (CDT) In-reply-to: <443CB4A7.1040700@elvenkind.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.749.3) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27113 Archived-At: --Apple-Mail-8--968465764 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed 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 --Apple-Mail-8--968465764 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-mac-type=54455854; x-unix-mode=0644; x-mac-creator=54655873; name="hyphenatedurlTest.tex" Content-Disposition: attachment; filename=hyphenatedurlTest.tex \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 --Apple-Mail-8--968465764 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=WINDOWS-1252; format=flowed 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 =93/=94s 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 --Apple-Mail-8--968465764 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --Apple-Mail-8--968465764--