ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Joel C. Salomon" <joelcsalomon@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Setting up a project
Date: Thu, 20 Dec 2007 18:04:57 -0500	[thread overview]
Message-ID: <7871fcf50712201504s36570eddj4862ef466c69bfaa@mail.gmail.com> (raw)

I'm trying a fairly ambitious project to teach myself practical
ConTeXt -- typesetting a book I'm writing.  As per
<http://wiki.contextgarden.net/Project_structure>, I've created files
for the project, environment, product, and component.  The component
file (preface.tex) is the only one with (dummy) content right now.

Side questions:
Does a project with a single product really require the full hierarchy?
Is there a dummy layout I can put into the environment file to test the set-up?

Now I want to set up the layout.  An example of what I'm trying to
achieve is at <http://typophile.com/files/Layout.pdf>, currently done
in OpenOffice.  I'm not yet asking about fonts; I just want to put the
text in the correct places.  It doesn't seem that 6×9 (inches) is a
built-in size, so my environment file (env_firefly.tex) needs to look
something like:

\startenvironment env_firefly
\definepapersize[sixbynine][
	width=6in,height=9in,
	offset=???,scale=???]
\setuppapersize[sixbynine][sixbynine]
\setuplayout[...
	...]
\stopenvironment

Do I need to define & name the paper size, or is putting it in the
\setuplayout sufficient?
What are the "offset" & "scale" in the paper size?

I want to have 6″×9″ trim, inner margin of 48pt, outer margin 96pt,
top margin 72pt, bottom margin 144pt for starters.  Headers and
footers, when they exist, are allocated 12 points height and are 12pt
away from the text. (See the linked-to example.)

I have read several of the manuals, I'm just having trouble putting it
all together.  Also, I'm not looking for a recipe but guides on
developing the layout myself so I can understand it.

Thanks,
--Joel
___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2007-12-20 23:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-20 23:04 Joel C. Salomon [this message]
2007-12-21  8:19 ` Hans Hagen
2007-12-21 17:08   ` Joel C. Salomon
2007-12-21 17:29     ` Hans Hagen
2007-12-21 17:49       ` Joel C. Salomon
2007-12-21 18:05         ` Wolfgang Schuster
2007-12-21 18:15         ` Joel C. Salomon
2007-12-21 19:01           ` Wolfgang Schuster
2007-12-21 20:09             ` Joel C. Salomon
2007-12-21 21:08               ` Wolfgang Schuster
2007-12-23  0:30                 ` Joel C. Salomon
2007-12-23 12:39                   ` Wolfgang Schuster
2007-12-21  8:55 ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2002-09-11 10:07 Piotr Kopszak
2002-09-11 17:53 ` Willi Egger

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=7871fcf50712201504s36570eddj4862ef466c69bfaa@mail.gmail.com \
    --to=joelcsalomon@gmail.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).