ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* texmfstart texutil
@ 2006-06-09  9:30 Hans van der Meer
  2006-06-09 10:49 ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Hans van der Meer @ 2006-06-09  9:30 UTC (permalink / raw)



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

In order to purge the temporary context files I did (throught an alias)
	texutil --purge
This worked fine.

Since the introduction of the ruby scripts this call now tells me:
	remark: 'texutil' is now part of 'texexec'
	warning: use 'texmfstart texutil' instead

So I obediently call:
	texmfstart.rb texutil --purge
This silently does nothing.

Neither does work "texmfstart texexec --version" the same as did  
"texexec --version".
The former giving the TeXExec version, the latter gave the installed  
ConTeXt formats.

It is not "texmfstart texexec --purge" because I tried that too.
On the other hand, replacing "texexec --silent --pdf --autopdf file.tex"
by the same preceded with "texmfstart" does work as expected.

What happened?

Hans van der Meer




[-- Attachment #1.2: Type: text/html, Size: 4463 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] 10+ messages in thread

* Re: texmfstart texutil
  2006-06-09  9:30 texmfstart texutil Hans van der Meer
@ 2006-06-09 10:49 ` Hans Hagen
  2006-06-09 12:32   ` Hans van der Meer
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2006-06-09 10:49 UTC (permalink / raw)


Hans van der Meer wrote:
> In order to purge the temporary context files I did (throught an alias)
> texutil --purge
> This worked fine.
>
> Since the introduction of the ruby scripts this call now tells me:
> remark: 'texutil' is now part of 'texexec'
> warning: use 'texmfstart texutil' instead
>
> So I obediently call:
> texmfstart.rb texutil --purge
> This silently does nothing.
>
> Neither does work "texmfstart texexec --version" the same as did 
> "texexec --version".
> The former giving the TeXExec version, the latter gave the installed 
> ConTeXt formats.
>
> It is not "texmfstart texexec --purge" because I tried that too.
> On the other hand, replacing "texexec --silent --pdf --autopdf file.tex"
> by the same preceded with "texmfstart" does work as expected.
>
> What happened?
texutil will go away (i.e. be a wrapper only); the functionality has been moved to texexec.rb, ctxtools.rb, pdftools.rb, rlxtools.rb etc 

it's now: 

ctxtools --purge 

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

* Re: texmfstart texutil
  2006-06-09 10:49 ` Hans Hagen
@ 2006-06-09 12:32   ` Hans van der Meer
  2006-06-09 12:51     ` Taco Hoekwater
  2006-06-09 15:21     ` Hans Hagen
  0 siblings, 2 replies; 10+ messages in thread
From: Hans van der Meer @ 2006-06-09 12:32 UTC (permalink / raw)



On Jun 9, 2006, at 12:49, Hans Hagen wrote:

> Hans van der Meer wrote:
>> In order to purge the temporary context files I did (throught an  
>> alias)
>> texutil --purge
>> This worked fine.
>>
>

> texutil will go away (i.e. be a wrapper only); the functionality  
> has been moved to texexec.rb, ctxtools.rb, pdftools.rb, rlxtools.rb  
> etc
>
> it's now:
>
> ctxtools --purge

For those on UNIX(-like) systems that have only texmfstart.rb enabled  
as executable (chmod a+x texmfstart.rb) this will not work as none  
the ruby scripts in the distribution seem to have their execution  
bits set.
The next seems mandatory if only texmfstart is enabled: texmfstart  
ctxtools --purge

Hans van der Meer

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

* Re: texmfstart texutil
  2006-06-09 12:32   ` Hans van der Meer
@ 2006-06-09 12:51     ` Taco Hoekwater
  2006-06-09 15:21     ` Hans Hagen
  1 sibling, 0 replies; 10+ messages in thread
From: Taco Hoekwater @ 2006-06-09 12:51 UTC (permalink / raw)




Hans van der Meer wrote:
> 
> For those on UNIX(-like) systems that have only texmfstart.rb enabled  
> as executable (chmod a+x texmfstart.rb) this will not work as none  
> the ruby scripts in the distribution seem to have their execution  
> bits set.

> The next seems mandatory if only texmfstart is enabled: texmfstart  
> ctxtools --purge

There is a whole bunch of shell stubs in the distribution, in

	scripts/context/stubs/unix

but currently you always have to redo the "chmod +x" after each update
because the execution permission bit is not kept in the zip, so it
gets trashed during the unzip operation.

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

* Re: texmfstart texutil
  2006-06-09 12:32   ` Hans van der Meer
  2006-06-09 12:51     ` Taco Hoekwater
@ 2006-06-09 15:21     ` Hans Hagen
  2006-06-09 18:20       ` Hans van der Meer
  1 sibling, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2006-06-09 15:21 UTC (permalink / raw)


Hans van der Meer wrote:
> On Jun 9, 2006, at 12:49, Hans Hagen wrote:
>
>   
>> Hans van der Meer wrote:
>>     
>>> In order to purge the temporary context files I did (throught an  
>>> alias)
>>> texutil --purge
>>> This worked fine.
>>>
>>>       
>
>   
>> texutil will go away (i.e. be a wrapper only); the functionality  
>> has been moved to texexec.rb, ctxtools.rb, pdftools.rb, rlxtools.rb  
>> etc
>>
>> it's now:
>>
>> ctxtools --purge
>>     
>
> For those on UNIX(-like) systems that have only texmfstart.rb enabled  
> as executable (chmod a+x texmfstart.rb) this will not work as none  
> the ruby scripts in the distribution seem to have their execution  
> bits set.
> The next seems mandatory if only texmfstart is enabled: texmfstart  
> ctxtools --purge
>
>   
on unix, one needs to copy texmfstart.rb to texmfstart and copy it to 
some bin path

-- 

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

* Re: texmfstart texutil
  2006-06-09 15:21     ` Hans Hagen
@ 2006-06-09 18:20       ` Hans van der Meer
  0 siblings, 0 replies; 10+ messages in thread
From: Hans van der Meer @ 2006-06-09 18:20 UTC (permalink / raw)



On Jun 9, 2006, at 17:21, Hans Hagen wrote:

> Hans van der Meer wrote:
>> On Jun 9, 2006, at 12:49, Hans Hagen wrote:
>>
>>
>>> Hans van der Meer wrote:
>>>
>>>> In order to purge the temporary context files I did (throught an
>>>> alias)
>>>> texutil --purge
>>>> This worked fine.
>>>>
>>>>
>>
>>
>>> texutil will go away (i.e. be a wrapper only); the functionality
>>> has been moved to texexec.rb, ctxtools.rb, pdftools.rb, rlxtools.rb
>>> etc
>>>
>>> it's now:
>>>
>>> ctxtools --purge
>>>
>>
>> For those on UNIX(-like) systems that have only texmfstart.rb enabled
>> as executable (chmod a+x texmfstart.rb) this will not work as none
>> the ruby scripts in the distribution seem to have their execution
>> bits set.
>> The next seems mandatory if only texmfstart is enabled: texmfstart
>> ctxtools --purge


> on unix, one needs to copy texmfstart.rb to texmfstart and copy it to
> some bin path
>

Copying is imho not necessary. As long as the execution bits are set  
any file can be made to execute by a shell. What to do is determined  
by the shebang line.
I am working in MacOSX which is UNIX under the hood and  
"texmfstart.rb" is excuted without the need for copying.

Hans van der Meer

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

* Re: texmfstart texutil
  2006-06-09  9:43 Richard Gabriel
  2006-06-09 10:50 ` Hans Hagen
@ 2006-06-09 12:25 ` Hans van der Meer
  1 sibling, 0 replies; 10+ messages in thread
From: Hans van der Meer @ 2006-06-09 12:25 UTC (permalink / raw)



On Jun 9, 2006, at 11:43, Richard Gabriel wrote:

>
> Note: To check the installed formats and their version, use now:
> texmfstart texexec --check

Yes, but is so much more verbose.
While previously a neat, short  summary of the currently installed  
formats was printed. Just what I wanted.

met vriendelijke groet
Hans van der Meer

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

* Re: texmfstart texutil
@ 2006-06-09 11:38 Richard Gabriel
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Gabriel @ 2006-06-09 11:38 UTC (permalink / raw)



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

Of course I understand, I'd solve it the same way...
But, I'd suggest to print some warning, if some functionality is moved or removed.
E.g. if I try 

texmfstart texutil.rb --figures

it also doesn't work but I'm informed what has happened.. ;-)

Thanks,
Richard



  _____  

From: Hans Hagen [mailto:pragma@wxs.nl]
To: mailing list for ConTeXt users [mailto:ntg-context@ntg.nl]
Sent: Fri, 09 Jun 2006 12:50:45 +0200
Subject: Re: [NTG-context] texmfstart texutil

Richard Gabriel wrote:
  > I'd like to confirm this, i tried
  > texmfstart texutil.rb test.tui
  > or
  > texmfstart texutil.rb --references test.tui
  > and nothing happened!
  > Although, texutil is called correctly when processing a file with 
  > texexec (maybe texexec calls methods from texutil.rb directly...)
  indeed, texexec.rb therefore does not need to start another script (so 
  we're faster now)
  
  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
    

[-- Attachment #1.2: Type: text/html, Size: 2128 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] 10+ messages in thread

* Re: texmfstart texutil
  2006-06-09  9:43 Richard Gabriel
@ 2006-06-09 10:50 ` Hans Hagen
  2006-06-09 12:25 ` Hans van der Meer
  1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2006-06-09 10:50 UTC (permalink / raw)


Richard Gabriel wrote:
> I'd like to confirm this, i tried
> texmfstart texutil.rb test.tui
> or
> texmfstart texutil.rb --references test.tui
> and nothing happened!
> Although, texutil is called correctly when processing a file with 
> texexec (maybe texexec calls methods from texutil.rb directly...)
indeed, texexec.rb therefore does not need to start another script (so 
we're faster now)

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

* Re: texmfstart texutil
@ 2006-06-09  9:43 Richard Gabriel
  2006-06-09 10:50 ` Hans Hagen
  2006-06-09 12:25 ` Hans van der Meer
  0 siblings, 2 replies; 10+ messages in thread
From: Richard Gabriel @ 2006-06-09  9:43 UTC (permalink / raw)



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

I'd like to confirm this, i tried 
texmfstart texutil.rb test.tui 
or 
texmfstart texutil.rb --references test.tui 
and nothing happened!
Although, texutil is called correctly when processing a file with texexec (maybe texexec calls methods from texutil.rb directly...)

Note: To check the installed formats and their version, use now:
texmfstart texexec --check


-Richard


  _____  

From: Hans van der Meer [mailto:hansm@science.uva.nl]
To: NTG ConTeXt [mailto:ntg-context@ntg.nl]
Sent: Fri, 09 Jun 2006 11:30:00 +0200
Subject: [NTG-context] texmfstart texutil

In order to purge the temporary context files I did (throught an alias)
 texutil --purge
This worked fine.


Since the introduction of the ruby scripts this call now tells me:
 remark: 'texutil' is now part of 'texexec'
 warning: use 'texmfstart texutil' instead


So I obediently call:
 texmfstart.rb texutil --purge
This silently does nothing.


Neither does work "texmfstart texexec --version" the same as did "texexec --version".
The former giving the TeXExec version, the latter gave the installed ConTeXt formats.


It is not "texmfstart texexec --purge" because I tried that too.
On the other hand, replacing "texexec --silent --pdf --autopdf file.tex"
by the same preceded with "texmfstart" does work as expected.


What happened?

 


Hans van der Meer


 
    

[-- Attachment #1.2: Type: text/html, Size: 5328 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] 10+ messages in thread

end of thread, other threads:[~2006-06-09 18:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-09  9:30 texmfstart texutil Hans van der Meer
2006-06-09 10:49 ` Hans Hagen
2006-06-09 12:32   ` Hans van der Meer
2006-06-09 12:51     ` Taco Hoekwater
2006-06-09 15:21     ` Hans Hagen
2006-06-09 18:20       ` Hans van der Meer
2006-06-09  9:43 Richard Gabriel
2006-06-09 10:50 ` Hans Hagen
2006-06-09 12:25 ` Hans van der Meer
2006-06-09 11:38 Richard Gabriel

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