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
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
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 -----------------------------------------------------------------
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
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
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 -----------------------------------------------------------------
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
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.
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 -----------------------------------------------------------------
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
participants (4)
-
Hans Hagen
-
Hans van der Meer
-
Richard Gabriel
-
Taco Hoekwater