Difference between revisions of "Help:Editing"

From Wiki
Jump to navigation Jump to search
(new inter-garden links (for texshow-web, source browser and modules))
Line 15: Line 15:
 
  [[source:type-akb.tex| type-akb.tex]]
 
  [[source:type-akb.tex| type-akb.tex]]
 
  [[modules:t-bnf| bnf module]]
 
  [[modules:t-bnf| bnf module]]
  [[cmd:goto|goto]]
+
  [[cmd:goto|\goto]]
 
</nowiki></pre>
 
</nowiki></pre>
 +
 +
Look like [[source:type-akb.tex| type-akb.tex]]  [[modules:t-bnf| bnf module]] [[cmd:goto|\goto]]
 +
  
 
Or (deprecated) use the <tt><nowiki><cmd> ... </cmd></nowiki></tt> syntax for texshow-web (next section).
 
Or (deprecated) use the <tt><nowiki><cmd> ... </cmd></nowiki></tt> syntax for texshow-web (next section).
 +
 +
  
 
== references to texshow-web ==
 
== 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>
+
<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 ==
 
== prettyprinting ==

Revision as of 18:19, 15 October 2005

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 other garden projects

Use the following syntax to create links to the other contextgarden projects:

 [[source:type-akb.tex| type-akb.tex]]
 [[modules:t-bnf| bnf module]]
 [[cmd:goto|\goto]]

Look like type-akb.tex bnf module \goto


Or (deprecated) use the <cmd> ... </cmd> syntax for texshow-web (next section).


references to texshow-web

<cmd> ... </cmd>

this links 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.