% language=us runpath=texruns:manuals/languages \startcomponent languages-labels \environment languages-environment \startchapter[title=Labels][color=darkcyan] \startsection[title=Introduction] When we started using \TEX, I naturally started with plain \TEX. But it didn't take long before we tried \LATEX. Because our documents were in Dutch one of the first fights with this package was to get rid of the english labels. Because rather soon we decided to cook up an alternative package, a decent label mechanism was one of the first things to show up. And as soon as multiple language typesetting gets into view, such a mechanism becomes one of those language dependent features. In this chapter the basics will be covered. \stopsection \startsection[title=Defining labels] Before we define a label we need to define a label class. You probably seldom need that but this is how it's done: \startbuffer \definelabelclass [mylabel] \stopbuffer \typebuffer \getbuffer There are some classes predefined: \starttabulate[|lB|l|] \NC head \NC (complete) titles like \headtext {chapter} and \headtext {figure} \NC \NR \NC label \NC in||text labels like \labeltext {chapter} and \labeltext {figure} \NC \NR \NC mathlabel \NC function names like \mathlabeltext{sin} and \mathlabeltext{cos} \NC \NR \NC taglabel \NC labels used for tagging purposed in the backend \NC \NR \NC btxlabel \NC labels used in typesetting bibliographic items \NC \NR \stoptabulate The physical units mechanism also uses labels: unit, operator, prefix and suffix. All these labels are defined per language with a fall back on english. Given that we have defined class \type {mylabel}, a label itself is set like this: \startbuffer \setupmylabeltext [en] [first={},{