ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <darnold@northcoast.com>
Subject: Structures
Date: Thu, 24 Nov 2005 22:08:52 -0800	[thread overview]
Message-ID: <84FF03D5-F1CB-4F2C-93D8-AFE0829C1F8C@northcoast.com> (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

             reply	other threads:[~2005-11-25  6:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-25  6:08 David Arnold [this message]
2005-11-25  7:46 ` Structures Taco Hoekwater
2005-11-25 18:08 ` Structures Peter Münster

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=84FF03D5-F1CB-4F2C-93D8-AFE0829C1F8C@northcoast.com \
    --to=darnold@northcoast.com \
    --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).