Difference between revisions of "MWE"

From ConTeXt wiki
m (get back first example...)
(\stoptext is not needed)
Line 20: Line 20:
  
 
* \starttext.\stoptext
 
* \starttext.\stoptext
 +
 +
* \starttext,
  
 
* \startTEXpage !\stopTEXpage
 
* \startTEXpage !\stopTEXpage

Revision as of 16:30, 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
  • \starttext.\stoptext
  • \starttext,
  • \startTEXpage !\stopTEXpage

MetaPost

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