Changes

Jump to navigation Jump to search
2,977 bytes added ,  00:31, 30 July 2006
New page on command syntax (not finished yet)
'''WARNING: this page has to be finished fisrt, than reviewed! Don't rely on actual information.'''

<!-- == Commands ==

As in TeX all commands start with backslash: [[cmd:showsetups|\showsetups]]

Some commands are paired: [[cmd:starttext|\starttext]] ... [[cmd:stopttext|\stoptext]] -->

== Arguments ==

* without argument: [[cmd:hairline|\hairline]]
* with mandatory argument: [[cmd:overbar|\overbar{...}]]
* with optional argument: [[cmd:note|\note[''ref'']]]
* with ??? argument: [[cmd:moveongrid|\moveongrid''[...]'']]
* and thier combinations: [[cmd:chapter|\chapter''[ref,...]''{...}]] or [[cmd:date|\date''[...,.=.,...]''[...]]]

== Pairing ==
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.

Exapmle: [[cmd:setupheadertexts|\setupheadertexts]]

*in the manual:
\setupheadertexts''[.1.]''[.2.][.3.]
.1. <u>text</u> margin edge
.2. ''text'' ''section'' date ''mark'' pagenumber
.3. ''text'' ''section'' date ''mark'' pagenumber
* in the texshow
\setupheadertexts<span style='background-color: #00FFFF; color: red'>[.1.]</span><span style='background-color:#CCFF66'>[.2.]</span><span style='background-color:#FF6FCF'>[.3.]</span>
<span style='background-color: #00FFFF'>.1. '''''text''''' margin edge</span>
<span style='background-color:#CCFF66'>.2. ''text'' ''section'' date ''mark'' pagenumber</span>
<span style='background-color:#FF6FCF'>.3. ''text'' ''section'' date ''mark'' pagenumber</span>
* in the emacs help
\setupheadertexts<span style='color: #00FF00'>[.1.]</span><span style='color: #FF1493'>[.2.]</span><span style='color: #6495ED'>[.3.]</span>
<span style='color: #00FF00'>.1. <u><text></u> margin edge</span>
<span style='color: #FF1493'>.2. <text> <section> date <mark> pagenumber</span>
<span style='color: #6495ED'>.3. <text> <section> date <mark> pagenumber</span>

== Notation, typographic convention ==

You can find command definitions in
* printed manuals,
* texshow,
* emacs ConTeXt help,
* xml description in [[source:cont-en.xml| cont-en.xml]] (and appropriate language variants).

Following table shows their notation. (add examples)

{| border="1"
|-
| || manuals || texshow || emacs || xml description
|-
|arguments || x || x || x || x
|-
|mandatory || x || x || x || x
|-
|optional || x || x || x || x
|-
|??? || x || x || x || x
|-
|argument values || x || x || x || x
|-
|key-value pair || x || x || x || x
|-
|user input || x || x || x || x
|-
|list of || x || x || x || x
|-
|default || x || x || x || x
|-
|}

== Contexgarden wiki ==

While writing to this wiki you can refer to the user commands with <pre>[[cmd:goto|\goto]]</pre> which displays as [[cmd:goto|\goto]] and the link brings you to the command definition in [http://texshow.contextgarden.net/ texshow-web].

== Missing commands, descriptions and examples ==


add Category
138

edits

Navigation menu