ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mpost called from context
@ 2004-04-04  9:30 Laurent Chéno
  2004-04-04 11:56 ` Henning Hraban Ramm
  0 siblings, 1 reply; 6+ messages in thread
From: Laurent Chéno @ 2004-04-04  9:30 UTC (permalink / raw)


(* please excuse my poor english *)

Abstract : after a fresh reinstall of TeTeX via Gerben Wierda's  
i-packages, I cannot obtain a Metapost figure in my pdf-output via  
ConTeXt.

Who can help me ? Thank in advance !

Best regards,

Laurent Chéno

*** The story ***
=================

1. I just reinstalled teTeX via Gerben Wierda's i-packages. I'm running  
on Macintosh, MacOS X 10.3.3.

	ConTeXt version : ver: 2003.1.31 fmt: 2004.4.4 int: english mes:  
english
	pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2C 7.5.2)

	In my private texmf-tree, is NO file named *.cnf or *.ini or *.sys

2. I wish to typeset this simple source (test.tex) :

	\startuseMPgraphic{fig-mpost}
	draw (0,0)--(2cm,2cm) ;
	label.ulft(btex $x^2+1$ etex, (1cm,1cm)) ;
	\stopuseMPgraphic

	\starttext

	This is my figure.
	\placefigure[here][fig-example]{My figure}{\useMPgraphic{fig-mpost}}

	\stoptext
	\end

3. I typed :
	texexec --verbose --pdf test.tex > texexec.log

4. The test.pdf file exhibit an empty rectangle with the word  
"undefined" instead of my figure.

5. There is the various *.log files produced :


*** mpgraph.log ***
===================

This is MetaPost, Version 0.641 (Web2C 7.5.2) (mem=metafun 2004.4.4)  4  
APR 2004 11:13
(/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
**&metafun mpgraph
(mpgraph.mp )
------------------------------------------------------------------------ 
---------------

*** tmpgraph.log ***
====================

This is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2C 7.5.2)  
(format=cont-en 2004.4.4)  4 APR 2004 11:12
entering extended mode
  %&-line parsing enabled.
  (/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
**&cont-en tmpgraph.tex
(./tmpgraph.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/ 
pdftex.cfg}

ConTeXt  ver: 2003.1.31  fmt: 2004.4.4  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname
)
system         : cont-old loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2  
7:2-it-2
  8:2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
\openout2 = `tmpgraph.tui'.

system         : tmpgraph.top loaded
(./tmpgraph.top
specials       : loading definition file dvi
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-dvi.tex
<unprotect 3> <protect 3>)
specials       : tex loaded
specials       : loading definition file ps
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-ps.tex)
specials       : tex,postscript loaded
specials       : loading definition file tr
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-tr.tex)
specials       : tex,postscript,rokicki loaded
)
\openout0 = `mpgraph.mp'.

\openout0 = `mprun.mp'.

\openout0 = `mpgraph.mp'.

\openout0 = `mprun.mp'.


pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
[1.1]
systems        : end file tmpgraph at line 4
  )
Here is how much of TeX's memory you used:
  268 strings out of 68083
  4209 string characters out of 745890
  4386777 words of memory out of 5502664
  30038 multiletter control sequences out of 10000+50000
  10284 words of font info for 34 fonts, out of 1000000 for 2000
  62 hyphenation exceptions out of 1000
  24i,4n,19p,182b,53s stack positions out of  
5000i,500n,6000p,200000b,40000s
  0 PDF objects out of 300000
  0 named destinations out of 131072
  1 words of extra memory for PDF output out of 65536

Output written on tmpgraph.dvi (1 page, 300 bytes).
------------------------------------------------------------------------ 
---------------

*** test.log ***
================
This is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2C 7.5.2)  
(format=cont-en 2004.4.4)  4 APR 2004 11:13
entering extended mode
  %&-line parsing enabled.
  (/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
**&cont-en test.tex
(./test.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.1.31  fmt: 2004.4.4  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname
)
system         : cont-old loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2  
7:2-it-2
  8:2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
\openout2 = `test.tui'.

system         : test.top loaded
(./test.top
specials       : loading definition file tpd
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-tpd.tex
specials       : loading definition file fdf
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-fdf.tex
<unprotect 3> <unprotect 4>
system (E-TEX) : [line 1815] \ifcsname
<unprotect 5> <protect 5> <protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
specials       : fdf,tpd loaded
)
\openout0 = `mpgraph.mp'.

\openout0 = `mprun.mp'.

\openout0 = `mpgraph.mp'.

\openout0 = `mprun.mp'.


pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)  
(./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)  
(./test.tuo)
(./test.tuo) (./test.tuo)
systems        : begin file test at line 6
\openout5 = `mpgraph.mp'.

Randomizer initialized to 791226288. [MP mpgraph.1]
floatblocks    : no block given
floatblocks    : 1 placed
[1.1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updmap/ 
pdftex.map
Warning: pdfetex (file  
/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updm
ap/pdftex.map): entry for `mtex' already exists, duplicates ignored

Warning: pdfetex (file  
/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updm
ap/pdftex.map): entry for `mtsy' already exists, duplicates ignored

Warning: pdfetex (file  
/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updm
ap/pdftex.map): entry for `rmtmi' already exists, duplicates ignored
}]
systems        : end file test at line 11
[flush and process mpgraph.mp afterwards] )
Here is how much of TeX's memory you used:
  760 strings out of 68083
  11512 string characters out of 745890
  4408836 words of memory out of 5524723
  30499 multiletter control sequences out of 10000+50000
  10284 words of font info for 34 fonts, out of 1000000 for 2000
  62 hyphenation exceptions out of 1000
  44i,16n,48p,196b,246s stack positions out of  
5000i,500n,6000p,200000b,40000s
  10 PDF objects out of 300000
  0 named destinations out of 131072
  1 words of extra memory for PDF output out of 65536
{/usr/local/teTeX/share/texmf.tetex/
dvips/tetex/f7b6d320.enc}</usr/local/teTeX/share/texmf.tetex/fonts/ 
type1/bluesk
y/cm/cmbx12.pfb></usr/local/teTeX/share/texmf.tetex/fonts/type1/ 
bluesky/cm/cmr1
2.pfb>
Output written on test.pdf (1 page, 11251 bytes).
------------------------------------------------------------------------ 
---------------

*** texexec.log ***
===================

  TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

           current path : /Users/cheno/Desktop/test/test2
      locating ini file : found by kpsewhich
                reading :  
/usr/local/teTeX/share/texmf.tetex/context/config/texexec.ini
                setting : 'TeXShell' to 'tetex' for 'all'
                setting : 'UsedInterfaces' to 'en nl metafun mptopdf'  
for 'all'
                setting : 'UserInterface' to 'en' for 'all'
                setting : 'TeXExecutable' to 'tex' for 'all'
                setting : 'MpExecutable' to 'mpost' for 'all'
                setting : 'MpToTeXExecutable' to 'mpto' for 'all'
                setting : 'DviToMpExecutable' to 'dvitomp' for 'all'
                setting : 'DviSpecialScript' to 'dvispec' for 'all'
                setting : 'MpFormat' to 'metafun' for 'all'
                setting : 'TeXFormatFlag' to '&' for 'all'
                setting : 'MpFormatFlag' to '&' for 'all'
                setting : 'TeXFontsPath' to  
'l:/tex/texmf;l:/tex/texmf-local;' for 'all'
                setting : 'TeXExecutable' to 'pdfetex' for 'tetex'
                setting : 'TeXVirginFlag' to '-ini' for 'tetex'
                setting : 'TeXPassString' to '-progname=context' for  
'tetex'
                setting : 'TeXBatchFlag' to '-int=batchmode' for 'tetex'
                setting : 'MpToTeXExecutable' to 'mpto' for 'tetex'
                setting : 'MpVirginFlag' to '-ini' for 'tetex'
                setting : 'MpPassString' to '-progname=mpost' for 'tetex'
                setting : 'MpBatchFlag' to '-int=batchmode' for 'tetex'

           used setting : TeXShell = tetex
           used setting : SetupPath =
           used setting : UserInterface = en
           used setting : UsedInterfaces = en nl metafun mptopdf
           used setting : TeXFontsPath = l:/tex/texmf;l:/tex/texmf-local;
           used setting : MpExecutable = mpost
           used setting : MpToTeXExecutable = mpto
           used setting : DviToMpExecutable = dvitomp
           used setting : TeXProgramPath =
           used setting : TeXFormatPath =
           used setting : ConTeXtPath =
           used setting : TeXScriptsPath =
           used setting : TeXExecutable = pdfetex
           used setting : TeXVirginFlag = -ini
           used setting : TeXBatchFlag = -int=batchmode
           used setting : MpBatchFlag = -int=batchmode
           used setting : TeXPassString = -progname=context
           used setting : TeXFormatFlag = &
           used setting : MpFormatFlag = &
           used setting : MpVirginFlag = -ini
           used setting : MpPassString = -progname=mpost
           used setting : MpFormat = metafun
           used setting : MpFormatPath =
           used setting : FmtLanguage =
           used setting : FmtBodyFont =
           used setting : FmtResponse =
           used setting : TcXPath =
           used setting : SetFile =

  applications will use : /usr/local/teTeX/texmf.cnf
       locating fmtutil :  
/usr/local/teTeX/bin/powerpc-apple-darwin-current/fmtutil

             executable : pdfetex
                 format : cont-en
              inputfile : test
                 output : pdftex
              interface : en
                options : verbose
           current mode : none
                TeX run : 1


pdfetex  -progname=context  \&cont-en test.tex

This is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2C 7.5.2)
  %&-line parsing enabled.
  (/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
entering extended mode
(./test.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.1.31  fmt: 2004.4.4  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname
)
system         : cont-old loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2  
7:2-it-2
  8:2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
system         : test.top loaded
(./test.top
specials       : loading definition file tpd
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-tpd.tex
specials       : loading definition file fdf
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-fdf.tex
<unprotect 3> <unprotect 4>
system (E-TEX) : [line 1815] \ifcsname
<unprotect 5> <protect 5> <protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
specials       : fdf,tpd loaded
)
pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
systems        : begin file test at line 6
Randomizer initialized to 778392412. [MP mpgraph.1]
floatblocks    : no block given
floatblocks    : 1 placed
[1.1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updmap/ 
pdftex.map
Warning: pdfetex (file  
/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updm
ap/pdftex.map): entry for `mtex' already exists, duplicates ignored

Warning: pdfetex (file  
/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updm
ap/pdftex.map): entry for `mtsy' already exists, duplicates ignored

Warning: pdfetex (file  
/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updm
ap/pdftex.map): entry for `rmtmi' already exists, duplicates ignored
}]
systems        : end file test at line 11
[flush and process mpgraph.mp afterwards]  
){/usr/local/teTeX/share/texmf.tetex/
dvips/tetex/f7b6d320.enc}</usr/local/teTeX/share/texmf.tetex/fonts/ 
type1/bluesk
y/cm/cmbx12.pfb></usr/local/teTeX/share/texmf.tetex/fonts/type1/ 
bluesky/cm/cmr1
2.pfb>
Output written on test.pdf (1 page, 11252 bytes).
Transcript written on test.log.

               run time : 0 seconds
    generating graphics : metaposting mpgraph.mp

  TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

        metapost to tex : mpgraph
             executable : pdfetex
                 format : cont-en
              inputfile : tmpgraph
                 output : dvips
              interface : en
                options : once nomp
           current mode : none

This is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2C 7.5.2)
  %&-line parsing enabled.
  (/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
entering extended mode
(./tmpgraph.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/ 
pdftex.cfg}

ConTeXt  ver: 2003.1.31  fmt: 2004.4.4  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname
)
system         : cont-old loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2  
7:2-it-2
  8:2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
system         : tmpgraph.top loaded
(./tmpgraph.top
specials       : loading definition file dvi
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-dvi.tex
<unprotect 3> <protect 3>)
specials       : tex loaded
specials       : loading definition file ps
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-ps.tex)
specials       : tex,postscript loaded
specials       : loading definition file tr
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-tr.tex)
specials       : tex,postscript,rokicki loaded
)
pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
[1.1]
systems        : end file tmpgraph at line 4
  )
Output written on tmpgraph.dvi (1 page, 300 bytes).
Transcript written on tmpgraph.log.

               run time : 1 seconds
        dvi to metapost : mpgraph
               metapost : mpgraph
                 format : metafun
This is MetaPost, Version 0.641 (Web2C 7.5.2)
(/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
(mpgraph.mp )
Transcript written on mpgraph.log.

         total run time : 1 seconds
   sorting and checking : running texutil

  TeXUtil 7.4 - ConTeXt / PRAGMA ADE 1992-2002

                 action : processing commands, lists and registers
                 option : sorting IJ under Y
                 option : converting high ASCII values
             input file : test.tui
            output file : test.tuo
        passed commands : 13
          remapped keys : 0
       register entries : 0 -> 0 entries 0 references
        synonym entries : 0 -> 0 entries
         embedded files : 1

  utility file analysis : another run needed
                TeX run : 2


pdfetex  -progname=context  \&cont-en test.tex

This is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2C 7.5.2)
  %&-line parsing enabled.
  (/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
entering extended mode
(./test.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2003.1.31  fmt: 2004.4.4  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname
)
system         : cont-old loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2  
7:2-it-2
  8:2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
system         : test.top loaded
(./test.top
specials       : loading definition file tpd
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-tpd.tex
specials       : loading definition file fdf
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-fdf.tex
<unprotect 3> <unprotect 4>
system (E-TEX) : [line 1815] \ifcsname
<unprotect 5> <protect 5> <protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
specials       : fdf,tpd loaded
)
pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)  
(./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)  
(./test.tuo)
(./test.tuo) (./test.tuo)
systems        : begin file test at line 6
Randomizer initialized to 778392412. [MP mpgraph.1]
floatblocks    : no block given
floatblocks    : 1 placed
[1.1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updmap/ 
pdftex.map
Warning: pdfetex (file  
/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updm
ap/pdftex.map): entry for `mtex' already exists, duplicates ignored

Warning: pdfetex (file  
/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updm
ap/pdftex.map): entry for `mtsy' already exists, duplicates ignored

Warning: pdfetex (file  
/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updm
ap/pdftex.map): entry for `rmtmi' already exists, duplicates ignored
}]
systems        : end file test at line 11
[flush and process mpgraph.mp afterwards]  
){/usr/local/teTeX/share/texmf.tetex/
dvips/tetex/f7b6d320.enc}</usr/local/teTeX/share/texmf.tetex/fonts/ 
type1/bluesk
y/cm/cmbx12.pfb></usr/local/teTeX/share/texmf.tetex/fonts/type1/ 
bluesky/cm/cmr1
2.pfb>
Output written on test.pdf (1 page, 11232 bytes).
Transcript written on test.log.

               run time : 1 seconds
    generating graphics : metaposting mpgraph.mp

  TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

        metapost to tex : mpgraph
             executable : pdfetex
                 format : cont-en
              inputfile : tmpgraph
                 output : dvips
              interface : en
                options : once nomp
           current mode : none

This is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2C 7.5.2)
  %&-line parsing enabled.
  (/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
entering extended mode
(./tmpgraph.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/ 
pdftex.cfg}

ConTeXt  ver: 2003.1.31  fmt: 2004.4.4  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname
)
system         : cont-old loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2  
7:2-it-2
  8:2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
system         : tmpgraph.top loaded
(./tmpgraph.top
specials       : loading definition file dvi
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-dvi.tex
<unprotect 3> <protect 3>)
specials       : tex loaded
specials       : loading definition file ps
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-ps.tex)
specials       : tex,postscript loaded
specials       : loading definition file tr
(/usr/local/teTeX/share/texmf.tetex/tex/context/base/spec-tr.tex)
specials       : tex,postscript,rokicki loaded
)
pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
[1.1]
systems        : end file tmpgraph at line 4
  )
Output written on tmpgraph.dvi (1 page, 300 bytes).
Transcript written on tmpgraph.log.

               run time : 1 seconds
        dvi to metapost : mpgraph
               metapost : mpgraph
                 format : metafun
This is MetaPost, Version 0.641 (Web2C 7.5.2)
(/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
(mpgraph.mp )
Transcript written on mpgraph.log.

         total run time : 1 seconds
   sorting and checking : running texutil

  TeXUtil 7.4 - ConTeXt / PRAGMA ADE 1992-2002

                 action : processing commands, lists and registers
                 option : sorting IJ under Y
                 option : converting high ASCII values
             input file : test.tui
            output file : test.tuo
        passed commands : 13
          remapped keys : 0
       register entries : 0 -> 0 entries 0 references
        synonym entries : 0 -> 0 entries
         embedded files : 1

         total run time : 7 seconds
------------------------------------------------------------------------ 
---------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mpost called from context
  2004-04-04  9:30 mpost called from context Laurent Chéno
@ 2004-04-04 11:56 ` Henning Hraban Ramm
  2004-04-04 12:23   ` Thomas A.Schmitz
  2004-04-04 14:51   ` stoooopid question? Thomas A.Schmitz
  0 siblings, 2 replies; 6+ messages in thread
From: Henning Hraban Ramm @ 2004-04-04 11:56 UTC (permalink / raw)



Am Sonntag, 04.04.04, um 11:30 Uhr (Europe/Zurich) schrieb Laurent 
Chéno:
> Abstract : after a fresh reinstall of TeTeX via Gerben Wierda's 
> i-packages, I cannot obtain a Metapost figure in my pdf-output via 
> ConTeXt.
>
> Who can help me ? Thank in advance !

You must at least enable write18 in your texmf.cnf;
that allows ConTeXt to call MetaPost "inline";
pdfTeX will tell you about in every run:

This is pdfTeX, Version 3.14159-1.00b-pretest-20020211 (Web2C 7.3.7x)
\write18 enabled.


Grüßlis vom Hraban!
-- 
http://www.fiee.net/texnique/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mpost called from context
  2004-04-04 11:56 ` Henning Hraban Ramm
@ 2004-04-04 12:23   ` Thomas A.Schmitz
  2004-04-04 14:51   ` stoooopid question? Thomas A.Schmitz
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas A.Schmitz @ 2004-04-04 12:23 UTC (permalink / raw)



On Apr 4, 2004, at 1:56 PM, Henning Hraban Ramm wrote:

>
> Am Sonntag, 04.04.04, um 11:30 Uhr (Europe/Zurich) schrieb Laurent 
> Chéno:
>> Abstract : after a fresh reinstall of TeTeX via Gerben Wierda's 
>> i-packages, I cannot obtain a Metapost figure in my pdf-output via 
>> ConTeXt.
>>
>> Who can help me ? Thank in advance !
>
> You must at least enable write18 in your texmf.cnf;
> that allows ConTeXt to call MetaPost "inline";
> pdfTeX will tell you about in every run:
>
> This is pdfTeX, Version 3.14159-1.00b-pretest-20020211 (Web2C 7.3.7x)
> \write18 enabled.
>
>
Right, and in texmf/tex/context/user/cont-sys.tex, you must uncomment 
these two lines:
  \runMPgraphicstrue
  \runMPTEXgraphicstrue

HTH

Thomas

^ permalink raw reply	[flat|nested] 6+ messages in thread

* stoooopid question?
  2004-04-04 11:56 ` Henning Hraban Ramm
  2004-04-04 12:23   ` Thomas A.Schmitz
@ 2004-04-04 14:51   ` Thomas A.Schmitz
  2004-04-04 22:06     ` Hans Hagen
  1 sibling, 1 reply; 6+ messages in thread
From: Thomas A.Schmitz @ 2004-04-04 14:51 UTC (permalink / raw)


OK, I may be making a complete fool of myself, but I couldn't find an 
answer in the manuals or the list archive or the TeX-book: what does 
the "!" construct in the context source mean? I mean lines like this

\setvalue{\??am\s!do\v!rechts}

Is this common TeX code or a special context construct?

Thanks

Thomas

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: stoooopid question?
  2004-04-04 14:51   ` stoooopid question? Thomas A.Schmitz
@ 2004-04-04 22:06     ` Hans Hagen
  2004-04-05  6:17       ` Thomas A.Schmitz
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2004-04-04 22:06 UTC (permalink / raw)


At 16:51 04/04/2004, Thomas A.Schmitz wrote:
>OK, I may be making a complete fool of myself, but I couldn't find an 
>answer in the manuals or the list archive or the TeX-book: what does the 
>"!" construct in the context source mean? I mean lines like this
>
>\setvalue{\??am\s!do\v!rechts}
>
>Is this common TeX code or a special context construct?

namespace: see mult-ini.tex for an explanation

\??am     -> variable group
\s!do     -> system reserved keyword
\v!rechts -> keyword (value) -> adapts to the interface language
\c!rechts -> keyword (key)   -> is frozen

it's part of context having a multi lingual interface

Hans

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: stoooopid question?
  2004-04-04 22:06     ` Hans Hagen
@ 2004-04-05  6:17       ` Thomas A.Schmitz
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas A.Schmitz @ 2004-04-05  6:17 UTC (permalink / raw)


Thanks, Hans, I am beginning to feel less stupid now!

Thomas
On Apr 5, 2004, at 12:06 AM, Hans Hagen wrote:

>
> namespace: see mult-ini.tex for an explanation
>
> \??am     -> variable group
> \s!do     -> system reserved keyword
> \v!rechts -> keyword (value) -> adapts to the interface language
> \c!rechts -> keyword (key)   -> is frozen
>
> it's part of context having a multi lingual interface
>
> Hans

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-04-05  6:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-04  9:30 mpost called from context Laurent Chéno
2004-04-04 11:56 ` Henning Hraban Ramm
2004-04-04 12:23   ` Thomas A.Schmitz
2004-04-04 14:51   ` stoooopid question? Thomas A.Schmitz
2004-04-04 22:06     ` Hans Hagen
2004-04-05  6:17       ` Thomas A.Schmitz

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).