Difference between revisions of "Command/currentcomponent"

From Wiki
Jump to navigation Jump to search
(startenvironment --> startcomponent)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>currentcomponent</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 13: Line 16:
  
 
== Description ==  
 
== Description ==  
Print the name of component currently being processed.
+
Print the name of component currently being processed. When called outside a component, such as with in a product file, defaults to the string 'text'.
  
 
== Example ==
 
== Example ==

Latest revision as of 14:43, 15 November 2019

\currentcomponent

Syntax (autogenerated)

\currentcomponent


Syntax

\currentcomponent

Description

Print the name of component currently being processed. When called outside a component, such as with in a product file, defaults to the string 'text'.

Example

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: