Difference between revisions of "Common errors"

From ConTeXt wiki
Jump to navigationJump to search
m (a few suggestions from Hans (and my own along the same lines))
m (added textdefinition)
 
Line 12: Line 12:
  
 
* \somecommand[parameter,key=value]
 
* \somecommand[parameter,key=value]
 +
 +
* \starttexdefinition ... \stoptextdefinition
  
 
* \śtart (try to guess how this comes about...)
 
* \śtart (try to guess how this comes about...)

Latest revision as of 12:28, 3 November 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]
  • \starttexdefinition ... \stoptextdefinition
  • \ś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