ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* updating ConTeXt to latest on openbsd-current Q #2
@ 2006-03-06 21:33 frantisek holop
  2006-03-06 21:57 ` Taco Hoekwater
  2006-03-06 22:21 ` Willi Egger
  0 siblings, 2 replies; 5+ messages in thread
From: frantisek holop @ 2006-03-06 21:33 UTC (permalink / raw)


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?


--\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
-- 
the best way out of a difficulty is through it.

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

* Re: updating ConTeXt to latest on openbsd-current Q #2
  2006-03-06 21:33 updating ConTeXt to latest on openbsd-current Q #2 frantisek holop
@ 2006-03-06 21:57 ` Taco Hoekwater
  2006-03-06 23:29   ` frantisek holop
  2006-03-06 22:21 ` Willi Egger
  1 sibling, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2006-03-06 21:57 UTC (permalink / raw)


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

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

* Re: updating ConTeXt to latest on openbsd-current Q #2
  2006-03-06 21:33 updating ConTeXt to latest on openbsd-current Q #2 frantisek holop
  2006-03-06 21:57 ` Taco Hoekwater
@ 2006-03-06 22:21 ` Willi Egger
  1 sibling, 0 replies; 5+ messages in thread
From: Willi Egger @ 2006-03-06 22:21 UTC (permalink / raw)




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

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

* Re: updating ConTeXt to latest on openbsd-current Q #2
  2006-03-06 21:57 ` Taco Hoekwater
@ 2006-03-06 23:29   ` frantisek holop
  2006-03-07  8:31     ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: frantisek holop @ 2006-03-06 23:29 UTC (permalink / raw)


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

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

* Re: updating ConTeXt to latest on openbsd-current Q #2
  2006-03-06 23:29   ` frantisek holop
@ 2006-03-07  8:31     ` Taco Hoekwater
  0 siblings, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2006-03-07  8:31 UTC (permalink / raw)




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

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

end of thread, other threads:[~2006-03-07  8:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-06 21:33 updating ConTeXt to latest on openbsd-current Q #2 frantisek holop
2006-03-06 21:57 ` Taco Hoekwater
2006-03-06 23:29   ` frantisek holop
2006-03-07  8:31     ` Taco Hoekwater
2006-03-06 22:21 ` Willi Egger

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