I know this has been asked before, but I'm not getting it. I'm installing ConTeXt on Linux (Mandrake 9.0) with teTeX. I've installed the default teTeX distribution that comes with Mandrake. I've installed the latest ConTeXt beta I've edited texexec.ini, commenting out the reference to l:/... I've edited ... what was it ... fmtedit?? darn, can't remember, but I uncommented two lines that refer to cont-en and cont-nl I've run texhash texexec --make en nl texhash I've added to PATH: /usr/share/texmf /usr/share/texmf/tex/context/base /usr/share/texmf/tex/context/config I've made cont-en.tex and cont-en.ini executable so far, so good. But texexec --pdf filename.tex returns with sh: line 1: cont-en: command not found so cont-en is either not on the path or not executable, right? Please be explicit: are we talking about cont-en.tex, cont-en.ini, or cont-en.tws? Where is the usual place to put it? When adding to path, is the shell environment PATH variable what's meant? or is there some way within ConTeXt to set a path? What else could be wrong? Gary
Gary
I've installed the default teTeX distribution that comes with Mandrake. I've installed the latest ConTeXt beta
How? Did you copy the new files over the old ones?
I've edited texexec.ini, commenting out the reference to l:/...
You shouldn't need to do this.
I've edited ... what was it ... fmtedit?? darn, can't remember, but I uncommented two lines that refer to cont-en and cont-nl
fmtutil --edit?
I've added to PATH: /usr/share/texmf /usr/share/texmf/tex/context/base /usr/share/texmf/tex/context/config
Not needed, please don't do so.
I've made cont-en.tex and cont-en.ini executable
not needed, as well.
But texexec --pdf filename.tex returns with sh: line 1: cont-en: command not found
so cont-en is either not on the path or not executable, right?
it does not need to be there. So something else must be wrong.
Please be explicit:
are we talking about cont-en.tex, cont-en.ini, or cont-en.tws?
neither nor. We are talking mainly about the executable files texexec, pdfetex and the texexec.ini config file for texexec (so many config files!)
Where is the usual place to put it?
Don't know where the usual place is, but I keep my ConTeXt installation separate from the tetex installation, since I like to keep things apart. I changed the config file texmf.cfg and included the ConTeXt path. Nevertheless, it should be possible to install the ConTeXt beta over the tetex installation.
When adding to path, is the shell environment PATH variable what's meant? or is there some way within ConTeXt to set a path?
Yes, no.
What else could be wrong?
Please post the output of `texexec --verb' and the output of `kpsewhich cont-en.efmt' and `type texexec'. Patrick
Patrick, Thanks for responding.
I've installed the latest ConTeXt beta
How? Did you copy the new files over the old ones?
Yes, I downloaded cont-tmf.zip, and unzipped into /usr/share/texmf, overwriting everything.
I've edited texexec.ini, commenting out the reference to l:/...
You shouldn't need to do this.
I've edited ... what was it ... fmtedit?? darn, can't remember, but I uncommented two lines that refer to cont-en and cont-nl
fmtutil --edit?
Yes, that's it. [...]
Please post the output of `texexec --verb' and the output of `kpsewhich cont-en.efmt' and `type texexec'.
Sure thing. It follows below. Thanks again for your help, Gary --------------------------------------------------------- [gap2@pcp01974462pcs gap2]$ texexec --verb TeXExec 1.9 - ConTeXt / PRAGMA ADE 1997-2000 locating ini file : found by kpsewhich reading : /usr/share/texmf/context/config/texexec.ini setting : 'TeXShell' to 'tetex' for 'all' setting : 'UsedInterfaces' to 'en nl metafun mptopdf' for 'all' setting : 'UserInterface' to 'en' for 'all' setting : 'TeXExecutable' to 'tex' for 'all' setting : 'MpExecutable' to 'mpost' for 'all' setting : 'MpToTeXExecutable' to 'mpto' for 'all' setting : 'DviToMpExecutable' to 'dvitomp' for 'all' setting : 'DviSpecialScript' to 'dvispec' for 'all' setting : 'MpFormat' to 'metafun' for 'all' setting : 'TeXFormatFlag' to '&' for 'all' setting : 'MpFormatFlag' to '&' for 'all' setting : 'TeXExecutable' to 'pdfetex' for 'tetex' setting : 'TeXVirginFlag' to '-ini' for 'tetex' setting : 'TeXPassString' to '-progname=context' for 'tetex' setting : 'TeXBatchFlag' to '-int=batchmode' for 'tetex' setting : 'MpToTeXExecutable' to 'mpto' for 'tetex' setting : 'MpVirginFlag' to '-ini' for 'tetex' setting : 'MpPassString' to '-progname=mpost' for 'tetex' setting : 'MpBatchFlag' to '-int=batchmode' for 'tetex' used setting : TeXShell = tetex used setting : SetupPath = used setting : UserInterface = en used setting : UsedInterfaces = en nl metafun mptopdf used setting : MpExecutable = mpost used setting : MpToTeXExecutable = mpto used setting : DviToMpExecutable = dvitomp used setting : TeXProgramPath = used setting : TeXFormatPath = used setting : ConTeXtPath = used setting : TeXScriptsPath = used setting : TeXExecutable = pdfetex used setting : TeXVirginFlag = -ini used setting : TeXPassString = -progname=context used setting : TeXFormatFlag = & used setting : FmtLanguage = used setting : FmtBodyFont = used setting : TcXPath = locating fmtutil : found --help show this or more, e.g. '--help interface' [gap2@pcp01974462pcs gap2]$ kpsewhich cont-en.efmt /usr/share/texmf/web2c/cont-en.efmt [gap2@pcp01974462pcs gap2]$ type texexec texexec is hashed (/usr/bin/texexec)
Patrick, Thanks for responding.
I've installed the latest ConTeXt beta
How? Did you copy the new files over the old ones?
Yes, I downloaded cont-tmf.zip, and unzipped into /usr/share/texmf, overwriting everything.
OK, thanks to a (completely independent) post that just came in, I see that I have a very old version of TeXexec. I should upgrade. But where is it? This page http://www.pragma-ade.com/texexec.htm points to the general download page http://www.pragma-ade.com/download.htm but I can't tell where TeXexec is located in there. Regards, Gary
On Sunday, March 16, 2003, at 06:43 PM, Gary Pajer wrote:
OK, thanks to a (completely independent) post that just came in, I see that I have a very old version of TeXexec.
If you're referring to my post, I'd recommend Simon's script: http://www.hobby.nl/~scaprea/context/#installer I just place everything -- the script, the cont-tmf.zip file, and the version of texexec he has on his site -- in one directory, and run the script to install into my ~/Library/texmf directory. Works like a charm. Bruce
Gary Pajer
OK, thanks to a (completely independent) post that just came in, I see that I have a very old version of TeXexec. I should upgrade. But where is it?
Have you any progress on finding and installing texexec? It is called texexec.pl in the context distribution. If yes, please check again if your ConTeXt works now. Patrick
participants (4)
-
Bruce D'Arcus
-
Gary
-
Gary Pajer
-
Patrick Gundlach