|
|
(8 intermediate revisions by 5 users not shown) |
Line 1: |
Line 1: |
− | __NOTOC__
| + | #REDIRECT [[ConTeXt_wiki:Editing]] |
− | If you are uncertain how a special markup looks like or if you want to try out things, go to the [http://sandbox.contextgarden.net/ sandbox].
| |
− | | |
− | = general wiki markup =
| |
− | | |
− | The markup used in this wiki is described in the [http://meta.wikimedia.org/wiki/MediaWiki_User%27s_Guide MediaWiki User Guide] (esp. http://meta.wikimedia.org/wiki/Help:Editing )
| |
− | | |
− | = local addons =
| |
− | | |
− | == references to other garden projects ==
| |
− | | |
− | Use the following syntax to create links to the other contextgarden projects:
| |
− | | |
− | <pre><nowiki>
| |
− | [[source:type-akb.tex| type-akb.tex]]
| |
− | [[manual:cont-eni.pdf| ConTeXt, the manual]]
| |
− | [[modules:t-bnf| bnf module]]
| |
− | [[cmd:goto|\goto]]
| |
− | [[gardenbugs:5| bug nr. 5]]
| |
− | [[article:80|A Few Dangerous Features]]
| |
− | [[publication:1|MAPS]]
| |
− | </nowiki></pre>
| |
− | | |
− | Looks like:
| |
− | * [[source:type-akb.tex| type-akb.tex]]
| |
− | * [[manual:cont-eni.pdf| ConTeXt, the manual]]
| |
− | * [[modules:t-bnf| bnf module]]
| |
− | * [[cmd:goto|\goto]]
| |
− | * [[gardenbugs:5| bug nr. 5]]
| |
− | * [[article:80|A Few Dangerous Features]]
| |
− | * [[publication:1|MAPS]]
| |
− | | |
− | Or (deprecated) use the <tt><nowiki><cmd> ... </cmd></nowiki></tt> syntax for texshow-web (next section).
| |
− | | |
− | == references to texshow-web ==
| |
− | <tt><nowiki><cmd> ... </cmd></nowiki></tt>
| |
− | <!-- <br>and<br><tt><nowiki><api> ... </api></nowiki></tt> -->
| |
− | | |
− | this links to the definition of the command in texshow-web. Example: <tt><nowiki><cmd>about</cmd></nowiki></tt> gives <cmd>about</cmd>
| |
− | | |
− | | |
− | == prettyprinting ==
| |
− | <tt><nowiki><texcode> ... </texcode></nowiki></tt> prettyprinting TeX source. Use like
| |
− | <xmlcode>
| |
− | <texcode>
| |
− | ...
| |
− | </texcode>
| |
− | </xmlcode>
| |
− | | |
− | same with <xmlcode>
| |
− | | |
− | == inline ConTeXt ==
| |
− | <xmlcode><context>
| |
− | \setupcolors [state=start]
| |
− | \framed [background=color,
| |
− | backgroundcolor=green,
| |
− | offset=1cm ]{hello world!}
| |
− | </context>
| |
− | </xmlcode> runs ConTeXt on the fly. See also http://live.contextgarden.net/ for an online ConTeXt.
| |