Difference between revisions of "MWE"

From ConTeXt wiki
(added Hans' correction to my MWE)
(added new category: smallest pdf file)
Line 10: Line 10:
  
 
* shortest code + fastest execution
 
* shortest code + fastest execution
 +
 +
* smallest PDF file produced
  
 
Rules: the example MUST compile and create a pdf!
 
Rules: the example MUST compile and create a pdf!

Revision as of 15:26, 5 November 2014

< 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
  • \startTEXpage !\stopTEXpage

MetaPost

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