ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Stone <software.list.1es9s@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: chapter page question
Date: Sat, 14 Feb 2009 14:14:49 +0100	[thread overview]
Message-ID: <326847810902140514i6076bdaeu7de3af99268355c8@mail.gmail.com> (raw)
In-Reply-To: <43A79DD5-7F71-41EC-8A79-F4B8D6E240ED@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2070 bytes --]

On Sat, Feb 14, 2009 at 1:23 PM, Wolfgang Schuster <
schuster.wolfgang@googlemail.com> wrote:

>
> Am 14.02.2009 um 12:57 schrieb Alan Stone:
>
>  What's the way to test whether a page is a (start of a new) chapter page
>>>> ?
>>>> Didn't find it on&offline.
>>>>
>>>
>>> Why and for what do you need this information?
>>>
>>
>> To put different text in the margin/edge top/header/... whether a page is
>> a
>> chapter page or not.
>>
>
> \setupheadertexts[\doifoddpageelse{right page}{left page}]
>
> \definetext[chapter][header][chapter page]
>
> % The \definetext command works like \setup(header/footer/...)texts and
> % has 3–7 arguments, the first argument is a keyword (you can use whatever
> % you want, the second is the location of the text and all other arguments
> % are reseved for the content.


from what I understand...

- the location is limited to the text header/footer => what about
margin/edge top/header/footer/bottom ?

- all other arguments are reserved for content => for which content and
where ? if i put
\definetext[chapter][header][chapter page][x1][x2][x3][x4] the "chapter
page" header is replaced by "right page" !?


> \setuphead
>  [chapter]
>  [header=chapter]
>
> \starttext
> \dorecurse{2}{\chapter{Chapter #1}\dorecurse{20}{\input knuth\par}}
> \stoptext
>
>
> Wolfgang
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>



-- 
Best,
Alan

* TeX engine = LuaTeX
* ConTeXt  minimals ver: 2009.01.18 14:39 MKIV  fmt: 2009.1.22  int:
english/english
* Ubuntu 8.04 Hardy Heron, Windows XP SP3 Home

[-- Attachment #1.2: Type: text/html, Size: 3482 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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-02-14 13:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-14 10:46 Alan Stone
2009-02-14 10:57 ` Wolfgang Schuster
2009-02-14 11:57   ` Alan Stone
2009-02-14 12:23     ` Wolfgang Schuster
2009-02-14 13:14       ` Alan Stone [this message]
2009-02-14 13:40         ` Wolfgang Schuster
2009-02-14 14:33           ` Alan Stone
2009-02-14 14:47             ` Wolfgang Schuster
2009-02-14 15:02               ` Alan Stone
2009-02-14 18:17         ` Alan Stone
2009-02-14 18:28           ` Wolfgang Schuster
2009-02-14 19:17             ` Alan Stone
2009-02-14 19:25               ` Wolfgang Schuster
2009-02-14 19:26       ` Alan Stone
2009-02-15 10:04         ` Wolfgang Schuster
2009-02-15 12:59           ` Alan Stone

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=326847810902140514i6076bdaeu7de3af99268355c8@mail.gmail.com \
    --to=software.list.1es9s@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).