Page MenuHomePhabricator

MetaPost scalable vector graphics support
Open, LowestPublic


Author: Markus.Kuhn

It would be wonderful to have support for scalable vector graphics via MetaPost.
We are already using TeXnology for rendering mathematical formulas, so why not
also use the TeX community's very elegant vector graphics engine? In contrast to
many other scalable-graphics format alternatives (SVG, PDF, etc.), MetaPost was
specifically designed to be easy to use when diagrams are edited with plain-text
editors. MetaPost graphics should not be uploaded as separate files, they should
be included into the main text, as it happens already with mathematical formulas.

MetaPost is well established, very widely used to prepare high-quality diagrams
in scientific publishing, and freely available as portable software. It is a
very easy to learn elegant high-level graphics description language that the
mpost interpreter converts into embedded postscript (which in turn is easy to
raster via ghostscript). MetaPost descriptions are ideally suited to be
manipulated with a plain-text editor. The language allows authors to select a
level of abstraction appropriate for the diagram at hand.


<mpost width=200px>
    fill ((0,0)--(2,0)--(2,1)--(1,1)--(1,2)--(0,2)--cycle) withcolor green;
    draw ((2,0)..(2,1)..(1,1)..(1,2)..(0,2));
    drawarrow ((0,0)--(2,2));

Version: 1.23.0
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 8:52 PM
bzimport set Reference to bz3664.
bzimport added a subscriber: Unknown Object (MLST).

Updating URL to - old URL didn't work.

Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:16 PM
Restricted Application added subscribers: Steinsplitter, Matanya, Aklapper. · View Herald TranscriptSep 4 2015, 6:16 PM
gpaumier removed a subscriber: gpaumier.Jul 18 2018, 6:06 PM
Restricted Application added a project: Commons. · View Herald TranscriptJul 18 2018, 6:06 PM
Aklapper updated the task description. (Show Details)Thu, Jan 2, 1:54 PM