ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Re: [OS X TeX] TeX run : 8
@ 2005-03-02 11:59 Steffen Wolfrum
  2005-03-02 12:31 ` Hans Hagen
  2005-03-02 12:35 ` Re: [OS X TeX] " Hans Hagen
  0 siblings, 2 replies; 18+ messages in thread
From: Steffen Wolfrum @ 2005-03-02 11:59 UTC (permalink / raw)


Hans Hagen <pragma@wxs.nl> wrote:

>  Steffen Wolfrum wrote:
>  > After playing a bit with minimal examples I think the "bug" has to do
>  > with the project structure. Here comes a very minimal example that
>  > *still* runs 8 times under Mac (2 times under Win)! Why?
>  >
>  > Given a main TEST.tex file and besides that a PARTS folder containing
>  > the files ONE.tex and TWO.tex :
>  >
>  >
>  > TEST.tex
>  > \startproject TEST
>  > \startfrontmatter
>  > \component PARTS/ONE.tex
>  > \component PARTS/TWO.tex
>  > \stopfrontmatter
>  > \stopproject
>  >
>  >
>  > ONE.tex
>  > \startcomponent ONE
>  > text
>  > \stopcomponent
>  >
>  > TWO.tex
>  > \startcomponent TWO
>  > text
>  > \stopcomponent
>
>  this runs normal here; (but your big zip didn't as mentioned in a 
>previous mail)
>
>  Hans


How many runs do you have under Mac OS X?
And what is your setup for Mac: Gerben's tex.ii2 plus your recent cont-tmf.zip?

Steffen

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Re: [OS X TeX] TeX run : 8
  2005-03-02 11:59 Re: [OS X TeX] TeX run : 8 Steffen Wolfrum
@ 2005-03-02 12:31 ` Hans Hagen
  2005-03-02 19:46   ` Patrick Gundlach
  2005-03-02 12:35 ` Re: [OS X TeX] " Hans Hagen
  1 sibling, 1 reply; 18+ messages in thread
From: Hans Hagen @ 2005-03-02 12:31 UTC (permalink / raw)


Steffen Wolfrum wrote:

> How many runs do you have under Mac OS X?

dunno, the mac is not updated yet and actually not sitting on my desk but in my 
library; best let patrick and/or adam test that since they normally have the 
latest (alpha/beta/current) versions


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] 18+ messages in thread

* Re: Re: [OS X TeX] TeX run : 8
  2005-03-02 11:59 Re: [OS X TeX] TeX run : 8 Steffen Wolfrum
  2005-03-02 12:31 ` Hans Hagen
@ 2005-03-02 12:35 ` Hans Hagen
  1 sibling, 0 replies; 18+ messages in thread
From: Hans Hagen @ 2005-03-02 12:35 UTC (permalink / raw)


Steffen Wolfrum wrote:

> How many runs do you have under Mac OS X?

ps. it's on my agenda to have a mini mac with decent keyboard on my desk 
(instead of the cumbersome 17 inch laptop) sharing the large display i use on my 
workhorse laptop; at that time i'll also sync the mac versions of context

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] 18+ messages in thread

* Re: TeX run : 8
  2005-03-02 12:31 ` Hans Hagen
@ 2005-03-02 19:46   ` Patrick Gundlach
  2005-03-02 20:05     ` Patrick Gundlach
  2005-03-02 23:32     ` Adam Lindsay
  0 siblings, 2 replies; 18+ messages in thread
From: Patrick Gundlach @ 2005-03-02 19:46 UTC (permalink / raw)


Hello Hans, Steffen and all the others involved,

> dunno, the mac is not updated yet and actually not sitting on my desk
> but in my library; best let patrick and/or adam test that since they
> normally have the latest (alpha/beta/current) versions

I have tried your small file (the one you have sent me) an a vanilla
tetex 3.0 and an older texlive (I had to dig out my iBook -- anybody
wants to buy a used iBook?) and both were two runs.

I do not use Gerben's tex, so we cannot really compare the results.

Patrick


(sorry for not reading this earlier)
-- 
ConTeXt wiki: http://contextgarden.net

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: TeX run : 8
  2005-03-02 19:46   ` Patrick Gundlach
@ 2005-03-02 20:05     ` Patrick Gundlach
  2005-03-02 20:32       ` Hans Hagen
  2005-03-02 23:32     ` Adam Lindsay
  1 sibling, 1 reply; 18+ messages in thread
From: Patrick Gundlach @ 2005-03-02 20:05 UTC (permalink / raw)


Hello again,

> I have tried your small file (the one you have sent me) an a vanilla
> tetex 3.0 and an older texlive (I had to dig out my iBook -- anybody
> wants to buy a used iBook?) and both were two runs.

Ah, not so fast, Patrick. I can reproduce your problem:

$ ls -lR
.:
total 4
drwxr-xr-x    4 pg       pg            136 Mar  2 20:27 PARTS
-rw-r--r--    1 pg       pg            117 Mar  2 20:28 TEST.tex

./PARTS:
total 8
-rw-r--r--    1 pg       pg             40 Mar  2 20:27 ONE.tex
-rw-r--r--    1 pg       pg             40 Mar  2 20:27 TWO.tex

(so setup is TEST.tex in all capitals and ONE.tex and TWO.tex in
subdir, tetex 3.0). Now I run

texexec --pdf test.tex

(lowercase test.tex !)

and I get:

[...]

 utility file analysis : another run needed
               TeX run : 8


[...]


Note that the standard OS X filesystem is case preserving, but not
case sensitive when accessing a file. So accessing test.tex would be
happy with a file called TEST.tex. It is possible to create a pure
case sensitive HFS+ filesystem, but it isn't necessary to reproduce
the problem. (It would probably avoid it, though).


Patrick
-- 
ConTeXt wiki: http://contextgarden.net

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Re: TeX run : 8
  2005-03-02 20:05     ` Patrick Gundlach
@ 2005-03-02 20:32       ` Hans Hagen
  2005-03-02 22:15         ` Patrick Gundlach
  0 siblings, 1 reply; 18+ messages in thread
From: Hans Hagen @ 2005-03-02 20:32 UTC (permalink / raw)


Patrick Gundlach wrote:

>>I have tried your small file (the one you have sent me) an a vanilla
>>tetex 3.0 and an older texlive (I had to dig out my iBook -- anybody
>>wants to buy a used iBook?) and both were two runs.
> 
> 
> Ah, not so fast, Patrick. I can reproduce your problem:
> 
> $ ls -lR
> .:
> total 4
> drwxr-xr-x    4 pg       pg            136 Mar  2 20:27 PARTS
> -rw-r--r--    1 pg       pg            117 Mar  2 20:28 TEST.tex
> 
> ./PARTS:
> total 8
> -rw-r--r--    1 pg       pg             40 Mar  2 20:27 ONE.tex
> -rw-r--r--    1 pg       pg             40 Mar  2 20:27 TWO.tex
> 
> (so setup is TEST.tex in all capitals and ONE.tex and TWO.tex in
> subdir, tetex 3.0). Now I run
> 
> texexec --pdf test.tex
> 
> (lowercase test.tex !)
> 
> and I get:
> 
> [...]
> 
>  utility file analysis : another run needed
>                TeX run : 8
> 
> 
> [...]
> 
> 
> Note that the standard OS X filesystem is case preserving, but not
> case sensitive when accessing a file. So accessing test.tex would be
> happy with a file called TEST.tex. It is possible to create a pure
> case sensitive HFS+ filesystem, but it isn't necessary to reproduce
> the problem. (It would probably avoid it, though).

ah, i explicitly tried both lower and uppercase variants of the sample files, 
but windows does not care, i.e. all access deep down in the system is (afaik) 
cap. So i saw no difference here.

so, what do you recomend, renaming the file to lowercase?

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] 18+ messages in thread

* Re: TeX run : 8
  2005-03-02 20:32       ` Hans Hagen
@ 2005-03-02 22:15         ` Patrick Gundlach
  0 siblings, 0 replies; 18+ messages in thread
From: Patrick Gundlach @ 2005-03-02 22:15 UTC (permalink / raw)


Hello Hans,

[...]

> ah, i explicitly tried both lower and uppercase variants of the sample
> files, but windows does not care, i.e. all access deep down in the
> system is (afaik) cap. So i saw no difference here.

> so, what do you recomend, renaming the file to lowercase?

Well, my mail was sent too soon. The problems also arises without
the uppercase variant. So currently I doubt that it has to do with the
naming alone. 

Patrick

-- 
ConTeXt wiki: http://contextgarden.net

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Re: TeX run : 8
  2005-03-02 19:46   ` Patrick Gundlach
  2005-03-02 20:05     ` Patrick Gundlach
@ 2005-03-02 23:32     ` Adam Lindsay
  2005-03-03  7:38       ` Hans Hagen
  2005-03-03 10:05       ` Patrick Gundlach
  1 sibling, 2 replies; 18+ messages in thread
From: Adam Lindsay @ 2005-03-02 23:32 UTC (permalink / raw)


Patrick Gundlach said this at Wed, 2 Mar 2005 20:46:05 +0100:

>
>> dunno, the mac is not updated yet and actually not sitting on my desk
>> but in my library; best let patrick and/or adam test that since they
>> normally have the latest (alpha/beta/current) versions

I can't add much to this discussion, other than I get 1 < n < 9 runs with
Steffen's minimal test case as well. I'm running Hans's minimal distro
and the latest alpha. (On my new Mac mini. :)

[And boy, it sure is faster than the setup I had on my PowerBook!]
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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] 18+ messages in thread

* Re: Re: TeX run : 8
  2005-03-02 23:32     ` Adam Lindsay
@ 2005-03-03  7:38       ` Hans Hagen
  2005-03-03  9:49         ` Adam Lindsay
  2005-03-03 10:05       ` Patrick Gundlach
  1 sibling, 1 reply; 18+ messages in thread
From: Hans Hagen @ 2005-03-03  7:38 UTC (permalink / raw)


Adam Lindsay wrote:
> Patrick Gundlach said this at Wed, 2 Mar 2005 20:46:05 +0100:
> 
> 
>>>dunno, the mac is not updated yet and actually not sitting on my desk
>>>but in my library; best let patrick and/or adam test that since they
>>>normally have the latest (alpha/beta/current) versions
> 
> 
> I can't add much to this discussion, other than I get 1 < n < 9 runs with
> Steffen's minimal test case as well. I'm running Hans's minimal distro
> and the latest alpha. (On my new Mac mini. :)
> 
> [And boy, it sure is faster than the setup I had on my PowerBook!]

if it runs ok on your old box ... is it related to the version of perl?

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] 18+ messages in thread

* Re: Re: TeX run : 8
  2005-03-03  7:38       ` Hans Hagen
@ 2005-03-03  9:49         ` Adam Lindsay
  0 siblings, 0 replies; 18+ messages in thread
From: Adam Lindsay @ 2005-03-03  9:49 UTC (permalink / raw)


Hans Hagen said this at Thu, 3 Mar 2005 08:38:11 +0100:

>> [And boy, it sure is faster than the setup I had on my PowerBook!]
>
>if it runs ok on your old box ... is it related to the version of perl?

Old box is in for repair--can't test it. :/
It was a slower processor, with heavier TeX trees, and a full (fragmented
disk)--no real surprise that a virgin setup on a new machine is nicer.

Anyway, on both machines, Perl is stock 5.8.1-RC3, nothing modified from
what Apple ships with the current OS.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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] 18+ messages in thread

* Re: TeX run : 8
  2005-03-02 23:32     ` Adam Lindsay
  2005-03-03  7:38       ` Hans Hagen
@ 2005-03-03 10:05       ` Patrick Gundlach
  2005-03-03 10:34         ` Adam Lindsay
  1 sibling, 1 reply; 18+ messages in thread
From: Patrick Gundlach @ 2005-03-03 10:05 UTC (permalink / raw)


Hello Adam,


[...]

> [And boy, it sure is faster than the setup I had on my PowerBook!]

Don't say that ;-). I just got a new PowerBook.

Patrick (and happy with it)
-- 
ConTeXt wiki: http://contextgarden.net

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Re: TeX run : 8
  2005-03-03 10:05       ` Patrick Gundlach
@ 2005-03-03 10:34         ` Adam Lindsay
  0 siblings, 0 replies; 18+ messages in thread
From: Adam Lindsay @ 2005-03-03 10:34 UTC (permalink / raw)


Patrick Gundlach said this at Thu, 3 Mar 2005 11:05:15 +0100:

>> [And boy, it sure is faster than the setup I had on my PowerBook!]
>
>Don't say that ;-). I just got a new PowerBook.

My _two-year-old_ 12" PowerBook. The Mac mini'd be just a shade slower
than the current (very attractive) generation of PBs.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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] 18+ messages in thread

* Re: TeX run : 8
  2005-03-07 18:53             ` Peter Münster
@ 2005-03-08 18:24               ` Patrick Gundlach
  0 siblings, 0 replies; 18+ messages in thread
From: Patrick Gundlach @ 2005-03-08 18:24 UTC (permalink / raw)



Hello Peter,

> for those, who don't want to update:
> export PERL_HASH_SEED=0
> in $HOME/.profile works very nicely.

is this reliable?

Patrick
-- 
ConTeXt wiki: http://contextgarden.net

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: TeX run : 8
  2005-03-03 11:52       ` Hans Hagen
@ 2005-03-03 12:33         ` Patrick Gundlach
  0 siblings, 0 replies; 18+ messages in thread
From: Patrick Gundlach @ 2005-03-03 12:33 UTC (permalink / raw)


Hello Hans,


do you still want me to try this? 


> it looks like some flushing problem of write nodes, can you do the
> same with the tui file?
>
> the code in context that does this is:
>
>    \def\registerfileinfo[#1#2]#3%
>      {\writestatus\m!systems{#1#2 file #3 at line \the\inputlineno}%
>       \immediatewriteutility{f #1 {#3}}}
>
> does it run ok when you define this as:
>
>    \def\registerfileinfo[#1]#2{}
>
> if so, it may be a problem in the tex binary (immediate writes not flushed ok)

-- 
ConTeXt wiki: http://contextgarden.net

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: TeX run : 8
  2005-03-03 11:07     ` Patrick Gundlach
@ 2005-03-03 11:17       ` Patrick Gundlach
  2005-03-03 11:59       ` Hans Hagen
  1 sibling, 0 replies; 18+ messages in thread
From: Patrick Gundlach @ 2005-03-03 11:17 UTC (permalink / raw)


Hello again,

> I don't know enough of perl, perhaps the hash %Files should be sorted before
> output (texutil.pl)?

good point, Patrick :-)

this does the trick:

sub FlushFiles
  { print TUO "%\n" . "% $Program / Files\n" . "%\n" ;
    foreach $File (sort keys %Files)
      { print TUO "% $File ($Files{$File})\n" }
    print TUO "%\n" ;
    $NOfFiles = keys %Files ;

(in texutil.pl, see the _sort_ keys %Files)

But I don't know if this is a good solution.

Patrick
(no more "8 runs")
-- 
ConTeXt wiki: http://contextgarden.net

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: TeX run : 8
  2005-03-02 23:18   ` Hans Hagen
  2005-03-03 10:34     ` Patrick Gundlach
@ 2005-03-03 11:07     ` Patrick Gundlach
  2005-03-03 11:17       ` Patrick Gundlach
  2005-03-03 11:59       ` Hans Hagen
  1 sibling, 2 replies; 18+ messages in thread
From: Patrick Gundlach @ 2005-03-03 11:07 UTC (permalink / raw)


Hi,

I don't know enough of perl, perhaps the hash %Files should be sorted before
output (texutil.pl)?


sub FlushFiles
  { print TUO "%\n" . "% $Program / Files\n" . "%\n" ;
    foreach $File (keys %Files)
      { print TUO "% $File ($Files{$File})\n" }

Patrick
-- 
ConTeXt wiki: http://contextgarden.net

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: TeX run : 8
  2005-03-02 23:18   ` Hans Hagen
@ 2005-03-03 10:34     ` Patrick Gundlach
  2005-03-03 11:52       ` Hans Hagen
  2005-03-03 11:07     ` Patrick Gundlach
  1 sibling, 1 reply; 18+ messages in thread
From: Patrick Gundlach @ 2005-03-03 10:34 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 669 bytes --]

Hello Hans,


[...]

> can you patch texexec to provide some info about the file compare?
> (filesizes or so)

done, see attachment.


> what puzzles me is that the tui/tuo does not change

the .tuo file changes. 


% TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Files
%
% parts/one.tex (2)
% parts/two.tex (2)
% test (2)

% TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Files
%
% parts/two.tex (2)
% parts/one.tex (2)
% test (2)

% TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Files
%
% parts/two.tex (2)
% test (2)
% parts/one.tex (2)

% TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Files
%
% parts/two.tex (2)
% test (2)
% parts/one.tex (2)


Patrick

[-- Attachment #2: md5sum --]
[-- Type: application/octet-stream, Size: 4702 bytes --]

[-- Attachment #3: Type: text/plain, Size: 44 bytes --]


-- 
ConTeXt wiki: http://contextgarden.net

[-- Attachment #4: Type: text/plain, Size: 139 bytes --]

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: TeX run : 8
  2005-03-02 20:39 Steffen Wolfrum
@ 2005-03-02 20:56 ` Patrick Gundlach
  2005-03-02 23:18   ` Hans Hagen
  0 siblings, 1 reply; 18+ messages in thread
From: Patrick Gundlach @ 2005-03-02 20:56 UTC (permalink / raw)


Hello Steffen,


it is starting to make fun!

ok, clean setup, all lowercase. 8 runs. Now texutil --purgeall. 2
runs. purge again. 8 runs. purge again. 2 runs. No purge. 8 runs.
Purge. 8 runs. 2 runs. purge. 4 runs (!!!). purge. 2 runs. purge. 8
runs. 3 runs. purge. 5 runs. purge. 5 runs. purge. 8 runs.


-> 8, 2, 8, 2, 8, 8, 2, 4, 2, 8, 3, 5, 5, 8

I'll stop here. This looks a bit like the fibonacci numbers to me, but
the 4 must be an error.


Is it full moon?


Patrick

(no need to put me in cc anymore, I woke up)

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2005-03-08 18:24 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-02 11:59 Re: [OS X TeX] TeX run : 8 Steffen Wolfrum
2005-03-02 12:31 ` Hans Hagen
2005-03-02 19:46   ` Patrick Gundlach
2005-03-02 20:05     ` Patrick Gundlach
2005-03-02 20:32       ` Hans Hagen
2005-03-02 22:15         ` Patrick Gundlach
2005-03-02 23:32     ` Adam Lindsay
2005-03-03  7:38       ` Hans Hagen
2005-03-03  9:49         ` Adam Lindsay
2005-03-03 10:05       ` Patrick Gundlach
2005-03-03 10:34         ` Adam Lindsay
2005-03-02 12:35 ` Re: [OS X TeX] " Hans Hagen
2005-03-02 20:39 Steffen Wolfrum
2005-03-02 20:56 ` Patrick Gundlach
2005-03-02 23:18   ` Hans Hagen
2005-03-03 10:34     ` Patrick Gundlach
2005-03-03 11:52       ` Hans Hagen
2005-03-03 12:33         ` Patrick Gundlach
2005-03-03 11:07     ` Patrick Gundlach
2005-03-03 11:17       ` Patrick Gundlach
2005-03-03 11:59       ` Hans Hagen
2005-03-04 11:37         ` Re[2]: " Giuseppe Bilotta
2005-03-04 12:14           ` Taco Hoekwater
2005-03-07 18:53             ` Peter Münster
2005-03-08 18:24               ` Patrick Gundlach

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).