Difference between revisions of "Command/currentcomponent"
< Command
Jump to navigation
Jump to search
(Better See Also, categories) |
|||
(4 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 == | ||
== See also == | == See also == | ||
− | * {{cmd| | + | * {{cmd|startcomponent}} |
* {{cmd|currentcomponent}} | * {{cmd|currentcomponent}} | ||
* {{cmd|currentproduct}} | * {{cmd|currentproduct}} |
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
- \startcomponent
- \currentcomponent
- \currentproduct
- \currentproject
- \currentenvironment
- \processedfile
- \processedfiles
- Project structure
- file-job.mkii, file-job.mkiv, file-job.lua
Help from ConTeXt-Mailinglist/Forum
All issues with: