On Wed, 24 Apr 2019 12:49:08 -0400 (EDT)
Aditya Mahajan
You need to change \begin{tikzpicture} ... \end{tikpicture} to \starttikzpicture ... \stoptikzpicture and any other \begin{...} ... \end{...} pairs that occur in tikz (like \begin{axis}, \begin{scope}, etc) to \start... \stop... pairs. There are a few other quirks which have simple workarounds. I am not sure if they are documented anywhere.
OK.
If you are more comfortable using a visual tool like GeoGebra than writing the tikz/metapost code by hand, then I'd say that simply process the generate latex code through latex to generate standalone pdfs and include them in your context document using \externalfigure[...].
:-)
So, simply including the generated figures using \externalfigure[...] will allow you to get productive right away. If and when you start noticing the limitations of this approach, then you can learn metapost/tikz :-)
Heh...I also got some offline replies and it looks that using metapost is a way to go. Sincerely, Gour -- Perform your prescribed duty, for doing so is better than not working. One cannot even maintain one's physical body without work.