ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <hraban@fiee.net>
Subject: Re: Classroom templates?
Date: Mon, 5 Jan 2004 14:30:30 +0100	[thread overview]
Message-ID: <5531FE52-3F83-11D8-AA1D-0030659899AA@fiee.net> (raw)
In-Reply-To: <F7A815C8-3F3A-11D8-ADFF-000A9584A16E@ml1.net>

[-- Attachment #1: Type: text/plain, Size: 1637 bytes --]


Am Montag, 05.01.04, um 05:52 Uhr (Europe/Zurich) schrieb Tyler Eaves:
> One file to act with all the layout commands.

Use an "environment" file of the project structure.

> One file for each class periods notes

Use an "component"  file of the project structure.

> (I'll write a little ruby or python scribt to geneate the appropriate 
> \inputs in the main file)

Better use components and a "product" or "project" as main file.

More verbose:
A project is (may be) the main file for everything that uses the same 
layout (e.g. a book series).
The environment describes this layout (like a LaTeX class).
A product is a major part of the project (e.g. one book).
A component is a minor part of the product (e.g. chapter).

None of these has a special syntax, only \startsomething ... 
\stopsomething
It's explained in "ConTeXt an excursion", AFAIR

I use the attached Perl script to make my project elements (it's not 
sophisticated, but usable).
My usual file prefixes are hardcoded (env_, project_, prd_, c_). It 
takes ".ini" files for
every level that may contain, what every file of this kind should 
contain.

I also attached an sample environment to play with.

> Table of Contents (Chapters *only*, clickable links)

You get clickable links with
\setupinteraction[state=start]

You find setups of special ToCs in the attached environment.

> and have that generate a figure and index entry. A list of formulas as 
> an appendix would be REALLY slick.

You can define more than one index with \...register, see manual.


Grüßlis vom Hraban!
-- 
http://www.fiee.net/texnique/

[-- Attachment #2.1: makeproject.pl --]
[-- Type: application/applefile, Size: 639 bytes --]

[-- Attachment #2.2: makeproject.pl --]
[-- Type: application/text, Size: 6643 bytes --]

[-- Attachment #3: env_sample.tex --]
[-- Type: application/x-tex, Size: 5032 bytes --]

[-- Attachment #4: Type: text/plain, Size: 1 bytes --]



      reply	other threads:[~2004-01-05 13:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-04 21:02 Tyler Eaves
2004-01-04 22:49 ` Hans Hagen
2004-01-05  4:52   ` Tyler Eaves
2004-01-05 13:30     ` Henning Hraban Ramm [this message]

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=5531FE52-3F83-11D8-AA1D-0030659899AA@fiee.net \
    --to=hraban@fiee.net \
    --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).