ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Q: problems finding syst-pln.tex
@ 2002-06-03  3:53 David Petrou
  2002-06-03  5:44 ` Andreas Fritsch
  0 siblings, 1 reply; 5+ messages in thread
From: David Petrou @ 2002-06-03  3:53 UTC (permalink / raw)


Hi.  I'm a new ConTeXt user.  I'm installing over TeTeX.  I know that
TeTeX already has ConTeXt support, but I want to use a newer ConTeXt
than came with my TeTeX distribution.

I'm following the directions in the ConTeXt installation manual.

I unzipping the ConTeXt archive,  Then I made symlinks to all the .pl
files, like:

  ln -s texexec.pl texexec

and made sure that all the links I made were in my search path.

I ran `fmtutil --edit' and saw that everything looked ok.  But, when I
run `fmtutil --all', I get:

----------------------------------------------------------------------
This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1) (INITEX)
entering extended mode
(/var/lib/texmf/tex/context/config/cont-cz.ini
(/usr/share/texmf/tex/context/base/cont-cz.tex
(/usr/share/texmf/tex/context/base/context.tex
! I can't find file `syst-pln.tex'.
l.34 \input syst-pln.tex 
                         % stripped plain
Please type another input file name: 
! Emergency stop.
l.34 \input syst-pln.tex 
                         % stripped plain
No pages of output.
Transcript written on cont-cz.log.
fmtutil: `pdfetex -ini -efmt=cont-cz -progname=context *cont-cz.ini'
failed.
----------------------------------------------------------------------

I do have this file, though:

----------------------------------------------------------------------
bash-2.04# pwd
/usr/share/texmf
bash-2.04# find . -name syst-pln.tex
./tex/context/base/syst-pln.tex
----------------------------------------------------------------------

Anyway, I pressed on added `map +context.map' to my pdftex.cfg file.
Then I copied texexec.rme to texexec.ini and ensured that TeXShell was
set to tetex.  Then I tried `texexec --make en de nl' and got:

----------------------------------------------------------------------
 TeXExec 2.8 - ConTeXt / PRAGMA ADE 1997-2002

This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1) (INITEX)
entering extended mode
(/var/lib/texmf/tex/context/config/cont-en.ini
(/usr/share/texmf/tex/context/base/cont-en.tex
(/usr/share/texmf/tex/context/base/context.tex
! I can't find file `syst-pln.tex'.
l.34 \input syst-pln.tex 
                         % stripped plain
Please type another input file name: 
! Emergency stop.
l.34 \input syst-pln.tex 
                         % stripped plain
No pages of output.
Transcript written on cont-en.log.
fmtutil: `pdfetex -ini -efmt=cont-en -progname=context *cont-en.ini'
failed.
This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1) (INITEX)
entering extended mode
(/var/lib/texmf/tex/context/config/cont-de.ini
(/usr/share/texmf/tex/context/base/cont-de.tex
(/usr/share/texmf/tex/context/base/context.tex
! I can't find file `syst-pln.tex'.
l.34 \input syst-pln.tex 
                         % stripped plain
Please type another input file name: 
! Emergency stop.
l.34 \input syst-pln.tex 
                         % stripped plain
No pages of output.
Transcript written on cont-de.log.
fmtutil: `pdfetex -ini -efmt=cont-de -progname=context *cont-de.ini'
failed.

This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1) (INITEX)
entering extended mode
(/var/lib/texmf/tex/context/config/cont-nl.ini
(/usr/share/texmf/tex/context/base/cont-nl.tex
(/usr/share/texmf/tex/context/base/context.tex
! I can't find file `syst-pln.tex'.
l.34 \input syst-pln.tex 
                         % stripped plain
Please type another input file name: 
! Emergency stop.
l.34 \input syst-pln.tex 
                         % stripped plain
No pages of output.
Transcript written on cont-nl.log.
fmtutil: `pdfetex -ini -efmt=cont-nl -progname=context *cont-nl.ini'
failed.

            TeX binary : pdfetex
             format(s) : en de nl

        total run time : 442 seconds
----------------------------------------------------------------------

Here I gave up.  Any ideas?  Also, should I have even done `fmtutil
--all'?  The documentation mentions this command but isn't clear on
whether it should be done.

thanks,
david


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

* Re: Q: problems finding syst-pln.tex
  2002-06-03  3:53 Q: problems finding syst-pln.tex David Petrou
@ 2002-06-03  5:44 ` Andreas Fritsch
  2002-06-03 17:45   ` David Petrou
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Fritsch @ 2002-06-03  5:44 UTC (permalink / raw)
  Cc: ntg-context

Hi,

did you update your lsr?

'texconfig rehash'

should do the trick.

Andreas

On Sun, 2 Jun 2002, David Petrou wrote:

> Hi.  I'm a new ConTeXt user.  I'm installing over TeTeX.  I know that
> TeTeX already has ConTeXt support, but I want to use a newer ConTeXt
> than came with my TeTeX distribution.
>
> I'm following the directions in the ConTeXt installation manual.
>
> I unzipping the ConTeXt archive,  Then I made symlinks to all the .pl
> files, like:
>
>   ln -s texexec.pl texexec
>
> and made sure that all the links I made were in my search path.
>
> I ran `fmtutil --edit' and saw that everything looked ok.  But, when I
> run `fmtutil --all', I get:
>
> ----------------------------------------------------------------------
> This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1) (INITEX)
> entering extended mode
> (/var/lib/texmf/tex/context/config/cont-cz.ini
> (/usr/share/texmf/tex/context/base/cont-cz.tex
> (/usr/share/texmf/tex/context/base/context.tex
> ! I can't find file `syst-pln.tex'.
> l.34 \input syst-pln.tex
>                          % stripped plain
> Please type another input file name:
> ! Emergency stop.
> l.34 \input syst-pln.tex
>                          % stripped plain
> No pages of output.
> Transcript written on cont-cz.log.
> fmtutil: `pdfetex -ini -efmt=cont-cz -progname=context *cont-cz.ini'
> failed.
> ----------------------------------------------------------------------
>
> I do have this file, though:
>
> ----------------------------------------------------------------------
> bash-2.04# pwd
> /usr/share/texmf
> bash-2.04# find . -name syst-pln.tex
> ./tex/context/base/syst-pln.tex
> ----------------------------------------------------------------------
>
> Anyway, I pressed on added `map +context.map' to my pdftex.cfg file.
> Then I copied texexec.rme to texexec.ini and ensured that TeXShell was
> set to tetex.  Then I tried `texexec --make en de nl' and got:
>
> ----------------------------------------------------------------------
>  TeXExec 2.8 - ConTeXt / PRAGMA ADE 1997-2002
>
> This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1) (INITEX)
> entering extended mode
> (/var/lib/texmf/tex/context/config/cont-en.ini
> (/usr/share/texmf/tex/context/base/cont-en.tex
> (/usr/share/texmf/tex/context/base/context.tex
> ! I can't find file `syst-pln.tex'.
> l.34 \input syst-pln.tex
>                          % stripped plain
> Please type another input file name:
> ! Emergency stop.
> l.34 \input syst-pln.tex
>                          % stripped plain
> No pages of output.
> Transcript written on cont-en.log.
> fmtutil: `pdfetex -ini -efmt=cont-en -progname=context *cont-en.ini'
> failed.
> This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1) (INITEX)
> entering extended mode
> (/var/lib/texmf/tex/context/config/cont-de.ini
> (/usr/share/texmf/tex/context/base/cont-de.tex
> (/usr/share/texmf/tex/context/base/context.tex
> ! I can't find file `syst-pln.tex'.
> l.34 \input syst-pln.tex
>                          % stripped plain
> Please type another input file name:
> ! Emergency stop.
> l.34 \input syst-pln.tex
>                          % stripped plain
> No pages of output.
> Transcript written on cont-de.log.
> fmtutil: `pdfetex -ini -efmt=cont-de -progname=context *cont-de.ini'
> failed.
>
> This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1) (INITEX)
> entering extended mode
> (/var/lib/texmf/tex/context/config/cont-nl.ini
> (/usr/share/texmf/tex/context/base/cont-nl.tex
> (/usr/share/texmf/tex/context/base/context.tex
> ! I can't find file `syst-pln.tex'.
> l.34 \input syst-pln.tex
>                          % stripped plain
> Please type another input file name:
> ! Emergency stop.
> l.34 \input syst-pln.tex
>                          % stripped plain
> No pages of output.
> Transcript written on cont-nl.log.
> fmtutil: `pdfetex -ini -efmt=cont-nl -progname=context *cont-nl.ini'
> failed.
>
>             TeX binary : pdfetex
>              format(s) : en de nl
>
>
>         total run time : 442 seconds
> ----------------------------------------------------------------------
>
> Here I gave up.  Any ideas?  Also, should I have even done `fmtutil
> --all'?  The documentation mentions this command but isn't clear on
> whether it should be done.
>
> thanks,
> david
>
>


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

* Re: Q: problems finding syst-pln.tex
  2002-06-03  5:44 ` Andreas Fritsch
@ 2002-06-03 17:45   ` David Petrou
  2002-06-04 10:56     ` David Antos
  0 siblings, 1 reply; 5+ messages in thread
From: David Petrou @ 2002-06-03 17:45 UTC (permalink / raw)
  Cc: ntg-context

> did you update your lsr?
> 
> 'texconfig rehash'
> 
> should do the trick.

That works!  Thanks!

I think the documenation should be updated to mention that this should
be run.  Do the developers of ConTeXt read this mailing list?  If not,
who should I contact to suggest this?

Now, I have another problem.  When I try to do `texexec --make
metafun' I get this:

----------------------------------------------------------------------
bash-2.04# texexec --make metafun

 TeXExec 2.8 - ConTeXt / PRAGMA ADE 1997-2002

This is MetaPost, Version 0.641 (Web2C 7.3.1) (INIMP)
! I can't find file `metafun'.
<*> metafun

Please type another input file name: 
----------------------------------------------------------------------

The only file that I have that looks like `metafun' is
`metapost/context/metafun.mp'.  What am I doing wrong?

Finally, could you answer whether I should have run `fmtutil --all'?
The documentation is kind of unclear in this section.  The
documentation mentions this command, but not whether or not the user
should run it.  And it's a very time-consuming process.  Finally, it
seems like `texexec --make' replicates some of what `fmtutil --all'
does.

> Andreas

thanks,
david


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

* Re: Q: problems finding syst-pln.tex
  2002-06-03 17:45   ` David Petrou
@ 2002-06-04 10:56     ` David Antos
  2002-06-10 16:13       ` David Petrou
  0 siblings, 1 reply; 5+ messages in thread
From: David Antos @ 2002-06-04 10:56 UTC (permalink / raw)
  Cc: NTG ConTeXt Mailing List

On Mon, Jun 03, 2002 at 01:45:48PM -0400, David Petrou wrote:
> > did you update your lsr?
> > 
> > 'texconfig rehash'
> > 
> > should do the trick.
> 
> That works!  Thanks!
> 
> I think the documenation should be updated to mention that this should
> be run.  Do the developers of ConTeXt read this mailing list?  If not,
> who should I contact to suggest this?

Hello,

I always push Hans to improve the documentation, nevertheless this
is a problem of kpathsea library and its manual. I'm also sure all the
ConTeXt developers read this list, so writing here is a suggestion:-).

Just read your (I guess) TeXlive documentation about finding files.

> Now, I have another problem.  When I try to do `texexec --make
> metafun' I get this:
> 
> ----------------------------------------------------------------------
> bash-2.04# texexec --make metafun
> 
>  TeXExec 2.8 - ConTeXt / PRAGMA ADE 1997-2002
> 
> This is MetaPost, Version 0.641 (Web2C 7.3.1) (INIMP)
> ! I can't find file `metafun'.
> <*> metafun
> ----------------------------------------------------------------------
> 
> The only file that I have that looks like `metafun' is
> `metapost/context/metafun.mp'.  What am I doing wrong?

I think it's just the same problem. Do you have also about 15 mp-????.mp
files in the directory? Does kpsewhich find them? (Run kpsewhich
<name>.)

> Finally, could you answer whether I should have run `fmtutil --all'?

This command rebuilds all format files you have configured in
fmtutil.cnf. There is no need to rebuild e.g., plain or LaTeX, when you
updated just ConTeXt installation. When you install a new ConTeXt,
rebuild the ConTeXt formats cont-??.fmt or .efmt, an easy way is to
delete them and to say fmtutil --missing. texexec --make would do the
same. On the other hand, texexec is able to include custom
configurations, you must use the --alone switch to make it ignore the
fmtutil.cnf settings. The texexec script is also useful on systems that
have no own format utility. I was also confused in the beginning :-)

D.A.


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

* Re: Q: problems finding syst-pln.tex
  2002-06-04 10:56     ` David Antos
@ 2002-06-10 16:13       ` David Petrou
  0 siblings, 0 replies; 5+ messages in thread
From: David Petrou @ 2002-06-10 16:13 UTC (permalink / raw)


thanks for the response.  my response to you is late because i had to
leave the country for an emergency.  now i'm back with more
questions.  :)

> > > did you update your lsr?
> > > 
> > > 'texconfig rehash'
> > > 
> > > should do the trick.
> > 
> > That works!  Thanks!
> > 
> > I think the documenation should be updated to mention that this should
> > be run.  Do the developers of ConTeXt read this mailing list?  If not,
> > who should I contact to suggest this?
> 
> I always push Hans to improve the documentation, nevertheless this
> is a problem of kpathsea library and its manual. I'm also sure all the
> ConTeXt developers read this list, so writing here is a suggestion:-).
> 
> Just read your (I guess) TeXlive documentation about finding files.

like i said, i'm using tetex, not texlive.  in any case, it seems like
a very small addition to the context manual ("Run texconfig to rebuild
the file hash") would help users like me be able to use Context
more easily.  the way it is now, the context installation manual
doesn't even refer the reader to other documents like the kpsewhich
manual as installation reading prerequisites.  moreover, as far as i
can tell, it's not the intention of the context developers to have the
reader understand tex in detail in order to install context.

> > Now, I have another problem.  When I try to do `texexec --make
> > metafun' I get this:
> > 
> > ----------------------------------------------------------------------
> > bash-2.04# texexec --make metafun
> > 
> >  TeXExec 2.8 - ConTeXt / PRAGMA ADE 1997-2002
> > 
> > This is MetaPost, Version 0.641 (Web2C 7.3.1) (INIMP)
> > ! I can't find file `metafun'.
> > <*> metafun
> > ----------------------------------------------------------------------
> > 
> > The only file that I have that looks like `metafun' is
> > `metapost/context/metafun.mp'.  What am I doing wrong?
> 
> I think it's just the same problem. Do you have also about 15 mp-????.mp
> files in the directory? Does kpsewhich find them? (Run kpsewhich
> <name>.)

if it's the same problem, then why does it occur after i rebuilt the
hash?  and yes, my metapost/context directory has lots of mp-* files.
and yes, `kpsewhich metafun.mp' works fine:

bwv988 share/texmf# kpsewhich metafun.mp
/usr/share/texmf/metapost/context/metafun.mp

i'd love any help here.  just to restate: i'm following the context
installation manual instructions to install a current context over my
tetex installation.  i've gotten as far as the `texexec --make
metafun'.  i've gotten all the steps before this command to work, but
this command fails as i've quoted above.

> > Finally, could you answer whether I should have run `fmtutil --all'?
> 
> This command rebuilds all format files you have configured in
> fmtutil.cnf. There is no need to rebuild e.g., plain or LaTeX, when you
> updated just ConTeXt installation. When you install a new ConTeXt,
> rebuild the ConTeXt formats cont-??.fmt or .efmt, an easy way is to
> delete them and to say fmtutil --missing. texexec --make would do the
> same. On the other hand, texexec is able to include custom
> configurations, you must use the --alone switch to make it ignore the
> fmtutil.cnf settings. The texexec script is also useful on systems that
> have no own format utility. I was also confused in the beginning :-)

thanks for the info.  what you just said would be great to see in the
installation manual.  the way it reads now, it's unclear whether this
time-consuming command should be run or not.

> D.A.

thanks again,
david


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

end of thread, other threads:[~2002-06-10 16:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-03  3:53 Q: problems finding syst-pln.tex David Petrou
2002-06-03  5:44 ` Andreas Fritsch
2002-06-03 17:45   ` David Petrou
2002-06-04 10:56     ` David Antos
2002-06-10 16:13       ` David Petrou

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