ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <darnold@northcoast.com>
Cc: cs@miktex.org, ntg-context@ntg.nl
Subject: Re: Not all the way back
Date: Fri, 24 Aug 2001 09:44:50 -0700	[thread overview]
Message-ID: <3.0.5.32.20010824094450.007afbd0@mail.northcoast.com> (raw)
In-Reply-To: <5.1.0.14.1.20010824103332.02508af0@server-1>

Hans, Christian,

>>I am not all the way back. That is, the current beta installation of
>>Context is not yet fully backward compatible. I've attached a small zip
>>file of a document I prepared last fall with a previous version of Miktex
>>and Context.
>>
>>After unzipping to a temp directory, type make.bat in the directory to run
>>the compile.
>>
>>Note that I am not getting a table of contents as I once did.
>
>Hm, i get a toc in the screen version, centered with nicely colored sections.
>
>can you see if the tuo is loaded [in log]?

I checked the log file and there is no mention of any tuo file getting
loaded. Christian, I've found a cure, which I'll describe here, in the
hopes that this will help with a more stable installation of Context in the
Miktex distribution.

Here, as I see it, may be the problem. Christian has taken texexec.rme,
renamed it to texexec.ini, and placed texexec.ini in \texmf\miktex\bin.
This, on the surface appears an excellent strategy, because during
installation of Miktex, the setup program automatically adds Miktex to the
path (in older installations of Miktex, this was probably the number one
source of problems for users, not adjusting their path after the
installation). However, Context users have traditionally added
\texmf\Context\perltk to their path (at least I have always done it this
way), because there are a number of perl files that the Context system uses
that are in that directory (fdf2tan.pl, makempy.pl, mptopdf.pl, texexec.pl,
texfont.pl, texshow.pl, and *MOST* importantly in this case, texutil.pl.
Many of us use the runperl.exe wrapper. For example, I change runperl.exe
to mptopdf.exe, etc. Basically, I runperl.exe to filename.exe for each of
the above mentioned filename.pl.

Well, to make a long story short, I cut texexec.ini, texexec.exe from
\texmf\miktex\bin and put them back in \texmf\context\perltk (where I think
they really belong) and voila! The tuo file is now loaded and I have my
Table of Contents in my document. Hans, I hope you will comment on these
musing by a non guru so that Christian can make a more stable Context
installation as part of the general Miktex distribution. Can you explain
why Miktex failed to find texutil. Does texutil have to be in the same
directory as texexec.pl?

Finally, with the original Miktex arrangement, there was no mention of any
tuo file in the log file and no TOC. After moving texexec.ini and
texexec.pl to \texmf\Context\perltk, the inclusion of the tuo files was
clearly evidenced in the log file and I now have my TOC.

I await the recommendations of our two gurus. Also, what do we think about
these settings in texexec.ini?

% MikTeX users probably have to set up some paths too.

for  miktex  set
UsedInterfaces    to  en,nl,de,uk
for  miktex  set  UserInterface     to
en
for  miktex  set  TeXExecutable     to  pdfetex
for  miktex  set
TeXVirginFlag     to  --initialize
for  miktex  set  TeXPassString     to
--alias=context
for  miktex  set  TeXBatchFlag      to
--interaction=batchmode
for  miktex  set  MpToTeXExecutable to  mptotex
for
 miktex  set  MpVirginFlag      to  --initialize
for  miktex  set
MpPassString      to  --alias=mpost
for  miktex  set  MpBatchFlag       to
--interaction=batchmode
for  miktex  set  TeXFormatFlag     to
--undump=
for  miktex  set  MpFormatFlag      to  --undump=

At the moment, these four are the ones that are being questioned on the
Context mailing list:

for  miktex  set  TeXPassString     to  --alias=context
for  miktex  set
MpPassString      to  --alias=mpost
for  miktex  set  TeXFormatFlag     to
--undump=
for  miktex  set  MpFormatFlag      to  --undump=

The last two don't work if TeXFormatPath is set in texexec.ini:

set TeXFormatPath   to f:/localtexmf/miktex/fmt


  reply	other threads:[~2001-08-24 16:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3.0.5.32.20010823211229.008702a0@mail.northcoast.com>
2001-08-24  8:34 ` Hans Hagen
2001-08-24 16:44   ` David Arnold [this message]
2001-08-25  9:18     ` Re[2]: " Giuseppe Bilotta
2001-08-26 19:23       ` Hans Hagen
2001-08-27  9:15         ` Re[3]: " Giuseppe Bilotta
2001-08-26 20:01     ` Hans Hagen
2001-08-24  4:12 David Arnold
2001-08-24  8:32 ` Olya Briginets
2001-08-24  8:44   ` Hans Hagen
2001-08-26  7:24     ` Olya Briginets

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=3.0.5.32.20010824094450.007afbd0@mail.northcoast.com \
    --to=darnold@northcoast.com \
    --cc=cs@miktex.org \
    --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).