Changes

Jump to navigation Jump to search
251 bytes added ,  20:52, 19 September 2012
{{About this wiki navbox}}
''This page is about editing pages on this wiki in general. For editing command reference pages, also see [[Help:Command reference]].''
 
== General ==
The Main Page is protected to avoid spammers. However, you can still edit it (let's hope for stupid spammers). Type '''Template:Main Page''' after contextgarden.net/ and edit that template.
 
== In-line elements ==
=== Linking to parameter description pages ===
In ConTeXt many {{code|1=key=value}} parameters are common across commands, so this wiki intends to have separate description pages for those parameters. Those are not linked from the text, in general, but they are linked from the syntax tables on command description pages. ([[Command/setupframed|Example]].) The linking is achieved with <nowiki>{{key|alternative}}</nowiki>, which expands to [[Command/keyword:alternative|<nowiki>[[Command/keyword:alternative]]</nowiki>]]. Nearly all the target pages do not exist yet, but don't let that stop you from linking to them. We'll get around to filling them in.
=== Other inline code ===
=== Linking to source files ===
Practically all of ConTeXt's source files are stored in the directory {{code|.../tex/context/base</code}}. There are two templates to link to online versions copies of the source filefiles.
Link to the most recent version (recommended):
== Block elements ==
----
=== Displaying ConTeXt output (and source) ===
This wiki allows you to type ConTeXt code to obtain a PNG of the resultant output, with extraneous whitespace cropped. This is very useful for including in-page examples. Below are two simple ones; for more, see [[Help:Context]]. When using MkIV, it is good practice to include a comment '{{code|1=% mode=mkiv'}}: otherwise, the reader will have no indication that the example is compiled with MkIV instead of the usual MkII.
{| class=wikitable
</pre>
|}
 
{{About this wiki navbox}}

Navigation menu