Difference between revisions of "Help:Editing"

From Wiki
Jump to navigation Jump to search
(Added local specialities)
(added local specialities, new structure)
Line 1: Line 1:
* general wiki markup: http://meta.wikimedia.org/wiki/MediaWiki_User%27s_Guide  (esp. http://meta.wikimedia.org/wiki/Help:Editing )
+
= Editing content in the ConTeXt wiki =
* local addons:
+
 
**  <tt><nowiki><cmd> ... </cmd></nowiki></tt><br>and<br><tt><nowiki><api> ... </api></nowiki></tt>: those link to the definition of the command in texshow-web. Example: <tt><nowiki><cmd>about</cmd></nowiki></tt> gives <cmd>about</cmd>
+
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].
** <tt><nowiki><texcode> ... </texcode></nowiki></tt>  prettyprinting TeX source. Use like
+
 
&lt;texcode>
+
== 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 texshow-web ===
 +
<tt><nowiki><cmd> ... </cmd></nowiki></tt><br>and<br><tt><nowiki><api> ... </api></nowiki></tt>: those link 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
 +
<pre><nowiki><texcode>
 
  ...
 
  ...
&lt;/texcode>
+
</texcode></nowiki></pre>
 +
 
 +
same with &lt;xmlcode>
 +
 
 +
=== inline ConTeXt ===
 +
<pre><nowiki><context>
 +
\setupcolors [state=start]
 +
\framed [background=color,
 +
        backgroundcolor=green,
 +
        offset=1cm ]{hello world!}
 +
</context>
 +
</nowiki></pre> runs ConTeXt on the fly. See also http://live.contextgarden.net/ for an online ConTeXt.

Revision as of 09:32, 10 September 2004

Editing content in the ConTeXt wiki

If you are uncertain how a special markup looks like or if you want to try out things, go to the sandbox.

general wiki markup

The markup used in this wiki is described in the MediaWiki User Guide (esp. http://meta.wikimedia.org/wiki/Help:Editing )

local addons

references to texshow-web

<cmd> ... </cmd>
and
<api> ... </api>: those link to the definition of the command in texshow-web. Example: <cmd>about</cmd> gives \about

prettyprinting

<texcode> ... </texcode> prettyprinting TeX source. Use like

<texcode>
 ...
</texcode>

same with <xmlcode>

inline ConTeXt

<context>
\setupcolors [state=start]
\framed [background=color,
         backgroundcolor=green,
         offset=1cm ]{hello world!}
</context>

runs ConTeXt on the fly. See also http://live.contextgarden.net/ for an online ConTeXt.