From: VnPenguin <vnpenguin@gmail.com>
Subject: ConTeXt "live"
Date: Thu, 1 Dec 2005 23:19:16 +0100 [thread overview]
Message-ID: <e5d3f2650512011419q3e436961xfb8f8c3d1e69850b@mail.gmail.com> (raw)
Hi,
I'm trying to build a page "ConTeXt live" on a Apache web server with PHP.
Here is the simple test
-------------------------------------------------------------------------
\enableregime[utf]
\setupencoding[default=t5]
\usetypescript[berry][t5]
\usetypescript[palatino][t5]
\setupbodyfont[palatino,12pt]
\starttext
Hello, world!
\stoptext
---------------------------------------------------------------------------
This src file was saved into /tmp folder in which Apache user has full
writing permission.
I use PHP command:
system("cd /tmp; texexec --pdf --silent test.tex");
Here is the log:
----------------------------------------------------------------------------------------------------------------------------
TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
fixing engine variable : pdfetex
executable : pdfetex
format : cont-en
inputfile : toto2
output : pdftex
interface : en
current mode : none
TeX run : 1
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
\write18 enabled.
(/usr/local/tetex/share/texmf-local/web2c/natural.tcx)
entering extended mode
(./toto2.tex
ConTeXt ver: 2005.11.30 fmt: 2005.12.2 int: english mes: english
language : language en is active
system : cont-new loaded
(/usr/local/tetex/share/texmf-local/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
color : palette rollover is available
)
system : cont-old loaded
(/usr/local/tetex/share/texmf-local/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(/usr/local/tetex/share/texmf-local/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system : cont-sys.rme loaded
(/usr/local/tetex/share/texmf-local/tex/context/user/cont-sys.rme
(/usr/local/tetex/share/texmf-local/tex/context/base/type-exa.tex)
(/usr/local/tetex/share/texmf-local/tex/context/base/type-syn.tex)
(/usr/local/tetex/share/texmf-local/tex/context/base/type-enc.tex)
(/usr/local/tetex/share/texmf-local/tex/context/base/type-dis.tex)
(/usr/local/tetex/share/texmf-local/tex/context/base/type-siz.tex)
(/usr/local/tetex/share/texmf-local/tex/context/base/type-map.tex)
(/usr/local/tetex/share/texmf-local/tex/context/base/type-spe.tex)
(/usr/local/tetex/share/texmf-local/tex/context/base/type-akb.tex))
bodyfont : 12pt rm is loaded
language : patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2 fr->
texnansi:texnansi->3->2:2 fr->ec:ec->4->2:2 de->texnansi:texnansi->5->2:2 de->e
c:ec->6->2:2 it->texnansi:texnansi->7->2:2 it->ec:ec->8->2:2 pt->texnansi:texna
nsi->9->2:2 pt->ec:ec->10->2:2 hr->ec:ec->11->2:2 pl->pl0:pl0->12->2:2 pl->ec:e
c->13->2:2 pl->qx:qx->14->2:2 cz->il2:il2->15->2:2 cz->ec:ec->16->2:2 sk->il2:i
l2->17->2:2 sk->ec:ec->18->2:2 sl->il2:il2->19->2:2 sl->ec:ec->20->2:2 en->ec:e
c->22->2:2 da->ec:ec->23->2:2 sv->ec:ec->24->2:2 af->ec:ec->25->2:2 no->ec:ec->
26->2:2 deo->ec:ec->27->2:2 uk->ec:ec->28->2:2 us->ec:ec->29->2:2 es->ec:ec->30
->2:2 ca->ec:ec->31->2:2 la->ec:ec->32->2:2 ro->ec:ec->33->2:2 tr->ec:ec->34->2
:2 fi->ec:ec->36->2:2 hu->ec:ec->37->2:2 loaded
specials : tex,postscript,rokicki loaded
system : toto2.top loaded
(./toto2.top
specials : loading definition file tpd
(/usr/local/tetex/share/texmf-local/tex/context/base/spec-tpd.tex
specials : loading definition file fdf
(/usr/local/tetex/share/texmf-local/tex/context/base/spec-fdf.tex)
specials : fdf loaded
)
specials : fdf,tpd loaded
)
! I can't write on file `mpgraph.mp'.
\initializeMPgraphicfile ...te \MPgraphicfile .mp
\immediate \write \scratch...
\initializeMPgraphics ...\initializeMPgraphicfile
\fi \egroup
...e \checknotes \initializeMPgraphics
\checkpreprocessor
l.1
\enableregime[utf]
Please type another output file name:
! Emergency stop.
\initializeMPgraphicfile ...te \MPgraphicfile .mp
\immediate \write \scratch...
\initializeMPgraphics ...\initializeMPgraphicfile
\fi \egroup
...e \checknotes \initializeMPgraphics
\checkpreprocessor
l.1
\enableregime[utf]
No pages of output.
Transcript written on toto2.log.
return code : 256
run time : 1 seconds
total run time : 2 seconds
--------------------------- end of log
-----------------------------------------------------------------------------------
In /tmp, I see files test.log, test.tmp, test.tui test-mpgraph.mp. I
don't know where ConTeXt is trying to write the file "mpgraph.mp" ?
Web server is running under apache/apache. I have no root's access in
this server.
I would like to hear from author of http://live.contextgarden.net specially.
Thank you in advance,
Regards,
--
http://vnoss.org
Vietnamese Open Source Software Community
next reply other threads:[~2005-12-01 22:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-01 22:19 VnPenguin [this message]
2005-12-02 14:05 ` Hans Hagen
2005-12-02 14:25 ` VnPenguin
2005-12-02 15:17 ` Hans Hagen
2005-12-02 14:21 ` Patrick Gundlach
2005-12-02 14:30 ` VnPenguin
2005-12-02 15:17 ` Patrick Gundlach
2005-12-02 18:32 ` VnPenguin
2005-12-02 21:30 ` Patrick Gundlach
2005-12-03 11:56 ` Taco Hoekwater
2005-12-03 23:10 ` Christopher Creutzig
2005-12-04 0:13 ` Patrick Gundlach
2005-12-02 15:32 ` 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=e5d3f2650512011419q3e436961xfb8f8c3d1e69850b@mail.gmail.com \
--to=vnpenguin@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).