9 Aug
2012
9 Aug
'12
1:15 p.m.
Am 09.08.2012 um 15:08 schrieb Sietse Brouwer
On Thu, 09 Aug 2012 11:27:08 +0200, Hans Hagen
wrote: in the current beta you can say
\startcomponent *
Hans
Wikified at http://wiki.contextgarden.net/Command/startcomponent. This trick also works for startproject, startenvironment, and startproduct, I assume?
And for the general case, what about `\ctxlua{commands.processedfile}`? That looks like it should print the current filename, as long as any inclusions use the ConTeXt commands and not \input.
You can use \currentcomponent, \currentproduct and \currentproject to print the name of the file. Wolfgang