From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36984 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.comp.tex.context Subject: System commands are disabled Date: Sun, 14 Oct 2007 06:16:15 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1192339195 20251 80.91.229.12 (14 Oct 2007 05:19:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Oct 2007 05:19:55 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 14 07:19:44 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IgvtA-0000qh-Md for gctc-ntg-context-518@m.gmane.org; Sun, 14 Oct 2007 07:19:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CCD5F1FBAC; Sun, 14 Oct 2007 07:19:37 +0200 (CEST) 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 31816-05; Sun, 14 Oct 2007 07:19:20 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F7441FB9B; Sun, 14 Oct 2007 07:19:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 001D21FB9B for ; Sun, 14 Oct 2007 07:19:13 +0200 (CEST) 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 00470-01 for ; Sun, 14 Oct 2007 07:18:56 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with ESMTP id 81A981FB77 for ; Sun, 14 Oct 2007 07:18:53 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IgvsC-0003v9-JL for ntg-context@ntg.nl; Sun, 14 Oct 2007 05:18:44 +0000 Original-Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Oct 2007 05:18:44 +0000 Original-Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Oct 2007 05:18:44 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 193 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sl392.st-edmunds.cam.ac.uk Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= User-Agent: Gnus/5.110007 Emacs/23.0.50 (20071010) Fedora 7 (gnu/linux) Cancel-Lock: sha1:VgTO1w1CHmkV025F2tVb0sSrIIA= X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:36984 Archived-At: --=-=-= Hi there, I have the following code from ConTeXt wiki. I tried it in http://live.contextgarden.net/ and the output is correct. But when I tried it in the ConTeXt from TeXLive 2007, the metapost graph is not displayed in the final pdf file. Any ideas? --8<---------------cut here---------------start------------->8--- \starttext \startreusableMPgraphic{return} drawarrow (0,0)-- (1EmWidth,0)-- (1EmWidth,-.5ExHeight)-- (.5EmWidth,-.5ExHeight) ; \stopreusableMPgraphic \definesymbol[return][\reuseMPgraphic{return}] \setupcolors[state=start] \def\vcrlf{\symbol[return]\crlf\strut\kern1em\strut\ignorespaces} \setuptyping[option=commands] \starttyping test test test /vcrlf test test \stoptyping \setuptyping[option=color] \installnewpretty r \vcrlf \starttyping test \test{test} %%\ r test test \stoptyping \stoptext --8<---------------cut here---------------end--------------->8--- --=-=-= Content-Disposition: attachment; filename=4.log Content-Description: 4.log This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=cont-en 2007.9.9) 14 OCT 2007 06:06 entering extended mode %&-line parsing enabled. (/usr/local/packages/texlive/2007/texmf/web2c/natural.tcx) **4.tex emergencyend (./4.tex ConTeXt ver: 2007.01.12 15:56 MKII fmt: 2007.9.9 int: english/english language : language en is active system : cont-new loaded (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex \boislevel=\count210 (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/cont-new.mkii)) system : cont-old loaded (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/usr/local/packages/texlive/2007/texmf-dist/tex/context/user/cont-sys.rme (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/type-exa.tex) (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/type-syn.tex) (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/type-enc.tex) (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/type-siz.tex) (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/type-map.tex) (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/type-spe.tex) (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/type-akb.tex)) bodyfont : 12pt rm is loaded language : patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi :texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec- >13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec ->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded specials : tex,postscript,rokicki loaded \openout3 = `4.tui'. system : 4.top loaded (./4.top specials : loading definition file tpd (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/spec-fdf.tex \everygoto=\toks326 \PDFsymbolbox=\box157 \everyPDFxform=\toks327 (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/spec-fdf.mkii)) specials : fdf loaded \everyPDFximage=\toks328 \PDFcurrenttransparency=\count211 ) specials : fdf,tpd loaded ) \openout0 = `4-mpgraph.mp'. \openout0 = `mpgraph.mp'. systems : system commands are disabled (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/sort-def.tex) (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/sort-lan.tex) (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/pdfr-def.tex) systems : begin file 4 at line 1 color : mpcmyk color space is supported color : mpspot color space is supported color : system rgb is global activated \@MPG@@MPG@4-mpgraph=\write7 \openout7 = `4-mpgraph.mp'. \openout6 = `4-mpgraph.mpb'. \@sg@\crossreferenceobject=\count212 [MP 4-mpgraph.1] fonts : resetting map file list {/usr/local/packages/texlive/2007/texmf-dist/fonts/map/pdftex/context/original- empty.map} fonts : using map file: texnansi-public-lm {/usr/local/packages/texlive/2007/texmf-dist/fonts/map/pdftex/context/texnansi- public-lm.map} fonts : using map file: original-base {/usr/local/packages/texlive/2007/texmf-dist/fonts/map/pdftex/context/original- base.map} fonts : using map file: ec-public-lm {/usr/local/packages/texlive/2007/texmf-dist/fonts/map/pdftex/context/ec-public -lm.map} fonts : using map file: ec-base {/usr/local/packages/texlive/2007/texmf-dist/fonts/map/pdftex/context/ec-base.m ap} fonts : using map file: lm-ec {/usr/local/packages/texlive/2007/texmf-dist/fonts/map/dvips/lm/lm-ec.map} fonts : using map file: 8r-base {/usr/local/packages/texlive/2007/texmf-dist/fonts/map/pdftex/context/8r-base.m ap} fonts : using map file: t5-base {/usr/local/packages/texlive/2007/texmf-dist/fonts/map/pdftex/context/t5-base.m ap} fonts : using map file: original-ams-base {/usr/local/packages/texlive/2007/texmf-dist/fonts/map/pdftex/context/original- ams-base.map} fonts : using map file: original-ams-euler {/usr/local/packages/texlive/2007/texmf-dist/fonts/map/pdftex/context/original- ams-euler.map} fonts : using map file: original-public-lm {/usr/local/packages/texlive/2007/texmf-dist/fonts/map/pdftex/context/original- public-lm.map} (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/verb-tex.tex loading : Context Support Macros / Pretty TEX Verbatim ) [1.1] systems : end file 4 at line 29 [flush and process 4-mpgraph.mp afterwards] system : cont-err loaded (/usr/local/packages/texlive/2007/texmf-dist/tex/context/base/cont-err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ) ) Here is how much of TeX's memory you used: 1202 strings out of 57405 20564 string characters out of 529237 4604673 words of memory out of 5532822 40977 multiletter control sequences out of 10000+50000 75203 words of font info for 38 fonts, out of 1200000 for 2000 192 hyphenation exceptions out of 8191 47i,18n,51p,240b,773s stack positions out of 5000i,500n,6000p,200000b,5000s {/usr/local/packages/texlive/2007/texmf-dist/fonts/enc/dvips/lm/lm-ec.enc} Output written on 4.pdf (1 page, 32357 bytes). PDF statistics: 21 PDF objects out of 1000 (max. 8388607) 13 compressed objects within 1 object stream 0 named destinations out of 1000 (max. 131072) 7 words of extra memory for PDF output out of 10000 (max. 10000000) --=-=-= -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. Use the most powerful email client -- http://gnus.org/ --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --=-=-=--