ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Classroom templates?
@ 2004-01-04 21:02 Tyler Eaves
  2004-01-04 22:49 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Tyler Eaves @ 2004-01-04 21:02 UTC (permalink / raw)


Does anyone have any templates useful for typesetting class notes or 
homework (For tuning in, not handing out). I'm a Comp Sci student, and 
last semester I used LaTeX for this with a couple of templates I found. 
Wondering if anyone had anything similar for ConTeXt. I'd be happy to 
share the LaTeX files if anyone's interested.

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

* Re: Classroom templates?
  2004-01-04 21:02 Classroom templates? Tyler Eaves
@ 2004-01-04 22:49 ` Hans Hagen
  2004-01-05  4:52   ` Tyler Eaves
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2004-01-04 22:49 UTC (permalink / raw)


At 22:02 04/01/2004, you wrote:
>Does anyone have any templates useful for typesetting class notes or 
>homework (For tuning in, not handing out). I'm a Comp Sci student, and 
>last semester I used LaTeX for this with a couple of templates I found. 
>Wondering if anyone had anything similar for ConTeXt. I'd be happy to 
>share the LaTeX files if anyone's interested.

so what exactly is needed for typesetting class notes?

Hans

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

* Re: Classroom templates?
  2004-01-04 22:49 ` Hans Hagen
@ 2004-01-05  4:52   ` Tyler Eaves
  2004-01-05 13:30     ` Henning Hraban Ramm
  0 siblings, 1 reply; 4+ messages in thread
From: Tyler Eaves @ 2004-01-05  4:52 UTC (permalink / raw)



On Jan 4, 2004, at 5:49 PM, Hans Hagen wrote:

> At 22:02 04/01/2004, you wrote:
>> Does anyone have any templates useful for typesetting class notes or 
>> homework (For tuning in, not handing out). I'm a Comp Sci student, 
>> and last semester I used LaTeX for this with a couple of templates I 
>> found. Wondering if anyone had anything similar for ConTeXt. I'd be 
>> happy to share the LaTeX files if anyone's interested.
>
> so what exactly is needed for typesetting class notes?
>
> Hans

No special requirements, I guess. Mainly a basic setup with readable 
fonts, sane titling setup, that kind of thing. I've tried setting up my 
own, but am not espeically pleased by the results. It's a hard thing to 
quantify, I'll admit. A part of the problem is that I'm still learning 
CoNTexT so am unfamiliar with (some) of the capabilies available.

My ideas for layout/semantics go something like this.
  Pointers on how to acheive this would be most welcome.

One file to act with all the layout commands.
One file for each class periods notes
(I'll write a little ruby or python scribt to geneate the appropriate 
\inputs in the main file)

In the main file:

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

In each chapter TOC: for the chapter

At end: An index of all terms that are \index'ed.

All references should be hotlinkable.

I also plan to write wrappers around things, so I can write something 
like:

\formula{Fibonacci sequence}{$f(1) = 1$, $f(2) = 1$, $f(n) = f(n-1) + 
f(n-2)$}

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

I basically want have about the highest possible text/TeX ratio, since 
I'm typing these notes up "in class" on my iBook, so the more that's 
automated the better.

Actually, if I had the setup for something like the ConTeXt manual, 
that would be a very good start.

Thanks!
Tyler Eaves

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

* Re: Classroom templates?
  2004-01-05  4:52   ` Tyler Eaves
@ 2004-01-05 13:30     ` Henning Hraban Ramm
  0 siblings, 0 replies; 4+ messages in thread
From: Henning Hraban Ramm @ 2004-01-05 13:30 UTC (permalink / raw)


[-- 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 --]



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

end of thread, other threads:[~2004-01-05 13:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-04 21:02 Classroom templates? 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 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).