Command/setuplabeltext

From ConTeXt wiki
< Command
Revision as of 12:38, 11 April 2010 by Maintenance script (talk) (Create reference page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Reference Cleanup

\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


See also