Questions about \start-ing things with \environment and \project

Jim <[email protected]>
Newsgroups gmane.comp.tex.context
Message-ID <acRCvvDcKicD4/[email protected]>
Hi all...

(I know this is long, but breaking it into 5 separate messages would be
even worse.)


Using LMTX, if instead of \starttext and \stoptext, I have either
  (a) \startcomponent[aaa] Hello \stopcomponent
or
  (b) \startproduct[aaa] Hello \stopproduct
then running context on such a file gives me a PDF with "Hello" in it.

Contrariwise, if I use
  (c) \startproject[aaa] Hello \startproject
I get a PDF with a page number, but no "Hello".


AIUI, when LMTX sees \starttext it does some initialization,
as well as signalling that actual textual content follows.

Q1: Do \startcomponent and \startproduct do the same initialization
    as \starttext, so that I will see the same output, or will things be
    different in some situations?

Q2: Is it "accidental" that \startcomponent and \startproduct work for me
    right now, or is it part of ConTeXt's design that they work like this?

Q3: When one uses \startproduct, does it matter if any \environment
    commands go before or after?  That is, are both of these equally valid,
    or is one The Right Way and one The Wrong Way?
    (a)
        \environment myenv
        \startproduct mydoc
        ...
    (b)
        \startproduct mydoc
        \environment myenv
        ...

Q4: When one uses \startproduct, does it matter if any \project
    commands go before or after?  That is, are both of these equally valid,
    or is one The Right Way and one The Wrong Way?
    (a)
        \project myproject
        \startproduct mydoc
        ...
    (b)
        \startproduct mydoc
        \project myproject
        ...
    
Q5: In addition to \starttext, \startTEXpage, \startcomponent and
    \startproduct, are there any other \start<something> commands which
    signify the start of the text to be typeset?

Thanks.
                                Jim
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.