Changes

Jump to navigation Jump to search
2,296 bytes removed ,  20:32, 19 September 2012
update redirect target
__NOTOC__If you are uncertain how a special markup looks like or if you want to try out things, go to the #REDIRECT [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/HelpConTeXt_wiki: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]] or [[magazine:0008|Magazine 8]] [[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]] or [[magazine:0008|Magazine 8]]* [[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>&lt;texcode> ...&lt;/texcode></xmlcode> same with &lt;xmlcode> == inline ConTeXt ==<xmlcode>&lt;context>\setupcolors [state=start]\framed [background=color, backgroundcolor=green, offset=1cm ]{hello world!}&lt;/context></xmlcode> runs ConTeXt on the fly. See also http://live.contextgarden.net/ for an online ConTeXt. If you add <tt>source="yes"</tt> to the &lt;context> tag, you have the source and the result displayed. Example:<xmlcode>&lt;context source="yes" text="produces">\setupcolors [state=start]\framed [background=color, backgroundcolor=green, offset=1cm ]{hello world!}&lt;/context></xmlcode>The contents of the attribute <tt>text</tt> will be inserted between the text and the result.

Navigation menu