[NTG-context] still have a problem in using luatools

2007-09-26 Thread Dalyoung Jeong
Hi,

Again I'd like to ask you some help.

Since I have no idea what is wrong in my TeX(gwTeX), I tried from the  
beginning.
I removed installed gwTeX, and reinstalled MacTeX-2007 package.
I checked the followings:

$ kpsewhich texmf.cnf
/usr/local/texlive/2007/texmf/web2c/texmf.cnf

$ kpsewhich  --expand-var='$TEXMFCNF'
{/usr/local/texlive/2007/bin/powerpc-darwin,/usr/local/texlive/2007/ 
bin,/usr/local/texlive/2007}{,{/share,}/texmf{-local,}/web2c}:/.

$ kpsewhich  --expand-var='$TEXMF'
{/Users/dalyoung/.texlive2007/texmf-config,/Users/ 
dalyoung/.texlive2007/texmf-var,/Users/dalyoung/Library/texmf,!!/usr/ 
local/texlive/2007/texmf-config,!!/usr/local/texlive/2007/texmf- 
var,!!/usr/local/texlive/2007/texmf,!!/usr/local/texlive/2007/../ 
texmf-local,!!/usr/local/texlive/2007/texmf-dist}

I also copied luatex and mtxrun in the folder /usr/texbin.

texexec --make --all {--pdftex, --xetex} worked fine and make formats  
properly.

After that I run "luatools --generate", then it is not working  
properly. The messages are

$ luatools --generate

LuaTools | skipping /usr/texbin/texmf-local/web2c/texmf.cnf
LuaTools | skipping /usr/texbin/texmf/web2c/texmf.cnf
LuaTools |
LuaTools | runtime: 0.03 seconds

I don't know why it is looking for texmf.cnf under the binary folder(/ 
usr/texbin).

Would you please tell me what is wrong in my installation?

Thank you for your help.

Best regards,

Dalyoung
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] still waiting for mswincontext

2007-09-26 Thread Vyatcheslav Yatskovsky
Hello Hans,

Just noticed that when making formats luatools skips texmf.cnt in both 
subtrees. Does it mean that .cnf files are not needed anymore by luatex, and it 
relies only on environmental vars?

Best regards,
Vyatcheslav

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] got win mimimals at last

2007-09-26 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote:
> Hello,
> 
> Hurray!!! The recent Windows minimals work fine for me! Thank you, Mojca, for 
> showing a hidden place in the garden!  :)  And my a kind of installer works 
> too, how nice! :)))
> 
> A few words about my 'installer' (maybe someone is interested). It does the 
> same job as setuptex.bat, but sets variables globally by writing into 
> registry instead of dos box. So I can call binaries from any application and 
> it all works!.
> 
> (Remark: merely setting the PATH variable is not enough, dozen other are 
> needed. Vars were typically defined in texmf.cnf files, but I was surprised 
> to find that those files are explicitly ignored by luatex. )

not by luatex, but by mkiv ... kpse is not used at all, some day mkiv 
will use its own configuration files, currently, if you change a cfn 
file (or add files ot the tree) you need to run

luatools --generate

(a configuration file will be written to the cache then)

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] got win mimimals at last

2007-09-26 Thread Vyatcheslav Yatskovsky
Hello,

Hurray!!! The recent Windows minimals work fine for me! Thank you, Mojca, for 
showing a hidden place in the garden!  :)  And my a kind of installer works 
too, how nice! :)))

A few words about my 'installer' (maybe someone is interested). It does the 
same job as setuptex.bat, but sets variables globally by writing into registry 
instead of dos box. So I can call binaries from any application and it all 
works!.

(Remark: merely setting the PATH variable is not enough, dozen other are 
needed. Vars were typically defined in texmf.cnf files, but I was surprised to 
find that those files are explicitly ignored by luatex. )

My next step is to create 'real' installer for Windows. I've discussed this 
idea several times here and feel that people need it (I do :) My vision of the 
installer is: install-and-forget on any Windows machine. Target audience: 
novices. It will include mimimal distribution (56Mb), install or require Ruby 
too (not included in minimals?). This installation will NOT be able to coexist 
with MikTeX or TeXLive, because settings will clash.

That's all news and thank you all!!

Best,
Vyatcheslav Yatskovsky

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unicode error in embedded metapost

2007-09-26 Thread Maurí­cio
>>> (...)
> 
> Metapost can only handle very basic strings. Don't use Metapost for
> writing text.
> 
>>> (...)
> Indeed. Using \sometxt{...} is strongly recommended. btex ... etex
> behaves strange and consumes a considerable amount of extra time to
> compile your document.
> 
> Mojca

Interesting. I also wasn't aware that btex ... etex could not handle 
string variables, as I learned from your documentation (I've just 
started learning metapost).

Thanks,
Maurício

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] still waiting for mswincontext

2007-09-26 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote:
> Hello Hans,
> 
> Could you please answer my questions about recent Windows minimal? 
> 
> 1) Why we need to set almost all in setuptex.bat, while the same vars (except 
> Windows' PATH) are already set in texmf.cnf? 

well, this is not recent, but has aways been the case; in setuptex i 
make sure that no conflicts can arise between different trees; so one 
can have multiple trees installed, without clashed; you don't wanna know 
what can happen (and how much time it costs to find out and fix) if some 
installer has set variables at the outer shell level; i just don't want 
to take any risk here

> 2) How can I get rid of LM (and other) fonts completely? I want to use solely 
> luatex and system fonts, but bound to have those monsters too. 

just delete them but i would not delete the lm since they're used as 
fallbacks; if you want to default to something else, you need to tweak 
the initializations (maybe some day when the gyre math fonts are there 
i'll provide something for that); keep in mind that many tex users use 
tex for math and not having set up math will break al lot then

> My area of interest is luatex only, since it is progressive, font-tolerant 
> and powerful. :o)

well, the overhead of lm is not that large (maybe someday i'll ship zips 
and run the fonts from zips); a few cjk fonts in your system font path 
take more space -)

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] still waiting for mswincontext

2007-09-26 Thread Vyatcheslav Yatskovsky
Hello Hans,

Could you please answer my questions about recent Windows minimal? 

1) Why we need to set almost all in setuptex.bat, while the same vars (except 
Windows' PATH) are already set in texmf.cnf? 

2) How can I get rid of LM (and other) fonts completely? I want to use solely 
luatex and system fonts, but bound to have those monsters too. 

My area of interest is luatex only, since it is progressive, font-tolerant and 
powerful. :o)

-- 
Best regards,
Vyatcheslav Yatskovsky

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] still waiting for mswincontext

2007-09-26 Thread Hans Hagen
Mojca Miklavec wrote:

> Note that also three really important fixes have been added to XeTeX
> recently, so ConTeXt works much better with XeTeX 0.997.

the bottom line is, that we need to make sure that we hav ethe most 
recent bins for all platforms before we can generate minimals

> It's the ConTeXt distribution, not the binaries which are broken.

i'm a bit puzzled ... for pdftex, nothing changed, for luatex, indeed 
bins and zips need to be in sync (esp because there have been changes in 
the lua font code that needed adaptions in the mkiv code) and xetex ... 
well, that's an interplay between engine and macros and trying to adapt

i think that luatex and xetex are fast moving targets so in most cases 
one needs to have updates of them and macro packages in sync; xetexs 
font syntax has changed over time, currently a feature was added to 
intercept problems but this is only on the latest bins, font searching 
is very engine dependent and also to some extend os dependent 
(upper/lowercase) etc etc

anyhow, the dust will probably settle in a few weeks (new bins available 
everywhere)

a tricky area is metapost ... since mp cannot handle open type we need 
to bend the rules sometimes and do ugly workarounds but we're getting there

> But note that there are still some problems:
> - wrong font size in XeTeX

more a xetex problem

> - textext("...") in metapost doesn't work

will never work completely if one uses different fonts in xetex and 
metapost in one document (well, it can work, but one had to make sure 
that the map stuff is sorted out then)

> - most probably others, not yet discovered

we'll try to keep them hidden -)

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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___