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[<url>], that's it.


c)  Is there something wrong with using \footnote{<text>} whilst in a
column?

I can send the full example off-list.  Just ping me.

Thank you,
—Mohamed
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to