Difference between revisions of "Command/ labeltext"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \<i>labeltext</i>") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
<cd:commandgroup generated="yes" name="labeltext" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | <cd:commandgroup generated="yes" name="labeltext" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | ||
− | <cd:shortdesc> | + | <cd:shortdesc><!-- a short command summary goes here --> |
− | <!-- a short command summary goes here --> | + | The instances of <tt>\<i>label</i>text</tt> allow access to a language-dependant label. |
− | The instances of <tt>\<i> | ||
</cd:shortdesc> | </cd:shortdesc> | ||
<cd:sequence> | <cd:sequence> | ||
Line 31: | Line 28: | ||
</cd:command> | </cd:command> | ||
</cd:variants> | </cd:variants> | ||
− | <cd:description> | + | <cd:description>Retrieve a label text setup earlier with {{cmd|setuplabeltext}}. Label text group instances are defined by {{cmd|definelabelclass}}. |
− | |||
</cd:description> | </cd:description> | ||
− | <cd:examples> | + | <cd:examples><cd:example title=""><context source="yes"> |
− | + | \setuplabeltext[en][section=Lesson ] | |
− | <cd:example title=""> | + | \setuplabeltext[nl][section=Les ] |
− | < | + | \setuphead[section][number=yes] |
− | + | ||
− | </ | + | \section{First lesson} |
− | <cd: | + | |
− | + | \labeltext{section} 1 | |
− | <cd: | + | |
− | < | + | \mainlanguage[nl] |
− | + | ||
− | </cd:notes> | + | \section{Eerste les} |
+ | |||
+ | \labeltext{section} 2 | ||
+ | </context> | ||
+ | </cd:example></cd:examples> | ||
+ | <cd:notes></cd:notes> | ||
<cd:seealso> | <cd:seealso> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<cd:commandref name="_copylabeltext" originator="system"></cd:commandref> | <cd:commandref name="_copylabeltext" originator="system"></cd:commandref> | ||
<cd:commandref name="_currentlabel" originator="system"></cd:commandref> | <cd:commandref name="_currentlabel" originator="system"></cd:commandref> | ||
Line 65: | Line 59: | ||
<cd:commandref name="_startlabeltext" originator="system"></cd:commandref> | <cd:commandref name="_startlabeltext" originator="system"></cd:commandref> | ||
<cd:commandref name="definelabelclass" originator="system"></cd:commandref> | <cd:commandref name="definelabelclass" originator="system"></cd:commandref> | ||
− | <cd:source file="lang-lab.mkiv" originator="system"></cd:source> | + | <cd:source file="lang-lab.mkiv" originator="system"></cd:source> |
− | <cd:wikipage originator="system" page="Category:Language"></cd:wikipage> | + | <cd:wikipage originator="system" page="Category:Language"></cd:wikipage></cd:seealso> |
− | </cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 20:03, 30 August 2020
Contents
\labeltext
Summary
The instances of \labeltext allow access to a language-dependant label.
Instances
\headtext | |
\labeltext | |
\mathlabeltext | |
\taglabeltext | |
\unittext | |
\operatortext | |
\prefixtext | |
\suffixtext | |
\btxlabeltext |
Settings instance
Description
Retrieve a label text setup earlier with \setuplabeltext. Label text group instances are defined by \definelabelclass.
Examples
Example 1
\setuplabeltext[en][section=Lesson ] \setuplabeltext[nl][section=Les ] \setuphead[section][number=yes] \section{First lesson} \labeltext{section} 1 \mainlanguage[nl] \section{Eerste les} \labeltext{section} 2
Notes
See also
Help from ConTeXt-Mailinglist/Forum
All issues with:
- \headtext on the mailing list (all results)
- \headtext on the mailing list (subject only)
- \headtext on stack exchange
- \headtext in ConTeXt's source
- \labeltext on the mailing list (all results)
- \labeltext on the mailing list (subject only)
- \labeltext on stack exchange
- \labeltext in ConTeXt's source
- \mathlabeltext on the mailing list (all results)
- \mathlabeltext on the mailing list (subject only)
- \mathlabeltext on stack exchange
- \mathlabeltext in ConTeXt's source
- \taglabeltext on the mailing list (all results)
- \taglabeltext on the mailing list (subject only)
- \taglabeltext on stack exchange
- \taglabeltext in ConTeXt's source
- \unittext on the mailing list (all results)
- \unittext on the mailing list (subject only)
- \unittext on stack exchange
- \unittext in ConTeXt's source
- \operatortext on the mailing list (all results)
- \operatortext on the mailing list (subject only)
- \operatortext on stack exchange
- \operatortext in ConTeXt's source
- \prefixtext on the mailing list (all results)
- \prefixtext on the mailing list (subject only)
- \prefixtext on stack exchange
- \prefixtext in ConTeXt's source