Difference between revisions of "Common errors"

From Wiki
Jump to navigation Jump to search
(added section MetaPost errors)
m
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
< [[Main Page]] | [[Humour]] >
 +
 
== Common ConTeXt Errors ==
 
== Common ConTeXt Errors ==
  
Line 8: Line 10:
  
 
* \startchapter[title=Space, the final frontier]
 
* \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!
 
Creative users are invited to add some real puzzlers here!
Line 14: Line 24:
  
 
* i = i + 1 ;
 
* 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
 +
 +
[[Category:Basics]]
 +
[[Category:Programming and Databases]]

Latest revision as of 14:01, 8 June 2020

< 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