* ConTeXt on Ubuntu
@ 2008-01-14 19:23 Joel C. Salomon
2008-01-14 19:26 ` Hans Hagen
2008-01-14 19:33 ` Aditya Mahajan
0 siblings, 2 replies; 9+ messages in thread
From: Joel C. Salomon @ 2008-01-14 19:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
Has anyone had success running ConTeXt as packaged with Ubuntu? I
can't get texexec --lua to find the ConTeXt format files, nor can I
figure out how to generate the format files for luatex. XeTeX is
similarly flaky. I'm running Ubuntu Hardy alpha in hopes of getting
more up-to-date packages; is this a vain hope?
--Joel
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ConTeXt on Ubuntu
2008-01-14 19:23 ConTeXt on Ubuntu Joel C. Salomon
@ 2008-01-14 19:26 ` Hans Hagen
2008-01-14 19:57 ` Joel C. Salomon
2008-01-14 20:07 ` Joel C. Salomon
2008-01-14 19:33 ` Aditya Mahajan
1 sibling, 2 replies; 9+ messages in thread
From: Hans Hagen @ 2008-01-14 19:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
Joel C. Salomon wrote:
> Has anyone had success running ConTeXt as packaged with Ubuntu? I
> can't get texexec --lua to find the ConTeXt format files, nor can I
> figure out how to generate the format files for luatex. XeTeX is
> similarly flaky. I'm running Ubuntu Hardy alpha in hopes of getting
> more up-to-date packages; is this a vain hope?
luatools --generate
texexec --make --luatex
texexec --luatex yourfile.tex
-----------------------------------------------------------------
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ConTeXt on Ubuntu
2008-01-14 19:23 ConTeXt on Ubuntu Joel C. Salomon
2008-01-14 19:26 ` Hans Hagen
@ 2008-01-14 19:33 ` Aditya Mahajan
1 sibling, 0 replies; 9+ messages in thread
From: Aditya Mahajan @ 2008-01-14 19:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, 14 Jan 2008, Joel C. Salomon wrote:
> Has anyone had success running ConTeXt as packaged with Ubuntu? I
> can't get texexec --lua to find the ConTeXt format files, nor can I
> figure out how to generate the format files for luatex. XeTeX is
> similarly flaky. I'm running Ubuntu Hardy alpha in hopes of getting
> more up-to-date packages; is this a vain hope?
>
Which version of context and luatex does hardy ship with? In Gusty I had
to set
TEXMFCNF=/usr/share/texmf/web2c
LUAINPUTS=$MYTEXMF/tex/context/base/:$MYTEXMF/scripts/context/lua
where $MTEXMF is the directory where I instal the latest context. Both
mkii and mkiv work fine with this setup. I have not tried xetex.
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ConTeXt on Ubuntu
2008-01-14 19:26 ` Hans Hagen
@ 2008-01-14 19:57 ` Joel C. Salomon
2008-01-14 20:07 ` Joel C. Salomon
1 sibling, 0 replies; 9+ messages in thread
From: Joel C. Salomon @ 2008-01-14 19:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Jan 14, 2008 2:26 PM, Hans Hagen <pragma@wxs.nl> wrote:
> luatools --generate
>
> texexec --make --luatex
>
> texexec --luatex yourfile.tex
Should the first two lines be run with root privilege or separately
for each user?
--Joel
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ConTeXt on Ubuntu
2008-01-14 19:26 ` Hans Hagen
2008-01-14 19:57 ` Joel C. Salomon
@ 2008-01-14 20:07 ` Joel C. Salomon
2008-01-14 20:16 ` Arthur Reutenauer
1 sibling, 1 reply; 9+ messages in thread
From: Joel C. Salomon @ 2008-01-14 20:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Jan 14, 2008 2:26 PM, Hans Hagen <pragma@wxs.nl> wrote:
> luatools --generate
>
> texexec --make --luatex
>
> texexec --luatex yourfile.tex
Looks like I'm still doing something wrong...
chesky@maxwell:~$ sudo luatools --generate
LuaTools | skipping /texmf-local/web2c/texmf.cnf
LuaTools | skipping /texmf/web2c/texmf.cnf
LuaTools |
LuaTools | runtime: 0.04 seconds
chesky@maxwell:~$ sudo texexec --make --luatex
TeXExec | using search method 'kpsewhich'
TeXExec | updating file database
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
LuaTools | version 1.1.1 - 2006+ - PRAGMA ADE / CONTEXT
LuaTools | skipping /usr/bin/texmf-local/web2c/texmf.cnf
LuaTools | skipping /usr/bin/texmf/web2c/texmf.cnf
LuaTools |
LuaTools | runtime: 0.05 seconds
TeXExec | using tex engine luatex
TeXExec | using tex format path /etc/texmf/web2c/luatex
TeXExec | generating tex format cont-en
LuaTools | no tex file with name cont-en.tex
LuaTools |
LuaTools | runtime: 0.06 seconds
TeXExec | generating tex format cont-nl
LuaTools | no tex file with name cont-nl.tex
LuaTools |
LuaTools | runtime: 0.06 seconds
TeXExec | generating tex format mptopdf
LuaTools | no tex file with name mptopdf.tex
LuaTools |
LuaTools | runtime: 0.06 seconds
TeXExec | no lua compilations needed
TeXExec | using mp engine mpost
TeXExec | using mps format path /etc/texmf/web2c
TeXExec | generating mps format metafun
This is MetaPost, Version 0.993 (Web2C 7.5.6) (INIMP)
(/usr/share/texmf/web2c/natural.tcx)
(/usr/share/texmf/metapost/context/base/metafun.mp
(/usr/share/texmf/metapost/context/base/mp-base.mp
Preloading the plain mem file, version 0.63)
(/usr/share/texmf/metapost/context/base/mp-tool.mp)
(/usr/share/texmf/metapost/context/base/mp-spec.mp)
(/usr/share/texmf/metapost/context/base/mp-core.mp)
(/usr/share/texmf/metapost/context/base/mp-page.mp)
(/usr/share/texmf/metapost/context/base/mp-text.mp)
(/usr/share/texmf/metapost/context/base/mp-txts.mp)
(/usr/share/texmf/metapost/context/base/mp-shap.mp)
(/usr/share/texmf/metapost/context/base/mp-butt.mp)
(/usr/share/texmf/metapost/context/base/mp-char.mp)
(/usr/share/texmf/metapost/context/base/mp-step.mp)
(/usr/share/texmf/metapost/context/base/mp-grph.mp)
(/usr/share/texmf/metapost/context/base/mp-figs.mp)
(/usr/share/texmf/metapost/context/base/mp-grid.mp
(/usr/share/texmf/metapost/context/base/mp-form.mp
(/usr/share/texmf-texlive/metapost/base/string.mp)
(/usr/share/texmf-texlive/metapost/base/marith.mp
(/usr/share/texmf-texlive/metapost/base/string.mp))))
(/usr/share/texmf/metapost/context/base/mp-func.mp) )
Beginning to dump on file metafun.mem
(mem=metafun 2008.1.14)
at most 3040 strings of total length 40279
48398 memory locations dumped; current usage is 12626&35547
1763 symbolic tokens
Transcript written on metafun.log.
TeXExec |
TeXExec | tex engine path: /etc/texmf/web2c/luatex
TeXExec | mps engine path: /etc/texmf/web2c
TeXExec |
TeXExec | mps: 14/01/2008 14:59:41 > /etc/texmf/web2c/metafun.mem (482060)
TeXExec |
TeXExec | runtime: 2.967322
chesky@maxwell:~$ texexec --luatex hello.tex
TeXExec | processing document 'hello.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file hello.top
TeXExec | using randomseed 23
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
LuaTools | using format name
/home/chesky/luatex-cache/context/formats/cont-en.fmt
LuaTools | no luc/lua with name
/home/chesky/luatex-cache/context/formats/cont-en
LuaTools |
LuaTools | runtime: 0.06 seconds
TeXUtil | unable to locate hello.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | TeX run 2
TeXExec | writing option file hello.top
TeXExec | using randomseed 23
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
LuaTools | using format name
/home/chesky/luatex-cache/context/formats/cont-en.fmt
LuaTools | no luc/lua with name
/home/chesky/luatex-cache/context/formats/cont-en
LuaTools |
LuaTools | runtime: 0.05 seconds
TeXUtil | unable to locate hello.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 0.463467
chesky@maxwell:~$
Any tips?
--Joel
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ConTeXt on Ubuntu
2008-01-14 20:07 ` Joel C. Salomon
@ 2008-01-14 20:16 ` Arthur Reutenauer
2008-01-14 20:35 ` Joel C. Salomon
2008-01-14 21:10 ` Joel C. Salomon
0 siblings, 2 replies; 9+ messages in thread
From: Arthur Reutenauer @ 2008-01-14 20:16 UTC (permalink / raw)
To: Mailing list for ConTeXt users
> Looks like I'm still doing something wrong...
You probably should set TEXMFCACHE as well. It's the location of the
cache directory, so use any directory you have write permission on
($HOME/.texmf-cache sounds fine, or /var/tex/cache for system-wide
installation).
Arthur
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ConTeXt on Ubuntu
2008-01-14 20:16 ` Arthur Reutenauer
@ 2008-01-14 20:35 ` Joel C. Salomon
2008-01-14 20:51 ` Arthur Reutenauer
2008-01-14 21:10 ` Joel C. Salomon
1 sibling, 1 reply; 9+ messages in thread
From: Joel C. Salomon @ 2008-01-14 20:35 UTC (permalink / raw)
To: Mailing list for ConTeXt users
On Jan 14, 2008 3:16 PM, Arthur Reutenauer
<arthur.reutenauer@normalesup.org> wrote:
> You probably should set TEXMFCACHE as well.
Where to set it? Just as a UNIX environment variable (presumably in
my .profile or similar) or as a kpse variable (which I don't know how
to set)?
--Joel
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ConTeXt on Ubuntu
2008-01-14 20:35 ` Joel C. Salomon
@ 2008-01-14 20:51 ` Arthur Reutenauer
0 siblings, 0 replies; 9+ messages in thread
From: Arthur Reutenauer @ 2008-01-14 20:51 UTC (permalink / raw)
To: Mailing list for ConTeXt users
> Where to set it? Just as a UNIX environment variable
Yes.
> (presumably in
> my .profile or similar)
First try it on from your shell before hardcoding it in your profile;
it would be best not to set it at all, but for the moment we have no
other choice.
> as a kpse variable (which I don't know how
> to set)?
In texmf.cnf -- and actually, all kpathsea variables can be overridden
in the environment, but this is of no relevance then, because Mark IV
doesn't use kpathsea at all.
Arthur
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ConTeXt on Ubuntu
2008-01-14 20:16 ` Arthur Reutenauer
2008-01-14 20:35 ` Joel C. Salomon
@ 2008-01-14 21:10 ` Joel C. Salomon
1 sibling, 0 replies; 9+ messages in thread
From: Joel C. Salomon @ 2008-01-14 21:10 UTC (permalink / raw)
To: Mailing list for ConTeXt users
On Jan 14, 2008 3:16 PM, Arthur Reutenauer
<arthur.reutenauer@normalesup.org> wrote:
> You probably should set TEXMFCACHE as well.
chesky@maxwell:~$ mkdir .texmf-cache
chesky@maxwell:~$ export TEXMFCACHE=~/.texmf-cache
chesky@maxwell:~$ kpsewhich --expand-var '$TEXMFCACHE'
/home/chesky/.texmf-cache
Then I re-ran (without sudo) "luatools --generate", "texexec --make
--luatex", and "texexec --luatex hello.tex", and got the same results.
That wasn't it.
--Joel
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-01-14 21:10 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-14 19:23 ConTeXt on Ubuntu Joel C. Salomon
2008-01-14 19:26 ` Hans Hagen
2008-01-14 19:57 ` Joel C. Salomon
2008-01-14 20:07 ` Joel C. Salomon
2008-01-14 20:16 ` Arthur Reutenauer
2008-01-14 20:35 ` Joel C. Salomon
2008-01-14 20:51 ` Arthur Reutenauer
2008-01-14 21:10 ` Joel C. Salomon
2008-01-14 19:33 ` Aditya Mahajan
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).