On 2021-12-11, Jeong Dal via ntg-context wrote:
> Hi,
>
> Recently, I have a problem to use vscode, so I tried MacVim for ConTeXt.
> It worked fine. But it uses context in TeXLive instead of using it in
> ConTeXtLMTX.
> I’d like to use LMTX which is installed in ~/ConTeXtLM/tex/...
>
> How to
Hi Jan-Erik,
Use the \addplot command when you use pgfplots. The manual, pgfplots.pdf, is
quite good.
\setupbodyfont[10pt]
\enableregime[utf]
\usemodule[tikz]
\usemodule[pgfplots]
\usetikzlibrary[arrows]
\setuppagenumbering[location=]
\starttext
>
> How to redirect the path for ConTeXt in MacVim?
>
I put this in .vimrc:
map :w :!context %
and $PATH directs "context" to the right place:
/Users/kitz/lmtx/tex/texmf-osx-64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin
To open the .pdf:
:!open -a %r.pdf
HI!
I’m trying to fit the funktion in the right place in this plot but it seems to
get displaced.
What is wrong with the code?
Is there a way to do this in Metafun?
Thanks in advance
Sincerely
Jan-Erik
\setupbodyfont[10pt]
\enableregime[utf]
\usemodule[tikz]
\usemodule[pgfplots]