Re: [NTG-context] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-19 Thread Andrew Starks
Ack. Of course, it's my fault. :)

TEXCACHE != TEXVAR


Best Regards,

Andrew Starks
Tightrope Media Systems
Co-Founder

800 Transfer Road, Suite 1B, Saint Paul MN 55114

866 866-4118, 201



On Fri, Nov 19, 2010 at 3:20 AM, Taco Hoekwater  wrote:
> On 11/19/2010 06:52 AM, luigi scarso wrote:
>>
>> "luv" comes from the cache --- perhaps  a wrong TEXMFCACHE ?
>
> Almost certainly. There was a MacTeX 'special' version of texmfcnf.lua,
> and that needs adjusting for the latest luatex / context combo. I am
> not quite sure what the best email thread is to link to, but I know that
> there have been other posts and people managed to actually make this
> work. Mojca perhaps?
>
> Best wishes,
> Taco
> ___
> 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
> ___
>
___
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] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-19 Thread Taco Hoekwater

On 11/19/2010 06:52 AM, luigi scarso wrote:


"luv" comes from the cache --- perhaps  a wrong TEXMFCACHE ?


Almost certainly. There was a MacTeX 'special' version of texmfcnf.lua,
and that needs adjusting for the latest luatex / context combo. I am
not quite sure what the best email thread is to link to, but I know that
there have been other posts and people managed to actually make this
work. Mojca perhaps?

Best wishes,
Taco
___
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] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-18 Thread luigi scarso
On Fri, Nov 19, 2010 at 3:11 AM, Andrew Starks  wrote:
> On Thu, Nov 18, 2010 at 11:18 AM, luigi scarso  wrote:
>
>> It seems that  I  need also to delete luatex.dll
>> Doing so all things go well
>>
>>
>> --
>> luigi
>> ___
>
> Wish I had a luatex.dll to delete. :(
>
> ;)
yours

MTXrun | warning: source mismatch (luv:
144e2249a1a87cb1144311e3cfb4f0e1 <> bin:
40142b7d400e559a49cf2e9f12599280), forcing remake

was almost the same of mine.
It says
"I (mtxrun) have found that the luatex that built the format is
luv: 144e2249a1a87cb1144311e3cfb4f0e1
while currently I will use the luatex
bin:40142b7d400e559a49cf2e9f12599280
They are  different so I must rebuild the format."

"luv" comes from the cache --- perhaps  a wrong TEXMFCACHE ?
"bin" coms from "executables"  luatex files (under windows exe and
dll) --- are you sure that you have the same luatex in you system ?

I don't know the story under Mac, but if it's like Linux that  you
should have only programs.






-- 
luigi
___
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] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-18 Thread Andrew Starks
On Thu, Nov 18, 2010 at 11:18 AM, luigi scarso  wrote:

> It seems that  I  need also to delete luatex.dll
> Doing so all things go well
>
>
> --
> luigi
> ___

Wish I had a luatex.dll to delete. :(

;)

-Andrew
___
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] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-18 Thread luigi scarso
On Thu, Nov 18, 2010 at 5:38 PM, luigi scarso  wrote:
> On Thu, Nov 18, 2010 at 5:31 PM, Hans Hagen  wrote:
>> On 18-11-2010 5:13, luigi scarso wrote:
>>
>>> OK, now I have the same binaries but
>>> a "engine mismatch":
>>>
>>> MTXrun | warning: engine mismatch (luv: This is LuaTeX, Version
>>> beta-0.64.0-2010111618 (rev 3961)<>  bin: This is LuaTe
>>> , Version beta-0.64.0-2010111223 (Web2C 2010) (rev 3956)), forcing remake
>>> MTXrun | resolvers: loading configuration file
>>> 'c:/luatex/minimals-beta/context/tex/texmf/web2c/texmfcnf.lua'
>>
>> looks like they're not the same
>>
>> how about making copies: copy luatex.exe to texlua.exe and texluac.exe
> Already done
>
>  Directory di c:\luatex\minimals-beta\context\tex\texmf-mswin\bin
>
> 16/11/2010  19:09         4.906.496 luatex.exe
>
>  Directory di c:\luatex\minimals-beta\context\tex\texmf-mswin\bin
>
> 16/11/2010  19:09         4.906.496 texlua.exe
>
>  Directory di c:\luatex\minimals-beta\context\tex\texmf-mswin\bin
>
> 16/11/2010  19:09         4.906.496 texluac.exe
It seems that  I  need also to delete luatex.dll
Doing so all things go well


-- 
luigi
___
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] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-18 Thread luigi scarso
On Thu, Nov 18, 2010 at 5:31 PM, Hans Hagen  wrote:
> On 18-11-2010 5:13, luigi scarso wrote:
>
>> OK, now I have the same binaries but
>> a "engine mismatch":
>>
>> MTXrun | warning: engine mismatch (luv: This is LuaTeX, Version
>> beta-0.64.0-2010111618 (rev 3961)<>  bin: This is LuaTe
>> , Version beta-0.64.0-2010111223 (Web2C 2010) (rev 3956)), forcing remake
>> MTXrun | resolvers: loading configuration file
>> 'c:/luatex/minimals-beta/context/tex/texmf/web2c/texmfcnf.lua'
>
> looks like they're not the same
>
> how about making copies: copy luatex.exe to texlua.exe and texluac.exe
Already done

 Directory di c:\luatex\minimals-beta\context\tex\texmf-mswin\bin

16/11/2010  19:09 4.906.496 luatex.exe

 Directory di c:\luatex\minimals-beta\context\tex\texmf-mswin\bin

16/11/2010  19:09 4.906.496 texlua.exe

 Directory di c:\luatex\minimals-beta\context\tex\texmf-mswin\bin

16/11/2010  19:09 4.906.496 texluac.exe


-- 
luigi
___
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] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-18 Thread Hans Hagen

On 18-11-2010 5:13, luigi scarso wrote:


OK, now I have the same binaries but
a "engine mismatch":

MTXrun | warning: engine mismatch (luv: This is LuaTeX, Version
beta-0.64.0-2010111618 (rev 3961)<>  bin: This is LuaTe
, Version beta-0.64.0-2010111223 (Web2C 2010) (rev 3956)), forcing remake
MTXrun | resolvers: loading configuration file
'c:/luatex/minimals-beta/context/tex/texmf/web2c/texmfcnf.lua'


looks like they're not the same

how about making copies: copy luatex.exe to texlua.exe and texluac.exe

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-18 Thread luigi scarso
On Thu, Nov 18, 2010 at 12:50 PM, luigi scarso  wrote:
> On Thu, Nov 18, 2010 at 12:48 PM, Hans Hagen  wrote:
>> On 18-11-2010 12:22, Andrew Starks wrote:
>>>
>>> Hello,
>>>
>>> Whenever I compile a document, it appears that mtxrun and simple fonts
>>> must rebuild/remake/generate every time. mtxrun starts off with:
>>
>> can you check if texlua and luatex are the same binaries?
> me stupid
OK, now I have the same binaries but
a "engine mismatch":

MTXrun | warning: engine mismatch (luv: This is LuaTeX, Version
beta-0.64.0-2010111618 (rev 3961) <> bin: This is LuaTe
, Version beta-0.64.0-2010111223 (Web2C 2010) (rev 3956)), forcing remake
MTXrun | resolvers: loading configuration file
'c:/luatex/minimals-beta/context/tex/texmf/web2c/texmfcnf.lua'

rev 3961 is mine , rev 3956 is the canonical one

I'm bit confused, it seems windows-only stuff
-- 
luigi
___
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] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-18 Thread luigi scarso
On Thu, Nov 18, 2010 at 12:48 PM, Hans Hagen  wrote:
> On 18-11-2010 12:22, Andrew Starks wrote:
>>
>> Hello,
>>
>> Whenever I compile a document, it appears that mtxrun and simple fonts
>> must rebuild/remake/generate every time. mtxrun starts off with:
>
> can you check if texlua and luatex are the same binaries?
me stupid

-- 
luigi
___
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] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-18 Thread Hans Hagen

On 18-11-2010 12:22, Andrew Starks wrote:

Hello,

Whenever I compile a document, it appears that mtxrun and simple fonts
must rebuild/remake/generate every time. mtxrun starts off with:


can you check if texlua and luatex are the same binaries?


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-18 Thread luigi scarso
On Thu, Nov 18, 2010 at 12:33 PM, Taco Hoekwater  wrote:
> On 11/18/2010 12:30 PM, luigi scarso wrote:
>>
>> On Thu, Nov 18, 2010 at 12:22 PM, Andrew Starks
>>  wrote:
>>>
>>> Hello,
>>>
>>> Whenever I compile a document, it appears that mtxrun and simple fonts
>>> must rebuild/remake/generate every time. mtxrun starts off with:
>>
>> Uh, this is the same problem that I have when I cross-compile luatex
>> under linux for windows32.
>> Strange enough that it happens with Mac too.
>
> both problems come from bad TEXMFCACHE settings. Please search back
> through the mailing list archives, this problem has been discussed not
> so long ago.
My experience on windows32 mkiv is that changing the default luatex
with my cross-compiled exe (gnu gcc 4.1 if I remember correctly)
format is rebuilded at every run and when I come back to the canonical
luatex things go well again.
I don't touch TEXMFCACHE at all.
Anyway for me cross-compiling is still experimental.

-- 
luigi
___
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] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-18 Thread Taco Hoekwater

On 11/18/2010 12:30 PM, luigi scarso wrote:

On Thu, Nov 18, 2010 at 12:22 PM, Andrew Starks  wrote:

Hello,

Whenever I compile a document, it appears that mtxrun and simple fonts
must rebuild/remake/generate every time. mtxrun starts off with:

Uh, this is the same problem that I have when I cross-compile luatex
under linux for windows32.
Strange enough that it happens with Mac too.


both problems come from bad TEXMFCACHE settings. Please search back
through the mailing list archives, this problem has been discussed not
so long ago.

___
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] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-18 Thread luigi scarso
On Thu, Nov 18, 2010 at 12:22 PM, Andrew Starks  wrote:
> Hello,
>
> Whenever I compile a document, it appears that mtxrun and simple fonts
> must rebuild/remake/generate every time. mtxrun starts off with:
Uh, this is the same problem that I have when I cross-compile luatex
under linux for windows32.
Strange enough that it happens with Mac too.

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


[NTG-context] MacTeX / ConTeXt: Very long compile times, cache rebuilds every time

2010-11-18 Thread Andrew Starks
Hello,

Whenever I compile a document, it appears that mtxrun and simple fonts
must rebuild/remake/generate every time. mtxrun starts off with:


MTXrun | warning: source mismatch (luv:
144e2249a1a87cb1144311e3cfb4f0e1 <> bin:
40142b7d400e559a49cf2e9f12599280), forcing remake

It appears to not throw errors about saving the cache. Just one
example in hundreds:

MTXrun | resolvers: preparing 'files' for '/usr/local/texlive/2010/texmf-dist'
MTXrun | resolvers: category 'files', cachename
'/usr/local/texlive/2010/texmf-dist' saved in
'/Users/andrew/Library/texlive/2010/texmf-var/luatex-cache/context/210a81d6dcb1059dc80fab3f5470ab7a/trees/26993469c6208234eef0d0acf8456c4d.lua'

It appears that this command tails with:

MTXrun | format path:
/Users/andrew/Library/texlive/2010/texmf-var/luatex-cache/context/210a81d6dcb1059dc80fab3f5470ab7a/formats
MTXrun | resolvers: using given filetype 'tex'
MTXrun | using tex source file:
/usr/local/texlive/2010/texmf-dist/tex/context/base/cont-en.tex
MTXrun | resolvers: using given filetype 'tex'
MTXrun | resolvers: remembering file 'cont-en.lus'
MTXrun | resolvers: qualified name
'/usr/local/texlive/2010/texmf-dist/tex/context/base/cont-en.lus'

Then luatex --ini begins:

MTXrun | running command: luatex --ini
--lua="/usr/local/texlive/2010/texmf-dist/tex/context/base/luat-cod.lua"
"/usr/local/texlive/2010/texmf-dist/tex/context/base/cont-en.tex"
\dump
This is LuaTeX, Version beta-0.64.0-2010111215  (INITEX)
 \write18 enabled.

It loads a great number of macros without error and tails with:

Beginning to dump on file cont-en.fmt
 (format=cont-en 2010.11.18)
31667 strings using 410675 bytes
752503 memory locations dumped; current usage is 198&375520
29129 multiletter control sequences
\font\nullfont=nullfont
0 preloaded fonts
0 words of pdf memory
7 indirect objects
mkiv lua stats : used config file  -
/usr/local/texlive/2010/texmfcnf.lua;/usr/local/texlive/2010/texmf/web2c/texmfcnf.lua
mkiv lua stats : used cache path   -
/Users/andrew/Library/texlive/2010/texmf-var/luatex-cache/context/210a81d6dcb1059dc80fab3f5470ab7a
mkiv lua stats : input load time   - 0.247 seconds
mkiv lua stats : stored bytecode data  - 229 modules, 54 tables, 283 chunks
mkiv lua stats : node list callback tasks  - 6 unique task lists, 2
instances (re)created, 6 calls
mkiv lua stats : cleaned up reserved nodes - 0 nodes, 9 lists of 410
mkiv lua stats : node memory usage - 16 glue_spec
mkiv lua stats : used backend  - pdf (backend for directly
generating pdf output)
mkiv lua stats : callbacks - direct: 534, indirect:
117518, total: 118052
mkiv lua stats : result saved in file  - cont-en.pdf
mkiv lua stats : luatex banner - this is luatex, version
beta-0.64.0-2010111215
mkiv lua stats : control sequences - 29129 of 65536
mkiv lua stats : current memory usage  - 40 MB (ctx: 41 MB)
mkiv lua stats : runtime   - 24.292 seconds

Then the document is processed and it goes quickly up until the end of
this block:

 luatex 
--fmt="/Users/andrew/Library/texlive/2010/texmf-var/luatex-cache/context/210a81d6dcb1059dc80fab3f5470ab7a/formats/cont-en"
--lua="/Users/andrew/Library/texlive/2010/texmf-var/luatex-cache/context/210a81d6dcb1059dc80fab3f5470ab7a/formats/cont-en.lui"
--backend=pdf "/Users/andrew/Dropbox/Documentation/context/Excursion.tex"This
is LuaTeX, Version beta-0.64.0-2010111215
 \write18 enabled.

sorters > setting language 'en'
(/Users/andrew/Dropbox/Documentation/context/Excursion.tex
jobcontrol  > resuming randomizer with 0.74766131478719
publications: loading formatting style from bxml-apa
(/usr/local/texlive/2010/texmf-dist/tex/context/base/bxml-apa.mkiv)

ConTeXt  ver: 2010.07.30 11:35 MKIV  fmt: 2010.11.18  int: english/english

system  : cont-new loaded
(/usr/local/texlive/2010/texmf-dist/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/usr/local/texlive/2010/texmf-dist/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/usr/local/texlive/2010/texmf-dist/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/usr/local/texlive/2010/texmf-dist/tex/context/user/cont-sys.rme
(/usr/local/texlive/2010/texmf-dist/tex/context/base/type-def.mkiv)
(/usr/local/texlive/2010/texmf-dist/tex/context/base/type-lua.mkiv)
(/usr/local/texlive/2010/texmf-dist/tex/context/base/type-siz.mkiv)
(/usr/local/texlive/2010/texmf-dist/tex/context/base/type-otf.mkiv))
system  : Excursion.top loaded
(Excursion.top)
fonts   : preloading latin modern fonts
{/usr/local/texlive/2010/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/usr/local/texlive/2010/texmf-dist/fonts/map/dvips/lm/lm-rm.map}{/usr/local/texlive/2010/texmf-dist/fonts/map/pdftex/context/mkiv-base.map}
bodyfont: 12pt rm is loaded
language: language en is active
system  : module simpl