MetaPost refers to both a programming language and the interpreter of the MetaPost programming language. Both are derived from Donald Knuth's Metafont language and interpreter. MetaPost produces vector graphic diagrams from a geometric/algebraic description. The language shares Metafont's declarative syntax for manipulating lines, curves, points and geometric transformations. However,
via Wikipedia infobox
~5 min read
MetaPost refers to both a programming language and the interpreter of the MetaPost programming language. Both are derived from Donald Knuth's Metafont language and interpreter. MetaPost produces vector graphic diagrams from a geometric/algebraic description. The language shares Metafont's declarative syntax for manipulating lines, curves, points and geometric transformations. However, Metafont is set up to produce fonts, in the form of image files (in .gf format) with associated font metric files (in .tfm format), whereas MetaPost produces EPS, SVG, or PNG files The output of Metafont consists of the fonts at a fixed resolution in a raster-based format, whereas MetaPost's output is vector-based graphics (lines, Bézier curves) Metafont output is monochrome, whereas MetaPost uses RGB or CMYK colors. The MetaPost language can include text labels on the diagrams, either strings from a specified font, or anything else that can be typeset with TeX. Starting with version 1.8, Metapost allows floating-point arithmetic with 64 bits (default: 32 bit fixed-point arithmetic)
Many of the limitations of MetaPost derive from features of Metafont. For instance, MetaPost does not support all features of PostScript. Most notably, paths can have only one segment (so that regions are simply connected), and regions can be filled only with uniform colours. PostScript level 1 supports tiled patterns and PostScript 3 supports Gouraud shading.
MetaPost - TeX Users Group
tug.org →This page has a list of links related to MetaPost, a powerful tool for creating graphics in scalable PostScript. It was written by John Hobby, based on Metafont by Donald Knuth. Around 2007, it was separated into a frontend and backend library (MPlib, which was then linked into LuaTeX) by Taco Hoekwater, who also converted the source to CWEB. Precompiled binaries for many platforms are available as part of TeX Live and MiKTeX . The development repository . [email protected] (archive ) for general mpost discussion, bug reports, feature requests, etc. Discussion of MetaPost in ConTeXt also takes place on the ntg-context list (archive ). The basic manuals were all originally written by John Hobby and published as AT&T technical reports. They continue to be updated and maintained as part of the MetaPost distribution. These links are for the documentation of the last released version. A User's Manual for MetaPost . Drawing Graphs with MetaPost . Drawing Boxes with MetaPost . doc sources Taco Hoekwater has written an excellent series of articles on the MetaPost language. They were originally published in the ConTeXt Group Journal (2019–2023), and then collected in NTG's MAPS journal, issue 53 : Sparks, tags, suffixes and subscripts . Definitions . Paths, pairs, pens and transforms . Conditionals and loops . Colors and pictures . Running MetaPost , a short web page by Mari Voipio. A very brief tutorial by example , by Urs Oswald. A beginner's guide to MetaPost for creating high-quality graphics by Troy Henderson and Stephan Hennig. Drawing with Metapost , a more comprehensive document of ideas and techniques for using plain MetaPost, by Toby Thurston. Petite propagande pour MetaPost tutorial (in English), by Anthony Phan. FAQ entry for Metafont and MetaPost tutorials . Metapost, une introduction by Laurent Chéno (in French). MetaPost: Uma introdução ao estudante (MetaPost: an introduction to students), by Nicole Rodrigues Cuellar and Estevão Vinícius Candia (in Brazilian Portuguese). MetaPost previewer , an interactive form to allow online viewing of MetaPost figures, by Troy Henderson . Asymptote , a modern MetaPost replacement with C++-like syntax and floating-point numerics, by Andy Hammerlindl, John Bowman, and Tom Prince. GNU 3DLDF by Laurence Finston, an independent implementation for IPE , a drawing editor for creating figures in PDF format. It supports making small figures for inclusion into LaTeX documents as well as multi-page PDF presentations. MetaGraf by Santiago Muelas. MetaType1 , a font development system using MetaPost, by Bogusław Jackowski, Janus M. Nowacki, Piotr Strzelczyk. mf2pt1 for conversion of Metafont fonts to PostScript Type 1 using MetaPost, by Scott Pakin. MetaPost and MetaFun by Hans Hagen; MetaFun is essentially a format for MetaPost, and Hans' ConTeXt format for TeX has integrated support for MetaPost. MPtoPDF by Hans Hagen is a tool to convert MetaPost output into standalone PDF files. MPtoSVG from Troy Henderson , an online tool for converting MetaPost to SVG. Mpattern package from Piotr Bolek for filling patterns. 3D animations in MetaPost from Denis Roegel. CTAN:/graphics/metapost/contrib/
Excerpt from a page describing this subject · 16,735 chars · not written by Vinony
via Wikidata · CC0
via Wikidata sitelinks · CC0
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).