[NTG-context] hyphenation not working inside macro

2013-07-13 Thread Pablo Rodríguez
Dear list,

I have the following sample:

\setuppapersize[A6]
\setuppagenumbering[location=,]
\definelinenote[Critico]
\setupnote[Critico][paragraph=yes]
\newcounter\Contadorvar
\def\apcritico#1#2{\increment\Contadorvar%
\startCritico[Varia:\Contadorvar]{#2}#1%
\stopCritico[Varia:\Contadorvar]}
\starttext
\startlinenumbering
\dorecurse{10}{origin\Critico{variant} not original\Critico{variant} }\par
\dorecurse{10}{\apcritico{origin}{variant} \apcritico{not
original}{variant} }
\stoplinenumbering
\stoptext

And I don’t understand why the first five text body lines are
hyphenated, while the other five aren’t.

What am I doing wrong in the macro?

Many thanks for your help,


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] hyphenation not working

2005-03-21 Thread Christopher Creutzig
Hans Hagen wrote:
I do have a file called hyphen.tex. On Hans' suggestion, I copied this
to ushyph1.tex and ushyph2.tex. That didn't help. I also  changed my 
cont-usr.tex file, changing all lines that had ushyp* to hyphen. This 
also didn't work.

did you run mktexlsr ?
 And in case that's unexpected: You need to run texexec --make, since 
patterns are loaded at format generation.

Christopher
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Paul Tremblay
> 
> That does show a fair bit of hyphenation, here. Taco says some wise
> things, and here are a couple things to insert at the beginning of your
> text that may help debug. (But, again, I'm no expert in this area.)
> 
> 
> \the\hyphenpenalty % (50 on my system)
> 
> \showhyphenations{hypertextual}
> 

I put these lines at the top of my file. My resulting dvi file shows
these lines:

50
language : en(code:1)
font : cmr12
encoding : default
mapping : default
sample : hypertextual

It seems that the hypen penalty is what it should be.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Paul Tremblay
> You are getting somewhere. The format files that have been created
> by texexec in that last 'texexec --make' know how to hyphenate text.
> There is only one job left to do: making it so that 'texexec test'
> uses the right (new) format file (and not the old one). Without
> exact log files, I doubt I can sort that out for you, but assuming
> you ran 'texexec --make' today, then 'texexec -version' should
> report the following date info:
> 
>context : ver: 2005.03.16
>cont-en : ver: 2005.03.16  fmt: 2005.3.19  mes: english
>cont-nl : ver: 2005.03.16  fmt: 2005.3.19  mes: dutch
> 
> if not, some files need to be copied.
> 
> Good luck,
> 
> Taco

texexec --version:

texexec : TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeXk, 3.141592-1.20a-2.2 (Web2C 7.5.3)
   context : ver: 2005.01.31
   cont-en : ver: 2005.01.31  fmt: 2005.2.20  mes: english


Paul


-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Adam Lindsay
Paul Tremblay said this at Sat, 19 Mar 2005 11:20:10 -0500:

>> So if I understand what you're saying, that suggests you do have the
>> capability for hyphenation somewhere in your system. What is your test
>> file? Can you strip it to its barest form?
>
>Here is the entire file. Luckily, it is very small. 

That does show a fair bit of hyphenation, here. Taco says some wise
things, and here are a couple things to insert at the beginning of your
text that may help debug. (But, again, I'm no expert in this area.)


\the\hyphenpenalty % (50 on my system)

\showhyphenations{hypertextual}

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Taco Hoekwater
Paul Tremblay wrote:
>
Yes, now that I look deeper down in my log file, I see the same. Oh
well. I guess I'll have to live without hyphenation. Just when I thought
I was getting somewhere.
You are getting somewhere. The format files that have been created
by texexec in that last 'texexec --make' know how to hyphenate text.
There is only one job left to do: making it so that 'texexec test'
uses the right (new) format file (and not the old one). Without
exact log files, I doubt I can sort that out for you, but assuming
you ran 'texexec --make' today, then 'texexec -version' should
report the following date info:
   context : ver: 2005.03.16
   cont-en : ver: 2005.03.16  fmt: 2005.3.19  mes: english
   cont-nl : ver: 2005.03.16  fmt: 2005.3.19  mes: dutch
if not, some files need to be copied.
Good luck,
Taco


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Paul Tremblay
> So if I understand what you're saying, that suggests you do have the
> capability for hyphenation somewhere in your system. What is your test
> file? Can you strip it to its barest form?

Here is the entire file. Luckily, it is very small. 

Thanks

Paul


% enable utf
\enableregime[utf]

% turn off automatic page numbering
\setuppagenumbering[state=stop, way=bytext, alternative=doublesided]
%\setupbodyfont[rm,12pt]
%\setuplanguage[en][ state=start]
%\language[en]

%\setuptolerance[verytolerant]

\starttext

\setuppapersize[A4]
% show frames so we can debug
\showframe
\definelayout[test][
 backspace=50mm,
 cutspace=70mm,
 width=fit,
]



% so it is always a good idea to use width=fit

\setuplayout[test]
 \setupheadertexts[odd][][][even]


Test\par
% input text from another document
\dorecurse{6}{\input tufte \par \input knuth \par}


\stoptext




-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Taco Hoekwater
Hi Paul,
All of this must be maddening you by now. :'(
system (E-TEX) : [line 159] \ifcsname 
) (/usr/TeX/texmf/tex/context/base/lang-ger.tex
loading : Germanic Languages
language: patterns for nl not loaded
language: patterns for en not loaded
Mine does that as well, but somewhat deeper in the log file, it
restarts loading patterns, like this:
  (./cont-fmt.tex
  language: patterns nl for nl loaded(n=1,e=texnansi,m=texnansi)
  (/home/taco/texmf/tex/context/patterns/lang-nl.pat)
  language: hyphenations nl for nl loaded
  ...
culminating in :
  210 hyphenation exceptions
  Hyphenation trie of length 99454 has 4157 ops out of 35111
117 for language 34
31 for language 33
<30 lines or so, counting down> ..
265 for language 1
perhaps you also need to get the cont-tmf.zip from 'latest'? Mine has
ConTeXt  ver: 2005.03.16  fmt: 2005.3.19  int: english  mes: english
Good luck!
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Adam Lindsay
Paul Tremblay said this at Sat, 19 Mar 2005 10:58:10 -0500:

>>   210 hyphenation exceptions
>>   Hyphenation trie of length 99454 has 4157 ops out of 35111
>> 117 for language 34
>> 31 for language 33
>> <30 lines or so, counting down> ..
>> 265 for language 1
>> 
>> 
>> perhaps you also need to get the cont-tmf.zip from 'latest'? Mine has
>> 
>> ConTeXt  ver: 2005.03.16  fmt: 2005.3.19  int: english  mes: english
>> 
>> 
>
>Yes, now that I look deeper down in my log file, I see the same. Oh
>well. I guess I'll have to live without hyphenation. Just when I thought
>I was getting somewhere.

So if I understand what you're saying, that suggests you do have the
capability for hyphenation somewhere in your system. What is your test
file? Can you strip it to its barest form?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Paul Tremblay
> Mine does that as well, but somewhat deeper in the log file, it
> restarts loading patterns, like this:
> 
> 
>   (./cont-fmt.tex
>   language: patterns nl for nl loaded(n=1,e=texnansi,m=texnansi)
>   (/home/taco/texmf/tex/context/patterns/lang-nl.pat)
>   language: hyphenations nl for nl loaded
>   ...
> 
> culminating in :
> 
>   210 hyphenation exceptions
>   Hyphenation trie of length 99454 has 4157 ops out of 35111
> 117 for language 34
> 31 for language 33
> <30 lines or so, counting down> ..
> 265 for language 1
> 
> 
> perhaps you also need to get the cont-tmf.zip from 'latest'? Mine has
> 
> ConTeXt  ver: 2005.03.16  fmt: 2005.3.19  int: english  mes: english
> 
> 

Yes, now that I look deeper down in my log file, I see the same. Oh
well. I guess I'll have to live without hyphenation. Just when I thought
I was getting somewhere.

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Paul Tremblay
> 
> At this point, you missed a step:
> 
>  texexec --make

I re-ran the test and saved the output to a file. I opened the file and
saw this:

system (E-TEX) : [line 159] \ifcsname 
) (/usr/TeX/texmf/tex/context/base/lang-ger.tex
loading : Germanic Languages
language: patterns for nl not loaded
language: patterns for en not loaded
language: patterns for de not loaded
language: patterns for da not loaded
language: patterns for sv not loaded
language: patterns for af not loaded
language: patterns for no not loaded
language: patterns for deo not loaded
language: patterns for uk not loaded
language: patterns for us not loaded
) (/usr/TeX/texmf/tex/context/base/lang-ita.tex
loading : Italic Languages
language: patterns for fr not loaded
language: patterns for es not loaded
language: patterns for ca not loaded
language: patterns for it not loaded
language: patterns for la not loaded
language: patterns for pt not loaded
language: patterns for ro not loaded
) (/usr/TeX/texmf/tex/context/base/lang-sla.tex
loading : Slavic Languages
language: patterns for pl not loaded
language: patterns for cz not loaded
language: patterns for sk not loaded
language: patterns for hr not loaded
language: patterns for sl not loaded
) (/usr/TeX/texmf/tex/context/base/lang-alt.tex




-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Paul Tremblay
On Sat, Mar 19, 2005 at 09:03:08AM +0100, Taco Hoekwater wrote:
> >
> >I downloaded the patterns file and unzipped it. It put the following
> >directory in my texmf directory:
> >
> >.tex/context/patterns
> >
> >I then ran texhash. I then ran ./mktexlsr --all.
> 
> At this point, you missed a step:
> 
>  texexec --make
> 
> 

I just ran 

texexec --make

Same. No hyphenation. 

GR!

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-19 Thread Taco Hoekwater
Paul Tremblay wrote:
another option is to fetch cont-pat.zip from our website and install that 
one in the same texmf tree as context; run mktexlsr, and regenerate the 
formats (with --all option)

i'd appreciate feedback about this working or not (since it's step 1 
towards shipping context with its own instances of patterns)

I downloaded the patterns file and unzipped it. It put the following
directory in my texmf directory:
.tex/context/patterns
I then ran texhash. I then ran ./mktexlsr --all.
At this point, you missed a step:
 texexec --make

I then ran texexec test.tex.
Still no hyphenation. 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-18 Thread Paul Tremblay
> another option is to fetch cont-pat.zip from our website and install that 
> one in the same texmf tree as context; run mktexlsr, and regenerate the 
> formats (with --all option)
> 
> i'd appreciate feedback about this working or not (since it's step 1 
> towards shipping context with its own instances of patterns)

I downloaded the patterns file and unzipped it. It put the following
directory in my texmf directory:

.tex/context/patterns

I then ran texhash. I then ran ./mktexlsr --all.

I then ran texexec test.tex.

Still no hyphenation. 

My log file is below.

Thanks

Paul

This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C 7.5.3) (format=cont-en 
2005.2.20)  18 MAR 2005 19:55
entering extended mode
 %&-line parsing enabled.
 (/usr/TeX/texmf/web2c/natural.tcx)
**&cont-en test.tex
(./test.tex

ConTeXt  ver: 2005.01.31  fmt: 2005.2.20  int: english  mes: english

language: language en is active

system  : cont-new loaded
(/usr/TeX/texmf/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex!
color   : palette rollover is available
system (E-TEX) : [line 878] 
system (E-TEX) : [line 933] 
)
system  : cont-old loaded
(/usr/TeX/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded
(/usr/TeX/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys loaded
(/usr/TeX/texmf/tex/context/user/cont-sys.tex
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-dis.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex))
bodyfont: 12pt rm is loaded
language: patterns de->texnansi:texnansi->3->2:2 de->ec:ec->4->2:2 fr->
texnansi:texnansi->5->2:2 fr->ec:ec->6->2:2 es->default:default->7->2:2 it->tex
nansi:texnansi->8->2:2 it->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:
ec->11->2:2 loaded
specials: tex,postscript,rokicki loaded
\openout2 = `test.tui'.

system  : test.top loaded
(./test.top)
\openout0 = `test-mpgraph.mp'.

\openout0 = `mpgraph.mp'.

 (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo)
fonts   : using map file: texnansi-public-lm.map
fonts   : using map file: original-public-vnr.map
fonts   : using map file: original-public-csr.map
fonts   : using map file: original-public-plr.map
fonts   : using map file: original-public-lm.map
fonts   : using map file: original-ams-euler.map
fonts   : using map file: original-ams-cmr.map
fonts   : using map file: texnansi-base.map
fonts   : using map file: t5-base.map
fonts   : using map file: qx-base.map
fonts   : using map file: 8r-base.map
fonts   : using map file: ec-base.map
fonts   : using map file: ec-public-lm.map
fonts   : using map file: original-base.map
systems : begin file test at line 12
(/usr/TeX/texmf/tex/context/base/page-run.tex
loading : Context Page Macros / Runtime Macros
) (/usr/TeX/texmf/tex/context/sample/tufte.tex)
Overfull \hbox (2.48778pt too wide) in paragraph at lines 1--34
\*12ptmmmr* our marvelous and everyday capacity to select, edit,

\hbox(8.1+2.1)x256.07481, glue set - 1.0
.\*12ptmmmr* o
.\*12ptmmmr* u
.\*12ptmmmr* r
.\glue 3.91663 plus 1.95831 minus 1.30554
.\*12ptmmmr* m
.etc.


Overfull \hbox (16.65291pt too wide) in paragraph at lines 1--34
\*12ptmmmr* reduce, boil down, choose, categorize, catalog, classify,

\hbox(8.1+2.1)x256.07481, glue set - 1.0
.\*12ptmmmr* r
.\*12ptmmmr* e
.\*12ptmmmr* d
.\*12ptmmmr* u
.\*12ptmmmr* c
.etc.



(/usr/TeX/texmf/tex/context/sample/knuth.tex [4.4])
Overfull \hbox (7.28357pt too wide) in paragraph at lines 12--34
[]\*12ptmmmr* But a system cannot be successful if it is too strongly

\hbox(8.1+2.1)x256.07481, glue set - 1.0
.\hbox(0.0+0.0)x0.0
.\*12ptmmmr* B
.\*12ptmmmr* u
.\*12ptmmmr* t
.\glue 3.91663 plus 1.95831 minus 1.30554
.etc.

A LOT OF OTHER OVERFILL MESSAGES WHICH I CUT OUT

[5.5] [6.6]
systems : end file test at line 37
 ) 
Here is how much of TeX's memory you used:
 691 strings out of 62989
 11662 string characters out of 668839
 4464250 words of memory out of 5506310
 35404 multiletter control sequences out of 1+5
 10284 words of font info for 34 fonts, out of 100 for 2000
 82 hyphenation exceptions out of 1000
 39i,20n,52p,181b,433s stack positions out of 5000i,500n,6000p,20b,4s
 0 PDF objects out of 30
 0 named destinations out of 131072
 1 words of extra memory for PDF output out of 65536

Output written on test.dvi

Re: [NTG-context] hyphenation not working

2005-03-18 Thread Paul Tremblay
On Fri, Mar 18, 2005 at 10:05:36AM +0100, Hans Hagen wrote:
> 
> Paul Tremblay wrote:
> >Has anyone else had problems with hyphenation? I have a brand new
> >version of ConTeXt, and cannot get one of its main features, hyphenation,
> >to work. 
> >
> >I looked at the documentation, specifically the file called hypenation
> >patterns. According to this, I should be able to invoke a took called
> >ctxtools, or at least a tool called texmfstart ctxtools. Neither tool
> >exists with my distribution.
> >
> >I do have a file called hyphen.tex. On Hans' suggestion, I copied this
> >to ushyph1.tex and ushyph2.tex. That didn't help. I also  changed my 
> >cont-usr.tex file, changing all lines that had ushyp* to hyphen. This also 
> >didn't work.
> 
> did you run mktexlsr ?
> 
> >I am at a loss, and I consider hyphenation pretty important. How do I
> >proceed from here?
> 
> another option is to fetch cont-pat.zip from our website and install that 
> one in the same texmf tree as context; run mktexlsr, and regenerate the 
> formats (with --all option)

Where is this? I just spent 20 minutes searching the website.

Paul
> 
> i'd appreciate feedback about this working or not (since it's step 1 
> towards shipping context with its own instances of patterns)
> 
> 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
> -
> 
> ___
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-18 Thread Taco Hoekwater
See also this threade:
http://archive.contextgarden.net/message/20041228.225433.b0bd0faf.html
This is becoming a FAQ, unfortunately.
Greetings, Taco
Paul Tremblay wrote:
Has anyone else had problems with hyphenation? I have a brand new
version of ConTeXt, and cannot get one of its main features, hyphenation,
to work. 

I looked at the documentation, specifically the file called hypenation
patterns. According to this, I should be able to invoke a took called
ctxtools, or at least a tool called texmfstart ctxtools. Neither tool
exists with my distribution.
I do have a file called hyphen.tex. On Hans' suggestion, I copied this
to ushyph1.tex and ushyph2.tex. That didn't help. I also  changed my 
cont-usr.tex file, changing all lines that had ushyp* to hyphen. This also 
didn't work.
I am at a loss, and I consider hyphenation pretty important. How do I
proceed from here?
Thanks
Paul
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-18 Thread Hans Hagen
Paul Tremblay wrote:
Has anyone else had problems with hyphenation? I have a brand new
version of ConTeXt, and cannot get one of its main features, hyphenation,
to work. 

I looked at the documentation, specifically the file called hypenation
patterns. According to this, I should be able to invoke a took called
ctxtools, or at least a tool called texmfstart ctxtools. Neither tool
exists with my distribution.
I do have a file called hyphen.tex. On Hans' suggestion, I copied this
to ushyph1.tex and ushyph2.tex. That didn't help. I also  changed my 
cont-usr.tex file, changing all lines that had ushyp* to hyphen. This also 
didn't work.
did you run mktexlsr ?
I am at a loss, and I consider hyphenation pretty important. How do I
proceed from here?
another option is to fetch cont-pat.zip from our website and install that one in 
the same texmf tree as context; run mktexlsr, and regenerate the formats (with 
--all option)

i'd appreciate feedback about this working or not (since it's step 1 towards 
shipping context with its own instances of patterns)

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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-18 Thread Hans Hagen
Paul Tremblay wrote:
Neither thing worked. Here is a line from my log file:
82 hyphenation exceptions out of 1000
Here i have (with --all)
Beginning to dump on file cont-nl.fmt
 (format=cont-nl 2005.3.18)
38607 strings of total length 616144
473114 memory locations dumped; current usage is 200&469807
36070 multiletter control sequences
\font\nullfont=nullfont
0 words of font info for 0 preloaded fonts
210 hyphenation exceptions
Hyphenation trie of length 99454 has 4157 ops out of 35111
  117 for language 34
  31 for language 33
  13 for language 31
  31 for language 30
  7 for language 29
  26 for language 28
  21 for language 27
  29 for language 26
  181 for language 25
  224 for language 24
  207 for language 23
  220 for language 22
  265 for language 21
  127 for language 20
  60 for language 19
  181 for language 18
  71 for language 17
  71 for language 16
  248 for language 15
  248 for language 14
  63 for language 13
  63 for language 12
  194 for language 11
  194 for language 10
  19 for language 9
  35 for language 8
  35 for language 7
  235 for language 6
  235 for language 5
  88 for language 4
  88 for language 3
  265 for language 2
  265 for language 1
No pages of output.
Somewhere in your log, you should find remarks on what patterns are loaded,
an option is to download the beta version of context since that one tests for 
more names (there are quite some possibilities for us hyphenations) that yours

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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] hyphenation not working

2005-03-17 Thread Paul Tremblay
Has anyone else had problems with hyphenation? I have a brand new
version of ConTeXt, and cannot get one of its main features, hyphenation,
to work. 

I looked at the documentation, specifically the file called hypenation
patterns. According to this, I should be able to invoke a took called
ctxtools, or at least a tool called texmfstart ctxtools. Neither tool
exists with my distribution.

I do have a file called hyphen.tex. On Hans' suggestion, I copied this
to ushyph1.tex and ushyph2.tex. That didn't help. I also  changed my 
cont-usr.tex file, changing all lines that had ushyp* to hyphen. This also 
didn't work.

I am at a loss, and I consider hyphenation pretty important. How do I
proceed from here?

Thanks

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-17 Thread Paul Tremblay
On Thu, Mar 17, 2005 at 10:06:14AM +0100, Hans Hagen wrote:
> 
> >No, hyphen.tex is not on my system. 
> 
> it is ...
> 
> >./tex/generic/hyphen/hyphen.tex
> 
> here !
> 
> >I installed ConTexT using the TeXLive distribution, and then build
> >ConTeXt inside of that by unzipping the standard ConTeXt package.
> 
> in your context distribution, locate cont-usr.tex (or rme) and change the 
> ushyp* name mentioned there to hyphen; otherwise copy hyphen.tex to 
> ushyph1.tex and/or ushyph2.tex
> 
> (the latest context ships with a version of ctxtools that generates generic 
> pattern files using the context naming scheme; see website for 
> documentation)
> 

Neither thing worked. Here is a line from my log file:

82 hyphenation exceptions out of 1000

Thanks


Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-17 Thread Hans Hagen
Paul Tremblay wrote:
No, hyphen.tex is not on my system. 
it is ...
./tex/generic/hyphen/hyphen.tex
here !
I installed ConTexT using the TeXLive distribution, and then build
ConTeXt inside of that by unzipping the standard ConTeXt package.
in your context distribution, locate cont-usr.tex (or rme) and change the ushyp* 
name mentioned there to hyphen; otherwise copy hyphen.tex to ushyph1.tex and/or 
ushyph2.tex

(the latest context ships with a version of ctxtools that generates generic 
pattern files using the context naming scheme; see website for documentation)

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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-16 Thread Paul Tremblay
On Wed, Mar 16, 2005 at 10:03:50AM +0100, Hans Hagen wrote:
> Paul Tremblay wrote:
> >I've noticed that hypenation is not working in my test ConTeXt
> >documents. I have looked repeatedly at the manual and searched the wiki.
> >It seems that hyphenations should be automatic?
> >
> >I am testing simple files with the language as English. Does one have to
> >turn hyphenation on?
> 
> normally not, but there has been some changes in distributions; is there a 
> hyphen.tex on your system?
> 

No, hyphen.tex is not on my system. 

Here is a list of any file that has the name 'hyphen' in it:

./lists/hyphen-base
./lists/hyphen-basque
./lists/hyphen-czechslovak
./lists/hyphen-dutch
./lists/hyphen-french
./lists/hyphen-german
./lists/hyphen-italian
./lists/hyphen-polish
./lists/hyphen-portuguese
./lists/hyphen-spanish
./lists/hyphen-ukenglish
./tex/generic/hyphen
./tex/generic/hyphen/hyphen.tex
./tex/generic/hyphen/czhyphen.ex
./tex/generic/hyphen/skhyphen.ex
./tex/generic/hyphen/ghyphen.README
./tex/generic/hyphen/ithyphen2.tex
./tex/generic/hyphen/ukhyphen.tex
./tpm/hyphen-base.tpm
./tpm/hyphen-basque.tpm
./tpm/hyphen-czechslovak.tpm
./tpm/hyphen-dutch.tpm
./tpm/hyphen-french.tpm
./tpm/hyphen-german.tpm
./tpm/hyphen-italian.tpm
./tpm/hyphen-polish.tpm
./tpm/hyphen-portuguese.tpm
./tpm/hyphen-spanish.tpm
./tpm/hyphen-ukenglish.tpm

I installed ConTexT using the TeXLive distribution, and then build
ConTeXt inside of that by unzipping the standard ConTeXt package.

Thanks

Paul



-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] hyphenation not working

2005-03-16 Thread Hans Hagen
Paul Tremblay wrote:
I've noticed that hypenation is not working in my test ConTeXt
documents. I have looked repeatedly at the manual and searched the wiki.
It seems that hyphenations should be automatic?
I am testing simple files with the language as English. Does one have to
turn hyphenation on?
normally not, but there has been some changes in distributions; is there a 
hyphen.tex on your system?

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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] hyphenation not working

2005-03-15 Thread Paul Tremblay
I've noticed that hypenation is not working in my test ConTeXt
documents. I have looked repeatedly at the manual and searched the wiki.
It seems that hyphenations should be automatic?

I am testing simple files with the language as English. Does one have to
turn hyphenation on?

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context