Difference between revisions of "Command/currentcomponent"

From Wiki
Jump to navigation Jump to search
(Create entire page)
 
 
(5 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 ==
Line 25: Line 28:
 
* {{cmd|processedfile}}
 
* {{cmd|processedfile}}
 
* {{cmd|processedfiles}}
 
* {{cmd|processedfiles}}
 +
* [[Project structure]]
 +
* {{src|file-job.mkii}}, {{src|file-job.mkiv}}, {{src|file-job.lua}}
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==
Line 30: Line 35:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|currentcomponent]]
+
[[Category:Command/Debugging|currentcomponent]]
 +
[[Category:Command/Projects|currentcomponent]]

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: