ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Enable hyphenation or how to check it is enabled
@ 2006-08-15 19:59 Berend de Boer
  2006-08-15 20:25 ` Thomas A. Schmitz
  2006-08-17 11:29 ` Taco Hoekwater
  0 siblings, 2 replies; 11+ messages in thread
From: Berend de Boer @ 2006-08-15 19:59 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,

I've a weird problem: it just looks like hyphenation is disabled for
my English documents, at least I don't see hyphenation happening at
all. Do I have to enable it explicitly?

This is some US english text. I've specified:

  \language[us]

at the top of my file.

I'm using the latest ConTeXt, 2006-08-08.


It looks like they get loaded when I generate the format:

language        : no patterns en for en (n=1,e=ec,m=ec) (lang-en.pat,ukhyph.tex
)
language        : hyphenations en for en loaded (n=1,e=ec,m=ec)
(/usr/TeX/texmf/tex/context/patterns/lang-us.hyp))
language        : patterns en for en loaded (n=1,e=*,m=*)
language        : hyphenations en for en loaded (n=1,e=*,m=*)
language        : no patterns uk for uk (n=2,e=ec,m=ec) (lang-uk.pat,ukhyph.tex
)
language        : hyphenations uk for uk loaded (n=2,e=ec,m=ec)


I've tried to specify

  \setupalign
    [hyphenated]

but that does not seem to help.

Any test I can run to see that hyphenation is actually enabled?

- -- 
All the best,

Berend de Boer
(PGP public key: http://www.pobox.com/~berend/berend-public-key.txt)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFE4ieUIyuuaiRyjTYRAkFwAJ0QYn4VnHW2T1H0QxHVAcCHXWJE4QCcCz3e
qVB8X/MCve7ZeKnQY4zjh24=
=vrqm
-----END PGP SIGNATURE-----

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

* Re: Enable hyphenation or how to check it is enabled
  2006-08-15 19:59 Enable hyphenation or how to check it is enabled Berend de Boer
@ 2006-08-15 20:25 ` Thomas A. Schmitz
  2006-08-16  2:01   ` Berend de Boer
  2006-08-17 11:29 ` Taco Hoekwater
  1 sibling, 1 reply; 11+ messages in thread
From: Thomas A. Schmitz @ 2006-08-15 20:25 UTC (permalink / raw)


Easiest test would be to try some long and weird words with

\hyphenatedword{transformational}

in your source. If you get proper hyphens there, the problem must lie  
elsewhere.

Best

Thomas

On Aug 15, 2006, at 9:59 PM, Berend de Boer wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi All,
>
> I've a weird problem: it just looks like hyphenation is disabled for
> my English documents, at least I don't see hyphenation happening at
> all. Do I have to enable it explicitly?
>
> This is some US english text. I've specified:
>
>   \language[us]
>
> at the top of my file.
>
> I'm using the latest ConTeXt, 2006-08-08.
>
>
> It looks like they get loaded when I generate the format:
>
> language        : no patterns en for en (n=1,e=ec,m=ec) (lang- 
> en.pat,ukhyph.tex
> )
> language        : hyphenations en for en loaded (n=1,e=ec,m=ec)
> (/usr/TeX/texmf/tex/context/patterns/lang-us.hyp))
> language        : patterns en for en loaded (n=1,e=*,m=*)
> language        : hyphenations en for en loaded (n=1,e=*,m=*)
> language        : no patterns uk for uk (n=2,e=ec,m=ec) (lang- 
> uk.pat,ukhyph.tex
> )
> language        : hyphenations uk for uk loaded (n=2,e=ec,m=ec)
>
>
> I've tried to specify
>
>   \setupalign
>     [hyphenated]
>
> but that does not seem to help.
>
> Any test I can run to see that hyphenation is actually enabled?
>
> - --
> All the best,
>
> Berend de Boer
> (PGP public key: http://www.pobox.com/~berend/berend-public-key.txt)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> Comment: Processed by Mailcrypt 3.5.8 <http:// 
> mailcrypt.sourceforge.net/>
>
> iD8DBQFE4ieUIyuuaiRyjTYRAkFwAJ0QYn4VnHW2T1H0QxHVAcCHXWJE4QCcCz3e
> qVB8X/MCve7ZeKnQY4zjh24=
> =vrqm
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Enable hyphenation or how to check it is enabled
  2006-08-15 20:25 ` Thomas A. Schmitz
@ 2006-08-16  2:01   ` Berend de Boer
  2006-08-16  6:22     ` Thomas A. Schmitz
  2006-08-16  8:36     ` Hans Hagen
  0 siblings, 2 replies; 11+ messages in thread
From: Berend de Boer @ 2006-08-16  2:01 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Thomas" == Thomas A Schmitz <thomas.schmitz@uni-bonn.de> writes:

    Thomas> Easiest test would be to try some long and weird words
    Thomas> with \hyphenatedword{transformational}

    Thomas> in your source. If you get proper hyphens there, the
    Thomas> problem must lie elsewhere.

I tried this:

\starttext

\hyphenatedword{transformational} \hyphenatedword{transformational}
\hyphenatedword{transformational} \hyphenatedword{transformational}
\hyphenatedword{transformational} \hyphenatedword{transformational}
\hyphenatedword{transformational} \hyphenatedword{transformational}

\stoptext


Overfull message, but no hyphens.

- -- 
All the best,

Berend de Boer
(PGP public key: http://www.pobox.com/~berend/berend-public-key.txt)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFE4nx4IyuuaiRyjTYRAhfjAKDpVtVu5WYGc4RyUOyMxXhriTEbvACeJTXV
rMsVFrwylEU9s9ztVmQ+Lmc=
=9KLZ
-----END PGP SIGNATURE-----

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

* Re: Enable hyphenation or how to check it is enabled
  2006-08-16  2:01   ` Berend de Boer
@ 2006-08-16  6:22     ` Thomas A. Schmitz
  2006-08-17  5:31       ` Berend de Boer
  2006-08-16  8:36     ` Hans Hagen
  1 sibling, 1 reply; 11+ messages in thread
From: Thomas A. Schmitz @ 2006-08-16  6:22 UTC (permalink / raw)


>
> I tried this:
>
> \starttext
>
> \hyphenatedword{transformational} \hyphenatedword{transformational}
> \hyphenatedword{transformational} \hyphenatedword{transformational}
> \hyphenatedword{transformational} \hyphenatedword{transformational}
> \hyphenatedword{transformational} \hyphenatedword{transformational}
>
> \stoptext
>
>
> Overfull message, but no hyphens.
>
> - --
> All the best,
>
> Berend de Boer

OK, this is where the fun begins... Sorry, I did not read your first  
message properly. You say you have this in your format log:

> language        : no patterns en for en (n=1,e=ec,m=ec) (lang- 
> en.pat,ukhyph.tex
> )
> language        : hyphenations en for en loaded (n=1,e=ec,m=ec)
> (/usr/TeX/texmf/tex/context/patterns/lang-us.hyp))
> language        : patterns en for en loaded (n=1,e=*,m=*)
> language        : hyphenations en for en loaded (n=1,e=*,m=*)
> language        : no patterns uk for uk (n=2,e=ec,m=ec) (lang- 
> uk.pat,ukhyph.tex
> )
> language        : hyphenations uk for uk loaded (n=2,e=ec,m=ec)

I have this at an earlier stage. Later, there's a message that the  
patterns get loaded:

language        : patterns en for en loaded (n=22,e=ec,m=ec)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.pat)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.hyp)
language        : patterns uk for uk loaded (n=23,e=ec,m=ec)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-uk.pat)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-uk.hyp)
language        : patterns us for us loaded (n=24,e=ec,m=ec)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.pat)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.hyp)
language        : patterns agr for agr loaded (n=25,e=agr,m=agr)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.pat)
(/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.hyp)

and so on.

Do you have these messages as well? Otherwise: no patterns ==> no  
hyphenation.

Best

Thomas

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

* Re: Enable hyphenation or how to check it is enabled
  2006-08-16  2:01   ` Berend de Boer
  2006-08-16  6:22     ` Thomas A. Schmitz
@ 2006-08-16  8:36     ` Hans Hagen
  2006-08-17  6:10       ` Berend de Boer
  1 sibling, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2006-08-16  8:36 UTC (permalink / raw)


Berend de Boer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>   
>>>>>> "Thomas" == Thomas A Schmitz <thomas.schmitz@uni-bonn.de> writes:
>>>>>>             
>
>     Thomas> Easiest test would be to try some long and weird words
>     Thomas> with \hyphenatedword{transformational}
>
>     Thomas> in your source. If you get proper hyphens there, the
>     Thomas> problem must lie elsewhere.
>
> I tried this:
>
> \starttext
>
> \hyphenatedword{transformational} \hyphenatedword{transformational}
> \hyphenatedword{transformational} \hyphenatedword{transformational}
> \hyphenatedword{transformational} \hyphenatedword{transformational}
> \hyphenatedword{transformational} \hyphenatedword{transformational}
>
> \stoptext
>
>
> Overfull message, but no hyphens.
>   
what does context report with respect to loaded patterns ... 

language        : patterns nl->texnansi:texnansi->1->2:3 nl->ec:ec->2->2:3 fr->
texnansi:texnansi->3->2:3 fr->ec:ec->4->2:3 de->texnansi:texnansi->5->2:3 de->e
c:ec->6->2:3 it->texnansi:texnansi->7->2:3 it->ec:ec->8->2:3 pt->texnansi:texna
nsi->9->2:3 pt->ec:ec->10->2:3 hr->ec:ec->11->2:3 pl->pl0:pl0->12->2:3 pl->ec:e
c->13->2:3 pl->qx:qx->14->2:3 cz->il2:il2->15->2:3 cz->ec:ec->16->2:3 sk->il2:i
l2->17->2:3 sk->ec:ec->18->2:3 sl->ec:ec->19->2:3 ru->t2a:t2a->21->2:3 en->ec:e
c->22->2:3 uk->ec:ec->23->2:3 us->ec:ec->24->2:3 agr->agr:agr->25->2:3 da->ec:e
c->26->2:3 sv->ec:ec->27->2:3 af->ec:ec->28->2:3 no->ec:ec->29->2:3 deo->ec:ec-
>30->2:3 es->ec:ec->31->2:3 ca->ec:ec->32->2:3 la->ec:ec->33->2:3 ro->ec:ec->34
->2:3 tr->ec:ec->35->2:3 fi->ec:ec->37->2:3 hu->ec:ec->38->2:3 loaded

if you run an old version it may be that there ar eno us patterens (there were tex live's with name changes, aliases etc unknown to context etc) 

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

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

* Re: Enable hyphenation or how to check it is enabled
  2006-08-16  6:22     ` Thomas A. Schmitz
@ 2006-08-17  5:31       ` Berend de Boer
  0 siblings, 0 replies; 11+ messages in thread
From: Berend de Boer @ 2006-08-17  5:31 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Thomas" == Thomas A Schmitz <thomas.schmitz@uni-bonn.de> writes:

    Thomas> I have this at an earlier stage. Later, there's a message
    Thomas> that the patterns get loaded:

    Thomas> language : patterns en for en loaded (n=22,e=ec,m=ec)
    Thomas> (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.pat)
    Thomas> (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.hyp)
    Thomas> language : patterns uk for uk loaded (n=23,e=ec,m=ec)
    Thomas> (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-uk.pat)
    Thomas> (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-uk.hyp)
    Thomas> language : patterns us for us loaded (n=24,e=ec,m=ec)
    Thomas> (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.pat)
    Thomas> (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-us.hyp)
    Thomas> language : patterns agr for agr loaded (n=25,e=agr,m=agr)
    Thomas> (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.pat)
    Thomas> (/usr/local/teTeX/share/texmf.local/tex/context/patterns/lang-agr.hyp)

    Thomas> and so on.

    Thomas> Do you have these messages as well? Otherwise: no patterns
    Thomas> ==> no hyphenation.

None at all when compiling my .tex file

- -- 
All the best,

Berend de Boer
(PGP public key: http://www.pobox.com/~berend/berend-public-key.txt)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFE4/80IyuuaiRyjTYRAtg3AJ4jI7iFpG0EdJSlWSiIgbhXt2krXwCaAvro
Bc/8UJL6pviWhQt7wYm8p70=
=0ONU
-----END PGP SIGNATURE-----

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

* Re: Enable hyphenation or how to check it is enabled
  2006-08-16  8:36     ` Hans Hagen
@ 2006-08-17  6:10       ` Berend de Boer
  2006-08-17  7:42         ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Berend de Boer @ 2006-08-17  6:10 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Hans" == Hans Hagen <pragma@wxs.nl> writes:

    Hans> what does context report with respect to loaded patterns ...

Nothing (but it does report things like this when making the format file).


    Hans> if you run an old version it may be that there ar eno us
    Hans> patterens (there were tex live's with name changes, aliases
    Hans> etc unknown to context etc)

Yes, have read that, but that's why ConTeXt includes the patterns
right? So it should work with the new version, but it seems it
doesn't.

Can I explicitly load the patterns?

- -- 
All the best,

Berend de Boer
(PGP public key: http://www.pobox.com/~berend/berend-public-key.txt)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFE5AhZIyuuaiRyjTYRAvwFAJ49+T84xmK6jZUl9P3j4FhjcIJLXACeMlYF
YJ28e2LDkGFlJ3ToBIoxL7E=
=BFtn
-----END PGP SIGNATURE-----

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

* Re: Enable hyphenation or how to check it is enabled
  2006-08-17  6:10       ` Berend de Boer
@ 2006-08-17  7:42         ` Hans Hagen
  2006-08-17  9:02           ` Berend de Boer
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2006-08-17  7:42 UTC (permalink / raw)


Berend de Boer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>   
>>>>>> "Hans" == Hans Hagen <pragma@wxs.nl> writes:
>>>>>>             
>
>     Hans> what does context report with respect to loaded patterns ...
>
> Nothing (but it does report things like this when making the format file).
>
>
>     Hans> if you run an old version it may be that there ar eno us
>     Hans> patterens (there were tex live's with name changes, aliases
>     Hans> etc unknown to context etc)
>
> Yes, have read that, but that's why ConTeXt includes the patterns
> right? So it should work with the new version, but it seems it
> doesn't.
>
> Can I explicitly load the patterns?
>   
no, runtime loading of patterns is notpossible in tex

can you check if you have a file called 'aliases' in one of your tex roots? if so, wipe if out, 

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

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

* Re: Enable hyphenation or how to check it is enabled
  2006-08-17  7:42         ` Hans Hagen
@ 2006-08-17  9:02           ` Berend de Boer
  0 siblings, 0 replies; 11+ messages in thread
From: Berend de Boer @ 2006-08-17  9:02 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Hans" == Hans Hagen <pragma@wxs.nl> writes:

    Hans> can you check if you have a file called 'aliases' in one of
    Hans> your tex roots? if so, wipe if out,

Nope.

Any other thing I could check or upgrade? Did my test file produce
hyphens on your system?

Here my test file again:

- -------------------------
% interface=en

\starttext

\hyphenatedword{transformational} \hyphenatedword{transformational}
\hyphenatedword{transformational} \hyphenatedword{transformational}
\hyphenatedword{transformational} \hyphenatedword{transformational}
\hyphenatedword{transformational} \hyphenatedword{transformational}

\stoptext
- -------------------------

- -- 
Live long and prosper,

Berend de Boer
(PGP public key: http://www.pobox.com/~berend/berend-public-key.txt)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFE5DCkIyuuaiRyjTYRAspUAKDveCDl0yqZidotDF8ljY+whKVEwwCgs0Yq
z5wQcnTWaFBUKhIEwRVY78Q=
=xxEW
-----END PGP SIGNATURE-----

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

* Re: Enable hyphenation or how to check it is enabled
  2006-08-15 19:59 Enable hyphenation or how to check it is enabled Berend de Boer
  2006-08-15 20:25 ` Thomas A. Schmitz
@ 2006-08-17 11:29 ` Taco Hoekwater
  2006-08-18 22:52   ` Berend de Boer
  1 sibling, 1 reply; 11+ messages in thread
From: Taco Hoekwater @ 2006-08-17 11:29 UTC (permalink / raw)


Berend de Boer wrote:
> 
> 
> It looks like they get loaded when I generate the format:
> 
> language        : no patterns en for en (n=1,e=ec,m=ec) (lang-en.pat,ukhyph.tex
> )

On this line, context says it looked for lang-en.pat and ukhyph.tex
but could find neither. The lack of ukhyph.tex is not an issue, but
lang-en.pat should be here:

   /usr/TeX/texmf/tex/context/patterns/lang-us.pat

assuming that
   a) you extracted the cont-tmf.zip in /usr/TeX/texmf
and
   b) there were no problems with the zip.

I suspect the problem is with a).

Cheers, Taco

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

* Re: Enable hyphenation or how to check it is enabled
  2006-08-17 11:29 ` Taco Hoekwater
@ 2006-08-18 22:52   ` Berend de Boer
  0 siblings, 0 replies; 11+ messages in thread
From: Berend de Boer @ 2006-08-18 22:52 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Taco" == Taco Hoekwater <taco@elvenkind.com> writes:

    >> It looks like they get loaded when I generate the format:
    >> 
    >> language : no patterns en for en (n=1,e=ec,m=ec)
    >> (lang-en.pat,ukhyph.tex )

    Taco> On this line, context says it looked for lang-en.pat and
    Taco> ukhyph.tex but could find neither. The lack of ukhyph.tex is
    Taco> not an issue, but lang-en.pat should be here:

Ah, that was the golden pointer. I finally found out I still had a
cont-usr.tex in /usr/TeX/texmf-var/tex/context/config/.

After removing that, everything works perfectly again!

- -- 
Live long and prosper,

Berend de Boer
(PGP public key: http://www.pobox.com/~berend/berend-public-key.txt)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFE5kSbIyuuaiRyjTYRAnwsAKCAEyx1GFvKCtdVnzH7Fq/XVuwC7gCg1YvG
fOHgoQR+o8lyHz08MOgitik=
=UWys
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2006-08-18 22:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-15 19:59 Enable hyphenation or how to check it is enabled Berend de Boer
2006-08-15 20:25 ` Thomas A. Schmitz
2006-08-16  2:01   ` Berend de Boer
2006-08-16  6:22     ` Thomas A. Schmitz
2006-08-17  5:31       ` Berend de Boer
2006-08-16  8:36     ` Hans Hagen
2006-08-17  6:10       ` Berend de Boer
2006-08-17  7:42         ` Hans Hagen
2006-08-17  9:02           ` Berend de Boer
2006-08-17 11:29 ` Taco Hoekwater
2006-08-18 22:52   ` Berend de Boer

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