Re: [NTG-context] updating ConTeXt to latest on openbsd-current Q #2

2006-03-07 Thread Taco Hoekwater


frantisek holop wrote:
 hmm, on Mon, Mar 06, 2006 at 10:57:57PM +0100, Taco Hoekwater said that
 
Finally, what goes wrong: unless you either delete the teTeX-supplied
context formats or change texmf.cnf, the old formats will be found first
by kpathsea.
 
 
 excellent explanation.
 
 so is it either or?  is it enough to change texmf.cnf _or_ delete the
 old format files?

I believe it is either or, but I am not sure any more. It's been a while
since I've used a normal installation.

Cheers, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] updating ConTeXt to latest on openbsd-current Q #2

2006-03-06 Thread Taco Hoekwater
Hi there!

frantisek holop wrote:
 my second question, is more like asking for pointers...
 
 where can i read more about fmtutil, and how come that
 context does not use it when (i assume) pdftex does?

The following comes from a thread in december about this same
issue. The full thread is here:

http://archive.contextgarden.net/message/20051213.100910.f7bb2779.en.html

Posted by Taco Hoekwater (hey, that's me!):
---
Here's what happened. In the really old days,
formats ended with .fmt, like plain.fmt.

When etex and omega came around, they identified themselves by having
e.g. plain.efmt (note the extra e), so that they could coexist
happily.

However, this cluttered the build system quite a bit, so recently it
was decided to drop the extra characters. At that time, it was
understood that there would be an extra subdirectory below texmf/web2c
to differentiate between the different engines (at least, that is what
Hans and I gathered from the discussion). So you would have, e.g.
web2c/pdfetex/cont-en.fmt as well as web2c/omega/cont-en.fmt.

But it turned out that since LaTeX has separate names for the
different formats anyway (Lambda etc.), ConTeXt was the only client
of this new feature, and Thomas Esser decided that it was not worth
the effort to support these extra directories.

However, for ConText it would be very, very unwieldy to have
cont-pdfetex-en.fmt, cont-xetex-en.fmt, cont-aleph-en.fmt etc., each six
or seven times. And because context is always called through texexec,
the latest texexec's implement this engine subdirectory functionality
for you.

Finally, what goes wrong: unless you either delete the teTeX-supplied
context formats or change texmf.cnf, the old formats will be found first
by kpathsea.


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] updating ConTeXt to latest on openbsd-current Q #2

2006-03-06 Thread Willi Egger


frantisek holop wrote:

hi there,

my second question, is more like asking for pointers...

where can i read more about fmtutil, and how come that
context does not use it when (i assume) pdftex does?

  

Fmtutil is used to generate the necessary format files to run tex. - 
Context provides this within texexec. So generating the formats
becomes simply  texexec --make en metafun mptopdf  i.e. a list of 
requested formats.
even shorter this is texexec --make all..  This will however generate 
formats which you will never use. But nowadays, where diskspace is no 
issue :-)

Kind regards

Willi

--\startquote---
Cleanup fmtutil

Optionally, you can remove ConTeXt support from teTeX's configuration,
because ConTeXt does not use fmtutil.

Using

# fmtutil-sys --edit

you can comment out the lines for metafun,cont-en, and mptopdf

And you can use

# cd /usr/local/teTeX/share/texmf-var/web2c  rm -f cont-en.* metafun.* 
mptopdf.*

to remove the old (fmtutil-generated) formats. 

--\stopquote

-f
  

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] updating ConTeXt to latest on openbsd-current Q #2

2006-03-06 Thread frantisek holop
hmm, on Mon, Mar 06, 2006 at 10:57:57PM +0100, Taco Hoekwater said that
 Finally, what goes wrong: unless you either delete the teTeX-supplied
 context formats or change texmf.cnf, the old formats will be found first
 by kpathsea.

excellent explanation.

so is it either or?  is it enough to change texmf.cnf _or_ delete the
old format files?


from the wiki:

-%--
Cleanup fmtutil

Optionally, you can remove ConTeXt support from teTeX's configuration,
because ConTeXt does not use fmtutil. 
-%--

-f
-- 
wasting your life is prohibited by the law
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context