ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Yue Wang <yuleopen@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: two newbie questions (about conditional processing)
Date: Thu, 21 May 2009 09:25:33 +0800	[thread overview]
Message-ID: <68bfdc900905201825w1e8aee29ibd1ec946dd733b83@mail.gmail.com> (raw)

Hi,

I have a new book to design, but I don't know how to do page/content
conditional processing). Please help me:)

- I want my chapter page (first page of each chapter) to be really
distinctive. that is, I define a dark color background, and want all
the text on the first page set in white. how can I do that? for
example
\chapter{hello}
\dorecurse{10}{\input zapf } % all the characters in the first page
should white, others should set in black.

- I want to insert graphics and images. all the graphics are inserted
using \placeexternalfigures. I want all the pages where the insertion
happens to be quite distictive (that is, have a very narrow text
layout, and leave the large margin for the figures. However, when a
page starts, TeX does not know wheter or not an external figure will
be placed on this page, so it really has no idea whether this page
should be set narrower or not..... how can I do that?

Thanks.

Yue Wang
___________________________________________________________________________________
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:[~2009-05-21  1:25 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-21  1:25 Yue Wang [this message]
2009-05-23 16:17 ` Yue Wang
2009-05-23 16:49 ` Zhichu Chen
2009-05-23 17:16   ` Yue Wang
2009-05-23 17:34 ` Wolfgang Schuster
2009-05-24  4:12   ` Zhichu Chen
2009-05-24  8:00     ` Wolfgang Schuster
2009-05-24  8:46       ` Zhichu Chen
2009-05-24  8:57         ` Wolfgang Schuster
2009-05-24  9:44           ` Zhichu Chen
2009-05-24 10:36     ` Hans Hagen
2009-05-25  6:55       ` Zhichu Chen
2009-05-25  7:12         ` Hans Hagen
2009-05-25  7:40           ` Zhichu Chen
2009-05-25  7:51           ` Wolfgang Schuster
2009-05-25  7:57             ` Hans Hagen
2009-05-25  7:30         ` Wolfgang Schuster
2009-05-25  7:42           ` Zhichu Chen
2009-05-25  7:49             ` Wolfgang Schuster

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=68bfdc900905201825w1e8aee29ibd1ec946dd733b83@mail.gmail.com \
    --to=yuleopen@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).