Last modified: 2014-02-24 18:43:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T5664, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3664 - MetaPost scalable vector graphics support
MetaPost scalable vector graphics support
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.23.0
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
https://en.wikipedia.org/wiki/MetaPost
:
Depends on:
Blocks: 54213
  Show dependency treegraph
 
Reported: 2005-10-09 17:03 UTC by Markus Kuhn
Modified: 2014-02-24 18:43 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Markus Kuhn 2005-10-09 17:03:18 UTC
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.

Example:

<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));
</mpost>
Comment 1 Andre Klapper 2014-02-24 18:43:12 UTC
Updating URL to https://en.wikipedia.org/wiki/MetaPost - old URL didn't work.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links