MWE

From ConTeXt wiki

< Main Page | Humour >

Minimum WORKING Examples

Here we launch a contest for the creation of the most minimal working examples. There shall be different categories:

  • shortest code
  • fastest execution
  • shortest code + fastest execution
  • smallest PDF file produced

Rules: the example MUST compile and create a pdf!

ConTeXt

  • \starttext a\stoptext
  • \starttext.\stoptext
  • \starttext,
  • \startTEXpage !\stopTEXpage
  • . (A file with a dot only compiles with command context from latest standalone and produces a pdf file.)

MetaPost

  • \startMPpage draworigin;\stopMPpage
  • \startMPpage draworigin\stopMPpage
  • \startMPpage draw(0,0)\stopMPpage