Difference between revisions of "MWE"

From Wiki
Jump to navigation Jump to search
(\stoptext is not needed)
Line 24: Line 24:
  
 
* \startTEXpage !\stopTEXpage
 
* \startTEXpage !\stopTEXpage
 +
 +
* . (A file with a dot only compiles with command context from latest standalone and produces a pdf file.)
  
 
== MetaPost ==
 
== MetaPost ==

Revision as of 06:54, 6 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
  • . (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