ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Steffen Wolfrum <context@st.estfiles.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: hyphenation again (mkii)
Date: Tue, 18 Dec 2007 11:05:41 +0100	[thread overview]
Message-ID: <0CE05AD6-5352-413D-98F2-08A547BBF662@st.estfiles.de> (raw)
In-Reply-To: <BEB54549-83FF-436D-A7FB-C871463FF8B5@st.estfiles.de>


Am 17.12.2007 um 14:54 schrieb Steffen Wolfrum:

> Hi,
>
> please have a look at the following minimal (4 text-lines):
>
>
> \hyphenation{Er-gän-zungs-lie-fe-rung}
> \showframe
>
> \starttext
>
> Text text text text text text text text text text text text text text
> text 26.\,Ergänzungslieferung% this should brake after Ergän-
>
> Text text text text text text text text text text text text text text
> text 26.|\,|Ergänzungslieferung% this does brake after Ergän-
>
> Text text text text text text text text text text text text text text
> text text 26.|\,|Ergänzungslieferung% this should NOT brake after 26.
>
> Text text text text text text text text text text text text text text
> text text 26.\,Ergänzungslieferung% this does NOT brake after 26.
>
> \stoptext
>
>
> I need a thinspace that prevents line-break between "26." and
> "Ergänzungslieferung".
> On the other hand this thinspace shouldn't kill my hyphenation points
> (i.e. the word should stay breakable)!


The tilde sign "~" would be perfect, it is just to wide:

\hyphenation{
Er-gän-zungs-lie-fe-rung
}
\showframe
\starttext

Text text text text text text text text text text text text text text  
text 26.~Ergänzungslieferung% this should brake after Ergän-

Text text text text text text text text text text text text text text  
text text 26.~Ergänzungslieferung% this should NOT brake after 26.

Text text text text text text text text text text text text text text  
text text 26.\,Er-gänzungslieferung% this should NOT brake after 26.

Text text text text text text text text text text text text text text  
text text 26.\,Er-gänzungslieferung% this should NOT brake after 26.

\stoptext


Is there something that is narrow as \, or \thinspace but behaves  
(see above) like ~ ???

Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2007-12-18 10:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-17 13:54 Steffen Wolfrum
2007-12-17 21:28 ` Hans Hagen
2007-12-18 10:05 ` Steffen Wolfrum [this message]
2007-12-18 11:12   ` hyphenation again (mkii) [solved] Steffen Wolfrum

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=0CE05AD6-5352-413D-98F2-08A547BBF662@st.estfiles.de \
    --to=context@st.estfiles.de \
    --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).