Re: [NTG-context] INstalling a new version of context

2005-05-09 Thread Taco Hoekwater

bb wrote:
I think it would be a very useful exercise for hh
to install a complete texlive on a stock fedora box. 
I'm sure he would be happy to, if you provided the box and some
funding (!).
Most developers that work on free software miss at least
one of the following:
 * spare hardware
 * spare disk space
 * spare operating systems
 * spare time
Then write down
_every_ step necessary to get beta cont-tmf.zip installed and working.
I guess I could conceivably try to do this, as long as I only have to
do it once, but I will not be able to provide support for it afterwards.
I have a fairly complex TeX setup, and for that reason I do not
use texlive. I can try to write down this howto for *current* context
beta and *current* pdfetex, but afterwards I have to revert my system
back to 'normal operation' immediately, so there is no way for me to
keep on helping people after the initial installation.
Assuming someone volunteers to pick up supporting context-on-texlive
afterwards, then I am willing to write down the initial page.
But I do not want to waste a day fighting TeXlive for no good,
so unless I hear from someone, I will do nothing.
I would think that targeting texlive as the standard platform for
distributing context on linux/unix would make the most sense. It
should _not_ be necessary to make anything but a trivial change to
texmf.cnf.
Have you complained to the TeXlive maintainers as well? After all,
they are the distributors. Perhaps they could make it just a bit
easier to add stuff to an existing TeXlive install? The upgrade
path for  any TeXlive basically is: download an update iso image,
burn it, and re-install. There is no support for partial upgrades
(at least there wasn't last time I looked, which is, admittedly,
 a few years ago)
Taco

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


Re: [NTG-context] INstalling a new version of context

2005-05-09 Thread John R. Culleton
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

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


Re: [NTG-context] INstalling a new version of context

2005-05-09 Thread bb
On 5/9/05, Taco Hoekwater [EMAIL PROTECTED] wrote:
 bb wrote:
 
  I think it would be a very useful exercise for hh
  to install a complete texlive on a stock fedora box.
 
 I'm sure he would be happy to, if you provided the box and some
 funding (!).

Reading my own words I see how they don't exactly convey warm
appreciation for all the hard work that has been put into context.
Allow me to retract them and offer instead to help, as time, money,
and resources permit :-)

  Then write down
  _every_ step necessary to get beta cont-tmf.zip installed and working.
 
 I guess I could conceivably try to do this, as long as I only have to
 do it once, but I will not be able to provide support for it afterwards.

I can understand your reluctance, especially since texlive has
installation and maintenance issues of its own, as you allude to
below. Since texlive 2005 is in the process of being worked out,
perhaps a better use of time would be to ensure that a fully
functional, up-to-date (and upgradable!) context gets included.

 I have a fairly complex TeX setup, and for that reason I do not
 use texlive. I can try to write down this howto for *current* context
 beta and *current* pdfetex, but afterwards I have to revert my system
 back to 'normal operation' immediately, so there is no way for me to
 keep on helping people after the initial installation.

It would be a very good thing if stock texlive could reside in texmf
and texmf-dist while your complex setup and bleeding edge stuff could
reside in texmf-var, texmf-local, texmf-fonts, texmf-extras, etc. I
can guess at several reasons why this might not be feasible. But it
would be a worthy goal for both texlive and context to make such
interoperability and upgradability  trivial. The current confusion
over engine support, for example, is simply maddening.

Texlive is the closest thing that exists to a standard TeX platform.
One of its virtues, in my opinion, is its inflexibility. It is fairly
stable over time and does not vary significantly across distributions
like tetex does.

 
 Assuming someone volunteers to pick up supporting context-on-texlive
 afterwards, then I am willing to write down the initial page.
 But I do not want to waste a day fighting TeXlive for no good,
 so unless I hear from someone, I will do nothing.

I am hesitant to accept your offer because I am afraid that my
problems will be exposed as pathetically easy to fix. Before you go to
the trouble, I will take some time to debug texexec.pl, which is where
I think the final problem is. If I succeed, I will post the recipe on
contextgarden.

  I would think that targeting texlive as the standard platform for
  distributing context on linux/unix would make the most sense. It
  should _not_ be necessary to make anything but a trivial change to
  texmf.cnf.
 
 Have you complained to the TeXlive maintainers as well? 

Haven't I made enough enemies already :-)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] INstalling a new version of context

2005-05-09 Thread Taco Hoekwater
bb wrote:
Reading my own words I see how they don't exactly convey warm
appreciation for all the hard work that has been put into context.
That's ok, i have written stuff in the not so distant past that
was much, much less appreciative. :-)
below. Since texlive 2005 is in the process of being worked out,
perhaps a better use of time would be to ensure that a fully
functional, up-to-date (and upgradable!) context gets included.
It wouldn't stay up-to-date for the whole year, only for the first
six months or so. But you are right that the current (texlive2004)
situation is particularly messy, and an effort should be made to
make sure that the next texlive starts off with a more stable
situation.
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] INstalling a new version of context

2005-05-09 Thread bb
I think I have things working with texlive. I will reproduce the
installation to make sure I capture all steps. It basically comes down
to:

1) Install texlive 2004 to /usr/local/TeX

2) (possibly optional) Compile new pdftex, pdfetex and pdfxtex and
replace executable and pool files in /usr/local/TeX/bin/i386-linux/
and /usr/local/TeX/texmf-local/web2c/ respectively.

3) Install beta cont-tmf.zip into /usr/local/TeX/texmf-context

4) Edit /usr/local/TeX/texmf-local/web2c/texmf.cnf to include the
following modifications from the copy in /usr/local/TeX/texmf/web2c:
TEXMFCONTEXT=$SELFAUTOPARENT/texmf-context
TEXMF={$HOMETEXMF,!!$VARTEXMF,$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFMAIN,!!$TEXMFDIST}

5) wget http://www.pragma-ade.com/context/install/linuxtex.zip 
Unzip the file into a temporary directory and cd to tex/texmf-linux/bin.
Copy only the small stub scripts (all less than 50 bytes) to
/usr/local/TeX/bin/i386-linux overwriting similarly named executables.
Copy texmfstart to the same place, again overwriting the existing
executable. Delete the rest of the temporary linuxtex installation.

6) Update /usr/local/TeX/texmf-context/scripts/context/perl/texexec.pl
with the attached patch.

7) Download the latest lm fonts from CTAN and install them in the
correct folders in texmf-context.

8) Run updmap.

9) Run texexec --make --all

I'm sure I have forgotten some crucial step. Corrections and
simplifications are welcome.

On 5/9/05, Taco Hoekwater [EMAIL PROTECTED] wrote:
 bb wrote:
 
  Reading my own words I see how they don't exactly convey warm
  appreciation for all the hard work that has been put into context.
 
 That's ok, i have written stuff in the not so distant past that
 was much, much less appreciative. :-)
 
  below. Since texlive 2005 is in the process of being worked out,
  perhaps a better use of time would be to ensure that a fully
  functional, up-to-date (and upgradable!) context gets included.
 
 It wouldn't stay up-to-date for the whole year, only for the first
 six months or so. But you are right that the current (texlive2004)
 situation is particularly messy, and an effort should be made to
 make sure that the next texlive starts off with a more stable
 situation.
 
 Taco
 

*** /usr/local/TeX/texmf-context/scripts/context/perl/texexec.pl	2005-04-21 18:16:27.0 -0400
--- /usr/local/TeX/texmf-local/scripts/context/perl/texexec.pl	2005-05-09 14:39:51.0 -0400
***
*** 2305,2313 
  # fall back
  if ($FormatPath eq '') {
  if (($UseEnginePath)($EngineDone)) {
! $FormatPath = `$kpsewhich --engine=$EnginePath --expand-var=\$TEXFORMATS` ;
  } else {
! $FormatPath = `$kpsewhich --expand-var=\$TEXFORMATS` ;
  }
  }
  chomp $FormatPath ;
--- 2305,2313 
  # fall back
  if ($FormatPath eq '') {
  if (($UseEnginePath)($EngineDone)) {
! $FormatPath = `$kpsewhich --engine=$EnginePath --expand-var=\\\$TEXFORMATS` ;
  } else {
! $FormatPath = `$kpsewhich --expand-var=\\\$TEXFORMATS` ;
  }
  }
  chomp $FormatPath ;
***
*** 2474,2480 
  $texformats = '' ;
  }
  if ($texformats eq '') {
! $texformats = `kpsewhich --expand-var=\$TEXFORMATS`.chomp ;
  }
  if ($texformats !~ /web2c[\/\\].*\$ENGINE/) {
  $texformats =~ s/web2c/web2c\/{\$ENGINE,}/ ;
--- 2474,2481 
  $texformats = '' ;
  }
  if ($texformats eq '') {
! $texformats = `kpsewhich --expand-var=\\\$TEXFORMATS` ;
! chomp($texformats) ;
  }
  if ($texformats !~ /web2c[\/\\].*\$ENGINE/) {
  $texformats =~ s/web2c/web2c\/{\$ENGINE,}/ ;
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] INstalling a new version of context

2005-05-08 Thread olibou
I finally succeed installing this new version ... at least
s-pre-61.tex compiles ;-)
-- 
 Oli
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] INstalling a new version of context

2005-05-08 Thread Hans Hagen
John R. Culleton wrote:
On Saturday 07 May 2005 06:01 pm, [EMAIL PROTECTED] 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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] INstalling a new version of context

2005-05-08 Thread Hans Hagen
[EMAIL PROTECTED] 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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] INstalling a new version of context

2005-05-08 Thread bb
 The upgrading of Context or even of pdftex is sufficiently
 failure prone that I have given up trying.

I tend to agree. I follow the meager instructions I have found, as
well as some direct help from hh himself and am still not able to get
it working right. I think the problem is with hacked engine support. I
try disabling the use of engine but I still get the same problem. At
this point I am tracking down a weird error in texexec.pl in which
kpsewhich returns a null result and TEXFORMATS gets set to '0'. This
wreaks havoc and breaks everything. I suspect texlive texmf.cnf
settings trigger a bug in texexec.

Perhaps everything would work just fine with the limited linux tex
distribution from pragma. But I, like many others, prefer to use
texlive because it is fairly comprehensive and I can use my normal
latex and friends. I think it would be a very useful exercise for hh
to install a complete texlive on a stock fedora box. Then write down
_every_ step necessary to get beta cont-tmf.zip installed and working.
I would think that targeting texlive as the standard platform for
distributing context on linux/unix would make the most sense. It
should _not_ be necessary to make anything but a trivial change to
texmf.cnf.

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


[NTG-context] INstalling a new version of context

2005-05-07 Thread olibou

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

[EMAIL PROTECTED]:~/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
protectionstate 0
system  : cont-new loaded

Re: [NTG-context] INstalling a new version of context

2005-05-07 Thread John R. Culleton
On Saturday 07 May 2005 06:01 pm, [EMAIL PROTECTED] 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

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