* hyphenation not working
@ 2005-03-18 6:05 Paul Tremblay
2005-03-18 9:05 ` Hans Hagen
2005-03-18 9:26 ` Taco Hoekwater
0 siblings, 2 replies; 34+ messages in thread
From: Paul Tremblay @ 2005-03-18 6:05 UTC (permalink / raw)
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 *
*phthenry@iglou.com *
************************
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-18 6:05 hyphenation not working Paul Tremblay
@ 2005-03-18 9:05 ` Hans Hagen
2005-03-18 21:08 ` Paul Tremblay
` (2 more replies)
2005-03-18 9:26 ` Taco Hoekwater
1 sibling, 3 replies; 34+ messages in thread
From: Hans Hagen @ 2005-03-18 9:05 UTC (permalink / raw)
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-18 9:05 ` Hans Hagen
@ 2005-03-18 21:08 ` Paul Tremblay
2005-03-18 21:55 ` Patrick Gundlach
2005-03-19 1:01 ` hyphenation not working Paul Tremblay
2005-03-20 12:18 ` hyphenation not working Christopher Creutzig
2 siblings, 1 reply; 34+ messages in thread
From: Paul Tremblay @ 2005-03-18 21:08 UTC (permalink / raw)
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 *
*phthenry@iglou.com *
************************
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-18 9:05 ` Hans Hagen
2005-03-18 21:08 ` Paul Tremblay
@ 2005-03-19 1:01 ` Paul Tremblay
2005-03-19 8:03 ` Taco Hoekwater
2005-03-19 11:17 ` how to place figures next to each other Peter
2005-03-20 12:18 ` hyphenation not working Christopher Creutzig
2 siblings, 2 replies; 34+ messages in thread
From: Paul Tremblay @ 2005-03-19 1:01 UTC (permalink / raw)
> 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
<protectionstate 0>
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.33331+2.33331)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.33331+2.33331)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.33331+2.33331)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 10000+50000
10284 words of font info for 34 fonts, out of 1000000 for 2000
82 hyphenation exceptions out of 1000
39i,20n,52p,181b,433s stack positions out of 5000i,500n,6000p,200000b,40000s
0 PDF objects out of 300000
0 named destinations out of 131072
1 words of extra memory for PDF output out of 65536
Output written on test.dvi (6 pages, 17272 bytes).
--
************************
*Paul Tremblay *
*phthenry@iglou.com *
************************
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-19 1:01 ` hyphenation not working Paul Tremblay
@ 2005-03-19 8:03 ` Taco Hoekwater
2005-03-19 15:16 ` Paul Tremblay
2005-03-19 15:26 ` Paul Tremblay
2005-03-19 11:17 ` how to place figures next to each other Peter
1 sibling, 2 replies; 34+ messages in thread
From: Taco Hoekwater @ 2005-03-19 8:03 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-19 8:03 ` Taco Hoekwater
@ 2005-03-19 15:16 ` Paul Tremblay
2005-03-19 15:26 ` Paul Tremblay
1 sibling, 0 replies; 34+ messages in thread
From: Paul Tremblay @ 2005-03-19 15:16 UTC (permalink / raw)
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.
GRRRRRRRRRRRRRRRRR!
Paul
--
************************
*Paul Tremblay *
*phthenry@iglou.com *
************************
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-19 8:03 ` Taco Hoekwater
2005-03-19 15:16 ` Paul Tremblay
@ 2005-03-19 15:26 ` Paul Tremblay
2005-03-19 15:37 ` Taco Hoekwater
1 sibling, 1 reply; 34+ messages in thread
From: Paul Tremblay @ 2005-03-19 15:26 UTC (permalink / raw)
>
> 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 *
*phthenry@iglou.com *
************************
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-19 15:26 ` Paul Tremblay
@ 2005-03-19 15:37 ` Taco Hoekwater
2005-03-19 15:58 ` Paul Tremblay
0 siblings, 1 reply; 34+ messages in thread
From: Taco Hoekwater @ 2005-03-19 15:37 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-19 15:37 ` Taco Hoekwater
@ 2005-03-19 15:58 ` Paul Tremblay
2005-03-19 16:05 ` Adam Lindsay
2005-03-19 16:27 ` Taco Hoekwater
0 siblings, 2 replies; 34+ messages in thread
From: Paul Tremblay @ 2005-03-19 15:58 UTC (permalink / raw)
> 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 *
*phthenry@iglou.com *
************************
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-19 15:58 ` Paul Tremblay
@ 2005-03-19 16:05 ` Adam Lindsay
2005-03-19 16:20 ` Paul Tremblay
2005-03-19 16:27 ` Taco Hoekwater
1 sibling, 1 reply; 34+ messages in thread
From: Adam Lindsay @ 2005-03-19 16:05 UTC (permalink / raw)
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. atl@comp.lancs.ac.uk
Lancaster University, InfoLab21 +44(0)1524/510.514
Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-19 16:05 ` Adam Lindsay
@ 2005-03-19 16:20 ` Paul Tremblay
2005-03-19 16:42 ` Adam Lindsay
0 siblings, 1 reply; 34+ messages in thread
From: Paul Tremblay @ 2005-03-19 16:20 UTC (permalink / raw)
> 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 *
*phthenry@iglou.com *
************************
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-19 16:20 ` Paul Tremblay
@ 2005-03-19 16:42 ` Adam Lindsay
2005-03-19 17:05 ` Paul Tremblay
0 siblings, 1 reply; 34+ messages in thread
From: Adam Lindsay @ 2005-03-19 16:42 UTC (permalink / raw)
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. atl@comp.lancs.ac.uk
Lancaster University, InfoLab21 +44(0)1524/510.514
Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-19 16:42 ` Adam Lindsay
@ 2005-03-19 17:05 ` Paul Tremblay
0 siblings, 0 replies; 34+ messages in thread
From: Paul Tremblay @ 2005-03-19 17:05 UTC (permalink / raw)
>
> 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 *
*phthenry@iglou.com *
************************
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-19 15:58 ` Paul Tremblay
2005-03-19 16:05 ` Adam Lindsay
@ 2005-03-19 16:27 ` Taco Hoekwater
2005-03-19 17:02 ` Paul Tremblay
1 sibling, 1 reply; 34+ messages in thread
From: Taco Hoekwater @ 2005-03-19 16:27 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-19 16:27 ` Taco Hoekwater
@ 2005-03-19 17:02 ` Paul Tremblay
2005-03-19 17:56 ` Patrick Gundlach
0 siblings, 1 reply; 34+ messages in thread
From: Paul Tremblay @ 2005-03-19 17:02 UTC (permalink / raw)
> 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 *
*phthenry@iglou.com *
************************
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-19 17:02 ` Paul Tremblay
@ 2005-03-19 17:56 ` Patrick Gundlach
2005-03-19 21:39 ` Paul Tremblay
0 siblings, 1 reply; 34+ messages in thread
From: Patrick Gundlach @ 2005-03-19 17:56 UTC (permalink / raw)
Hi Paul,
[...]
> 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
So your format with the new patterns is not used. You generated the
format Feb. 20 and downloaded the patters a few days ago.
What happens if you run
texexec --make --alone
and copy the cont-en.fmt (or whatever it is called now) into the
'correct' path? Or leave it in the path that your test file is in and
try the \showhyphenations{hypertextual} again.
Patrick
--
ConTeXt wiki: http://contextgarden.net
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Re: hyphenation not working
2005-03-19 17:56 ` Patrick Gundlach
@ 2005-03-19 21:39 ` Paul Tremblay
2005-03-19 22:00 ` Patrick Gundlach
0 siblings, 1 reply; 34+ messages in thread
From: Paul Tremblay @ 2005-03-19 21:39 UTC (permalink / raw)
>
> What happens if you run
>
> texexec --make --alone
>
> and copy the cont-en.fmt (or whatever it is called now) into the
> 'correct' path? Or leave it in the path that your test file is in and
> try the \showhyphenations{hypertextual} again.
>
Back from my rally.
And, success! If I leave the cont-en.fmt file in the same directory as
I am running texeec, then I get hypenated text. So the goal is to move
it to my path. But where exactly is my path?
If I do a search for the cont-en.fmt file in texmf, I get:
./doc/man/man1/cont-en.1
./tex/context/base/cont-en.tex
./tex/context/config/cont-en.ini
./tex/context/interface/cont-en.xml
./context/data/cont-en-scite.properties
./cont-en.log
./cont-en.fmt
Thanks
Paul
--
************************
*Paul Tremblay *
*phthenry@iglou.com *
************************
^ permalink raw reply [flat|nested] 34+ messages in thread
* how to place figures next to each other
2005-03-19 1:01 ` hyphenation not working Paul Tremblay
2005-03-19 8:03 ` Taco Hoekwater
@ 2005-03-19 11:17 ` Peter
2005-03-20 22:35 ` Matthias Weber
1 sibling, 1 reply; 34+ messages in thread
From: Peter @ 2005-03-19 11:17 UTC (permalink / raw)
Dear list,
How can I place two figures next to each other without using a
\startcombination ... \stopcombination group?
I now have this, but it is not what I want:
\gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
\gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
\plaatsfiguur
[hier]
[fig:klavieren]
{Enkele varianten van het groot octaaf}
{\startcombinatie[2*1]
{\kortoctaaf}{kort octaaf}
{\gebrokenoctaaf}{gebroken octaaf}
\stopcombinatie}
I want to have the two figures numbered as seperate, independent
figures, but when using a combination, the whole combination is treated
as one figure and gets only one number and one label.
XXXX XXXX
X X X X
XXXX XXXX
fig.n fig.n+1
I've consulted the manuals and searched the list archives, but I have
not found a solution.
tnx in advance,
Peter van Kranenburg
p.s. I've already sent this message to the list, thursday, but it didn't
show up in my inbox. So this is another try.
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: how to place figures next to each other
2005-03-19 11:17 ` how to place figures next to each other Peter
@ 2005-03-20 22:35 ` Matthias Weber
2005-03-21 22:26 ` Peter
0 siblings, 1 reply; 34+ messages in thread
From: Matthias Weber @ 2005-03-20 22:35 UTC (permalink / raw)
The best I can get is
\starttext
\useexternalfigure[myfigure][filename][width=1in]
\placetable[here][tab:2figures]{none}
\starttable[|c|c|]
\NC
\placefigure[here]{My Caption 1}{\externalfigure[myfigure]}
\NC
\placefigure[here]{My Caption 1}{\externalfigure[myfigure]}
\NC
\FR
\stoptable
\stoptext
But something in \placefigure produces undesired glue so that the
figures
end up in the margins.
Somebody else?
Matthias
On Mar 19, 2005, at 6:17 AM, Peter wrote:
> Dear list,
>
> How can I place two figures next to each other without using a
> \startcombination ... \stopcombination group?
>
> I now have this, but it is not what I want:
>
> \gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
> \gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
> \plaatsfiguur
> [hier]
> [fig:klavieren]
> {Enkele varianten van het groot octaaf}
> {\startcombinatie[2*1]
> {\kortoctaaf}{kort octaaf}
> {\gebrokenoctaaf}{gebroken octaaf}
> \stopcombinatie}
>
> I want to have the two figures numbered as seperate, independent
> figures, but when using a combination, the whole combination is
> treated as one figure and gets only one number and one label.
>
> XXXX XXXX
> X X X X
> XXXX XXXX
>
> fig.n fig.n+1
>
> I've consulted the manuals and searched the list archives, but I have
> not found a solution.
>
> tnx in advance,
>
> Peter van Kranenburg
>
> p.s. I've already sent this message to the list, thursday, but it
> didn't show up in my inbox. So this is another try.
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: how to place figures next to each other
2005-03-20 22:35 ` Matthias Weber
@ 2005-03-21 22:26 ` Peter
0 siblings, 0 replies; 34+ messages in thread
From: Peter @ 2005-03-21 22:26 UTC (permalink / raw)
Matthias Weber wrote:
> The best I can get is
>
> \starttext
> \useexternalfigure[myfigure][filename][width=1in]
> \placetable[here][tab:2figures]{none}
> [...]
Thanks for the try. I've also tried columns. But the floating mechanism
and columns/tables doesn't cooperate very well...
Maybe there is a way to increment the figure counter by hand? And to add
a label for the added figurenumber? Then I can make the
[2*1]-combination appear as two independent figures.
the only problem then is the caption of the combination. I don't want
that caption, and I don't want the space that is occupied by that caption.
greetings
Peter
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-18 9:05 ` Hans Hagen
2005-03-18 21:08 ` Paul Tremblay
2005-03-19 1:01 ` hyphenation not working Paul Tremblay
@ 2005-03-20 12:18 ` Christopher Creutzig
2 siblings, 0 replies; 34+ messages in thread
From: Christopher Creutzig @ 2005-03-20 12:18 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: hyphenation not working
2005-03-18 6:05 hyphenation not working Paul Tremblay
2005-03-18 9:05 ` Hans Hagen
@ 2005-03-18 9:26 ` Taco Hoekwater
1 sibling, 0 replies; 34+ messages in thread
From: Taco Hoekwater @ 2005-03-18 9:26 UTC (permalink / raw)
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
>
^ permalink raw reply [flat|nested] 34+ messages in thread
* how to place figures next to each other
@ 2005-03-18 11:20 Peter
2005-03-25 15:57 ` Peter
0 siblings, 1 reply; 34+ messages in thread
From: Peter @ 2005-03-18 11:20 UTC (permalink / raw)
Dear list,
How can I place two figures next to each other without using a
\startcombination ... \stopcombination group?
I now have this, but it is not what I want:
\gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
\gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
\plaatsfiguur
[hier]
[fig:klavieren]
{Enkele varianten van het groot octaaf}
{\startcombinatie[2*1]
{\kortoctaaf}{kort octaaf}
{\gebrokenoctaaf}{gebroken octaaf}
\stopcombinatie}
I want to have the two figures numbered as seperate, independent
figures, but when using a combination, the whole combination is treated
as one figure and gets only one number and one label.
XXXX XXXX
X X X X
XXXX XXXX
fig.n fig.n+1
I've consulted the manuals and searched the list archives, but I have
not found a solution.
tnx in advance,
Peter van Kranenburg
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: how to place figures next to each other
2005-03-18 11:20 how to place figures next to each other Peter
@ 2005-03-25 15:57 ` Peter
2005-03-28 22:59 ` Hans Hagen
0 siblings, 1 reply; 34+ messages in thread
From: Peter @ 2005-03-25 15:57 UTC (permalink / raw)
Peter wrote:
> How can I place two figures next to each other without using a
> \startcombination ... \stopcombination group?
>
> I now have this, but it is not what I want:
>
> \gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
> \gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
> \plaatsfiguur
> [hier]
> [fig:klavieren]
> {Enkele varianten van het groot octaaf}
> {\startcombinatie[2*1]
> {\kortoctaaf}{kort octaaf}
> {\gebrokenoctaaf}{gebroken octaaf}
> \stopcombinatie}
>
> I want to have the two figures numbered as seperate, independent
> figures, but when using a combination, the whole combination is treated
> as one figure and gets only one number and one label.
>
> XXXX XXXX
> X X X X
> XXXX XXXX
>
> fig.n fig.n+1
>
> I've consulted the manuals and searched the list archives, but I have
> not found a solution.
>
> tnx in advance,
>
I now know how to suppress the caption of the combination. By using the
option "none".
Now I have to generate the captions of the two figures with the correct
numbers and the reference-labels by hand. So my questions:
- How can I increment the figure counter?
- How can I print the current figure number?
- How can I add labels for referencing to the two figures?
- Is there a better approach to do this?
I have two small figures. So I really want them next to each other. It's
a waste of space to put them underneath each other.
Peter
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: how to place figures next to each other
2005-03-25 15:57 ` Peter
@ 2005-03-28 22:59 ` Hans Hagen
2005-03-29 10:25 ` Peter
0 siblings, 1 reply; 34+ messages in thread
From: Hans Hagen @ 2005-03-28 22:59 UTC (permalink / raw)
Peter wrote:
> Peter wrote:
>
>> How can I place two figures next to each other without using a
>> \startcombination ... \stopcombination group?
>>
>> I now have this, but it is not what I want:
>>
>> \gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
>> \gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
>> \plaatsfiguur
>> [hier]
>> [fig:klavieren]
>> {Enkele varianten van het groot octaaf}
>> {\startcombinatie[2*1]
>> {\kortoctaaf}{kort octaaf}
>> {\gebrokenoctaaf}{gebroken octaaf}
>> \stopcombinatie}
>>
>> I want to have the two figures numbered as seperate, independent
>> figures, but when using a combination, the whole combination is
>> treated as one figure and gets only one number and one label.
>>
>> XXXX XXXX
>> X X X X
>> XXXX XXXX
>>
>> fig.n fig.n+1
>>
>> I've consulted the manuals and searched the list archives, but I have
>> not found a solution.
>>
>> tnx in advance,
>>
>
> I now know how to suppress the caption of the combination. By using the
> option "none".
> Now I have to generate the captions of the two figures with the correct
> numbers and the reference-labels by hand. So my questions:
> - How can I increment the figure counter?
> - How can I print the current figure number?
> - How can I add labels for referencing to the two figures?
> - Is there a better approach to do this?
>
> I have two small figures. So I really want them next to each other. It's
> a waste of space to put them underneath each other.
ok then, since no one comes to your help ...
\starttext
\placefigure
[none]
{}
{\startcombination
{\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{one}}
{\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{two}}
\stopcombination}
\stoptext
-----------------------------------------------------------------
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] 34+ messages in thread
* Re: how to place figures next to each other
2005-03-28 22:59 ` Hans Hagen
@ 2005-03-29 10:25 ` Peter
0 siblings, 0 replies; 34+ messages in thread
From: Peter @ 2005-03-29 10:25 UTC (permalink / raw)
Hans Hagen wrote:
> \starttext
>
> \placefigure
> [none]
> {}
> {\startcombination
> {\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{one}}
> {\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{two}}
> \stopcombination}
>
> \stoptext
>
Wow, is it that simple and elegant...
I had to figure out to replace 'figure' by 'figuur' in the dutch
interface. But doing so gives me exactly what I want.
Many thanks!
Peter
^ permalink raw reply [flat|nested] 34+ messages in thread
end of thread, other threads:[~2005-03-29 10:25 UTC | newest]
Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-18 6:05 hyphenation not working Paul Tremblay
2005-03-18 9:05 ` Hans Hagen
2005-03-18 21:08 ` Paul Tremblay
2005-03-18 21:55 ` Patrick Gundlach
2005-03-19 1:02 ` Paul Tremblay
2005-03-19 10:11 ` yet another mirror (was: hyphenation not working) Patrick Gundlach
2005-03-19 12:41 ` VnPenguin
2005-03-19 12:46 ` yet another mirror Taco Hoekwater
2005-03-19 1:01 ` hyphenation not working Paul Tremblay
2005-03-19 8:03 ` Taco Hoekwater
2005-03-19 15:16 ` Paul Tremblay
2005-03-19 15:26 ` Paul Tremblay
2005-03-19 15:37 ` Taco Hoekwater
2005-03-19 15:58 ` Paul Tremblay
2005-03-19 16:05 ` Adam Lindsay
2005-03-19 16:20 ` Paul Tremblay
2005-03-19 16:42 ` Adam Lindsay
2005-03-19 17:05 ` Paul Tremblay
2005-03-19 16:27 ` Taco Hoekwater
2005-03-19 17:02 ` Paul Tremblay
2005-03-19 17:56 ` Patrick Gundlach
2005-03-19 21:39 ` Paul Tremblay
2005-03-19 22:00 ` Patrick Gundlach
2005-03-19 22:41 ` Paul Tremblay
2005-03-19 22:47 ` Patrick Gundlach
2005-03-19 11:17 ` how to place figures next to each other Peter
2005-03-20 22:35 ` Matthias Weber
2005-03-21 22:26 ` Peter
2005-03-20 12:18 ` hyphenation not working Christopher Creutzig
2005-03-18 9:26 ` Taco Hoekwater
2005-03-18 11:20 how to place figures next to each other Peter
2005-03-25 15:57 ` Peter
2005-03-28 22:59 ` Hans Hagen
2005-03-29 10:25 ` Peter
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).