Changes

Jump to navigation Jump to search
1,357 bytes added ,  10:28, 31 July 2006
m
still far from finished
'''WARNING: this page has to be finished first, than reviewed! Don't rely on actual information.'''
<!-- == Commands Command ==
As in TeX all commands start with Command consists of:<!-- table -->{||-| <code>\</code> || leading backslash: |-| <code>name</code> || command name|-| <code>{ }</code> || scope or range of the command (if applicable)|-| <code>[[cmd:showsetups]</code> || setups (if applicable)|-| <code>$$ $$</code> || math input (if applicable)|-|} <pre>\showsetups]placeformula[...]{...}$$...$$</pre>  == Find definition ==
Some commands There are pairedseveral places where you can search for command definitions: [[cmd:starttext|\starttext]] ... [[cmd:stopttext|\stoptext]] -->
== Arguments ==* [http://www.pragma-ade.com/general/qrcs/setup-en.pdf| setup-en.pdf] (and appropriate language variants) most up-to-date ConTeXt command reference (is this generated from [[source:cont-en.xml| cont-en.xml]]?)* [[manual:cont-eni.pdf|ConTeXt manual]]* [http://texshow.contextgarden.net/ texshow-web] on-line command reference (is this generated from [[source:cont-en.xml| cont-en.xml]]?)* [http://levana.de/emacs| etexshow] emacs browser for ConTeXt commands (is this generated from [http://texshow.contextgarden.net/ texshow-web]?) * xml description in [[source:cont-en.xml| cont-en.xml]] (and appropriate language variants) (typed manually or generated from sources?)
* without argument: [[cmd:hairline|\hairline]]* with mandatory argument: [[cmd:overbar|\overbar{...}]]* with optional argument: [[cmd:note|\note[In these sources there is different ''ref'referencing of arguments']]]* with ??? argument: [[cmd:moveongrid|\moveongrid''[...]'']]* to thier possible values and thier combinations: [[cmd:chapter|\chapter''[ref,...]fifferent ''{...}]] or [[cmd:date|\date'typographic conventions'[...,.=.,...]''[...]]]
== Pairing Referencing of arguments ==Numbers (manuals), background colors (texshow), font colors (emacs help) in arguments '''don't''' have any special meaning, they just pair the argument with its desription below.
ExapmleExample: [[cmd:setupheadertexts|\setupheadertexts]]
*in the manual:
<span style='color: #6495ED'>.3. <text> <section> date <mark> pagenumber</span>
== Notation, typographic convention Typographic conventions ==
You As you can find command definitions see in in * printed manualsprevious examples, * texshow,* emacs ConTeXt help, * xml description in [[source:cont-en.xml| cont-en.xml]] (and appropriate language variants)command references have different typographic conventions.
Following table explains the meaning of values and shows their notationin different sources. (add examples)
{| border="1"
|-
| || meaning || manuals [http://www.pragma-ade.com/general/qrcs/setup-en.pdf | setup-en.pdf] || [[manual:cont-eni.pdf|ConTeXt manual]] || [http://texshow .contextgarden.net/ texshow-web] || [http://levana.de/emacs |etexshow] || [[source:cont-en.xml | cont-en.xml description]]
|-
|arguments default || x || x || x || x || x || x
|-
|mandatory predefined || x || x || x || x || x || x
|-
|optional user input || x || x || x || x || x || x
|-
|??? text || x || x || x || x || x || x
|-
|argument values number || x || x || x || x || x || x
|-
|key-value pair || x || x || x || x
|-
|user input reference || x || x || x || x || x || x
|-
|list of identifier|| x || x || x || x || x || x
|-
|default key=value pair || x || x || x || x || x || x|-| triplet || x || x || x || x || x || x|-| list of || x || x || x || x || x || x|-| command || x || x || x || x || x || x|-|-| ...,...,... || x || x || x || x || x || x|-| || x || x || x || x || x || x|-|-| || x || x || x || x || x || x|-| || x || x || x || x || x || x
|-
|}
 
== Other notes ==
 
* In LaTeX optional arguments come before mandatory arguments. This is not true in ConTeXt. Optional argument can be at any position.
\definetextvariable
* If <code>key=value</code> pair is missing the value, than the key is assigned the default value.
<code>location=</code>
 
 
== Contexgarden wiki ==
138

edits

Navigation menu