Changes

Jump to navigation Jump to search
508 bytes added ,  13:05, 2 July 2020
''This page is about editing pages on this wiki in general. For editing command reference pages, also see [[Help:Command referenceReference]].'' {{todo|Warning: explain here the use of ToDo category.}}
== General ==
=== Linking to source files ===
Practically all of ConTeXt's source files are stored in the directory {{code|.../tex/context/base/mkiv}}. There are two templates to link to online copies of the source files.
Link to the most recent version (recommended):
* '''You type:''' <nowiki>{{src|type-akb.tex}}</nowiki>
* '''Links to:''' httphttps://reposource.orcontextgarden.cz/w/context.git/blob/HEAD:net/tex/context/base/mkiv/type-akb.tex
* '''Looks like:''' {{src|type-akb.tex}}
</context>
|}
 
 
=== Displaying a ConTeXt command syntax ===
If you want to show the calling convention(s) of a ConTeXt command, you can use <code><nowiki><syntax> ... </syntax></nowiki></code>. This is particularly useful in a "Command" page.
 
{| class=wikitable
! scope=col width=300 style="text-align: left"| You type
! scope=col width=300 style="text-align: left"| You see
|- style="vertical-align: top"
| <pre>
<syntax>page</syntax>
</pre>
| <syntax>page</syntax>
|}
 
=== Displaying TeX or ConTeXt code alone ===

Navigation menu