Command Syntax

From Wiki
Revision as of 00:31, 30 July 2006 by Jano Kula (talk | contribs) (New page on command syntax (not finished yet))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WARNING: this page has to be finished fisrt, than reviewed! Don't rely on actual information.


Arguments

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: \setupheadertexts

  • in the manual:
 \setupheadertexts[.1.][.2.][.3.]
 .1. text margin edge
 .2. text section date mark pagenumber
 .3. text section date mark pagenumber
  • in the texshow
 \setupheadertexts[.1.][.2.][.3.]
 .1. text margin edge
 .2. text section date mark pagenumber
 .3. text section date mark pagenumber
  • in the emacs help
  \setupheadertexts[.1.][.2.][.3.]
  .1. <text> margin edge
  .2. <text> <section> date  pagenumber
  .3. <text> <section> date  pagenumber

Notation, typographic convention

You can find command definitions in

  • printed manuals,
  • texshow,
  • emacs ConTeXt help,
  • xml description in cont-en.xml (and appropriate language variants).

Following table shows their notation. (add examples)

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

[[cmd:goto|\goto]]

which displays as \goto and the link brings you to the command definition in texshow-web.

Missing commands, descriptions and examples

add Category