ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: close-up (was: backward compatibility ... )
Date: Tue, 11 Sep 2007 08:38:29 +0200	[thread overview]
Message-ID: <115224fb0709102338g5a2e8fd9r61838ac199db5a53@mail.gmail.com> (raw)
In-Reply-To: <1A0E4CAC-FFA7-4414-8E9F-C1F872044731@st.estfiles.de>

2007/9/10, Steffen Wolfrum <context@st.estfiles.de>:
>
> Am 10.09.2007 um 13:38 schrieb Wolfgang Schuster:
>
> > You should write now in your documents "erste beruf|*|liche Laufbahn".
>
>
> Please take a close-up at the minimal below.
> There are three components: hyphenation, ligatures and space in
> ligatures.
>
> Up to now I couldn't find the *right* solution, where all three are
> correct.
>
> Maybe some wizards know?
>
> Steffen
>
>
>
> \usetypescript[postscript][\defaultencoding]
> \setupencoding[default=texnansi]
> \mainlanguage[deo]
> \enableregime[mac]
> \setupbodyfont[postscript,36pt]
>
>
> \starttext
> \showframe
>
> %Auflagen {\txx the fl-ligature is wrong here}
>
> %Auf\-lagen {\txx the right fl for false ligatures!}
>
> %Auf\/lagen {\txx this is too much space in fl}
>
> %Auf|*|lagen {\txx  this is too much space in fl}
>
>
> 1234567890 Auflagen Auflagen {\txx right hyphenation, but wrong
> ligature\break - -}
>
> 1234567890 Auf\-lagen Auf\-lagen
>
> 1234567890 Auf\/lagen Auf\/lagen {\txx these -- and also \verbatim
> {Auf|\-|lagen} -- kill the other hyphenation Aufla-gen. Esp ugly for
> long words ... \break - -}
>
> 1234567890 Auf|*|lagen Auf|*|lagen {\txx right hyphenation, but too
> much space in fl\break - -}
>
>
>   % for the right space between fl see also ff:
>
>
>   Auf\-fangen {\txx perfect!}
>
>   Auf\/fangen {\txx too much space}
>
>   Auf|*|fangen {\txx too much space}
>
>
> \stoptext
>
> \stoptext

Hi Steffen,

you can change the space between the characters the |*| inserts.

% original definition
%\definetextmodediscretionary *
%  {\prewordbreak\discretionary{-}{}{\kern.05em}\prewordbreak}

\definetextmodediscretionary *
  {\prewordbreak\discretionary{-}{}{}\prewordbreak}

Now Auf|*|lagen give for me the same output as Auf\-lagen.

Wolfgang
___________________________________________________________________________________
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:[~2007-09-11  6:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-10  9:11 backward compatibility broken ! Steffen Wolfrum
2007-09-10  9:26 ` Taco Hoekwater
2007-09-10  9:40   ` Steffen Wolfrum
2007-09-10 11:38     ` Wolfgang Schuster
2007-09-10 16:40       ` close-up (was: backward compatibility ... ) Steffen Wolfrum
2007-09-11  6:38         ` Wolfgang Schuster [this message]
2007-09-11 10:02           ` 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=115224fb0709102338g5a2e8fd9r61838ac199db5a53@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).