From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54938 Path: news.gmane.org!not-for-mail From: Mohamed Bana Newsgroups: gmane.comp.tex.context Subject: url breaking Date: Tue, 1 Dec 2009 17:42:07 +0000 Message-ID: <66f12d2d0912010942o19dd9a77gf2836f1dc992ae60@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0754941381==" X-Trace: ger.gmane.org 1259689364 5084 80.91.229.12 (1 Dec 2009 17:42:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Dec 2009 17:42:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 01 18:42:37 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NFWkH-0000vp-Cp for gctc-ntg-context-518@m.gmane.org; Tue, 01 Dec 2009 18:42:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1D3F3C9CC1; Tue, 1 Dec 2009 18:39:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IZSD4w7m9hnd; Tue, 1 Dec 2009 18:39:25 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1A2DDC9CAA; Tue, 1 Dec 2009 18:39:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BCF02C9CAA for ; Tue, 1 Dec 2009 18:39:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IM8wF98TWT6t for ; Tue, 1 Dec 2009 18:39:21 +0100 (CET) Original-Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.144]) by balder.ntg.nl (Postfix) with ESMTP id 2D0D3C9CA8 for ; Tue, 1 Dec 2009 18:39:21 +0100 (CET) Original-Received: by qw-out-1920.google.com with SMTP id 14so898090qwa.38 for ; Tue, 01 Dec 2009 09:42:28 -0800 (PST) Original-Received: by 10.229.15.203 with SMTP id l11mr847693qca.43.1259689347879; Tue, 01 Dec 2009 09:42:27 -0800 (PST) X-Originating-IP: [188.221.189.13] X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:54938 Archived-At: --===============0754941381== Content-Type: multipart/alternative; boundary=0015175ce0941b934d0479ae48f5 --0015175ce0941b934d0479ae48f5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all, a) I've reported this before; I ca1n't seem to wrap long URLs across lines in XeTeX $ pdfinfo x.pdf Title: x Subject: x Author: Mohamed Bana Creator: ConTeXt - 2008.10.31 13:58 Producer: xdvipdfmx (0.7.3) CreationDate: Tue Dec 1 17:19:25 2009 ModDate: Tue Dec 1 00:00:00 2009 Tagged: no Pages: 1 Encrypted: no Page size: 595.28 x 841.89 pts (A4) File size: 37209 bytes Optimized: no PDF version: 1.5 If I do this in LuaTeX it seems to work fine. \useURL[doilink][http://dx.doi.org/10.1109/32.689404][][\hyphenatedurl{ http://dx.doi.org/10.1109/32.689404}] \from[doilink] But with XeTeX it insists on overflowing into the margins or into another column. Does anyone have a workaround? $ pdfinfo x.pdf Title: x Subject: x Author: Mohamed Bana Creator: ConTeXt - 2009.12.01 17:09 Producer: LuaTeX-0.46.0 CreationDate: Tue Dec 1 17:30:14 2009 ModDate: Tue Dec 1 00:00:00 2009 Tagged: no Pages: 2 Encrypted: no Page size: 595.276 x 841.89 pts (A4) File size: 32262 bytes Optimized: no PDF version: 1.5 In this latest version I don't even need the \hyphenatedurl macro :). b) And please, guys, will you just include a macro that will take a URL as a parameter and typeset it. Having to do \useURL[doilink][http://dx.doi.org/10.1109/32.689404][][\hyphenatedurl{ http://dx.doi.org/10.1109/32.689404}] \from[doilink] is just unnecessary. I'm thinking \typeurl[], that's it. c) Is there something wrong with using \footnote{} whilst in a column? I can send the full example off-list. Just ping me. Thank you, =E2=80=94Mohamed --0015175ce0941b934d0479ae48f5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable = Hi all,

a) =C2=A0I've reported this before= ; I ca1n't seem to wrap long URLs across lines in XeTeX=C2=A0

$ pdfinfo x.pdf =C2=A0 =C2=A0 =C2=A0=C2=A0<= /font>
Title: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0x
Subject: =C2=A0 =C2=A0 =C2=A0 =C2=A0x
Author: =C2=A0 = =C2=A0 =C2=A0 =C2=A0 Mohamed Bana
Creator: =C2=A0 =C2=A0 =C2=A0 =C2=A0ConTeXt - 2008.10.31 13:58<= /div>
Producer: =C2=A0 =C2=A0 =C2=A0 xdvipdfmx (0.7.3)
CreationDate: =C2=A0 Tue Dec =C2=A01 17:19:25 2009
Mo= dDate: =C2=A0 =C2=A0 =C2=A0 =C2=A0Tue Dec =C2=A01 00:00:00 2009
Tagged: =C2=A0 =C2=A0 =C2=A0 =C2=A0 no
Pages: =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A01
Encrypted: =C2=A0 =C2=A0 =C2= =A0no
Page size: =C2=A0 =C2=A0 =C2=A0595.28 x 841.89 pts (A4)
File size: =C2=A0 =C2=A0 =C2=A037209 bytes
Optimized: =C2=A0 =C2=A0 =C2=A0no
PDF version: =C2=A0= =C2=A01.5


If I do this in LuaTeX it seems to work fine.

\from[doilink]

But with XeTeX it insist= s on overflowing into the margins or into another column. =C2=A0Does anyone= have a workaround?


$ pdfinfo = x.pdf =C2=A0 =C2=A0 =C2=A0
Title: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0x
Subject: = =C2=A0 =C2=A0 =C2=A0 =C2=A0x
Author: =C2=A0 =C2=A0 =C2=A0 = =C2=A0 Mohamed Bana
Creator: =C2=A0 =C2=A0 =C2=A0 =C2=A0ConTeXt - 2009.12.01 17:09<= /div>
Producer: =C2=A0 =C2=A0 =C2=A0 LuaTeX-0.46.0
CreationDate: =C2=A0 Tue Dec =C2=A01 17:30:14 2009
Mo= dDate: =C2=A0 =C2=A0 =C2=A0 =C2=A0Tue Dec =C2=A01 00:00:00 2009
Tagged: =C2=A0 =C2=A0 =C2=A0 =C2=A0 no
Pages: =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A02
Encrypted: =C2=A0 =C2=A0 =C2= =A0no
Page size: =C2=A0 =C2=A0 =C2=A0595.276 x 841.89 pts (A4)
<= div>File size: =C2=A0 =C2=A0 =C2=A032262 bytes
Optimized: =C2=A0 =C2=A0 =C2=A0no
PDF version: =C2=A0= =C2=A01.5

In this latest version I don't even need the=C2=A0\hyp= henatedurl macro :).


b) =C2= =A0And please, guys, will you just include a macro that will take a URL as = a parameter and typeset it. =C2=A0Having to do

\from[doilink]

is just unnecessary. = =C2=A0I'm thinking \typeurl[<url>], that's it.


c) =C2=A0Is there something wrong = with using=C2=A0\footnote{<text>} whilst in a column?

I can send the full example off-list. =C2=A0Just ping me.
Thank you,
=E2=80=94Mohamed
--0015175ce0941b934d0479ae48f5-- --===============0754941381== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0754941381==--