Open main menu

Changes

3,531 bytes removed ,  22:44, 21 October 2020
m
link names again
LIKE EVERYTHING IN THIS SANDBOX, THIS IS ONLY A DRAFT AND SHOULD NOT BE USED YET.[[Introduction]]
 = ''start-stop'', ''setup'', and ''define'' =There are three main types of commands in ConTeXt: # '''start-stop''': To apply ''something'' to some text, enclose the text in {{code|\start''something''}} {{code|\stop''something''}}.# '''setup''': To configure ''something'' for the rest of the document, use {{code|\setup''something''}}.# '''define''': To create a named customization of ''something'', use {{code|\define''something''}}. Many commands don’t fit into one of these types, but here are some that do. Throughout this list {{code|start''something''}} is shorthand for {{code|start''something''}} {{code|stop''something''}}. == Structure ==These commands relate to the structure of a document. * {{cmd|starttext}}: In a typical document, the text to be typeset is enclosed by this. {{cmd|definetext}} and {{cmd|setuptext}} are defined but have little documentation and don’t appear to be used much.* {{cmd|startdocument}} and {{cmd|setupdocument}}: If customization is wanted, the text to be typeset can be enclosed by {{cmd|startdocument}} instead of {{cmd|starttext}}. The command {{cmd|startdocument}} allows for document metadata and can be configured with {{cmd|setupdocument}}.* {{cmd|definehead} and {{cmd|setuphead}}: The generic name for a section of a document in ''head'', so these commands allow you to define and customize your own sections. The main built-in sections are: part, chapter, section, subsection, subsubsection, and their numberless counterparts. See the [[TitlesSome Basic Commands]] page for further details.* {{cmd|defineheader}} and {{cmd|setupheader}}* {{cmd|definemakeup}} and {{cmd|setupmakeup}}* {{cmd|setupheadertexts}}* {{cmd|setupfootertexts}}* {{cmd|definesectionblock}} and {{cmd|setupsectionblock}}* {{cmd|definestartstop}} and {{cmd|setupstartstop}}* {{cmd|setupblock}} and {{cmd|setupblock}}* {{cmd|definelist}} and {{cmd|setuplist}}* {{cmd|definelistalternative}} and {{cmd|setuplistalternative}}* {{cmd|definedescription}} and {{cmd|setupdescription}}* {{cmd|definecombinedlist}} and {{cmd|setupcombinedlist}}* {{cmd|definepagebreak}} == Text formatting and decoration ==These commands relate to how text is displayed, without repositioning the text (much). * {{cmd|definehighlight}} and {{cmd|setuphighlight}}* {{cmd|defineframed}}, {{cmd|setupframed}}, and {{cmd|startframed}}* {{cmd|defineframedtext}} and {{cmd|setupframedtext}}* {{cmd|definemathframed}} and {{cmd|setupmathframed}}* {{cmd|defineblank}} and {{cmd|setupblank}}* {{cmd|definehspace}} and {{cmd|setuphspace}}* {{cmd|setupwhitespace}}* {{cmd|setupinterlinespace}}* {{cmd|definelines}} and {{cmd|setuplines}}* {{cmd|definetyping}} and {{cmd|setuptyping}}* {{cmd|definetype}} and {{cmd|setuptype}} == Layout and Design ==These commands relate to how text is laid out on the page, and possibly involve moving or positioning the text. * {{cmd|definepapersize}} and {{cmd|setuppapersize}}* {{cmd|definelayout}} and {{cmd|setuplayout}}* {{cmd|setuppagenumbering}}* {{cmd|definelayer}} and {{cmd|setuplayer}}* {{cmd|definecolor}} and {{cmd|setupcolors}}* {{cmd|definecolorgroup}}* {{cmd|definepalet}} and {{cmd|setuppalet}}* {{cmd|defineoverlay}}* {{cmd|definecombination}} and {{cmd|setupcombination}}  == Utilities ==These commands have various functions that don’t relate directly to text formatting and design. * {{cmd|defineconversion}} and {{cmd|convertnumber}}* {{cmd|setupscale}} and {{cmd|scale}}* {{cmd|definemode}}
53

edits