Re: [NTG-context] project structure and dissertations

2007-11-01 Thread Peter Münster
On Thu, 1 Nov 2007, Jesse Alama wrote:

> It seems natural to regard the dissertation as a project and the
> chapters as products (which sounds strange to my mind, in this case).
> But then I have no idea what would correspond to components; it seems
> like excessive, unnecessary structuring to regard sections of chapters
> as components.  And if sections aren't components, I don't know what
> they would be.

You can have just one product (your dissertation) in a project. And if you
put your chapters into components, then you can compile each chapter
individually.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] project structure and dissertations

2007-11-01 Thread Hans Hagen
Jesse Alama wrote:
>   \startfrontmatter
> \chapter{Preface}
>   \stopfrontmatter

\startfrontmatter
\component preface
\stopfrontmatter


>   \startbodymatter
> \chapter{Introduction}
>   \stopbodymatter

\startbodymatter
  \component introduction
  \component aboutthis
  \component aboutthat
\stopbodymatter

>   \startappendices
> \chapter{Complex Proof that was Skipped}
>   \stopappendices
> 
>   \startbackmatter
> \chapter{Colofon}
>   \stopbackmatter

so, the \chapter command goes into a component file

> with the whole text of the preface in a buffer?

no buffers here

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] project structure and dissertations

2007-11-01 Thread Jesse Alama
I'm unsure about an aspect of The ConTeXt Way and its application to my
current situation: typesetting a dissertation, namely: how can I take
advantage of project sttructure?

It seems natural to regard the dissertation as a project and the
chapters as products (which sounds strange to my mind, in this case).
But then I have no idea what would correspond to components; it seems
like excessive, unnecessary structuring to regard sections of chapters
as components.  And if sections aren't components, I don't know what
they would be.

Earlier messages on this mailing list suggest that projects aren't
supposed to be compiled; only components and products are supposed to be
compiled.  This suggests that the whole dissertation not be a project;
clearly I would want to compile the whole dissertation.

Another approach would be to skip projects and stick with just products
and components.  In this case, the whole dissertation would be a product
(which sounds right to me), and chapters would be components.

But then, if I follow that route, how would the logical structure
interact with the "typographical structure" (what is called
"meta-structure" in the ConTeXt manual)?  I want to say something like

  \startfrontmatter
\chapter{Preface}
  \stopfrontmatter

  \startbodymatter
\chapter{Introduction}
  \stopbodymatter

  \startappendices
\chapter{Complex Proof that was Skipped}
  \stopappendices

  \startbackmatter
\chapter{Colofon}
  \stopbackmatter

in dissertation.tex, to indicate the typographical/meta structure.  But then
where would the \component commands go?  Would it look something like
this:

  \startproductproduct dissertation

  \startfrontmatter
\chapter{Preface}
\component{Preface}
  \stopbodymatter

  ...

  or would I somehow be able to refer to the whole text of the
  preface and do something like

  \startproduct dissertation
  \component preface
\chapter{Preface}
\getbuffer{buf:preface}
  \startfrontmatter

  ...

with the whole text of the preface in a buffer?

I would appreciate any advice!

Thanks,

Jesse  

-- 
Jesse Alama ([EMAIL PROTECTED])

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___