INstalling a new version of context
Hello !
I tried to install a new version of context, since somebody suggest to
do it (BTW I do not know how know what version of context I have
... running texexec --version gives me the version of texexec, I
presume, not the version of context ... but anyway ... that not my
sole problem, as for now).
So I used to have a version of context install by default :-) on my
mandrake 10.1 distribution of linux ...
To upgrade I have downloaded
http://www.pragma-ade.com/context/current/cont-tmf.zip
and read also part of
http://www.pragma-ade.com/general/manuals/minstall.pdf
It says that I have to unzip cont-tmf.zip in /usr/share/texmf ...
which I have done ...
And then they say we have to regenerate format .... but I'm not that
expert to understand what it means ...
What I have done is fmtutil --all
But my context distrib does not work anymore ... ;-(
Could anybody help me ?
I have relink
ln -s /usr/share/texmf/context/perltk/texexec.pl /usr/bin/texexec
since /usr/bin/texexec was the location where my shell use to find
texec ... But I'm probably messing everything doing that.
Anyway, I have NOT "regenerate the format" and try to use texexec ..
but on a simple "hello world" example stored in hw.tex file :
\starttext
Hello World !
\stoptext
it gives me this output ;-(
oli@olinux:~/E/Context
# texexec --verbose hw.tex
TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002
current path : /home/oli/E/Context
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 : 'TeXFontsPath' to 'l:/tex/texmf;l:/tex/texmf-local;' 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 : TeXFontsPath = l:/tex/texmf;l:/tex/texmf-local;
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 : TeXBatchFlag = -int=batchmode
used setting : MpBatchFlag = -int=batchmode
used setting : TeXPassString = -progname=context
used setting : TeXFormatFlag = &
used setting : MpFormatFlag = &
used setting : MpVirginFlag = -ini
used setting : MpPassString = -progname=mpost
used setting : MpFormat = metafun
used setting : MpFormatPath =
used setting : FmtLanguage =
used setting : FmtBodyFont =
used setting : FmtResponse =
used setting : TcXPath =
used setting : SetFile =
applications will use : /usr/share/texmf/web2c/texmf.cnf
locating fmtutil : /usr/bin/fmtutil
executable : pdfetex
format : cont-en
inputfile : hw
output : standard
interface : en
options : verbose
current mode : none
TeX run : 1
pdfetex -progname=context \&cont-en hw.tex
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
entering extended mode
(./hw.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
ConTeXt ver: 2005.01.31 fmt: 2005.5.7 int: english mes: english
systems : pdfTeX version 110 -> please update
systems : eTeX version 201 -> too old (bugs)
language : language en is active
On Saturday 07 May 2005 06:01 pm, olibou@free.fr wrote:
Hello !
I tried to install a new version of context, since somebody suggest to do it (BTW I do not know how know what version of context I have ... running texexec --version gives me the version of texexec, I presume, not the version of context ... but anyway ... that not my sole problem, as for now).
So I used to have a version of context install by default :-) on my mandrake 10.1 distribution of linux ...
The upgrading of Context or even of pdftex is sufficiently failure prone that I have given up trying. Instead I used the latest packages from Slackware current and installed those. When TeX live is updated again next winter I will upgrade to that level. The instructions never seem to deal with the exact configuration one is dealing with. Frankly I would rather spend my time typesetting and laying out books. So I accept the newest complete package that seems to work and reinstall. In theory I could upgrade, in fact I am better off waiting for the next complete distro from either TeXlive or Slack. John Culleton The answers to all your publishing questions are found in the excellent books listed in the word-famous shortlist! http://wexfordpress.com/tex/shortlist.pdf
I finally succeed installing this new version ... at least s-pre-61.tex compiles ;-) -- Oli
John R. Culleton wrote:
On Saturday 07 May 2005 06:01 pm, olibou@free.fr wrote:
Hello !
I tried to install a new version of context, since somebody suggest to do it (BTW I do not know how know what version of context I have ... running texexec --version gives me the version of texexec, I presume, not the version of context ... but anyway ... that not my sole problem, as for now).
So I used to have a version of context install by default :-) on my mandrake 10.1 distribution of linux ...
The upgrading of Context or even of pdftex is sufficiently failure prone that I have given up trying. Instead I used the latest packages from Slackware current and installed those. When TeX live is updated again next winter I will upgrade to that level. The instructions never seem to deal with the exact configuration one is dealing with. Frankly I would rather spend my time typesetting and laying out books. So I accept the newest complete package that seems to work and reinstall. In theory I could upgrade, in fact I am better off waiting for the next complete distro from either TeXlive or Slack.
most linux distros ship old tex's and it's no secret that one cannot combine tetex with tex live without problems; it's one or the other. an option with regardd to context is to download the linuxtex zip from our site and install an extra tex tree for context only and install updates in that tree (under texmf-local) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
olibou@free.fr wrote:
To upgrade I have downloaded http://www.pragma-ade.com/context/current/cont-tmf.zip and read also part of http://www.pragma-ade.com/general/manuals/minstall.pdf
wget www.pragma-ade.com/context/install/linuxtex.zip unzip linuxtex.zip cd tex . setuptex texexec --make --all after that, for each shell: . ~/tex/setuptex ~/tex (given tat you're in your home path) and you're done; an update: cd texmf-local wget www.pragma-ade.com/context/latest/cont-tmf.zip unzip cont-tmf.zip texexec --make --all etc Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Sunday 08 May 2005 08:44 pm, Hans Hagen wrote:
wget www.pragma-ade.com/context/install/linuxtex.zip unzip linuxtex.zip cd tex . setuptex texexec --make --all
after that, for each shell:
. ~/tex/setuptex ~/tex
(given tat you're in your home path)
Following the above as a cookbook approach there is a problem with the texexec line. First I should mention that my default system path points to the TeXLive path of /usr/TeX/bin/i386-linux. so texexec --make --all will execute that program. If I go to the new texexec and execute it specifically: /usr/local/tex/texmf-linux/bin/texexec --make --all then it can't find Ruby. Also, the setuptex program as distributed is not marked as executable. If i mark it as executable and execute it the execution is in the blink of an eye. I am not sure it actually does anything. When I do set |less the value of TEXROOT does not show up. In the directory usr/local/tex/texmf-linux/bin if I execute ./pdfetex I get version 1.20a-2.2 (Web2C 7.5.3 But if I go to /usr/share/texmf/bin (the Slackware distribution of TeX) and execute ./pdfetex I get 1.21a-2.2 (Web2C 7.5.4) So the download of linuxtex.zip from Pragma gives an older version of crucial software than the straight Slackware install. Hence I will revert to that path. John Culleton The answers to all your publishing questions are found in the excellent books listed in the word-famous shortlist! http://wexfordpress.com/tex/shortlist.pdf
participants (3)
-
Hans Hagen
-
John R. Culleton
-
olibou@free.fr