Difference between revisions of "User:Sciurus/sandbox"

From Wiki
Jump to navigation Jump to search
m (Just drafting some possible future Wiki contributions (an introduction to ConTeXt).)
m (link names again)
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
LIKE EVERYTHING IN THIS SANDBOX, THIS IS ONLY A DRAFT AND SHOULD NOT BE USED YET.
+
[[Introduction]]
  
ConTeXt has a very logical structure: there are two basic rules of syntax and three basic principles of organization.
+
[[Some Basic Commands]]
 
 
Two rules of syntax:
 
# To group some text as a single self-contained unit, enclose the text in { }.
 
# Enclose arguments to ConTeXt commands in [ ].
 
 
 
Three principles of organization (here ''method'' refers to an arbitrary text-processing method in ConTeXt):
 
# To apply ''method'' to some text, enclose the text in <code>\start''method''</code>.
 
# To cutstomize ''method'', use <code>\setup''method''</code>.
 
# To define a named customization of ''method'', use <code>\define''method''</code>.
 
 
 
To see how these rules and principles work, let's start with a minimal example of a ConTeXt document:
 
<texcode>
 
\starttext
 
\input knuth
 
\stoptext
 
</texcode>
 

Latest revision as of 22:44, 21 October 2020