ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gour <ggdasa@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: luatex on x86_64
Date: Mon, 24 Dec 2007 17:22:18 +0100	[thread overview]
Message-ID: <20071224172218.5a827a8d@gaura-nitai.dyndns.org> (raw)


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

Hi!

I'm sold to luatex and plan to use it exclusively for all ConTeXt
typesetting in order to help somewhat with testing it.

However, I've some old lyx/latex stuff which needs to be migrated, so
I'd prefer to keep my texlive installation for such stuff and having
minimal ConTeXt installation to be able to typeset with luatex.

There is pretty new PKGBUILd script for Arch Linux and I modified it a
bit (see http://tinyurl.com/3yk6vw) in order to built luatex on x86_64.

However, I see that build.sh.linux (for i386) and build.sh script
differs, and the PKGBUILD created just /opt/texlive/bin/luatex
executable.

Not having access to i686 (i386) machine, I wonder what else is
required to have working luatex installation?

The content of /opt/texlive/bin/luatools script is:
#!/bin/sh
texmfstart luatools.lua "$@"

Running "Hello world" example gives:

gour@gaura-nitai ~/tmp> texexec --lua test.tex
TeXExec | processing document 'test.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file test.top
TeXExec | using randomseed 1079
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
the file 'luatools' is not found
TeXExec | runtime: 0.308419

Here is the build() function from PKGBUILD:

build() {
  cd $startdir/src/$pkgname-$pkgver
  if [ "${CARCH}" = "i686" ]; then
    cp $startdir/src/$pkgname-$pkgver/build.sh.linux
$startdir/src/$pkgname-$pkgver/build.sh fi
  ./build.sh --datadir=/opt/texlive || return 1 
    # Overwrite old files
#  make $PREFIX=$startdir/pkg/$pkgname-$pkgver install || return 1  
  install -d $startdir/pkg/opt/texlive/bin
  if [ "${CARCH}" = "i686" ]; then
    install -m 755 linux/texk/web2c/luatex $startdir/pkg/opt/texlive/bin
  else
    install -m 755 build/texk/web2c/luatex $startdir/pkg/opt/texlive/bin
  fi
}

Here are outputs from texexec & luatex:

gour@gaura-nitai ~/tmp> texexec --lua test.tex
TeXExec | processing document 'test.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file test.top
TeXExec | using randomseed 152
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
the file 'luatools' is not found
TeXExec | runtime: 0.257507
gour@gaura-nitai ~/tmp> luatex test.tex
This is LuaTeX, Version snapshot-0.20.2-2007122417 (Web2C 7.5.6)
I can't find the format file `luatex.fmt'!


So,  something is missing...any pointer for up-to-date doc (url) for
installing/updating of minimal ConTeXt/luatex on x86_64 ?

Sincerely,
Gour

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 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:[~2007-12-24 16:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-24 16:22 Gour [this message]
2007-12-24 20:54 ` Taco Hoekwater
2007-12-25 14:41   ` Gour

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=20071224172218.5a827a8d@gaura-nitai.dyndns.org \
    --to=ggdasa@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).