ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "luigi scarso" <luigi.scarso@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: can't find file `core-swd'
Date: Tue, 11 Nov 2008 21:56:06 +0100	[thread overview]
Message-ID: <fe8d59da0811111256t5e36386did519ba8a77dced75@mail.gmail.com> (raw)
In-Reply-To: <4919DDDF.9040102@sil.org>


[-- Attachment #1.1: Type: text/plain, Size: 5286 bytes --]

On Tue, Nov 11, 2008 at 8:32 PM, Lars Huttar <lars_huttar@sil.org> wrote:

> On 11/6/2008 4:02 PM, Lars Huttar wrote:
> > On 11/6/2008 3:49 PM, Lars Huttar wrote:
> >> Hello,
> >> I've just been trying to install context on Ubuntu 8.10.
> >> Today I went to http://minimals.contextgarden.net/setup/
> >> and followed the instructions:
> >>
> >>> On unix (linux, mac, freebsd, sun, ...) run:
> >>>
> >>>     mkdir context && cd context
> >>>     rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh.
> >>>     ./first-setup.sh
> >> The first-setup script initially failed because I did not have ruby
> >> installed. So I installed ruby and then ran it again.
> >>
> >> It cranked away for awhile, then ended up with the error:
> >>      ! I can't find file `core-swd'.
> >>      <to be read again>
> >>                         \relax
> >>      l.228 \loadmkiifile{core-swd}
> >>
> >> The preceding output was:
> >
> > Let me add a little more preceding output:
> >       (/home/.../context/tex/texmf-context/tex/context/base/core-sec.mkii
> >       loading     : Context Core Macros / Sectioning
> >       ...
> >
> >>      systeem     : markering subsubsubsubonderwerpnummer gedefinieerd
> >> [subsubsubsubonderwerpnummer]
> >>      )
> >>
> >> However, when I do a search, I see that there is a file core-swd.mkii.
> >> Its path is context/tex/texmf-context/tex/context/base
> >> (I kid you not -- tex and context each show up three times in the path!)
> >>
> >> Can anybody suggest how to fix the problem?
> >
> > Just for kicks, I tried the following. The prompt said
> >       Please type another input file name:
> > so I entered "core-swd.mkii" (i.e. I added the .mkii suffix).
> > This seemed to satisfy the processor ... until the same error happened
> > again a little while later (with the same preceding output).
> > This happened about 4 times total.
> >
> > Was that a legitimate solution? Or should it really be looking for a
> > core-swd.tex file?
> >
> > Thanks,
> > Lars
> >
>
> Wolfgang Schuster wrote:
>
> > Can your try this:
> >
> > mtxrun --selfupdate
> > luatools --selfupdate
> > context --generate
> > context --make en
> >
> > Wolfgang
>
> I guess I should first delete the core-swd.tex that I got from cache?
> (Did that...)
>
> mtxrun gives "command not found"... So I added context/bin to the PATH.
>
> Then I ran mtxrun again and got
>        /usr/bin/env: texlua: No such file or directory.
>
> Later I found
> http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation which
> said to add something like "source [dir...]/context/tex/setuptex
> [dir...]/context/tex" to the system startup script.
>
> (It would be helpful to add a prominent link to
> http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation from
> the instructions at http://minimals.contextgarden.net/setup/, labeled
> "Please see more complete instructions here". There is currently a link
> between those two pages, but it is labeled "These might eventually
> become a new minimal ConTeXt distribution" which doesn't suggest that
> you need to visit the link to supplement the installation instructions
> already given.)
>
> After adding the above source line, the four commands you asked me to
> try run without obvious errors.
>
> No base/core-swd.tex file appears.
>
> Is there something specific I should look for to tell whether the above
> commands solved my problem? Should I run first-setup.sh again?
>
> Thanks,
> Lars
>
>
>
> ___________________________________________________________________________________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>


I write how I setup my "minimals-beta" on a linux box  ubuntu 8.04

1) mkdir -p /opt/luatex/minimals-beta
2) cd /opt/luatex/minimals-beta
2a) Now put here first-setup.sh (see contextgarden.net/minimals)
3)  ./first-setup.sh
4) cd tex
**IMPORTANT**
5) . setuptex
=============================
6) context --generate
7) context --make
8)Every time I start a mkiv session
as first step I do
cd /opt/luatex/minimals-beta/tex
. setuptext
to ensure correct initilization of env. variables.
9a)context --generate
9b)context --make
to unsure a clean session.
10) always use context to make pdf; ie compile yours files with
context basic-test.tex

If you open first-setup.sh and change this line near the end
mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force
--engine=all --context=beta --tree=$PWD/tex $@
in
mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force
--engine=all  --tree=$PWD/tex $@
and then
1) mkdir -p /opt/luatex/minimals
2)...
and so on
you can then end with a "minimals" installation (actually minimalsBIRTHDAY)

Actually I have
minimals-beta, minimals and  tl2008 completly unrelated
so each installations has is own fonts etc etc.
It's ok, because minimals and minimals-beta are not so huge and I want to be
sure that minimals-beta and minimals work

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 7782 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2008-11-11 20:56 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-06 21:49 Lars Huttar
2008-11-06 22:02 ` Lars Huttar
2008-11-06 22:13   ` Wolfgang Schuster
2008-11-11 19:32   ` Lars Huttar
2008-11-11 20:56     ` luigi scarso [this message]
2008-11-11 22:20     ` Lars Huttar
2008-11-11 23:03       ` luigi scarso
2008-11-06 22:25 ` Lars Huttar
2008-11-06 22:37   ` Wolfgang Schuster
2008-11-11 16:20     ` Alan STONE
2008-11-11 16:45       ` Alan STONE
2008-11-11 18:28         ` Aditya Mahajan
2008-11-11 18:41           ` Alan STONE
2008-11-11 17:01       ` Wolfgang Schuster
2008-11-11 17:35         ` Alan STONE
2008-11-11 22:37         ` Lars Huttar
2008-11-11 22:39         ` Lars Huttar
2008-11-11 23:06           ` Wolfgang Schuster
2008-11-12  0:11             ` luigi scarso
2008-11-12  7:33               ` Peter Münster
2008-11-12  8:22                 ` luigi scarso
2008-11-18 14:45             ` Lars Huttar

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=fe8d59da0811111256t5e36386did519ba8a77dced75@mail.gmail.com \
    --to=luigi.scarso@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).