ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Hyphenation
       [not found] ` <3.0.5.32.19990525160807.00a40210@mail.northcoast.com>
@ 1999-05-26  7:35   ` Hans Hagen
  0 siblings, 0 replies; 12+ messages in thread
From: Hans Hagen @ 1999-05-26  7:35 UTC (permalink / raw)


David Arnold wrote:

> (f:\texmf\tex\context\config\cont-usr.tex))
> language       : no patterns en for en (n=0)
> language       : no hyphenations en for en (n=0)
> language       : patterns uk for uk loaded (n=1)

> ConTeXt ver: 1999.5.11 fmt: 1999.5.22 int: english mes: english

> >> It doesn't look like I am getting the hyphenation patterns I need. The
> >> following source generates the attached pdf on my system.

Ah, this is a real problem! I didn't notice that because I use the
lang-* filenames here (those were included in previous distributions).
File mapping is rather recent and was introduced to prevent
duplications. The cont-usr file should have an 'en' entry too! I also
noticed that the uk entry was wrong: should be 'ukhyphen' instead of
'ukhyph'. So much for standards in naming. I don;t think tetex suffers
from this, because Thomas has a system wide mapping system running
there. 

Can you add/change these lines in cont-usr.tex? 

\definefilesynonym [lang-en.pat]  [ushyph1.tex]
\definefilesynonym [lang-us.pat]  [ushyph1.tex]
\definefilesynonym [lang-uk.pat]  [ukhyphen.tex]

Thanks for mentioning the problem, 

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* hyphenation
@ 2021-10-13  7:49 Hans Hagen via ntg-context
  0 siblings, 0 replies; 12+ messages in thread
From: Hans Hagen via ntg-context @ 2021-10-13  7:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

Here is a nice trick to show all possible (within the constraints of 
fonts and languages) hyphenations in a paragraoh:

     \bgroup
         \setupalign[flushright]
         \hyphenpenalty-100000
         \input tufte
         \par % force hyphenation
     \egroup

This one does the same for last lines on a page with a hyphen:

\bgroup
   % \interlinepenalty10000
     \brokenpenalty-10000
     \input tufte
\egroup

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: hyphenation
  2018-10-26 11:38 hyphenation Hans van der Meer
  2018-10-26 11:54 ` hyphenation Hans Hagen
@ 2018-10-26 11:57 ` Wolfgang Schuster
  1 sibling, 0 replies; 12+ messages in thread
From: Wolfgang Schuster @ 2018-10-26 11:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Hans van der Meer


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

Untested:

\setupreferenceformat[style=\nohyphens]

Wolfgang


Hans van der Meer schrieb am 26.10.18 um 13:38:
> Using roman numbers in figures I encountered a case where XIII.9 was 
> hyphenated into XI-II.9. A bit unclear, in my opinion.
>
> Easily repairable with something 
> like \def\myfigure[#1]{{\nohyphens\in{figure}[#1]}}
> Just an observation, not really a problem but maybe something waiting 
> to be fixed.
>
> dr. Hans van der Meer
>
>
>
>
> ___________________________________________________________________________________
> 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  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


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

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: hyphenation
  2018-10-26 11:38 hyphenation Hans van der Meer
@ 2018-10-26 11:54 ` Hans Hagen
  2018-10-26 11:57 ` hyphenation Wolfgang Schuster
  1 sibling, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2018-10-26 11:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Hans van der Meer

On 10/26/2018 1:38 PM, Hans van der Meer wrote:
> Using roman numbers in figures I encountered a case where XIII.9 was 
> hyphenated into XI-II.9. A bit unclear, in my opinion.
> 
> Easily repairable with something 
> like \def\myfigure[#1]{{\nohyphens\in{figure}[#1]}}
> Just an observation, not really a problem but maybe something waiting to 
> be fixed.

\nl \hyphenation{XIII}


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* hyphenation
@ 2018-10-26 11:38 Hans van der Meer
  2018-10-26 11:54 ` hyphenation Hans Hagen
  2018-10-26 11:57 ` hyphenation Wolfgang Schuster
  0 siblings, 2 replies; 12+ messages in thread
From: Hans van der Meer @ 2018-10-26 11:38 UTC (permalink / raw)
  To: NTG ConTeXt


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

Using roman numbers in figures I encountered a case where XIII.9 was hyphenated into XI-II.9. A bit unclear, in my opinion. 

Easily repairable with something like \def\myfigure[#1]{{\nohyphens\in{figure}[#1]}}
Just an observation, not really a problem but maybe something waiting to be fixed.

dr. Hans van der Meer



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

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: hyphenation
  2009-05-24 21:12 hyphenation Henning Hraban Ramm
@ 2009-05-25  7:07 ` Taco Hoekwater
  0 siblings, 0 replies; 12+ messages in thread
From: Taco Hoekwater @ 2009-05-25  7:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Hi Hraban,

Your questions are more about luatex than about context, I think
(you _are_ talking about mkiv, yes?)

Henning Hraban Ramm wrote:
> Ahoi,
> (1)
> there's an ongoing thread on the German mailing list (TeX-D-L), if it 
> would be possible to implement weighted(?) hyphenation, i.e. that some 
> breaks are better than other, e.g.
> Do-nau---dampf--schiff---fahrt
> Wa-ren---wirt--schaft
> Eu-ro-pa---par-la--ment
> (In InDesign I can suggest such priorities if I add words to the user 
> dictionary.)

There is a tracker item to that effect:

   http://tracker.luatex.org/view.php?id=168

but it has no planned deadline yet.

> (2)
> Uses ConTeXt the same hyphenation algorithm as LaTeX? Or one of the 
> newer projects? (perhaps SiSiSi?)

At the moment, the functionality of \patterns in luatex is the same as
in pdf(tex) except that the hyphenation patterns are fully UTF-8.

> (3)
> Further, I wonder why \hyphenation{} is case dependend - in my last 
> project "Secretary General" was wrongly hyphenated, but 
> \hyphenation{se-cre-ta-ry} didn't fix it, I needed 
> \hyphenation{Se-cre-ta-ry}. Does that make sense?

Not so much. At first sight, this looks like a luatex bug. I will 
investigate.

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* hyphenation
@ 2009-05-24 21:12 Henning Hraban Ramm
  2009-05-25  7:07 ` hyphenation Taco Hoekwater
  0 siblings, 1 reply; 12+ messages in thread
From: Henning Hraban Ramm @ 2009-05-24 21:12 UTC (permalink / raw)
  To: mailing ConTeXt users list for

Ahoi,
(1)
there's an ongoing thread on the German mailing list (TeX-D-L), if it  
would be possible to implement weighted(?) hyphenation, i.e. that some  
breaks are better than other, e.g.
Do-nau---dampf--schiff---fahrt
Wa-ren---wirt--schaft
Eu-ro-pa---par-la--ment
(In InDesign I can suggest such priorities if I add words to the user  
dictionary.)

(2)
Uses ConTeXt the same hyphenation algorithm as LaTeX? Or one of the  
newer projects? (perhaps SiSiSi?)

(3)
Further, I wonder why \hyphenation{} is case dependend - in my last  
project "Secretary General" was wrongly hyphenated, but  
\hyphenation{se-cre-ta-ry} didn't fix it, I needed \hyphenation{Se-cre- 
ta-ry}. Does that make sense?



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: hyphenation
       [not found] ` <A1349FE2-7740-4416-A001-7F766506A658@uni-bonn.de>
@ 2009-04-09 15:02   ` Vyatcheslav Yatskovsky
  0 siblings, 0 replies; 12+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-04-09 15:02 UTC (permalink / raw)
  To: Thomas A. Schmitz, ntg-context

[-- Attachment #1: Type: text/plain, Size: 550 bytes --]

Hello Thomas and everybody,

I've checked hyph patterns for Russian and languages provided by you. I 
discovered that nothing has changed for last month -- the result is 
exactly the same for luatex 0.35 and 0.37, as well as respective ConTeXt 
builds.

Two demo images are attached.

Vyatcheslav

> Hi Vyatcheslav,
>
> I append a file that I have used, can you simply add tests for Russian 
> and Ukrainian? Yes, I'm using mkiv, latest beta, luatex 0.37.
>
> Thanks for your help - I will be offline until Sunday night.
>
> All best
>
> Thomas
>
>


[-- Attachment #2: LuaTeX 0.37.0-2009040118 ConTeXt 2009.04.06.png --]
[-- Type: image/png, Size: 4316 bytes --]

[-- Attachment #3: LuaTeX 0.35.0-2009022423 ConTeXt 2009.03.27.png --]
[-- Type: image/png, Size: 4195 bytes --]

[-- Attachment #4: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: hyphenation
  2004-01-06 21:37 ` hyphenation Henning Hraban Ramm
@ 2004-01-07  6:21   ` Peter Münster
  0 siblings, 0 replies; 12+ messages in thread
From: Peter Münster @ 2004-01-07  6:21 UTC (permalink / raw)


On Tue, 6 Jan 2004, Henning Hraban Ramm wrote:

> > Here again the example, where you can see the problem.
>
> Here's no problem - I get hyphenation.

Ok, then there must be a problem with my installation. I only get "evolution"
hyphenated, but not "évolution"... :(
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
------------------------------------
Film Search site: http://f-s.sf.net/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: hyphenation
  2004-01-06 16:58 hyphenation (was: Re: extended ascii characters) Peter Münster
@ 2004-01-06 21:37 ` Henning Hraban Ramm
  2004-01-07  6:21   ` hyphenation Peter Münster
  0 siblings, 1 reply; 12+ messages in thread
From: Henning Hraban Ramm @ 2004-01-06 21:37 UTC (permalink / raw)



Am Dienstag, 06.01.04, um 17:58 Uhr (Europe/Zurich) schrieb Peter 
Münster:
> The original posted example began with \fr, which should be the same as
> \language[fr].

right.

> Here again the example, where you can see the problem.

Here's no problem - I get hyphenation.

Grüßlis vom Hraban!
-- 
http://www.fiee.net/texnique/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: hyphenation
  2003-04-02  6:04 hyphenation Zeljko Vrba
@ 2003-04-08 11:26 ` Hans Hagen
  0 siblings, 0 replies; 12+ messages in thread
From: Hans Hagen @ 2003-04-08 11:26 UTC (permalink / raw)


At 08:04 02/04/2003 +0200, Zeljko Vrba wrote:

>I'm typesetting something in Croatian language. In cont-en.tex I put
>an \installlanguage, and properly configured the hyphenation tables
>(which languages to include/exclude).  In my main project file, I put
>\mainlanguage[hr]. Is this enough for Context to use Croatian hyphenation
>rules? Is there a way to check by which rules does it hyphenate?
>
>(I myself am not too familiar with my own language's hyphenation :),
>but some words do appear hyphenated strangely nevertheless.. so I'd just
>want to check it)

this is also related to the (font) encoding; are you sure that the encoding 
matches the patterns?

(can be set up with installlanguage, see czech)

Hans


-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 12+ messages in thread

* hyphenation
@ 2003-04-02  6:04 Zeljko Vrba
  2003-04-08 11:26 ` hyphenation Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: Zeljko Vrba @ 2003-04-02  6:04 UTC (permalink / raw)



I'm typesetting something in Croatian language. In cont-en.tex I put
an \installlanguage, and properly configured the hyphenation tables
(which languages to include/exclude).  In my main project file, I put
\mainlanguage[hr]. Is this enough for Context to use Croatian hyphenation
rules? Is there a way to check by which rules does it hyphenate?

(I myself am not too familiar with my own language's hyphenation :),
but some words do appear hyphenated strangely nevertheless.. so I'd just
want to check it)

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-10-13  7:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3.0.5.32.19990523153816.00a37680@mail.northcoast.com>
     [not found] ` <3.0.5.32.19990525160807.00a40210@mail.northcoast.com>
1999-05-26  7:35   ` Hyphenation Hans Hagen
2003-04-02  6:04 hyphenation Zeljko Vrba
2003-04-08 11:26 ` hyphenation Hans Hagen
2004-01-06 16:58 hyphenation (was: Re: extended ascii characters) Peter Münster
2004-01-06 21:37 ` hyphenation Henning Hraban Ramm
2004-01-07  6:21   ` hyphenation Peter Münster
     [not found] <873781070904090254u12812a9dr4fd2aca7006a67c@mail.gmail.com>
     [not found] ` <A1349FE2-7740-4416-A001-7F766506A658@uni-bonn.de>
2009-04-09 15:02   ` hyphenation Vyatcheslav Yatskovsky
2009-05-24 21:12 hyphenation Henning Hraban Ramm
2009-05-25  7:07 ` hyphenation Taco Hoekwater
2018-10-26 11:38 hyphenation Hans van der Meer
2018-10-26 11:54 ` hyphenation Hans Hagen
2018-10-26 11:57 ` hyphenation Wolfgang Schuster
2021-10-13  7:49 hyphenation Hans Hagen via ntg-context

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