Command/setuplabeltext

From ConTeXt wiki
< Command
Revision as of 00:23, 14 March 2012 by Jannis (talk | contribs) (Text replace - "Reference/en|" to "Commands|")

\setuplabeltext

Syntax

\setuplabeltext[...][...=...]
[...] nl fr en uk de es cz ..
name text


Description

Example

Here is an example of changing chapter and section heads.

\setuplabeltext[en][chapter=Chapter ]
\setuplabeltext[en][section=Section ]

\def\setheadnumber#1#2{#1. #2}

\setuphead
 [chapter,section]
 [command=\setheadnumber]

\starttext
\chapter{First Thoughts}
\section{First Section}
\stoptext

results in


See also