Difference between revisions of "Command/setuplabeltext"

From ConTeXt wiki
Jump to navigationJump to search
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Mailinglist/Forum ==")
m (Text replace - "Category:(.*)" to "Category:Command/$1")
Line 52: Line 52:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Labels|setuplabeltext]]
+
[[Category:Command/Labels|setuplabeltext]]

Revision as of 21:45, 20 March 2012

\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

Help from ConTeXt-Mailinglist/Forum

All issues with: