Op zaterdag 28 aug 2010 13:31 CEST schreef Taco Hoekwater: >> I want to try to make a logo. When executing: >> texexec ConTeXtWikiLogo >> there is generated: >> -rw-r--r-- 1 cecil users 17K aug 28 12:55 ConTeXtWikiLogo.pdf >> >> When I give: >> cp ConTeXtWikiLogo.tex BASHLogo.tex >> texexec BASHLogo >> there is generated: >> -rw-r--r-- 1 cecil users 1,3K aug 28 12:57 BASHLogo.pdf >> which is a completely wrong file. >> >> What could be happening here? > > Unless you are including an image using \jobname, I suggest posting > the logs of both the wrong and the right run.
I attached the tex file and both log files.
% logo.mp: creates a blue traffic sign-style context logo % Copyright 2008 Taco Hoekwater % You are free to use this code any way you can % Modified by Wolfgang Schuster % Modified by Xan % References: % - Original design [http://www.ntg.nl/pipermail/ntg-context/attachments/20090312/3056772b/attachment.zip ] % - Thread discussion related to that [http://www.ntg.nl/pipermail/ntg-context/2009/038851.html] % This file should be processed with ConTeXt (texexec file) \setupcolors[state=start,textcolor=white] \startMPenvironment[global] \usetypescript[postscript][ec] \setupbodyfont[postscript,ss,144pt] \stopMPenvironment \starttext \startMPpage[offset=0pt] color darkblue,textcolor; darkblue := (0.0625,0,.412); % 0f006b = textcolor := (1,1,1); def rect (expr xl,yl,r) = pickup pencircle scaled 1; draw (xl-.5r,yl-.5r) -- (xl+.5r,yl-.5r)-- (xl+.5r,yl+.5r) -- (xl-.5r,yl+.5r) -- cycle withcolor textcolor; enddef; f:= 14; h:=8; v:=4; fill fullcircle scaled 408 shifted (112,0) withcolor darkblue; label (textext("\bf C"), (0,v*f) ) withcolor textcolor ; label (textext("\bf O"), (f*h,2*v*f) ) withcolor textcolor ; label (textext("\bf N"), (2*f*h,v*f) ) withcolor textcolor ; label (textext("\bf T"), (0,-v*f) ) withcolor textcolor ; label (textext("\bf E"), (f*h,0) ) withcolor textcolor ; label (textext("\bf X"), (f*h*2,-v*f)) withcolor textcolor ; label (textext("\bf T"), (f*h,-2*v*f)) withcolor textcolor ; r := h*f; rect (0,v*f,r); rect (f*h,2*v*f,r); rect (2*f*h,v*f,r); rect (0,-v*f,r); rect (f*h,0,r); rect (f*h*2,-v*f,r); rect (f*h,-2*v*f,r); \stopMPpage \stoptext
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/openSUSE) (format=cont-en 2010.7.5) 28 AUG 2010 12:55 entering extended mode %&-line parsing enabled. (/usr/lib/texmf/web2c/natural.tcx) **ConTeXtWikiLogo.tex \emergencyend (./ConTeXtWikiLogo.tex ConTeXt ver: 2009.08.19 17:10 MKII fmt: 2010.7.5 int: english/english system : cont-new loaded (/usr/share/texmf/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/share/texmf/tex/context/base/cont-new.mkii)) system : cont-fil loaded (/usr/share/texmf/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (/usr/share/texmf/tex/context/user/cont-sys.rme (/usr/share/texmf/tex/context/base/type-tmf.tex (/usr/share/texmf/tex/context/base/type-tmf.mkii)) (/usr/share/texmf/tex/context/base/type-siz.tex (/usr/share/texmf/tex/context/base/type-siz.mkii)) (/usr/share/texmf/tex/context/base/type-one.tex (/usr/share/texmf/tex/context/base/type-one.mkii))) system : ConTeXtWikiLogo.top loaded (./ConTeXtWikiLogo.top) bodyfont : 12pt rm is loaded language : patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2 us-> ec:ec->3->2:3 de->texnansi:texnansi->4->3:3 de->ec:ec->5->3:3 da->ec:ec->6->2:2 sv->ec:ec->7->2:2 gb->ec:ec->8->2:2 fr->texnansi:texnansi->9->2:2 fr->ec:ec->1 0->2:2 es->ec:ec->11->2:2 ca->ec:ec->12->2:2 it->texnansi:texnansi->13->2:2 it- >ec:ec->14->2:2 la->ec:ec->15->2:2 pt->texnansi:texnansi->16->2:2 pt->ec:ec->17 ->2:2 ro->ec:ec->18->2:2 pl->pl0:pl0->19->2:2 pl->ec:ec->20->2:2 pl->qx:qx->21- >2:2 cs->il2:il2->22->2:2 cs->ec:ec->23->2:2 sk->il2:il2->24->2:2 sk->ec:ec->25 ->2:2 hr->ec:ec->26->2:2 sl->ec:ec->27->2:2 tr->ec:ec->28->2:2 agr->agr:agr->30 ->2:2 fi->ec:ec->31->2:2 hu->ec:ec->32->2:2 ru->t2a:t2a->34->2:2 uk->t2a:t2a->3 5->3:3 loaded specials : dvips loaded \openout3 = `ConTeXtWikiLogo.tui'. \openout0 = `ConTeXtWikiLogo-mpgraph.mp'. \openout0 = `mpgraph.mp'. systems : system commands are disabled language : language en is active specials : loading definition file tpd (/usr/share/texmf/tex/context/base/spec-tpd.mkii specials : loading definition file fdf (/usr/share/texmf/tex/context/base/spec-fdf.mkii)) color : mpcmyk color space is supported color : mpspot color space is supported color : system rgb is global activated (./ConTeXtWikiLogo.tuo) (./ConTeXtWikiLogo.tuo) (./ConTeXtWikiLogo.tuo) (./ConTeXtWikiLogo.tuo) (./ConTeXtWikiLogo.tuo) (./ConTeXtWikiLogo.tuo) (./ConTeXtWikiLogo.tuo) (./ConTeXtWikiLogo.tuo) (./ConTeXtWikiLogo.tuo) (./ConTeXtWikiLogo.tuo) (./ConTeXtWikiLogo.tuo) (./ConTeXtWikiLogo.tuo) systems : begin file ConTeXtWikiLogo at line 18 \openout7 = `ConTeXtWikiLogo-mpgraph.mp'. \openout6 = `ConTeXtWikiLogo-mpgraph.mpb'. runsystem(texmfstart texexec --batch --output=dvips --mpformat=metafun --mptex --nomp --once ConTeXtWikiLogo-mpgraph)...disabled. [MP to PDF] (./ConTeXtWikiLogo-mpgraph.1 (./ConTeXtWikiLogo.tuo) fonts : resetting map file list {/usr/share/texmf/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {/usr/share/texmf/fonts/map/pdftex/context/original-base.map} fonts : using map file: original-ams-base {/usr/share/texmf/fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-public-lm {/usr/share/texmf/fonts/map/pdftex/context/original-public-lm.map} fonts : using map file: lm-ec {/usr/share/texmf/fonts/map/dvips/lm/lm-ec.map} fonts : using map file: lm-math {/usr/share/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map} fonts : using map file: original-ams-euler {/usr/share/texmf/fonts/map/pdftex/context/original-ams-euler.map} fonts : using map file: qtm-ec {/usr/share/texmf/fonts/map/dvips/tex-gyre/qtm-ec.map} fonts : using map file: qhv-ec {/usr/share/texmf/fonts/map/dvips/tex-gyre/qhv-ec.map} fonts : using map file: qcr-ec {/usr/share/texmf/fonts/map/dvips/tex-gyre/qcr-ec.map} fonts : using map file: original-youngryu-tx {/usr/share/texmf/fonts/map/pdftex/context/original-youngryu-tx.map}) (/usr/share/texmf/tex/context/base/sort-def.mkii) (/usr/share/texmf/tex/context/base/sort-lan.mkii) [1.1] systems : end file ConTeXtWikiLogo at line 55 system : cont-err loaded (/usr/share/texmf/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: 2649 strings out of 457152 48998 string characters out of 2542702 4759818 words of memory out of 7690716 42414 multiletter control sequences out of 15000+200000 186188 words of font info for 101 fonts, out of 3000000 for 9000 396 hyphenation exceptions out of 8191 54i,17n,81p,299b,850s stack positions out of 5000i,500n,10000p,200000b,50000s {/usr/share/texmf/fonts/enc/dvips/tex-gyre/q-ec.enc}</usr/share/texmf/fonts/ type1/public/tex-gyre/qhvb.pfb> pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet! Output written on ConTeXtWikiLogo.pdf (1 page, 16408 bytes). PDF statistics: 13 PDF objects out of 1000 (max. 8388607) 8 compressed objects within 1 object stream 0 named destinations out of 1000 (max. 500000) 1 words of extra memory for PDF output out of 10000 (max. 10000000)
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/openSUSE) (format=cont-en 2010.7.5) 28 AUG 2010 12:57 entering extended mode %&-line parsing enabled. (/usr/lib/texmf/web2c/natural.tcx) **BASHLogo.tex \emergencyend (./BASHLogo.tex ConTeXt ver: 2009.08.19 17:10 MKII fmt: 2010.7.5 int: english/english system : cont-new loaded (/usr/share/texmf/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/share/texmf/tex/context/base/cont-new.mkii)) system : cont-fil loaded (/usr/share/texmf/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (/usr/share/texmf/tex/context/user/cont-sys.rme (/usr/share/texmf/tex/context/base/type-tmf.tex (/usr/share/texmf/tex/context/base/type-tmf.mkii)) (/usr/share/texmf/tex/context/base/type-siz.tex (/usr/share/texmf/tex/context/base/type-siz.mkii)) (/usr/share/texmf/tex/context/base/type-one.tex (/usr/share/texmf/tex/context/base/type-one.mkii))) system : BASHLogo.top loaded (./BASHLogo.top) bodyfont : 12pt rm is loaded language : patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2 us-> ec:ec->3->2:3 de->texnansi:texnansi->4->3:3 de->ec:ec->5->3:3 da->ec:ec->6->2:2 sv->ec:ec->7->2:2 gb->ec:ec->8->2:2 fr->texnansi:texnansi->9->2:2 fr->ec:ec->1 0->2:2 es->ec:ec->11->2:2 ca->ec:ec->12->2:2 it->texnansi:texnansi->13->2:2 it- >ec:ec->14->2:2 la->ec:ec->15->2:2 pt->texnansi:texnansi->16->2:2 pt->ec:ec->17 ->2:2 ro->ec:ec->18->2:2 pl->pl0:pl0->19->2:2 pl->ec:ec->20->2:2 pl->qx:qx->21- >2:2 cs->il2:il2->22->2:2 cs->ec:ec->23->2:2 sk->il2:il2->24->2:2 sk->ec:ec->25 ->2:2 hr->ec:ec->26->2:2 sl->ec:ec->27->2:2 tr->ec:ec->28->2:2 agr->agr:agr->30 ->2:2 fi->ec:ec->31->2:2 hu->ec:ec->32->2:2 ru->t2a:t2a->34->2:2 uk->t2a:t2a->3 5->3:3 loaded specials : dvips loaded \openout3 = `BASHLogo.tui'. \openout0 = `BASHLogo-mpgraph.mp'. \openout0 = `mpgraph.mp'. systems : system commands are disabled language : language en is active specials : loading definition file tpd (/usr/share/texmf/tex/context/base/spec-tpd.mkii specials : loading definition file fdf (/usr/share/texmf/tex/context/base/spec-fdf.mkii)) color : mpcmyk color space is supported color : mpspot color space is supported color : system rgb is global activated (./BASHLogo.tuo) (./BASHLogo.tuo) (./BASHLogo.tuo) (./BASHLogo.tuo) (./BASHLogo.tuo) (./BASHLogo.tuo) (./BASHLogo.tuo) (./BASHLogo.tuo) (./BASHLogo.tuo) (./BASHLogo.tuo) (./BASHLogo.tuo) (./BASHLogo.tuo) systems : begin file BASHLogo at line 18 \openout7 = `BASHLogo-mpgraph.mp'. \openout6 = `BASHLogo-mpgraph.mpb'. runsystem(texmfstart texexec --batch --output=dvips --mpformat=metafun --mptex --nomp --once BASHLogo-mpgraph)...disabled. [MP BASHLogo-mpgraph.1] fonts : resetting map file list {/usr/share/texmf/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {/usr/share/texmf/fonts/map/pdftex/context/original-base.map} fonts : using map file: original-ams-base {/usr/share/texmf/fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-public-lm {/usr/share/texmf/fonts/map/pdftex/context/original-public-lm.map} fonts : using map file: lm-ec {/usr/share/texmf/fonts/map/dvips/lm/lm-ec.map} fonts : using map file: lm-math {/usr/share/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map} fonts : using map file: original-ams-euler {/usr/share/texmf/fonts/map/pdftex/context/original-ams-euler.map} fonts : using map file: qtm-ec {/usr/share/texmf/fonts/map/dvips/tex-gyre/qtm-ec.map} fonts : using map file: qhv-ec {/usr/share/texmf/fonts/map/dvips/tex-gyre/qhv-ec.map} fonts : using map file: qcr-ec {/usr/share/texmf/fonts/map/dvips/tex-gyre/qcr-ec.map} fonts : using map file: original-youngryu-tx {/usr/share/texmf/fonts/map/pdftex/context/original-youngryu-tx.map} (/usr/share/texmf/tex/context/base/sort-def.mkii) (/usr/share/texmf/tex/context/base/sort-lan.mkii) [1.1] systems : end file BASHLogo at line 55 system : cont-err loaded (/usr/share/texmf/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: 2576 strings out of 457152 48254 string characters out of 2542702 4759803 words of memory out of 7690701 42346 multiletter control sequences out of 15000+200000 183263 words of font info for 100 fonts, out of 3000000 for 9000 396 hyphenation exceptions out of 8191 54i,17n,81p,292b,718s stack positions out of 5000i,500n,10000p,200000b,50000s Output written on BASHLogo.pdf (1 page, 1255 bytes). PDF statistics: 8 PDF objects out of 1000 (max. 8388607) 4 compressed objects within 1 object stream 0 named destinations out of 1000 (max. 500000) 1 words of extra memory for PDF output out of 10000 (max. 10000000)
-- Cecil Westerhof M cldwester...@gmail.com O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/
___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________