ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Project, product, component...
Date: Thu, 01 Mar 2012 09:30:08 +0100	[thread overview]
Message-ID: <op.wahgkihtwshuv7@lpr> (raw)
In-Reply-To: <20120228190152.7b791728@homerow>

Hello,

as no new answer so far, I started to experiment.

It seems that [at least] component id(s) cannot be omitted:

---- Prod.mkiv
\startproduct % PPP
   \component Comp.mkiv

   Product
\stopproduct
----

And:

---- Comp.mkiv
\startcomponent % CCC
   %\product Prod
   %\project Proj

   Component
\stopcomponent
----

- Gives a wrong product, as Prod.pdf doesn't include the component.

Another test:

---- Prod.mkiv
\startproduct _ % PPP
   \component Comp.mkiv
   \component Comp2.mkiv

   Product
\stopproduct
----

And:

---- Comp.mkiv
\startcomponent _ % CCC
   Component
\stopcomponent
----

---- Comp2.mkiv
\startcomponent _ % CCC
   Component2
\stopcomponent
----

Gives a good result.

So it seems that [at least some] ids are required, and just not-to-be-empty.

I tested the case when all product/component ids were the same, i.e. "_", as a dummy value.

As later the ids are referred nowhere, it seems that they are necessary just due to syntactical rules.

Or - ?

Lukas


On Tue, 28 Feb 2012 19:01:52 +0100, Marco <netuse@lavabit.com> wrote:

> On 2012-02-28 Jaroslav Hajtmar <hajtmar@gyza.cz> wrote:
>
>> Project structure  use quite often,  but yet similar  question not
>> occurred to me.
>
> It's a very  interesting question, I was asking myself  the same and
> I'm curious about  the answer. The ConTeXt magazine  #1101 - Project
> Structure¹ is reserved about this topic and simply states:
>
>   “The names given after the start command are not that important…”
>
>> I had always  previously PPP and CCC as existing  filenames on the
>> disk.
>
> I always used filenames, too.
>
>> But I would like to extend  Luke's question on this issue: You can
>> load an existing component to other components?
>
> The  ConTeXt  magazine  #1101  includes  a  table  of  the  possible
> combinations  of  the commands.  From  this  table I  conclude  that
> components are allowed between:
>
> ∙ \starttext      \stoptext
> ∙ \startcomponent \stopcomponent
> ∙ \startproduct   \stopproduct
>
> Marco
>
> [1] http://pragma-ade.com/general/magazines/mag-1101.pdf
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


-- 
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
___________________________________________________________________________________

  parent reply	other threads:[~2012-03-01  8:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28 16:37 Procházka Lukáš Ing. - Pontex s. r. o.
2012-02-28 17:24 ` Jaroslav Hajtmar
2012-02-28 18:01   ` Marco
2012-02-28 18:18     ` Jaroslav Hajtmar
2012-03-01  8:30     ` Procházka Lukáš Ing. - Pontex s. r. o. [this message]
2012-03-01  8:53       ` Hans Hagen
2012-03-02  7:25         ` Procházka Lukáš Ing. - Pontex s. r. o.

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=op.wahgkihtwshuv7@lpr \
    --to=lpr@pontex.cz \
    --cc=ntg-context@ntg.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).