Difference between revisions of "Common errors"

From Wiki
Jump to navigation Jump to search
m (added Lua errors section)
m (added textdefinition)
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
  
 
* \somecommand[parameter,key=value]
 
* \somecommand[parameter,key=value]
 +
 +
* \starttexdefinition ... \stoptextdefinition
 +
 +
* \śtart (try to guess how this comes about...)
  
 
* context text (after editing test.tex)
 
* context text (after editing test.tex)
Line 22: Line 26:
  
 
* 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 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