Re: [NTG-context] Language issues

2005-03-06 Thread Willi Egger
Hi MAts,
I use different installations:
c:\alpha-context a minimal distribution of Hans with the alpha version 
of ConTeXt (mswintex.zip + cont-lmt.zip)
c:\mytex a TeXlive installation based on TeXlive 2004
c:\newcontext a minimal distribution with the beta-version of ConTeXt 
(mswintex.zip + cont-lmt.zip).

I can only say, that Hans his minimal distributions are great. Minimal 
and still complete!

Kind regards
Willi
Mats Broberg wrote:
Google is your friend. Try 
http://www.miktex.org/manual/miktexinilayout.h> tml#id585308

and there "Memory Settings for TeX & Friends". 
the file is seeminly named miktex.ini.

Greetings to Sweden from (currently) Taiwan,
Tobias

Many thanks, Tobias. I browsed the archives and it seems memory settings
for MikTeX can not be changed. Approx. 2 years ago, Sebastian Rooks
wrote (and Giuseppe Bilotta answered):
===
Saturday, April 12, 2003 Sebastian Rooks wrote:
SR> So it does not seem to be my setup. What can I try next ? Am I
really
SR> the only guy with this problem ?
Drats, it looks like the hash size cannot be changed ... I'm
discussing this and similar issues with Christian, so I'll forward
the problem to him. If everything goes well it should be fixed in
the next upgrade. I'll keep you informed.
===
Pity! What TeX distributions are the other Windows users running, if not
MikTeX?
Thanks for all listmembers' help, anyway.
Best regards,
Mats Broberg
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Language issues

2005-03-06 Thread Tobias Burnus
Hello Mats,

Mats Broberg wrote:
>Pity! What TeX distributions are the other Windows users running, if not
>MikTeX?
>  
Well, TeXLive, fpTeX or Hans' stripped-down TeX version comes into my mind.

If you don't have the TeXLive CD (as several TeX user groups send their
members), try
- http://www.tug.org/texlive/
- http://www.fptex.org/
- http://www.pragma-ade.com/download-1.htm - minimal and stand-alone
ConTeXt distribution

Maybe some Windows users know others or can recommend which one is best
(with which editor).
(My last TeX under Windows was web2c/Windows [now named fpTeX], before
that Y&Y TeX and before that emTeX; now I use teTeX under Linux.)

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


RE: [NTG-context] Language issues

2005-03-06 Thread Mats Broberg
> Google is your friend. Try 
> http://www.miktex.org/manual/miktexinilayout.h> tml#id585308
> 
> and there "Memory Settings for TeX & Friends". 
> the file is seeminly named miktex.ini.
> 
> Greetings to Sweden from (currently) Taiwan,
> 
> Tobias

Many thanks, Tobias. I browsed the archives and it seems memory settings
for MikTeX can not be changed. Approx. 2 years ago, Sebastian Rooks
wrote (and Giuseppe Bilotta answered):

===

Saturday, April 12, 2003 Sebastian Rooks wrote:
SR> So it does not seem to be my setup. What can I try next ? Am I
really
SR> the only guy with this problem ?

Drats, it looks like the hash size cannot be changed ... I'm
discussing this and similar issues with Christian, so I'll forward
the problem to him. If everything goes well it should be fixed in
the next upgrade. I'll keep you informed.

===

Pity! What TeX distributions are the other Windows users running, if not
MikTeX?

Thanks for all listmembers' help, anyway.

Best regards,
Mats Broberg

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


Re: [NTG-context] Language issues

2005-03-06 Thread Tobias Burnus
Hi Mats,

Mats Broberg wrote:
>OK, I'm using MikTeX so obviously I should change the memory settings in
>a different file then. 
>  
Google is your friend. Try
http://www.miktex.org/manual/miktexinilayout.html#id585308
and there "Memory Settings for TeX & Friends". the file is seeminly
named miktex.ini.

Greetings to Sweden from (currently) Taiwan,

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


RE: [NTG-context] Language issues

2005-03-06 Thread Mats Broberg
> Well, on web2c-based systems (fpTeX, teTeX, TeXLive) one 
> should be able to find it using "kpsewhich texmf.cnf." If the 
> TeX is not based on web2c, well, then you have to look for 
> another config file ;) If I remember correctly, MiKTeX has a 
> different file.
> 
> Under Windows there is under Start|Find (or something like 
> that) the possibility to search for a file (texmf.cnf);
> Unix: "locale texmf.cnf" (or rather brutral: find / /usr /etc 
> $HOME -name texmf.cnf)
> 
> Tobias

OK, I'm using MikTeX so obviously I should change the memory settings in
a different file then. 

MikTeX users out there - any pointers to what file I should be looking
for? I checked the installation PDF but there is no reference to the
name of the file.

Best regards,
Mats Broberg

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


Re: [NTG-context] Language issues

2005-03-06 Thread Tobias Burnus
Hello,

Matthew Huggett wrote:
>>Then I tried searching for the file texmf.cnf, but it is nowhere to be
>>found.
>>
>On my system, it's in texmf/web2c/texmf.cnf -- if that helps at all.
>  

Well, on web2c-based systems (fpTeX, teTeX, TeXLive) one should be able
to find it using
"kpsewhich texmf.cnf." If the TeX is not based on web2c, well, then you
have to look for another config file ;)
If I remember correctly, MiKTeX has a different file.

Under Windows there is under Start|Find (or something like that) the
possibility to search for a file (texmf.cnf);
Unix: "locale texmf.cnf" (or rather brutral: find / /usr /etc $HOME
-name texmf.cnf)

Tobias

PS: I also get
   bash: texmfstart: command not found
Seemingly, it's time for a newer Linux (with teTeX 3) and a newer ConTeXt.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] Language issues

2005-03-06 Thread Mats Broberg
> > Then I tried searching for the file texmf.cnf, but it is 
> nowhere to be 
> > found.
> 
> On my system, it's in texmf/web2c/texmf.cnf -- if that helps at all.
> 
> regards,
> 
> Matt

Thanks, Matt - I looked there but there is no such file...

Best regards,
Mats Broberg

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


Re: [NTG-context] Language issues

2005-03-06 Thread Matthew Huggett
> Then I tried searching for the file texmf.cnf, but it is nowhere to be
> found.

On my system, it's in texmf/web2c/texmf.cnf -- if that helps at all.

regards,

Matt

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


RE: [NTG-context] Language issues

2005-03-06 Thread Mats Broberg
> so ... you never made a format -)
> 
> you need to increase some mem values in texmf.cnf:
> 
> texmfstart --direct youreditor.exe kpse:texmf.cnf
> 
> 
> buf_size.context =  20 % needed for omega bug
> extra_mem_bot.context= 200
> extra_mem_top.context= 400
> font_max.context =2000
> font_mem_size.context= 100
> hash_extra.context   =   65000
> main_memory.context  = 150
> max_strings.context  =  20
> nest_size.context= 500
> obj_tab_size.context =  30 % 8388607
> pdf_mem_size.context =  50 % 524288
> dest_names_size.context  =  30 % 131072
> param_size.context   =   1
> pool_free.context=   47500
> pool_size.context= 125
> save_size.context=   5
> stack_size.context   =   1
> string_vacancies.context =   9
> trie_size.context=  25
> hyph_size.context=1000

Hans,

Thanks. Now I typed:

texmfstart --direct winedt.exe kpse:texmf.cnf

And this is what I get:

'texmfstart' is not recognized as an internal or external command,
operable program or batch file.

Then I tried searching for the file texmf.cnf, but it is nowhere to be
found.

Best regards,
Mats Broberg


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


Re: [NTG-context] Language issues

2005-03-05 Thread h h extern
Mats Broberg wrote:
Enclosing the cont-en.log. 

As you can see, Swedish is not loaded. I hunted down the cont-usr.tex
file and uncommented this line about Swedish:
% \installlanguage [\s!sv] [\c!state=\v!start] % swedish
ran texexec --make --all again, but the log says Swedish is still not
loaded.
C:\texmf\tex\generic\hyphen\nohyph.tex Norsk hyphenation patterns
! TeX capacity exceeded, sorry [pattern memory ops=2048].
l.1207 lt3s6
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.
Here is how much of TeX's memory you used:
 33278 strings out of 98455
 509952 string characters out of 1219765
 417307 words of memory out of 1048577
 32670 multiletter control sequences out of 6
 7 words of font info for 0 fonts, out of 50 for 1000
 134 hyphenation exceptions out of 607
 23i,1n,26p,286b,663s stack positions out of 1500i,500n,5000p,20b,32768s
No pages of output.
so ... you never made a format -)
you need to increase some mem values in texmf.cnf:
   texmfstart --direct youreditor.exe kpse:texmf.cnf
buf_size.context =  20 % needed for omega bug
extra_mem_bot.context= 200
extra_mem_top.context= 400
font_max.context =2000
font_mem_size.context= 100
hash_extra.context   =   65000
main_memory.context  = 150
max_strings.context  =  20
nest_size.context= 500
obj_tab_size.context =  30 % 8388607
pdf_mem_size.context =  50 % 524288
dest_names_size.context  =  30 % 131072
param_size.context   =   1
pool_free.context=   47500
pool_size.context= 125
save_size.context=   5
stack_size.context   =   1
string_vacancies.context =   9
trie_size.context=  25
hyph_size.context=1000

-
  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] Language issues

2005-03-05 Thread h h extern
Mats Broberg wrote:
does the log report a swedisch pattern being loaded?
what font encoding do you use? (is related to hyphenation)
can you make a minimal file that i can run here (with right 
hyphenation points 
indicated?)

Hans

Hans,
I looked at the log file and no, you're right: Swedish is not included
in the list of languages when pdfTeX is talking about patterns:
language: patterns en->default:default->1->2:2
uk->default:default->2->
2:2 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->texnansi:texnansi->8->2:2 
it->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:ec->11->2:2
loaded

So something is wrong and the patterns are not loading.
this is what i get here
language: patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2 fr->
texnansi:texnansi->3->2:2 fr->ec:ec->4->2:2 de->texnansi:texnansi->5->2:2 de->e
c:ec->6->2:2 it->texnansi:texnansi->7->2:2 it->ec:ec->8->2:2 hr->ec:ec->9->2:2
pl->pl0:pl0->10->2:2 pl->ec:ec->11->2:2 cz->il2:il2->12->2:2 cz->ec:ec->13->2:2
 sk->il2:il2->14->2:2 sk->ec:ec->15->2:2 sl->il2:il2->16->2:2 sl->ec:ec->17->2:
2 en->ec:ec->18->2:2 da->ec:ec->19->2:2 sv->ec:ec->20->2:2 af->ec:ec->21->2:2 n
o->ec:ec->22->2:2 deo->ec:ec->23->2:2 uk->ec:ec->24->2:2 us->ec:ec->25->2:2 es-
>ec:ec->26->2:2 ca->ec:ec->27->2:2 la->ec:ec->28->2:2 pt->ec:ec->29->2:2 ro->ec
:ec->30->2:2 tr->ec:ec->31->2:2 fi->ec:ec->33->2:2 hu->ec:ec->34->2:2 loaded
some patterns are loaded multiple times
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] Language issues

2005-03-05 Thread Mats Broberg
> but ...
> 
>texexec --make --all
> 
> should load all patterns; what does cont-en.log say about that?
> 
> [you can try to edit your local copy of cont-usr.tex -- 
> uncomment the swedish lines]
> 
> another option is to pick up the beta version, since it is 
> more clever with 
> patterns; in that case you can also try to generate pattern 
> files for context 
> (using ctxtools, see patterns manual on our website)
> 
> btw, given that patterns fit into mem quite well, we may as 
> well preload the 
> whole lot by default

Hans,

Enclosing the cont-en.log. 

As you can see, Swedish is not loaded. I hunted down the cont-usr.tex
file and uncommented this line about Swedish:

% \installlanguage [\s!sv] [\c!state=\v!start] % swedish

ran texexec --make --all again, but the log says Swedish is still not
loaded.

Best regards,
Mats Broberg


cont-en.log
Description: Binary data
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Language issues

2005-03-05 Thread h h extern
Mats Broberg wrote:
does the log report a swedisch pattern being loaded?
what font encoding do you use? (is related to hyphenation)
can you make a minimal file that i can run here (with right 
hyphenation points 
indicated?)

Hans

Hans,
I looked at the log file and no, you're right: Swedish is not included
in the list of languages when pdfTeX is talking about patterns:
language: patterns en->default:default->1->2:2
uk->default:default->2->
2:2 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->texnansi:texnansi->8->2:2 
it->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:ec->11->2:2
loaded

So something is wrong and the patterns are not loading.
but ...
  texexec --make --all
should load all patterns; what does cont-en.log say about that?
[you can try to edit your local copy of cont-usr.tex -- uncomment the swedish 
lines]
another option is to pick up the beta version, since it is more clever with 
patterns; in that case you can also try to generate pattern files for context 
(using ctxtools, see patterns manual on our website)

btw, given that patterns fit into mem quite well, we may as well preload the 
whole lot by default

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] Language issues

2005-03-04 Thread Mats Broberg
> does the log report a swedisch pattern being loaded?
> 
> what font encoding do you use? (is related to hyphenation)
> 
> can you make a minimal file that i can run here (with right 
> hyphenation points 
> indicated?)
> 
> Hans

Hans,

I looked at the log file and no, you're right: Swedish is not included
in the list of languages when pdfTeX is talking about patterns:

language: patterns en->default:default->1->2:2
uk->default:default->2->
2:2 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->texnansi:texnansi->8->2:2 
it->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:ec->11->2:2
loaded

So something is wrong and the patterns are not loading.

Best regards,
Mats Broberg

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


Re: [NTG-context] Language issues

2005-03-04 Thread Hans Hagen
Mats Broberg wrote:
if you want a document wide switch, use \mainlanguage[sv]
are you sure that you've loaded the swedish patterns?
  texexec --make --all
will add them all
Hans

OK, I ran texexec --make --all and changed \language[sv] to
\mainlanguage[sv].
Regretfully, no change. Still overfull lines and incorrect hyphenation
the few times the text is hyphenated. Any ideas to what I am doing
wrong?
does the log report a swedisch pattern being loaded?
what font encoding do you use? (is related to hyphenation)
can you make a minimal file that i can run here (with right hyphenation points 
indicated?)

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] Language issues

2005-03-04 Thread Mats Broberg
> if you want a document wide switch, use \mainlanguage[sv]
> 
> are you sure that you've loaded the swedish patterns?
> 
>texexec --make --all
> 
> will add them all
> 
> Hans

OK, I ran texexec --make --all and changed \language[sv] to
\mainlanguage[sv].

Regretfully, no change. Still overfull lines and incorrect hyphenation
the few times the text is hyphenated. Any ideas to what I am doing
wrong?

Best regards,
Mats Broberg

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


Re: [NTG-context] Language issues

2005-03-03 Thread Hans Hagen
Mats Broberg wrote:
Dear listmembers,
When setting a language (in this case Swedish) for a document, is there
something else one is supposed to do than putting \language[sv] on a
single line somewhere before \starttext?
I get overfull, non-hyphenated lines in the section I am typesetting.
if you want a document wide switch, use \mainlanguage[sv]
are you sure that you've loaded the swedish patterns?
  texexec --make --all
will add them all
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