Difference between revisions of "Command Syntax"

From Wiki
Jump to navigation Jump to search
(New page on command syntax (not finished yet))
 
m
Line 1: Line 1:
'''WARNING: this page has to be finished fisrt, than reviewed! Don't rely on actual information.'''
+
'''WARNING: this page has to be finished first, than reviewed! Don't rely on actual information.'''
  
 
<!-- == Commands ==
 
<!-- == Commands ==

Revision as of 00:33, 30 July 2006

WARNING: this page has to be finished first, 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