ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: modifying URL wrapping rules
Date: Fri, 21 Nov 2008 09:22:04 +0100	[thread overview]
Message-ID: <49266FAC.9080508@wxs.nl> (raw)
In-Reply-To: <4925F473.7070805@sil.org>

Lars Huttar wrote:
> On 11/19/2008 2:35 PM, Lars Huttar wrote:
>> 2) Even though I have "\sethyphenatedurlafter /" instead of
>> "\sethyphenatedurlbefore /", there are four cases where a URL is broken
>> before a slash, e.g.:
>> http://www.sil.org/.../009
>> /YAMBASSA.html.
>> and no cases where a URL is broken after a slash (except when it's also
>> before a slash -- see 1).
>>
>> I wonder if my modifications are actually taking effect?
>> Do I need to compile the changes to the .mkii file or something? I tried
>> texexec.bat --make --all, but that didn't seem to change the outcome.
> 
> Can someone tell me if there's a compile command necessary for mkii?

texexec --make

however, i strongly advise you to put such patches or tuning in your 
document style because otherwise you loose them when you update

> \ifx\normalquitvmode\undefined \else \let\dontleavehmode\normalquitvmode \fi
> 
> I am running Xetex, FWIW.
> "This is XeTeX, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7)"
> 
> The above makes me think that "dontleavehmode" should prevent any
> 'hyphenation' except for the types explicitly allowed in lang-url.mkii
> via \sethyphenatedurlafter/before/normal.

just leave dontleavehmode untouched; it's definition adapts itself to 
the engine

i leave it to others to react on the rest of your mail (some users have 
been tuning the mechanism too)

Hans


-----------------------------------------------------------------
                                           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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-11-21  8:22 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-18 21:12 Lars Huttar
2008-11-18 21:44 ` Arthur Reutenauer
2008-11-18 21:59   ` Lars Huttar
2008-11-18 22:13     ` Arthur Reutenauer
2008-11-19 20:35   ` Lars Huttar
2008-11-19 23:23     ` Lars Huttar
2008-11-20  8:29       ` Hans Hagen
2008-11-20 13:19         ` Lars Huttar
2008-11-20 23:36     ` Lars Huttar
2008-11-21  8:22       ` Hans Hagen [this message]
2008-11-21 15:35         ` Lars Huttar
     [not found] <4926D553.4020803@sil.org>
     [not found] ` <96CA6B61-8532-483F-8810-9DD7306F1CF2@st.estfiles.de>
2008-11-21 18:01   ` Lars Huttar
2008-11-21 19:31     ` Lars Huttar
2008-11-21 20:35       ` Mojca Miklavec
2008-11-21 22:53         ` Hans Hagen
2008-11-21 23:11           ` Mojca Miklavec
2008-11-24 13:39           ` Lars Huttar
2008-11-24 14:45             ` Hans Hagen
2008-11-24 16:25               ` Lars Huttar
2008-11-25 14:47           ` Steffen Wolfrum
2008-11-25 15:11             ` Hans Hagen

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=49266FAC.9080508@wxs.nl \
    --to=pragma@wxs.nl \
    --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).