Am 09.08.2012 um 15:08 schrieb Sietse Brouwer <sbbrou...@gmail.com>:

>> On Thu, 09 Aug 2012 11:27:08 +0200, Hans Hagen <pra...@wxs.nl> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to