Difference between revisions of "Common errors"

From Wiki
Jump to navigation Jump to search
m (added another favorite!)
m (a few suggestions from Hans (and my own along the same lines))
Line 24: Line 24:
  
 
* z := (a, b) ;
 
* z := (a, b) ;
 +
 +
* if foo then ... end
 +
 +
* if x > 10 and y < 20 :
 +
 +
* string s ; s := "here" .. "there"
  
 
* local p
 
* local p

Revision as of 10:09, 29 October 2014

< Main Page | Humour >

Common ConTeXt Errors

Here, we collect a list of your favorite, common ConTeXt coding errors. Look carefully to see what is wrong...

  • \startext
  • \stopMPage
  • \startchapter[title=Space, the final frontier]
  • \somecommand[parameter,key=value]
  • \śtart (try to guess how this comes about...)
  • context text (after editing test.tex)

Creative users are invited to add some real puzzlers here!

Common MetaPost Errors

  • i = i + 1 ;
  • z := (a, b) ;
  • if foo then ... end
  • if x > 10 and y < 20 :
  • string s ; s := "here" .. "there"
  • local p

Common Lua Errors

  • save p