From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42702 Path: news.gmane.org!not-for-mail From: "Alan Stone" Newsgroups: gmane.comp.tex.context Subject: Re: startbodymatter question Date: Wed, 23 Jul 2008 16:46:15 +0200 Message-ID: <326847810807230746x61f24a93j30629458b826f98c@mail.gmail.com> References: <326847810807221055vbcf17c6ocb8999348675c307@mail.gmail.com> <115224fb0807222315j19773191pc176f376579a1550@mail.gmail.com> <326847810807230633n16fdfdf9v63ced5930e7de42b@mail.gmail.com> <115224fb0807230655i10c5ab61n306e3e98f7042100@mail.gmail.com> <326847810807230741q60e98e8ag4a836cc80c473f71@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0439835561==" X-Trace: ger.gmane.org 1216824512 26704 80.91.229.12 (23 Jul 2008 14:48:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jul 2008 14:48:32 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 23 16:49:21 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KLfe0-0006Zx-FS for gctc-ntg-context-518@m.gmane.org; Wed, 23 Jul 2008 16:48:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EC6C61FDD9; Wed, 23 Jul 2008 16:47:46 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25263-02-3; Wed, 23 Jul 2008 16:47:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DCFF11FD81; Wed, 23 Jul 2008 16:47:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BA1811FD81 for ; Wed, 23 Jul 2008 16:46:57 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26147-01-2 for ; Wed, 23 Jul 2008 16:46:17 +0200 (CEST) Original-Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.231]) by ronja.ntg.nl (Postfix) with ESMTP id C04721FCF5 for ; Wed, 23 Jul 2008 16:46:15 +0200 (CEST) Original-Received: by hu-out-0506.google.com with SMTP id 34so9204341hui.19 for ; Wed, 23 Jul 2008 07:46:15 -0700 (PDT) Original-Received: by 10.210.52.9 with SMTP id z9mr90443ebz.139.1216824375077; Wed, 23 Jul 2008 07:46:15 -0700 (PDT) Original-Received: by 10.210.136.3 with HTTP; Wed, 23 Jul 2008 07:46:15 -0700 (PDT) In-Reply-To: <326847810807230741q60e98e8ag4a836cc80c473f71@mail.gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:42702 Archived-At: --===============0439835561== Content-Type: multipart/alternative; boundary="----=_Part_62428_18644264.1216824375063" ------=_Part_62428_18644264.1216824375063 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Correction ( disregard the previous example)... \setuppapersize [A4][A4] %\setuppagenumbering[alternative=singlesided] \setuppagenumbering[alternative=doublesided] \definepagebreak[myChapterPageBreak][yes,header,footer,right] \setuphead[chapter][page=myChapterPageBreak] \startsectionblockenvironment[frontpart] \setupheader[state=stop] \setupfooter[state=stop] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setupheader[state=start] \setupfooter[state=start] \stopsectionblockenvironment \startsectionblockenvironment[backpart] \setupheader[state=stop] \setupfooter[state=stop] \stopsectionblockenvironment \setupsectionblock[backpart][before={\page[left]}] \starttext \startstandardmakeup Title \blank[3*big] Author \stopstandardmakeup \startfrontmatter Table of Contents \blank[3*big] \placecontent \stopfrontmatter \startbodymatter \chapter{Chapter 1} \section{Section 1.1} \input knuth \blank \input knuth \blank \input knuth \section{Section 1.2} \input tufte \blank \input tufte \blank \input tufte \section{Section 1.3} \input zapf \blank \input zapf \blank \input zapf \chapter{Chapter 2} \section{Section 2.1} \input knuth \blank \input knuth \blank \input knuth \section{Section 2.2} \input tufte \blank \input tufte \blank \input tufte \section{Section 2.3} \input zapf \blank \input zapf \blank \input zapf \stopbodymatter \startbackmatter back page \stopbackmatter \stoptext ------=_Part_62428_18644264.1216824375063 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Correction ( disregard the previous example)...

\setuppapersize [A4][A4]

%\setuppagenumbering[alternative=singlesided]
\setuppagenumbering[alternative=doublesided]

\definepagebreak[myChapterPageBreak][yes,header,footer,right]
\setuphead[chapter][page=myChapterPageBreak]

\startsectionblockenvironment[frontpart]
    \setupheader[state=stop]
    \setupfooter[state=stop]
\stopsectionblockenvironment

\startsectionblockenvironment[bodypart]
    \setupheader[state=start]
    \setupfooter[state=start]
\stopsectionblockenvironment

\startsectionblockenvironment[backpart]
    \setupheader[state=stop]
    \setupfooter[state=stop]
\stopsectionblockenvironment

\setupsectionblock[backpart][before={\page[left]}]

\starttext

\startstandardmakeup
    Title
    \blank[3*big]
    Author
\stopstandardmakeup

\startfrontmatter
    Table of Contents
    \blank[3*big]
    \placecontent
\stopfrontmatter

\startbodymatter
    \chapter{Chapter 1}
    \section{Section 1.1}
        \input knuth
        \blank
        \input knuth
        \blank
        \input knuth

    \section{Section 1.2}
        \input tufte
        \blank
        \input tufte
        \blank
        \input tufte

    \section{Section 1.3}
        \input zapf
        \blank
        \input zapf
        \blank
        \input zapf

    \chapter{Chapter 2}
    \section{Section 2.1}
        \input knuth
        \blank
        \input knuth
        \blank
        \input knuth

    \section{Section 2.2}
        \input tufte
        \blank
        \input tufte
        \blank
        \input tufte

    \section{Section 2.3}
        \input zapf
        \blank
        \input zapf
        \blank
        \input zapf
\stopbodymatter

\startbackmatter
    back page
\stopbackmatter

\stoptext

------=_Part_62428_18644264.1216824375063-- --===============0439835561== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0439835561==--