On Wed, 24 Apr 2019 09:29:26 -0600
Alan Braslau <braslau.l...@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
\starttext
Lorem Ipsum…

\startMPcode
draw ( (0,0)--(1,0)--(0,1)) with color red ;
\stopMPcode

\stoptext

gives:

$ context mp.tex 
mtx-context     | run 1: luatex
--fmt="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en"
--jobname="mp"
--lua="/var/lib/texmf/luatex-cache/context/b47c3d3cee7cb6c86268d0595268c442/formats/luatex/cont-en.lui"
--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>
color
<*> 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>
color
<*> 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]

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


? 


Any hint?


Sincerely,
Gour

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


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to