ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Changes in hyphenations with 2016-10-12 beta
Date: Thu, 13 Oct 2016 19:37:15 +0200	[thread overview]
Message-ID: <b7039b97-8a03-2beb-fbad-490b8b18ea0d@gmx.es> (raw)
In-Reply-To: <57ff5a4a.cf052e0a.a0daa.75c1@mx.google.com>

On 10/13/2016 11:56 AM, josephcanedo@gmail.com wrote:
> Apparently this difference comes from this change in font-ots.lua near
> line 603. If I edit the file to put back the discretionary_code
> argument, the output is same with new beta.

Hi Joseph,

French hyphenation is unknown to me, but I have a different approach.

> MWE (well as close to MWE I could write, requires EBGaramond unfortunately).
> 
> \language[fr]

The document main language is invoked in ConTeXt with:

    \mainlanguage[fr]

> \setupalign[hanging, lesshyphenation, hz]

I suspect that if you ask for less hyphenation, you get it.

See my sample:

    \mainlanguage[fr]
    \setupalign[lesshyphenation]
    \starttext
    \hyphenatedword{T advint qu'il y eut famine au pays/ oultre la
    premiere famine/ qui fut au temps de Abraham. Et Izahak s'en alla
    vers Abimelech Roy des Philisthins en Gerar}
    \stoptext

\hyphenatedword is your friend here. I get different results if I
comment the second line (to get normal hyphenation).

I wonder whether this might be causing the issue you’re experiencing.

Just in case it helps,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-10-13 17:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-13  8:17 josephcanedo
2016-10-13  9:56 ` josephcanedo
2016-10-13 17:37   ` Pablo Rodriguez [this message]
2016-10-13 18:51     ` Hans Hagen
2016-10-13 19:00       ` josephcanedo

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=b7039b97-8a03-2beb-fbad-490b8b18ea0d@gmx.es \
    --to=oinos@gmx.es \
    --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).