ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Structures
@ 2005-11-25  6:08 David Arnold
  2005-11-25  7:46 ` Structures Taco Hoekwater
  2005-11-25 18:08 ` Structures Peter Münster
  0 siblings, 2 replies; 3+ messages in thread
From: David Arnold @ 2005-11-25  6:08 UTC (permalink / raw)


All,

I have book.tex.

%output=pdftex

\startproject book

\environment bookenv

\product chapter1

\stopproject

%%% Local Variables:
%%% mode: conTeXt-en
%%% End:


I have bookenv.tex.

\startenvironment bookenv

\setupwhitespace[medium]
\setupindenting[medium]

\stopenvironment

%%% Local Variables:
%%% mode: conTeXt-en
%%% End:

I have chapter1.tex:

\startproduct chapter1

\project book

\startbodymatter

\chapter{Quadratic Functions}

\component section1

\component section2

\component section3


\stopbodymatter

\stopproduct


%%% Local Variables:
%%% mode: conTeXt-en
%%% TeX-master: t
%%% End:

I have section1.tex:

\startcomponent section1

\project book
\product chapter1

\section{Trinomials}

\input knuth

\stopcomponent

%%% Local Variables:
%%% mode: conTeXt-en
%%% End:

I have section 2.tex:

\startcomponent section2

\project book
\product chapter1

\section{Special Forms}

\input knuth

\stopcomponent

%%% Local Variables:
%%% mode: conTeXt-en
%%% End:

I have section3.tex:

\startcomponent section3

\project book
\product chapter1

\section{Completing the Square}

\input knuth

\stopcomponent

%%% Local Variables:
%%% mode: conTeXt-en
%%% End:

A couple of questions:

1. When I compile:

texexec book

I do not get "medium" indenting. What am I doing wrong?

2. When I compile:

texexec --pdf section2

I don't get indenting "medium" and the section is numbered 1. I was  
expecting 1.2. Am I missing something here?

I was hoping that if you compiled a component like this that it would  
search the project structure and determine an appropriate adjustment  
in number labels and, hopefully, references.










David

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-25 18:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-25  6:08 Structures David Arnold
2005-11-25  7:46 ` Structures Taco Hoekwater
2005-11-25 18:08 ` Structures Peter Münster

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).