I am setting up a project structure for a new journal and I want to use a structure like the one in this answer. However, instead of using document:start
I tried \startsetups component:start
, but no results.
My structure looks like this:
- test.tex
\startproject *
\environment test_env
\product test_prod
\stopproject
- test_env.tex
\startenvironment *
\setuphead
[section]
[textstyle=\em]
\startsetups component:start
\startalignment[middle]
{\bfa\setupinterlinespace
This should appear somewhere!
\endgraf}
\blank[big]
\stopalignment
\stopsetups
\stopenvironment
- test_prod.tex
\startproduct *
\project test
\component test_comp
\stopproduct
- test_comp.tex
\startcomponent *
\product test_prod
%\project test
\section{Test}
Blabla
\stopcomponent
component:start
. You could add\directsetup{component:start}
before every\startcomponent
or more programatically\prependvalue{startcomponent}{\directsetup{component:start}}
(and likewise\appendvalue{stopcomponent}{\directsetup{component:stop}}
).\startdocument
but not with\startcomponent
. For me this looks similar enough.component:start
and nothing came up. Then I also looked at the definition of\startcomponent
to find that there also isn't any other setup code called before.