Changes

Jump to navigation Jump to search
259 bytes added ,  13:52, 9 August 2020
* {{cmd|section{First section}}}
|}
 
=== The <cmd> tag is deprecated. ===
 
Sometimes, when editing an older page, you will see &lt;cmd&gt;\somecommand&lt;/cmd&gt; on this wiki. This is an older, deprecated form, and you should turned it into <nowiki>{{cmd|somecommand}}</nowiki> wherever you see it.
=== Linking to parameter description pages ===
=== Linking to source files ===
There are two templates to link to online copies of the files contained in the <code>texmf-context</code> tree of the ConTeXt distribution.
Practically all of ConTeXt's actual 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)file in {{code|tex/context/base/mkiv}} directly:
* '''You type:''' <nowiki>{{src|type-akb.tex}}</nowiki>
* '''Links to:''' https://source.contextgarden.net/tex/context/base/mkiv/type-akb.tex
* '''Looks like:''' {{src|type-akb.tex}}
But the ConTeXt distribution also contains various other files, like documentation and scripts. Link to any file in the version stored on contextgarden.netConTeXt distribution:* '''You type:''' <nowiki>[[source:type-akbmtxrun.texlua| type-akbmtxrun.texlua]]</nowiki>* '''Links to:''' http://source.contextgarden.net/type-akbmtxrun.texlua* '''Looks like:''' [[source:type-akbmtxrun.texlua|type-akbmtxrun.texlua]] The software at http://source.contextgarden.net/ will find the actual file location for you.  Please use the <code><nowiki>{{src|}}</nowiki></code> format for pointing to actual ConTeXt source files.
=== Linking to other sections of the wiki ===
| <pre>
<context>
The wiki is using ConTeXt Mark IVLMTX: \crlf
\contextversionnumber
(lmtx mode: \the\contextlmtxmode)
</context>
</pre>
| <context>
The wiki is using ConTeXt Mark IVLMTX: \crlf\contextversionnumber(lmtx mode: \the\contextlmtxmode)
</context>
|- style="vertical-align: top"
| <pre>
<context mode=mkiv source=yes text="This produces:">The wiki still uses also contains ConTeXt Mark IV: \crlf
\contextversionnumber
(lmtx mode: \the\contextlmtxmode)
</context>
</pre>
| <context mode=mkiv source=yes text="This produces:">The wiki still uses also contains ConTeXt Mark IV: \crlf
\contextversionnumber
(lmtx mode: \the\contextlmtxmode)
</context>
|}
 
=== Displaying a ConTeXt command syntax ===

Navigation menu