ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "George N. White III" <aa056@chebucto.ns.ca>
Subject: Re: live ConTeXt
Date: Tue, 17 Feb 2004 14:23:36 -0400	[thread overview]
Message-ID: <Pine.SGI.4.58.0402171323110.385862@montigo.bio.dfo.ca> (raw)
In-Reply-To: <20040217155022.GA6608@mpdebian>

On Tue, 17 Feb 2004, Piotr Kopszak wrote:

> As there are  plenty of live linux distributions on  CDs I was wondering
> if there is  one that includes ConTeXt. It  should be relatively easy
> to make one based on KNOPPIX (my computer is too weak though). Please,
> let me know if you find one.

ConTeXt often needs little fixes, so a simple way to install updates and
generate new efmt files is needed.  Thus it isn't really practical to
rely entirely on a CD-based distro, and in any case, you need something
other than ram to write the output files.  You will do better to stick
with a robust distro like knoppix and find a way to use ConTeXt.

XP users can have texmf trees in their hard disk user data area that
knoppix can read, but writing to NTFS seems a bit dodgy.
Knoppix does, however, include everything you need to create user
accounts with specific UID/GID and mount NFS directories, so if you
can arrange a suitable NFS server, everything can live there.  All
this can be done using knoppix.sh to start the necesary services
and unpack a new home directory from a user.tbz file.  You will need
to save a configs.tbz after adding the required group and user passwd
entry (vigp, adduser, vipw, etc) and creating an fstab entry
for the nfs mount.

Here is the relevant section from a tweaked knoppix.sh:

echo "^[[1mStarting daemons...^[[0m"
for i in  ifupdown networking portmap nfs-common sysklogd ; do
    [ -x /etc/init.d/$i ] && /etc/init.d/$i start; done
[ -d "$1" ] && CONFIGS="$1/TEXUSER.tbz"
[ -f "$CONFIGS" ] || CONFIGS="/mnt/floppy/TEXUSER.tbz"
if [ -f "$CONFIGS" ]; then
echo "^[[1mExtracting config archive $CONFIGS...^[[0m"
tar -jpPxf "$CONFIGS" ; chown -R UID.GID /home/TEXUSER
fi
mkdir /mnt/NFS_SERVER && mount /mnt/NFS_SERVER

The usual config.tbz file will provide modified fstab, group, passwd, etc.
files.  The TEXUSER.tgz file can provide scripts to add TeX to the
user's PATH, etc.  Use "su TEXUSER" to become the new user.

--
George N. White III  <aa056@chebucto.ns.ca>
  Head of St. Margarets Bay, Nova Scotia, Canada

  reply	other threads:[~2004-02-17 18:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-17 15:50 Piotr Kopszak
2004-02-17 18:23 ` George N. White III [this message]
2004-02-18 13:09   ` Hans Hagen
2004-02-17 19:29 ` Willi Egger

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=Pine.SGI.4.58.0402171323110.385862@montigo.bio.dfo.ca \
    --to=aa056@chebucto.ns.ca \
    --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).