ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Cc: Hans van der Meer <hansm@science.uva.nl>
Subject: Re: texmfstart newbie
Date: Wed, 28 Jun 2006 13:13:39 +0200	[thread overview]
Message-ID: <6faad9f00606280413l40412e14s3fbca2b7903d93ca@mail.gmail.com> (raw)
In-Reply-To: <10800A51-BD3A-44F1-BA15-CD5BF6633216@cox.net>

On 6/27/06, David Arnold wrote:
> OK,
>
> I've updated to the latest context via Gerben's i-installer on my mac
> osx 10.4.6.
>
> I have no idea what texmfstart is nor do I understand its purpose.
>
> I imagine the first thing I have to do is configure, because it is
> certainly not found on my system.

...

> For example:
>
> tmp $ texexec --version
>
> TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>
>                 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>                 texutil : TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006
>                     tex : pdfeTeX, 3.141592-1.30.4-2.2 (Web2C 7.5.5)
>                 context : ver: 2006.06.23 20:39
>                 cont-en : ver: 2006.06.23 20:39  fmt: 2006.6.27  mes:
> english
>                 cont-nl : ver: 2006.06.23 20:39  fmt: 2006.6.27  mes:
> dutch
>
>          total run time : 3 seconds
>
>                 warning : use 'texmfstart texexec' instead
>
>
> Now for questions:
>
> 1. How do I configure my system to use texmstart?

Under windows it comes as an executable, under linux I sometimes
created an executable file named texexec (in the bin folder of course)
with the content
    ruby path-to-context-ruby-scripts/texmfstart.rb

Here's a citation from a mac user:

On 5/25/06, Hans van der Meer wrote:
> I did some digging in the .../context/ruby script directory and found
> a small problem with the script, at least for some users.
>
> On my MacOSX system the script file(s) needed the execute bits set,
> so I did:
> cd ..../context/ruby
> (sudo) chmod -R a+x *.rb
>
> And of course an alias "texmfstart=texmfstart.rb" comes in handy.
>
> I hope this helps others who might be struggling to get texmfstart
> running.
>
> Hans van der Meer

Something should be automated here I suppose. The MikTeX guy wasn't
extremely responsive to it, tetex isn't maintained any more, perhaps
at least you Mac guys could/should do something about it. Can someone
write a note to the contextgarden about how to do configure the
texmfstart properly?

> 2. What are some of the usual uses I should be employing of
> texmfstart?

As a regular user you shouldn't note it's presence once you set it up
properly. But generally you can use it to run stuff such as
"texmfstart mptopdf" without having to worry whether mptopdf is a perl
or ruby program, you can use it to edit config files, open
documentation and so on, but the list is way to long (and I don't know
it all/don't know how to use all its features) ...

Most notable the modern modules which call external programs are
written in such a way that they execute "texmfstart
name-of-the-script", for example "texmfstart pstopdf some-ps-file"
instead of "pstopdf some-ps-file". This means that the user doesn't
need "pstopdf" to be present on the system as an executable command
and means better portability.

> How will it improve performance?

Just as George N. White said: performance in terms of
how-many-seconds-per-run is not really the question, but I guess that
it might improve performance since it might use more clever methods to
execute things. I know that Hans has somehow rewritten the kapathsea
and mpto, but I don't really know which scripts are responsible for
calling them and for faster execution. However: you don't need to
worry about performance. Hans does.

If you care about performance in mp labels, you can improve it
considerable by using texexec.rb (and texmfstart to start it) an by
switching from btex ... etex to textext("...") and \sometxt
(aproximately ten times faster on my examples and able to do some
crazy things that have never been possible with btex ... etex or
textext). But well ... the presence of texmfstart is essential in this
case.

> How will it simplify my work? Etc?
> I.e what are the advantages?

Portability. Support: sooner or later you'll figure out that the old
texexec.pl doesn't do what it's supposed to do (mp labels being one of
the problems for example). Hans is willing to work on improving the
texexec.rb, but not on fixing the old stuff that will become obsolete
one day anyway.

Mojca

  parent reply	other threads:[~2006-06-28 11:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-27 19:35 David Arnold
2006-06-27 21:07 ` gnwiii
2006-06-28 11:13 ` Mojca Miklavec [this message]
2006-06-28 13:11   ` Taco Hoekwater
2006-06-28 17:57     ` David Arnold
2006-06-28 18:24       ` Mojca Miklavec
2006-06-28 21:46         ` Gerben Wierda
2006-06-28 21:56           ` David Arnold
2006-09-01 10:38           ` Patrick Gundlach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f00606280413l40412e14s3fbca2b7903d93ca@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=hansm@science.uva.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).