From: Sietse Brouwer <sbbrouwer@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: \startcomponent, \startproduct... + automatic file name
Date: Thu, 9 Aug 2012 15:08:31 +0200 [thread overview]
Message-ID: <CAF=dkzwxO_7Rtqy=pqZbSxM=_Z+3KyVrbh2qS29qO7XMYmMTQA@mail.gmail.com> (raw)
In-Reply-To: <op.wirtzovvtpjj8f@lpr>
> On Thu, 09 Aug 2012 11:27:08 +0200, Hans Hagen <pragma@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.
--Sietse
On Thu, Aug 9, 2012 at 1:24 PM, Procházka Lukáš Ing. - Pontex s. r. o.
<LPr@pontex.cz> wrote:
> Great, thank you.
>
> Lukas
>
>
> On Thu, 09 Aug 2012 11:27:08 +0200, Hans Hagen <pragma@wxs.nl> wrote:
>
>> in the current beta you can say
>>
>> \startcomponent *
>>
>> Hans
>
>
>
> --
> Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
> Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz]
> Bezová 1658
> 147 14 Praha 4
>
> Tel: +420 244 062 238
> Fax: +420 244 461 038
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-08-09 13:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-08 6:42 Procházka Lukáš Ing. - Pontex s. r. o.
[not found] ` <5023826C.6090206@wxs.nl>
2012-08-09 11:24 ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-08-09 13:08 ` Sietse Brouwer [this message]
2012-08-09 13:15 ` Wolfgang Schuster
2012-08-09 14:12 ` Sietse Brouwer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAF=dkzwxO_7Rtqy=pqZbSxM=_Z+3KyVrbh2qS29qO7XMYmMTQA@mail.gmail.com' \
--to=sbbrouwer@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).