ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* wrapping urls
@ 2009-11-06 16:30 Mohamed Bana
  2009-11-07  6:47 ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: Mohamed Bana @ 2009-11-06 16:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1036 bytes --]

Hello guys,

I'm having problems with wrapping of URLs.  It seems whatever I do the 
URLs overflow into the margin, this is especially noticeable when I use 
two columns on a single page.  In case it helps, I have the following 
setup (ignore the commented lines);

    \setupinterlinespace[small,auto]
    \setuptolerance[verytolerant, stretch]
    ...
    %\setupalign[nothyphenated]
    \setupalign[hyphenated]
    %\setupurl[space=yes,style=\ss,urlalternative=] %none both before after
    \setupurl[style=normal]
    ...
    \from[author-website] %this overflows.

Is it possible to how someone force wrapping, even if the text looks awful?




Creator:        ConTeXt - 2008.05.21 15:21
Producer:       xdvipdfmx (0.7.3)
CreationDate:   Fri Nov  6 16:25:08 2009
ModDate:        Fri Nov  6 00:00:00 2009
Tagged:         no
Pages:          2
Encrypted:      no
Page size:      595.28 x 841.89 pts (A4)
File size:      37624 bytes
Optimized:      no
PDF version:    1.5


Thanks,

 —Mohamed


[-- Attachment #1.2: Type: text/html, Size: 1771 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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] 4+ messages in thread

* Re: wrapping urls
  2009-11-06 16:30 wrapping urls Mohamed Bana
@ 2009-11-07  6:47 ` Taco Hoekwater
  2009-11-07 11:10   ` Mohamed Bana
  0 siblings, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2009-11-07  6:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Mohamed Bana wrote:
> Hello guys,
> 
> I'm having problems with wrapping of URLs.  It seems whatever I do the 
> URLs overflow into the margin, this is especially noticeable when I use 
> two columns on a single page.  In case it helps, I have the following 

Like so?

\useURL
   [author-website]
   [http://auther.url/long/path/stuff]
   []
   [\hyphenatedurl{http://auther.url/long/path/stuff}]

Best wishes,
Taco

___________________________________________________________________________________
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] 4+ messages in thread

* Re: wrapping urls
  2009-11-07  6:47 ` Taco Hoekwater
@ 2009-11-07 11:10   ` Mohamed Bana
  2009-11-07 11:44     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Mohamed Bana @ 2009-11-07 11:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1643 bytes --]

Thanks, Taco, some URLs still overflow though :( with XeTeX.  When I tried
with the version below all seemed to work

Creator:        ConTeXt - 2009.09.11 18:14
Producer:       LuaTeX-0.43.0
CreationDate:   Sat Nov  7 11:08:49 2009
ModDate:        Sat Nov  7 00:00:00 2009
Tagged:         no
Pages:          2
Encrypted:      no
Page size:      595.276 x 841.89 pts (A4)
File size:      32011 bytes
Optimized:      no
PDF version:    1.5

but I can't use this ver. because I need the

  \usetypescript  [serif]   [hanging] [pure]

doesn't work.

—Mohamed


On Sat, Nov 7, 2009 at 6:47 AM, Taco Hoekwater <taco@elvenkind.com> wrote:

> Mohamed Bana wrote:
>
>> Hello guys,
>>
>> I'm having problems with wrapping of URLs.  It seems whatever I do the
>> URLs overflow into the margin, this is especially noticeable when I use two
>> columns on a single page.  In case it helps, I have the following
>>
>
> Like so?
>
> \useURL
>  [author-website]
>  [http://auther.url/long/path/stuff]
>  []
>  [\hyphenatedurl{http://auther.url/long/path/stuff}]
>
> Best wishes,
> Taco
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2791 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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] 4+ messages in thread

* Re: wrapping urls
  2009-11-07 11:10   ` Mohamed Bana
@ 2009-11-07 11:44     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2009-11-07 11:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Mohamed Bana wrote:
> Thanks, Taco, some URLs still overflow though :( with XeTeX.  When I 
> tried with the version below all seemed to work
> 
> Creator:        ConTeXt - 2009.09.11 18:14
> Producer:       LuaTeX-0.43.0
> CreationDate:   Sat Nov  7 11:08:49 2009
> ModDate:        Sat Nov  7 00:00:00 2009
> Tagged:         no
> Pages:          2
> Encrypted:      no
> Page size:      595.276 x 841.89 pts (A4)
> File size:      32011 bytes
> Optimized:      no
> PDF version:    1.5
> 
> but I can't use this ver. because I need the
> 
>   \usetypescript  [serif]   [hanging] [pure]

mkiv does not use that mechanism but has it as a feature

% \definefontfeature[demo][default][mode=node,expansion=quality]
\definefontfeature[demo][default][mode=node,protrusion=pure]

(before loading a font)

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2009-11-07 11:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-06 16:30 wrapping urls Mohamed Bana
2009-11-07  6:47 ` Taco Hoekwater
2009-11-07 11:10   ` Mohamed Bana
2009-11-07 11:44     ` Hans Hagen

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).