ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* new version
@ 2005-05-25 15:34 Hans Hagen
  2005-05-25 18:42 ` Taco Hoekwater
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Hans Hagen @ 2005-05-25 15:34 UTC (permalink / raw)


Hi,

I posted a new version of context. There are a few new things, like pattern snow 
being part of the zip, and runtime graphic conversions (more about that when i 
have more time); the next (main) release will probably have a new texexec (ruby 
version, smoother, faster, more clever, no ini file etc)

btw, i need a miktex user who wants to test the ruby texexec version

it's upto taco to write the usual announcement -)

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

* Re: new version
  2005-05-25 15:34 new version Hans Hagen
@ 2005-05-25 18:42 ` Taco Hoekwater
  2005-05-25 19:00   ` Hans Hagen
  2005-05-25 19:24 ` feature request:-) Idris Samawi Hamid
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 21+ messages in thread
From: Taco Hoekwater @ 2005-05-25 18:42 UTC (permalink / raw)


Hans Hagen wrote:
> Hi,
> 
> it's upto taco to write the usual announcement -)

expect some delays. The diff -r file has 33846 lines :-)

Taco

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

* Re: new version
  2005-05-25 18:42 ` Taco Hoekwater
@ 2005-05-25 19:00   ` Hans Hagen
  2005-05-25 19:25     ` Taco Hoekwater
  0 siblings, 1 reply; 21+ messages in thread
From: Hans Hagen @ 2005-05-25 19:00 UTC (permalink / raw)


Taco Hoekwater wrote:
> Hans Hagen wrote:
> 
>> Hi,
>>
>> it's upto taco to write the usual announcement -)
> 
> 
> expect some delays. The diff -r file has 33846 lines :-)

lucky you, it's mostly 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] 21+ messages in thread

* feature request:-)
  2005-05-25 15:34 new version Hans Hagen
  2005-05-25 18:42 ` Taco Hoekwater
@ 2005-05-25 19:24 ` Idris Samawi Hamid
  2005-05-25 20:06   ` Hans Hagen
  2005-05-25 19:26 ` new version Idris Samawi Hamid
  2005-05-26 21:57 ` Adam Lindsay
  3 siblings, 1 reply; 21+ messages in thread
From: Idris Samawi Hamid @ 2005-05-25 19:24 UTC (permalink / raw)


Hi Hans,

> I posted a new version of context.

Well, I guess I'm too late for what follows...

Anyway, I have found the following quite satisfactory and hope you will 
consider placing it in hand-def.tex:

\definefonthandling [highquality]         [hz,normal]

I think this adds even more professionalism/subtlty than

\definefonthandling [quality]         [hz,pure]

which is why I named it `highquality'-)

And thnx 4 all your hard work!

Best
Idris
-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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

* Re: new version
  2005-05-25 19:00   ` Hans Hagen
@ 2005-05-25 19:25     ` Taco Hoekwater
  2005-05-27 15:07       ` Taco Hoekwater
  0 siblings, 1 reply; 21+ messages in thread
From: Taco Hoekwater @ 2005-05-25 19:25 UTC (permalink / raw)


Hans Hagen wrote:
>>
>> expect some delays. The diff -r file has 33846 lines :-)
> 
> lucky you, it's mostly patterns -)

All those patterns are just one line, I'm afraid:

   Only in 20050525/tex/context: patterns

looks like there is quite a lot of .map activity going
on though. Anyway, I'll take me a few days to sort this
through.

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

* Re: new version
  2005-05-25 15:34 new version Hans Hagen
  2005-05-25 18:42 ` Taco Hoekwater
  2005-05-25 19:24 ` feature request:-) Idris Samawi Hamid
@ 2005-05-25 19:26 ` Idris Samawi Hamid
  2005-05-25 20:07   ` Hans Hagen
  2005-05-26 21:57 ` Adam Lindsay
  3 siblings, 1 reply; 21+ messages in thread
From: Idris Samawi Hamid @ 2005-05-25 19:26 UTC (permalink / raw)


On Wed, 25 May 2005 17:34:24 +0200, Hans Hagen <pragma@wxs.nl> wrote:

> Hi,
>
> I posted a new version of context.

Does the multi-format engine work now?
:-)

Best to the best
Idris
-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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

* Re: feature request:-)
  2005-05-25 19:24 ` feature request:-) Idris Samawi Hamid
@ 2005-05-25 20:06   ` Hans Hagen
  0 siblings, 0 replies; 21+ messages in thread
From: Hans Hagen @ 2005-05-25 20:06 UTC (permalink / raw)


Idris Samawi Hamid wrote:

> \definefonthandling [highquality]         [hz,normal]

ok, added

> which is why I named it `highquality'-)
> 
> And thnx 4 all your hard work!

sorry for your suffering in updates

[i'm considering letting context write a map file that you then can use in dvipdfmx]

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

* Re: new version
  2005-05-25 19:26 ` new version Idris Samawi Hamid
@ 2005-05-25 20:07   ` Hans Hagen
  0 siblings, 0 replies; 21+ messages in thread
From: Hans Hagen @ 2005-05-25 20:07 UTC (permalink / raw)


Idris Samawi Hamid wrote:
> On Wed, 25 May 2005 17:34:24 +0200, Hans Hagen <pragma@wxs.nl> wrote:
> 
>> Hi,
>>
>> I posted a new version of context.
> 
> 
> Does the multi-format engine work now?
> :-)

it should; just try the latest

   texexec --make --engine=aleph  --all
   texexec --make --all

(The new texexec will provide more status info about what is generated)

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

* Re: new version
  2005-05-25 15:34 new version Hans Hagen
                   ` (2 preceding siblings ...)
  2005-05-25 19:26 ` new version Idris Samawi Hamid
@ 2005-05-26 21:57 ` Adam Lindsay
  2005-05-26 23:29   ` Hans Hagen
  2005-05-26 23:34   ` Hans Hagen
  3 siblings, 2 replies; 21+ messages in thread
From: Adam Lindsay @ 2005-05-26 21:57 UTC (permalink / raw)


Hans Hagen said this at Wed, 25 May 2005 17:34:24 +0200:

> the next (main) release will probably have a new texexec (ruby 
>version, smoother, faster, more clever, no ini file etc)

Hmm. I hand-updated to the latest, and now texexec wants to rebuild the
format on every run. 

I'm not used to seeing this, anyone have any hints on where to poke around?

(the format is in texmf.local/web2c/ and in a pdfetex subdir. I've
texhashed, too.)

adam

 fixing texformat path : .:{/Users/atl/Library/texmf,!!/usr/local/teTeX/
share/texmf.local,!!/usr/local/teTeX/share/texmf.gwtex,!!/usr/local/
teTeX/share/texmf.tetex,!!/usr/local/teTeX/share/texmf}/web2c/{$ENGINE,}/{,}//
0
            executable : pdfetex
                format : cont-en
             inputfile : llll
                output : pdftex
             interface : en
          current mode : none
               TeX run : 1

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 \write18 enabled.
 (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
kpathsea: Running mktexfmt cont-en.fmt
fmtutil: running `pdfetex -ini   -jobname=cont-en -progname=context
-8bit *cont-en.ini' ...
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (INITEX)

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

* Re: new version
  2005-05-26 21:57 ` Adam Lindsay
@ 2005-05-26 23:29   ` Hans Hagen
  2005-05-27 14:49     ` Adam Lindsay
  2005-05-26 23:34   ` Hans Hagen
  1 sibling, 1 reply; 21+ messages in thread
From: Hans Hagen @ 2005-05-26 23:29 UTC (permalink / raw)
  Cc: Karl Berry

Adam Lindsay wrote:

(i cc to karl who knows more about the detry details of path expansion than i do)

> Hans Hagen said this at Wed, 25 May 2005 17:34:24 +0200:
> 
>>the next (main) release will probably have a new texexec (ruby 
>>version, smoother, faster, more clever, no ini file etc)
> 
> 
> Hmm. I hand-updated to the latest, and now texexec wants to rebuild the
> format on every run. 
> 
> I'm not used to seeing this, anyone have any hints on where to poke around?
> 
> (the format is in texmf.local/web2c/ and in a pdfetex subdir. I've
> texhashed, too.)

since engine support is either broken or not implemented in kpse/tetex, i need 
to sort it out myself; this is done in:

sub checktexformatpath {
     # engine support is either broken of not implemented in some
     # distributions, so we need to take care of it ourselves
     my $texformats ;
     if (defined($ENV{'TEXFORMATS'})) {
         $texformats = $ENV{'TEXFORMATS'} ;
     } else{
         $texformats = '' ;
     }
     if ($texformats eq '') {
         if ($dosish) {
             $texformats = `kpsewhich --expand-var=\$TEXFORMATS`.chomp ;
         } else {
             $texformats = `kpsewhich --expand-var=\\\$TEXFORMATS`.chomp ;
         }
     }
     if ($texformats !~ /web2c[\/\\].*\$ENGINE/) {
         $texformats =~ s/web2c/web2c\/{\$ENGINE,}/ ;
         $ENV{'TEXFORMATS'} = $texformats ;
         print " fixing texformat path : $ENV{'TEXFORMATS'}\n";
     }
     if (! defined($ENV{'ENGINE'})) {
         if ($MpEngineSupport) {
             $ENV{'ENGINE'} .= $MpExecutable ;
         } ;
         $ENV{'ENGINE'} = $TeXExecutable ;
         print "fixing engine variable : $ENV{'ENGINE'}\n";     ## just added

     }
}

how i hate this naming; when -long ago- i started using local trees, i adopted 
the texmf-local naming that i noticed in those days, and look what we have here:

>  fixing texformat path : .:{/Users/atl/Library/texmf,!!/usr/local/teTeX/
> share/texmf.local,!!/usr/local/teTeX/share/texmf.gwtex,!!/usr/local/
> teTeX/share/texmf.tetex,!!/usr/local/teTeX/share/texmf}/web2c/{$ENGINE,}/{,}//
> 0

well, this magic line will append web2c/{$ENGINE,} to each path, including the 
share/texmf.local path so i'm puzzled; one complication is that kpse is not able 
to report the path that will be used (probably for good reason); so the format 
should end up in:

!!/usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont-en.fmt

could it be that the /{,}// is playing tricks? can you try to add

         $texformats =~ s/\{\,\}\/\/// ;

i.e. get rid of the trailing crap so that th eend looks like /web2c/{$ENGINE,}/

can you check at what value texexec sets $ENGINE ?

(setting TEXFORMATS at the shell level will also work; that is what i normally 
have)

watch this mix of teTeX and tetex and Users and Library vs share; if i would not 
know better, i'd think it was a blob of tricky perl code -)

last time i tried it on the mac it worked, so i must try again

the file should end up in web2c/pdftex


> fmtutil: running `pdfetex -ini   -jobname=cont-en -progname=context

forget about fmtutil, it cannot and will not handle engines

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

* Re: new version
  2005-05-26 21:57 ` Adam Lindsay
  2005-05-26 23:29   ` Hans Hagen
@ 2005-05-26 23:34   ` Hans Hagen
  2005-05-27 13:27     ` Adam Lindsay
  1 sibling, 1 reply; 21+ messages in thread
From: Hans Hagen @ 2005-05-26 23:34 UTC (permalink / raw)


Adam Lindsay wrote:

>>the next (main) release will probably have a new texexec (ruby 
>>version, smoother, faster, more clever, no ini file etc)

what does

   texmfstart newtexexec --make --all

do?

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

* Re: new version
  2005-05-26 23:34   ` Hans Hagen
@ 2005-05-27 13:27     ` Adam Lindsay
  2005-05-27 13:45       ` Hans Hagen
  2005-05-27 18:20       ` Peter Münster
  0 siblings, 2 replies; 21+ messages in thread
From: Adam Lindsay @ 2005-05-27 13:27 UTC (permalink / raw)


Hans Hagen said this at Fri, 27 May 2005 01:34:57 +0200:

>what does
>
>   texmfstart newtexexec --make --all
>
>do?

Interesting...
It builds the formats (not engine aware in terms of where it puts
the .fmt files--at least it uses different switches compared to what I'm
used to), but (old)texexec did that too.

What's interesting is that it doesn't insist on rebuilding the format on
a normal (--pdf) run. (And it's fast: does it buffer the terminal output?)

in summary:
texexec --make --all
  Builds the formats.
texexec --pdf myfile
  fails to find the format, builds it, runs the file
texmfstart newtexexec --make --all
  Builds the formats.
texmfstart newtexexec --pdf myfile
  finds the format correctly, runs the file quickly.

texmfstart newtexexec --make --xtx --engine en
  Builds a XeTeX format, but leaves it in the web2c directory
texexec --make --xtx --engine en
  Builds a XeTeX format, and correctly puts it in web2c/xetex

hmm. Honestly, I personally didn't have any complaints with the
operation of the previous version of texexec.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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] 21+ messages in thread

* Re: new version
  2005-05-27 13:27     ` Adam Lindsay
@ 2005-05-27 13:45       ` Hans Hagen
  2005-05-27 18:20       ` Peter Münster
  1 sibling, 0 replies; 21+ messages in thread
From: Hans Hagen @ 2005-05-27 13:45 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

Adam Lindsay wrote:

> Interesting...
> It builds the formats (not engine aware in terms of where it puts
> the .fmt files--at least it uses different switches compared to what I'm
> used to), but (old)texexec did that too.
> 
> What's interesting is that it doesn't insist on rebuilding the format on
> a normal (--pdf) run. (And it's fast: does it buffer the terminal output?)
> 
> in summary:
> texexec --make --all
>   Builds the formats.
> texexec --pdf myfile
>   fails to find the format, builds it, runs the file
> texmfstart newtexexec --make --all
>   Builds the formats.
> texmfstart newtexexec --pdf myfile
>   finds the format correctly, runs the file quickly.
> 
> texmfstart newtexexec --make --xtx --engine en
>   Builds a XeTeX format, but leaves it in the web2c directory
> texexec --make --xtx --engine en
>   Builds a XeTeX format, and correctly puts it in web2c/xetex
> 
> hmm. Honestly, I personally didn't have any complaints with the
> operation of the previous version of texexec.

well, i had complaints -) lin win and mac all behave differently, party due to 
differences in distribution (on our machines i set texformsts explicitly so 
there is no real problem there) \

can you try

texmfstart newtexexec --make --engine=xetex en

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

* Re: new version
  2005-05-26 23:29   ` Hans Hagen
@ 2005-05-27 14:49     ` Adam Lindsay
  2005-05-27 18:22       ` Hans Hagen
  0 siblings, 1 reply; 21+ messages in thread
From: Adam Lindsay @ 2005-05-27 14:49 UTC (permalink / raw)
  Cc: Karl Berry

Hans Hagen said this at Fri, 27 May 2005 01:29:30 +0200:

>well, this magic line will append web2c/{$ENGINE,} to each path,

Okay, that's part of the problem: your code isn't detecting the presence
of $ENGINE in my path... It's there already! (Thanks, Gerben.) The line
from texmf.cnf:

   TEXFORMATS = .;$TEXMF/web2c/{$engine,}//

However:

% kpsewhich --expand-var=\$TEXFORMATS
 .:{/Users/atl/Library/texmf,!!/usr/local/teTeX/share/texmf.local,
!!/usr/local/teTeX/share/texmf.gwtex,!!/usr/local/teTeX/share/texmf.tetex,
!!/usr/local/teTeX/share/texmf}/web2c/{,}//
                                      ^^^
But:

% kpsewhich --engine=pdfetex --expand-var=\$TEXFORMATS
 .:{/Users/atl/Library/texmf,!!/usr/local/teTeX/share/texmf.local,
!!/usr/local/teTeX/share/texmf.gwtex,!!/usr/local/teTeX/share/texmf.tetex,
!!/usr/local/teTeX/share/texmf}/web2c/{pdfetex,}//
                                       ^^^^^^^

>including the 
>share/texmf.local path so i'm puzzled; one complication is that kpse is
>not able 
>to report the path that will be used (probably for good reason); so the
>format 
>should end up in:
>
>!!/usr/local/teTeX/share/texmf.local/web2c/pdfetex/cont-en.fmt
>
>could it be that the /{,}// is playing tricks? can you try to add
>
>         $texformats =~ s/\{\,\}\/\/// ;

Tried that. Didn't change anything. 

>i.e. get rid of the trailing crap so that th eend looks like /web2c/
>{$ENGINE,}/
>
>can you check at what value texexec sets $ENGINE ?

erm, it didn't seem to be set at that function.

>(setting TEXFORMATS at the shell level will also work; that is what i
>normally 
>have)

I've done that too, but I haven't been able to get that to work
correctly with multiple engines (problem in when the variables get
expanded?)... it probably would work for me with this current texexec
snapshot.

>watch this mix of teTeX and tetex and Users and Library vs share; if i
>would not 
>know better, i'd think it was a blob of tricky perl code -)

:) 
It's just Gerben being clever and convenient w/r/t directory structure
for Mac users--all legitimate.

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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] 21+ messages in thread

* Re: new version
  2005-05-25 19:25     ` Taco Hoekwater
@ 2005-05-27 15:07       ` Taco Hoekwater
  2005-05-27 18:17         ` Hans Hagen
  2005-05-28 18:18         ` Stuart Jansen
  0 siblings, 2 replies; 21+ messages in thread
From: Taco Hoekwater @ 2005-05-27 15:07 UTC (permalink / raw)



See

    http://contextgarden.net/Context_2005.05.25

for a rather detailed list of changes.

My apologies: the formatting is not very pretty and perhaps I've been
a bit too brief here and there, but after two days of this I'm a bit 
bored with it. Perhaps I will fix the pages later.

Greetings, Taco

Taco Hoekwater wrote:
> Hans Hagen wrote:
> 
>>>
>>> expect some delays. The diff -r file has 33846 lines :-)
>>
>>
>> lucky you, it's mostly patterns -)
> 
> 
> All those patterns are just one line, I'm afraid:
> 
>   Only in 20050525/tex/context: patterns
> 
> looks like there is quite a lot of .map activity going
> on though. Anyway, I'll take me a few days to sort this
> through.
> 
> 
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: new version
  2005-05-27 15:07       ` Taco Hoekwater
@ 2005-05-27 18:17         ` Hans Hagen
  2005-05-28 18:18         ` Stuart Jansen
  1 sibling, 0 replies; 21+ messages in thread
From: Hans Hagen @ 2005-05-27 18:17 UTC (permalink / raw)


Taco Hoekwater wrote:

> My apologies: the formatting is not very pretty and perhaps I've been
> a bit too brief here and there, but after two days of this I'm a bit 
> bored with it. Perhaps I will fix the pages later.

thanks! very helpful too see what was changed, i must buy you a beer next time 
we meet

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

* Re: new version
  2005-05-27 13:27     ` Adam Lindsay
  2005-05-27 13:45       ` Hans Hagen
@ 2005-05-27 18:20       ` Peter Münster
  2005-05-27 18:41         ` Hans Hagen
  1 sibling, 1 reply; 21+ messages in thread
From: Peter Münster @ 2005-05-27 18:20 UTC (permalink / raw)


On Fri, 27 May 2005, Adam Lindsay wrote:

> Hans Hagen said this at Fri, 27 May 2005 01:34:57 +0200:
> 
> >what does
> >
> >   texmfstart newtexexec --make --all
> >
> >do?
> 
> Interesting...
> It builds the formats (not engine aware in terms of where it puts
> the .fmt files--at least it uses different switches compared to what I'm
> used to), but (old)texexec did that too.
> 
> What's interesting is that it doesn't insist on rebuilding the format on
> a normal (--pdf) run. (And it's fast: does it buffer the terminal output?)

Hello,
I have the same problem on Linux, but I don't have texmfstart...
Are there other solutions or is texmfstart now needed to run texexec?
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

* Re: new version
  2005-05-27 14:49     ` Adam Lindsay
@ 2005-05-27 18:22       ` Hans Hagen
  2005-05-27 19:09         ` Adam Lindsay
  0 siblings, 1 reply; 21+ messages in thread
From: Hans Hagen @ 2005-05-27 18:22 UTC (permalink / raw)
  Cc: Karl Berry

Adam Lindsay wrote:
> Hans Hagen said this at Fri, 27 May 2005 01:29:30 +0200:
> 
> 
>>well, this magic line will append web2c/{$ENGINE,} to each path,
> 
> 
> Okay, that's part of the problem: your code isn't detecting the presence
> of $ENGINE in my path... It's there already! (Thanks, Gerben.) The line
> from texmf.cnf:
> 
>    TEXFORMATS = .;$TEXMF/web2c/{$engine,}//
> 
> However:
> 
> % kpsewhich --expand-var=\$TEXFORMATS
>  .:{/Users/atl/Library/texmf,!!/usr/local/teTeX/share/texmf.local,
> !!/usr/local/teTeX/share/texmf.gwtex,!!/usr/local/teTeX/share/texmf.tetex,
> !!/usr/local/teTeX/share/texmf}/web2c/{,}//
>                                       ^^^
> But:
> 
> % kpsewhich --engine=pdfetex --expand-var=\$TEXFORMATS
>  .:{/Users/atl/Library/texmf,!!/usr/local/teTeX/share/texmf.local,
> !!/usr/local/teTeX/share/texmf.gwtex,!!/usr/local/teTeX/share/texmf.tetex,
> !!/usr/local/teTeX/share/texmf}/web2c/{pdfetex,}//

there is also code like:

         if (($UseEnginePath)&&($EngineDone)) {
             $FormatPath = `$kpsewhich --engine=$EnginePath --show-path=fmt` ;
         } else {
             $FormatPath = `$kpsewhich --show-path=fmt` ;
         }

what does --show-path=fmt

reports?

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

* Re: new version
  2005-05-27 18:20       ` Peter Münster
@ 2005-05-27 18:41         ` Hans Hagen
  0 siblings, 0 replies; 21+ messages in thread
From: Hans Hagen @ 2005-05-27 18:41 UTC (permalink / raw)


Peter Münster wrote:
> On Fri, 27 May 2005, Adam Lindsay wrote:
> 
> 
>>Hans Hagen said this at Fri, 27 May 2005 01:34:57 +0200:
>>
>>
>>>what does
>>>
>>>  texmfstart newtexexec --make --all
>>>
>>>do?
>>
>>Interesting...
>>It builds the formats (not engine aware in terms of where it puts
>>the .fmt files--at least it uses different switches compared to what I'm
>>used to), but (old)texexec did that too.
>>
>>What's interesting is that it doesn't insist on rebuilding the format on
>>a normal (--pdf) run. (And it's fast: does it buffer the terminal output?)
> 
> 
> Hello,
> I have the same problem on Linux, but I don't have texmfstart...
> Are there other solutions or is texmfstart now needed to run texexec?
> Cheers, Peter

you do have texmfstart, just copy texmfstart.rb to texmfstart in one of your bin 
paths (texmfstart is one of the core components of the context scripts, being 
the only way i can guarantee upward compatibility when drastic changes take 
place in the tds/distributions)

(there is a manual on the website)

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

* Re: new version
  2005-05-27 18:22       ` Hans Hagen
@ 2005-05-27 19:09         ` Adam Lindsay
  0 siblings, 0 replies; 21+ messages in thread
From: Adam Lindsay @ 2005-05-27 19:09 UTC (permalink / raw)
  Cc: Karl Berry

Hans Hagen said this at Fri, 27 May 2005 20:22:03 +0200:

>there is also code like:
>
>         if (($UseEnginePath)&&($EngineDone)) {
>             $FormatPath = `$kpsewhich --engine=$EnginePath --show-
path=fmt` ;
>         } else {
>             $FormatPath = `$kpsewhich --show-path=fmt` ;
>         }

Yeah, I tried using $EnginePath when poking at the function, but I guess
your new checktexformatpath() is called before that's defined?

>what does --show-path=fmt
>
>reports?

as expected (piped command to help legibility):

% kpsewhich --show-path=fmt | tr : '\n'
.
/Users/atl/Library/texmf/web2c///
!!/usr/local/teTeX/share/texmf.local/web2c///
!!/usr/local/teTeX/share/texmf.gwtex/web2c///
!!/usr/local/teTeX/share/texmf.tetex/web2c///
!!/usr/local/teTeX/share/texmf/web2c///
/Users/atl/Library/texmf/web2c///
!!/usr/local/teTeX/share/texmf.local/web2c///
!!/usr/local/teTeX/share/texmf.gwtex/web2c///
!!/usr/local/teTeX/share/texmf.tetex/web2c///
!!/usr/local/teTeX/share/texmf/web2c///

% kpsewhich --show-path=fmt --engine=pragma | tr : '\n'
.
/Users/atl/Library/texmf/web2c/pragma//
!!/usr/local/teTeX/share/texmf.local/web2c/pragma//
!!/usr/local/teTeX/share/texmf.gwtex/web2c/pragma//
!!/usr/local/teTeX/share/texmf.tetex/web2c/pragma//
!!/usr/local/teTeX/share/texmf/web2c/pragma//
/Users/atl/Library/texmf/web2c///
!!/usr/local/teTeX/share/texmf.local/web2c///
!!/usr/local/teTeX/share/texmf.gwtex/web2c///
!!/usr/local/teTeX/share/texmf.tetex/web2c///
!!/usr/local/teTeX/share/texmf/web2c///

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

* Re: new version
  2005-05-27 15:07       ` Taco Hoekwater
  2005-05-27 18:17         ` Hans Hagen
@ 2005-05-28 18:18         ` Stuart Jansen
  1 sibling, 0 replies; 21+ messages in thread
From: Stuart Jansen @ 2005-05-28 18:18 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 408 bytes --]

On Fri, 2005-05-27 at 17:07 +0200, Taco Hoekwater wrote:
> See
> 
>     http://contextgarden.net/Context_2005.05.25
> 
> for a rather detailed list of changes.

Thank you. Very helpful. In particular, I'd missed the SVG support
announcement, and I'm excited to play with that.

Thanks to everyone that contributed to this new release.

-- 
Stuart Jansen <sjansen@gurulabs.com>
Guru Labs, L.C.

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: 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] 21+ messages in thread

end of thread, other threads:[~2005-05-28 18:18 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-25 15:34 new version Hans Hagen
2005-05-25 18:42 ` Taco Hoekwater
2005-05-25 19:00   ` Hans Hagen
2005-05-25 19:25     ` Taco Hoekwater
2005-05-27 15:07       ` Taco Hoekwater
2005-05-27 18:17         ` Hans Hagen
2005-05-28 18:18         ` Stuart Jansen
2005-05-25 19:24 ` feature request:-) Idris Samawi Hamid
2005-05-25 20:06   ` Hans Hagen
2005-05-25 19:26 ` new version Idris Samawi Hamid
2005-05-25 20:07   ` Hans Hagen
2005-05-26 21:57 ` Adam Lindsay
2005-05-26 23:29   ` Hans Hagen
2005-05-27 14:49     ` Adam Lindsay
2005-05-27 18:22       ` Hans Hagen
2005-05-27 19:09         ` Adam Lindsay
2005-05-26 23:34   ` Hans Hagen
2005-05-27 13:27     ` Adam Lindsay
2005-05-27 13:45       ` Hans Hagen
2005-05-27 18:20       ` Peter Münster
2005-05-27 18:41         ` Hans Hagen

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