#249 Support for MetaPost

Not_Assigned
open
nobody
1
2013-02-02
2008-08-08
Tino Weinkauf
No

Generally speaking, we need support for metapost in these categories: syntax highlighting, templates, error/warning recognition, autocompletion, ...

(However, our support for bibtex is more important.)

A user describes it like this:

I would like to have an vim like syntax highlighting for metapost or/and
asymptote

This ist my first feature request...

maybee also the file ending .mp could be recognized or when including
packages, an environment like the following could be recognized:

\documentclass{article}
\usepackage[pdftex]{graphicx}
\DeclareGraphicsRule{*}{mps}{*}{}
\usepackage{emp}
\begin{document}

%#######################################
% write new file: example #
%#######################################
\begin{empfile}[example]
\begin{emp}(4cm, 2cm)
dotlabel.rt("Hello World", origin);
\end{emp}
\end{empfile}

\end{empfile}

%\include{empgraph}

\end{document}

Discussion

  • Sergiu Dotenco
    Sergiu Dotenco
    2008-09-23

    MetaPost syntax highlighting and .mp file support is available in the latest revision.

     


Anonymous


Cancel   Add attachments