[NTG-context] tikz is not found

Gour gour at atmarama.com
Wed Apr 24 18:57:50 CEST 2019

On Wed, 24 Apr 2019 09:29:26 -0600
Alan Braslau <braslau.list at comcast.net> wrote:

> Hans explained that third party modules are not automatically
> distributed or installed (yet) by the lmtx install.sh script. 

Ahh...I apologize for creating extra noise then. :-(

> All that you need to do is to copy the texmf-modules directory from a
> standard context distribution to the lmtx tree.

OK. Will try to do it.

> If you are intending on preparing math exams, I may suggest that
> native MetaPost IS better adapted for many reasons AND easier to use
> in ConTeXt.

I believe it is, but it seems that learning curve is steeper, while
GeoGebra is quite easy to easy...However, I downloaded MetaPost manual
and will test how it goes.

> Because your (or someone's) mail application replaced -- with
> emdashes.

That I spotted and corrected, but I'm getting another error, I suppose:

$ cat  mp.tex
Lorem Ipsum…

draw ( (0,0)--(1,0)--(0,1)) with color red ;



$ context mp.tex 
mtx-context     | run 1: luatex
--no-parse-first-line --c:currentrun=1 --c:fulljobname="./mp.tex"
--c:input="./mp.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"

This is LuaTeX, Version 1.07.0 (TeX Live 2019/dev/Debian) 
 system commands enabled.
open source     > level 1, order 1, name
'/usr/share/texmf/tex/context/base/mkiv/cont-yes.mkiv' system
> system          > ConTeXt  ver: 2018.04.04 00:51 MKIV beta  fmt:
> 2019.4.24  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name
'/usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv' close source
> level 2, order 2, name
> '/usr/share/texmf/tex/context/base/mkiv/cont-new.mkiv'
> system          > files > jobname 'mp', input './mp', result 'mp'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name '/home/gour/prj/tex/mp.tex'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
metapost        > initializing instance 'metafun' using format 'metafun'
metapost        > loading 'metafun' as
'/usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv' using method
'default' metapost        > initializing number mode 'scaled'

tex error       > mp error on line 6 in file /home/gour/prj/tex/mp.tex:

>> currentpen.with
! Improper type.
<to be read again>
<*> draw ( (0,0)--(1,0)--(0,1)) with color
red ; ;
Next time say `withpen <known pen expression>';
I'll ignore the bad `with' clause and look for another.

! Extra tokens will be flushed.
<to be read again>
<*> draw ( (0,0)--(1,0)--(0,1)) with color
red ; ;
I've just read as much of that statement as I could fathom,
so a semicolon should have been next. It's very puzzling...
but I'll try to get myself back together, by ignoring
everything up to the next `;'. Please insert a semicolon
now in front of anything that you don't want me to delete.
(See Chapter 27 of The METAFONTbook for an example.)


1     \starttext
2     Lorem Ipsum…
4     \startMPcode
5     draw ( (0,0)--(1,0)--(0,1)) with color red ;
6 >>  \stopMPcode
8     \stoptext


Any hint?


An intelligent person does not take part in the sources of misery,
which are due to contact with the material senses. O son of Kuntī,
such pleasures have a beginning and an end, and so the wise man does
not delight in them.

One must deliver himself with the help of his mind, and not
degrade himself. The mind is the friend of the conditioned soul,
and his enemy as well.

More information about the ntg-context mailing list