ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "R (Chandra) Chandrasekhar" <chyavana@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Running Mk-IV using TeXLive 2010
Date: Wed, 06 Oct 2010 22:49:27 +0530	[thread overview]
Message-ID: <4CACAF9F.302@gmail.com> (raw)
In-Reply-To: <AANLkTingzVnD-XGN+e6sHePctq2kFuprtb7Xt+wi2E=O@mail.gmail.com>

On Wednesday 06 October 2010 03:33 PM, Mojca Miklavec wrote:
> On Wed, Oct 6, 2010 at 04:07, R (Chandra) Chandrasekhar wrote:
>>
>> If I wanted to fix my broken TeXLive, should I just re-install ConTeXt from
>> the TeXLive 2010 DVD or should I do a full re-install of the full scheme?
>
> You have two options:
> a) finish what you started
> b) reinstall
>
> In case of reinstall, it should be enough if you reinstall context and
> luatex, I guess that can be done with:
>      tlmgr install --reinstall context luatex

> You will have some leftovers (extra files), but that should in general
> not be a problem. (You can try to delete (= first move to some other
> place) texmf-dist/tex/context before reinstalling if tmlgr won't
> complain too much about missing files that cannot be removed.)

Before I saw your reply I did the following:

1. mv /usr/local/texlive/2010/texmf-dist/tex/context /tmp

2. Installed the ConteXt scheme from the TeXLive 2010 DVD along with the 
following further customizations, just in case they had been altered:

Extra Fonts
Recommended Fonts
TeX and Outline Fonts
Extra Formats
LuaTeX packages

3. tlmgr update --self --all

4. luatools --generate
    context --make

The context from TeXLive 2010 works fine but texexec fails with this 
message:

---
ConTeXt  ver: 2010.07.30 11:35 MKII  fmt: 2010.10.5  int: english/english

system          : cont-new loaded
(/localhost/texlive/2010/texmf-dist/tex/context/base/cont-new.tex

FatalError      : Your format does not match the base files!
--

> If something goes very bad, you can of course always reinstall
> everything, but if the above works, there's no reason to worry.

It looks like that :-(

> If you want to finish what you have just started, you need to also
> sync mtxrun and fetch texmfcnf.lua from minimals and fix it according
> to TL structure. (That's slightly more non-trivial.) I almost forgot
> about that file when I said that one should also update mtxrun.

Wanting to have both context minimals and TeXLive 2010--modified only by 
tlmgr--coexisting, I tried to install the minimals in a directory called

~/local-context

using the following commands:

rsync -av rsync://contextgarden.net/minimals/current/context/current/ \
  ~/local-context/

rsync -av --include 'mtxrun' --include 'luatools' \
   rsync://contextgarden.net/minimals/current/bin/context/linux-64/bin/ \
         ~/local-context/bin/

I then set the following environment variables:

PATH=~/local-context/bin:$PATH; export PATH
OSFONTDIR=/usr/local/share/fonts:/usr/local/texlive/2010/texmf/fonts:$HOME/.fonts; 
export OSFONTDIR

Finally, I ran

luatools --generate
context --make
context --make cont-en
mtxrun --script fonts --reload

But I got errors about some files not being resolved and context was 
broken. So, I unset the environment variables, and just to be doubly 
sure, repeated steps 1 to 4 above, to get a working context (but not 
texexec) from TeXLive 2010.

If there is a complete error-free algorithm/script in future for making 
TeXLive 2010 and the context-minmals coexist independently I will 
appreciate knowing about it.

Meanwhile, it looks like I need to reinstall TeXLive 2010 afresh.

Thanks to everyone for all the explanations and help.

Chandra
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2010-10-06 17:19 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-05 17:03 R (Chandra) Chandrasekhar
2010-10-05 17:32 ` David Rogers
2010-10-05 17:51   ` Tom Maynard
2010-10-05 17:54   ` R (Chandra) Chandrasekhar
2010-10-05 18:07     ` Florian Wobbe
2010-10-05 18:42       ` Tom Maynard
2010-10-05 19:06         ` Aditya Mahajan
2010-10-05 19:20           ` Tom Maynard
2010-10-05 19:30             ` luigi scarso
2010-10-05 20:39               ` Tom Maynard
2010-10-06  2:07           ` R (Chandra) Chandrasekhar
2010-10-06 10:03             ` Mojca Miklavec
2010-10-06 17:19               ` R (Chandra) Chandrasekhar [this message]
2010-10-06 18:09                 ` Mojca Miklavec
2010-10-06 18:46                   ` Running Mk-IV using TeXnicCenter Tom Maynard
2010-10-06 18:51                     ` Hans Hagen
2010-10-06 19:30                     ` Mojca Miklavec
2010-10-06 19:46                       ` luigi scarso
2010-10-06 18:48                   ` Running Mk-IV using TeXLive 2010 Hans Hagen
2010-10-06 19:24                   ` R (Chandra) Chandrasekhar
2010-10-05 17:45 ` Florian Wobbe
2010-10-06  2:02   ` R (Chandra) Chandrasekhar
2010-10-06  7:32     ` Florian Wobbe
2010-10-06  7:45       ` Hans Hagen
2010-10-06  7:43     ` Hans Hagen
2010-10-06 10:07     ` Mojca Miklavec
2010-10-05 19:03 ` Mojca Miklavec
2010-10-06  2:26   ` R (Chandra) Chandrasekhar
2010-10-05 19:13 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CACAF9F.302@gmail.com \
    --to=chyavana@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).