From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23983 Path: news.gmane.org!not-for-mail From: VnPenguin Newsgroups: gmane.comp.tex.context Subject: ConTeXt "live" Date: Thu, 1 Dec 2005 23:19:16 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1133529643 27121 80.91.229.2 (2 Dec 2005 13:20:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2005 13:20:43 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 02 14:20:29 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EiAoO-0000NR-0g for gctc-ntg-context-518@m.gmane.org; Fri, 02 Dec 2005 14:18:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B352A127DF; Fri, 2 Dec 2005 14:18:51 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11172-01-43; Fri, 2 Dec 2005 14:18:51 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E4B5A128D9; Fri, 2 Dec 2005 14:15:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D5C3212844 for ; Fri, 2 Dec 2005 14:15:06 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10345-04-5 for ; Fri, 2 Dec 2005 14:15:04 +0100 (CET) Original-Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by ronja.ntg.nl (Postfix) with ESMTP id 9E66A128D9 for ; Thu, 1 Dec 2005 23:19:18 +0100 (CET) Original-Received: by zproxy.gmail.com with SMTP id 40so115783nzk for ; Thu, 01 Dec 2005 14:19:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DHHjfLo3M8IEUWRgBwQUPxrcGJCe5swmWBeBmVSxAl0GEPx8jMj/M++BTg0BzgKa2/4Ycc0bE7lliIZoC6yA9VtrB/6DgEz4eV5idy7AkJHrJkVnb8IFPVXlPDMY0aW3cMPGdsPcvPowNA83eGxQfS9POmE0QxUrsFdHOzfs754= Original-Received: by 10.36.221.13 with SMTP id t13mr1919079nzg; Thu, 01 Dec 2005 14:19:16 -0800 (PST) Original-Received: by 10.37.22.42 with HTTP; Thu, 1 Dec 2005 14:19:16 -0800 (PST) Original-To: mailing list for ConTeXt users Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:23983 Archived-At: 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=3Dt5] \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 d= e->e c:ec->6->2:2 it->texnansi:texnansi->7->2:2 it->ec:ec->8->2:2 pt->texnansi:t= exna 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->i= l2: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->3= 4->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 \scratc= h... \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 \scratc= h... \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