ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* startbodymatter question
@ 2008-07-22 17:55 Alan Stone
  2008-07-23  6:15 ` Wolfgang Schuster
  0 siblings, 1 reply; 15+ messages in thread
From: Alan Stone @ 2008-07-22 17:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi,
How do you get rid of the doublesided document's page number on the blank
page
inserted after the last chapter  ?

Alan

 ConTeXt  ver: 2008.07.10 08:40 MKIV  fmt: 2008.7.10  int: english/english

texmfstart texexec --lua test.tex

--- start of code ---

\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
\setupsectionblock[bodypart][page=no]         % doesn't make a difference

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

\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 cover
\stopbackmatter

\stoptext

--- end of code ---

[-- Attachment #1.2: Type: text/html, Size: 4213 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
___________________________________________________________________________________

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

* Re: startbodymatter question
  2008-07-22 17:55 startbodymatter question Alan Stone
@ 2008-07-23  6:15 ` Wolfgang Schuster
  2008-07-23 13:33   ` Alan Stone
  0 siblings, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2008-07-23  6:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Jul 22, 2008 at 7:55 PM, Alan Stone
<software.list.1es9s@gmail.com> wrote:
> Hi,
> How do you get rid of the doublesided document's page number on the blank
> page
> inserted after the last chapter  ?
>
> Alan
>
> ConTeXt  ver: 2008.07.10 08:40 MKIV  fmt: 2008.7.10  int: english/english
>
> texmfstart texexec --lua test.tex
>
> --- start of code ---
>
> \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
> \setupsectionblock[bodypart][page=no]         % doesn't make a difference

\setupsectionblock[bodypart][page=yes]
\setupsectionblock[backpart][page=yes]

or for the backpart

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

> \startsectionblockenvironment[backpart]
>     \setupheader[state=stop]
>     \setupfooter[state=stop]
> \stopsectionblockenvironment
>
> \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 cover
> \stopbackmatter
>
> \stoptext
>
> --- end of code ---

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
___________________________________________________________________________________


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

* Re: startbodymatter question
  2008-07-23  6:15 ` Wolfgang Schuster
@ 2008-07-23 13:33   ` Alan Stone
  2008-07-23 13:55     ` Wolfgang Schuster
  0 siblings, 1 reply; 15+ messages in thread
From: Alan Stone @ 2008-07-23 13:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

>
> \setupsectionblock[bodypart][page=yes]
> \setupsectionblock[backpart][page=yes]
>
> or for the backpart
>
> \setupsectionblock[backpart][page=yes,before={\page[left]}]


Thanks Wolfgang.

I've been playing with different bodypart and backpart setupsectionblock
settings: number=yes/no, page=yes/no/right,
before/after={\page[left/right]}]

>From what I observed and understand (from the manual and
http://texshow.contextgarden.net/command/detail/296 )...

number=yes/no : doesn't have any effect at all

page=yes : starts (a section block on) a new (left or right) page
page=no : doesn't have any effect at all
page=right: starts (a section block on) a (new) right page

before/after : before/after starting the new page

\page[left/right] : forces a left/right page

The following

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

gives more what I was looking after, however there's still
a blank numbered page as the last chapter's last page
which I've unsuccessfully been trying to get without page
number.

Alan

[-- Attachment #1.2: Type: text/html, Size: 1410 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
___________________________________________________________________________________

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

* Re: startbodymatter question
  2008-07-23 13:33   ` Alan Stone
@ 2008-07-23 13:55     ` Wolfgang Schuster
  2008-07-23 14:41       ` Alan Stone
  2008-07-23 15:19       ` John Devereux
  0 siblings, 2 replies; 15+ messages in thread
From: Wolfgang Schuster @ 2008-07-23 13:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jul 23, 2008 at 3:33 PM, Alan Stone
<software.list.1es9s@gmail.com> wrote:
>> \setupsectionblock[bodypart][page=yes]
>> \setupsectionblock[backpart][page=yes]
>>
>> or for the backpart
>>
>> \setupsectionblock[backpart][page=yes,before={\page[left]}]
>
> Thanks Wolfgang.
>
> I've been playing with different bodypart and backpart setupsectionblock
> settings: number=yes/no, page=yes/no/right,
> before/after={\page[left/right]}]
>
> From what I observed and understand (from the manual and
> http://texshow.contextgarden.net/command/detail/296 )...
>
> number=yes/no : doesn't have any effect at all

Removes the number from \chapter etc.

> page=yes : starts (a section block on) a new (left or right) page
> page=no : doesn't have any effect at all

Continues the next sectionblock on the same page as the lest block ends.

> page=right: starts (a section block on) a (new) right page
>
> before/after : before/after starting the new page
>
> \page[left/right] : forces a left/right page
>
> The following
>
> \setupsectionblock[backpart][before={\page[left]}]
>
> gives more what I was looking after, however there's still
> a blank numbered page as the last chapter's last page
> which I've unsuccessfully been trying to get without page
> number.

But only in MkII, if you have a problem with this in MkIV make a example.

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
___________________________________________________________________________________


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

* Re: startbodymatter question
  2008-07-23 13:55     ` Wolfgang Schuster
@ 2008-07-23 14:41       ` Alan Stone
  2008-07-23 14:46         ` Alan Stone
  2008-07-23 15:19       ` John Devereux
  1 sibling, 1 reply; 15+ messages in thread
From: Alan Stone @ 2008-07-23 14:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

>
> But only in MkII, if you have a problem with this in MkIV make a 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

\starthiding
\chapter{Chapter 3}
    \section{Section 3.1}
        \input knuth
        \blank
        \input knuth
        \blank
        \input knuth

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

    \section{Section 3.3}
        \input zapf
        \blank
        \input zapf
        \blank
        \input zapf
\stopbodymatter
\stophiding

\startbackmatter
    back page
\stopbackmatter

\stoptext

[-- Attachment #1.2: Type: text/html, Size: 4684 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
___________________________________________________________________________________

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

* Re: startbodymatter question
  2008-07-23 14:41       ` Alan Stone
@ 2008-07-23 14:46         ` Alan Stone
  2008-07-23 15:00           ` Wolfgang Schuster
  0 siblings, 1 reply; 15+ messages in thread
From: Alan Stone @ 2008-07-23 14:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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

[-- Attachment #1.2: Type: text/html, Size: 3429 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
___________________________________________________________________________________

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

* Re: startbodymatter question
  2008-07-23 14:46         ` Alan Stone
@ 2008-07-23 15:00           ` Wolfgang Schuster
  2008-07-23 15:37             ` Alan Stone
  0 siblings, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2008-07-23 15:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jul 23, 2008 at 4:46 PM, Alan Stone
<software.list.1es9s@gmail.com> wrote:
> 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]}]

You need

\setupsectionblock[bodypart][page=yes]
\setupsectionblock[backpart][page=yes,before={\page[left]}]

The output from your settings is weird but correct because the last page
of the bodymatter is a right page and with the default value for "page" you're
going to the next right page, in your case page 11.

On page 11 starts now the backmatter with empty header and footer lines,
your setting for the backmatter inserts the "\page[left]" command and because
we're at the moment on a right page the current page is empty and the back
page is placed on page 12.

You see, nothing is wrong with ConTeXt, only the settings for the sectionblocks
are a bit confusing and you have to take care of this.

> \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

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
___________________________________________________________________________________


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

* Re: startbodymatter question
  2008-07-23 13:55     ` Wolfgang Schuster
  2008-07-23 14:41       ` Alan Stone
@ 2008-07-23 15:19       ` John Devereux
  2008-07-23 15:29         ` Wolfgang Schuster
  1 sibling, 1 reply; 15+ messages in thread
From: John Devereux @ 2008-07-23 15:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

"Wolfgang Schuster" <schuster.wolfgang@googlemail.com> writes:

> On Wed, Jul 23, 2008 at 3:33 PM, Alan Stone
> <software.list.1es9s@gmail.com> wrote:
>>> \setupsectionblock[bodypart][page=yes]
>>> \setupsectionblock[backpart][page=yes]
>>>
>>> or for the backpart
>>>
>>> \setupsectionblock[backpart][page=yes,before={\page[left]}]
>>
>> Thanks Wolfgang.
>>
>> I've been playing with different bodypart and backpart setupsectionblock
>> settings: number=yes/no, page=yes/no/right,
>> before/after={\page[left/right]}]
>>
>> From what I observed and understand (from the manual and
>> http://texshow.contextgarden.net/command/detail/296 )...
>>
>> number=yes/no : doesn't have any effect at all
>
> Removes the number from \chapter etc.
>
>> page=yes : starts (a section block on) a new (left or right) page
>> page=no : doesn't have any effect at all
>
> Continues the next sectionblock on the same page as the lest block ends.
>
>> page=right: starts (a section block on) a (new) right page
>>
>> before/after : before/after starting the new page
>>
>> \page[left/right] : forces a left/right page
>>
>> The following
>>
>> \setupsectionblock[backpart][before={\page[left]}]
>>
>> gives more what I was looking after, however there's still
>> a blank numbered page as the last chapter's last page
>> which I've unsuccessfully been trying to get without page
>> number.
>
> But only in MkII, if you have a problem with this in MkIV make a example.

I have been struggling with some similar issues (in MkII). I was
getting an extra page at the end of a document which came and went for
reasons that were unclear to me. And then there was the issue (bug?)
about "getting to the back page of a booklet" which you helped me with
before.(It's towards the end of
<http://wiki.contextgarden.net/index.php?title=Imposition>)

Was this actually a bug?

While your solution seemed to work well originally, it seems to be
fragile now when used in a more complicated document. It seems to work
OK when I don't use a sectionblock for the back cover, so perhaps it
is related.

-- 

John Devereux
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: startbodymatter question
  2008-07-23 15:19       ` John Devereux
@ 2008-07-23 15:29         ` Wolfgang Schuster
  2008-07-23 17:24           ` John Devereux
  0 siblings, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2008-07-23 15:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jul 23, 2008 at 5:19 PM, John Devereux
<jdREMOVE@thisdevereux.me.uk> wrote:
> "Wolfgang Schuster" <schuster.wolfgang@googlemail.com> writes:
>
>> On Wed, Jul 23, 2008 at 3:33 PM, Alan Stone
>> <software.list.1es9s@gmail.com> wrote:
>>>> \setupsectionblock[bodypart][page=yes]
>>>> \setupsectionblock[backpart][page=yes]
>>>>
>>>> or for the backpart
>>>>
>>>> \setupsectionblock[backpart][page=yes,before={\page[left]}]
>>>
>>> Thanks Wolfgang.
>>>
>>> I've been playing with different bodypart and backpart setupsectionblock
>>> settings: number=yes/no, page=yes/no/right,
>>> before/after={\page[left/right]}]
>>>
>>> From what I observed and understand (from the manual and
>>> http://texshow.contextgarden.net/command/detail/296 )...
>>>
>>> number=yes/no : doesn't have any effect at all
>>
>> Removes the number from \chapter etc.
>>
>>> page=yes : starts (a section block on) a new (left or right) page
>>> page=no : doesn't have any effect at all
>>
>> Continues the next sectionblock on the same page as the lest block ends.
>>
>>> page=right: starts (a section block on) a (new) right page
>>>
>>> before/after : before/after starting the new page
>>>
>>> \page[left/right] : forces a left/right page
>>>
>>> The following
>>>
>>> \setupsectionblock[backpart][before={\page[left]}]
>>>
>>> gives more what I was looking after, however there's still
>>> a blank numbered page as the last chapter's last page
>>> which I've unsuccessfully been trying to get without page
>>> number.
>>
>> But only in MkII, if you have a problem with this in MkIV make a example.
>
> I have been struggling with some similar issues (in MkII). I was
> getting an extra page at the end of a document which came and went for
> reasons that were unclear to me. And then there was the issue (bug?)
> about "getting to the back page of a booklet" which you helped me with
> before.(It's towards the end of
> <http://wiki.contextgarden.net/index.php?title=Imposition>)
>
> Was this actually a bug?

The extra page at the end of a document in MkII in is related to marks
and there is no perfect solution for this.

If the effect with \page[quadruple] to go the last page in booklet is
wanted or not could be only answered by Hans.

> While your solution seemed to work well originally, it seems to be
> fragile now when used in a more complicated document. It seems to work
> OK when I don't use a sectionblock for the back cover, so perhaps it
> is related.

This should be the same problem as in Alans example, \page[quadruple]
moves you to the last page in document but \stopbackmatter or
\stopappendices insert a additonal page at the end but you can get rid of
this with \setupsectionblock[appendix|backmatter][page=yes|no].

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
___________________________________________________________________________________


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

* Re: startbodymatter question
  2008-07-23 15:00           ` Wolfgang Schuster
@ 2008-07-23 15:37             ` Alan Stone
  2008-07-23 16:04               ` Alan Stone
  2008-07-24  6:32               ` Wolfgang Schuster
  0 siblings, 2 replies; 15+ messages in thread
From: Alan Stone @ 2008-07-23 15:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

>
> You need
>
> \setupsectionblock[bodypart][page=yes]
> \setupsectionblock[backpart][page=yes,before={\page[left]}]


I tried that Wolfgang.

However I'd like the pages setup like in my last example with, in a double
sided document, the back page on the [(next even page) + 2]. So, refering to
the output of the last example: page 10 being a blank page without page
number and, as is, the back page on page 10 + 2 = page 12.

Alan

[-- Attachment #1.2: Type: text/html, Size: 663 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
___________________________________________________________________________________

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

* Re: startbodymatter question
  2008-07-23 15:37             ` Alan Stone
@ 2008-07-23 16:04               ` Alan Stone
  2008-07-24  6:32               ` Wolfgang Schuster
  1 sibling, 0 replies; 15+ messages in thread
From: Alan Stone @ 2008-07-23 16:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Stated otherwise...

If, in a double sided document, the last chapter/appendix/whatever's last
page

= an even page (p) -> back page = on page (p) + 2

= an odd page (p)  -> back page =  on page (p) + 3

with

whatever pages = non to the main part of the document related pages -> makup
pages ?

Alan


On Wed, Jul 23, 2008 at 5:37 PM, Alan Stone <software.list.1es9s@gmail.com>
wrote:

> You need
>>
>> \setupsectionblock[bodypart][page=yes]
>> \setupsectionblock[backpart][page=yes,before={\page[left]}]
>
>
> I tried that Wolfgang.
>
> However I'd like the pages setup like in my last example with, in a double
> sided document, the back page on the [(next even page) + 2]. So, refering to
> the output of the last example: page 10 being a blank page without page
> number and, as is, the back page on page 10 + 2 = page 12.
>
> Alan
>

[-- Attachment #1.2: Type: text/html, Size: 1403 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
___________________________________________________________________________________

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

* Re: startbodymatter question
  2008-07-23 15:29         ` Wolfgang Schuster
@ 2008-07-23 17:24           ` John Devereux
  2008-07-24  6:35             ` Wolfgang Schuster
  0 siblings, 1 reply; 15+ messages in thread
From: John Devereux @ 2008-07-23 17:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

"Wolfgang Schuster" <schuster.wolfgang@googlemail.com> writes:

> On Wed, Jul 23, 2008 at 5:19 PM, John Devereux
> <jdREMOVE@thisdevereux.me.uk> wrote:

[...]

>>
>> I have been struggling with some similar issues (in MkII). I was
>> getting an extra page at the end of a document which came and went for
>> reasons that were unclear to me. And then there was the issue (bug?)
>> about "getting to the back page of a booklet" which you helped me with
>> before.(It's towards the end of
>> <http://wiki.contextgarden.net/index.php?title=Imposition>)
>>
>> Was this actually a bug?
>
> The extra page at the end of a document in MkII in is related to marks
> and there is no perfect solution for this.
>
> If the effect with \page[quadruple] to go the last page in booklet is
> wanted or not could be only answered by Hans.
>
>> While your solution seemed to work well originally, it seems to be
>> fragile now when used in a more complicated document. It seems to work
>> OK when I don't use a sectionblock for the back cover, so perhaps it
>> is related.
>
> This should be the same problem as in Alans example, \page[quadruple]
> moves you to the last page in document but \stopbackmatter or
> \stopappendices insert a additonal page at the end but you can get rid of
> this with \setupsectionblock[appendix|backmatter][page=yes|no].

This does not seem to make a difference. If I enclose the two back
cover pages in \startbackmatter...\stopbackmatter then a spurious
extra blank page is generated after the "back cover".

I tried all combinations of

   \setupsectionblock[backmatter|backpart][page=no|yes]

("backpart" in the \setup corresponds to "backmatter" in the text,
yes? Another thing that was confusing me!)


-- 

John Devereux
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: startbodymatter question
  2008-07-23 15:37             ` Alan Stone
  2008-07-23 16:04               ` Alan Stone
@ 2008-07-24  6:32               ` Wolfgang Schuster
  2008-07-24  8:30                 ` Alan Stone
  1 sibling, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2008-07-24  6:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jul 23, 2008 at 5:37 PM, Alan Stone
<software.list.1es9s@gmail.com> wrote:
>> You need
>>
>> \setupsectionblock[bodypart][page=yes]
>> \setupsectionblock[backpart][page=yes,before={\page[left]}]
>
> I tried that Wolfgang.
>
> However I'd like the pages setup like in my last example with, in a double
> sided document, the back page on the [(next even page) + 2]. So, refering to
> the output of the last example: page 10 being a blank page without page
> number and, as is, the back page on page 10 + 2 = page 12.

No problem

\setupsectionblock[bodypart][page=yes]
\setupsectionblock[backpart][page=yes,before={\page[yes,empty,left]}]

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
___________________________________________________________________________________


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

* Re: startbodymatter question
  2008-07-23 17:24           ` John Devereux
@ 2008-07-24  6:35             ` Wolfgang Schuster
  0 siblings, 0 replies; 15+ messages in thread
From: Wolfgang Schuster @ 2008-07-24  6:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jul 23, 2008 at 7:24 PM, John Devereux
<jdREMOVE@thisdevereux.me.uk> wrote:
> "Wolfgang Schuster" <schuster.wolfgang@googlemail.com> writes:
>
>> On Wed, Jul 23, 2008 at 5:19 PM, John Devereux
>> <jdREMOVE@thisdevereux.me.uk> wrote:
>
> [...]
>
>>>
>>> I have been struggling with some similar issues (in MkII). I was
>>> getting an extra page at the end of a document which came and went for
>>> reasons that were unclear to me. And then there was the issue (bug?)
>>> about "getting to the back page of a booklet" which you helped me with
>>> before.(It's towards the end of
>>> <http://wiki.contextgarden.net/index.php?title=Imposition>)
>>>
>>> Was this actually a bug?
>>
>> The extra page at the end of a document in MkII in is related to marks
>> and there is no perfect solution for this.
>>
>> If the effect with \page[quadruple] to go the last page in booklet is
>> wanted or not could be only answered by Hans.
>>
>>> While your solution seemed to work well originally, it seems to be
>>> fragile now when used in a more complicated document. It seems to work
>>> OK when I don't use a sectionblock for the back cover, so perhaps it
>>> is related.
>>
>> This should be the same problem as in Alans example, \page[quadruple]
>> moves you to the last page in document but \stopbackmatter or
>> \stopappendices insert a additonal page at the end but you can get rid of
>> this with \setupsectionblock[appendix|backmatter][page=yes|no].
>
> This does not seem to make a difference. If I enclose the two back
> cover pages in \startbackmatter...\stopbackmatter then a spurious
> extra blank page is generated after the "back cover".

Did this happen also with MkIV or only in MkII?

> I tried all combinations of
>
>   \setupsectionblock[backmatter|backpart][page=no|yes]
>
> ("backpart" in the \setup corresponds to "backmatter" in the text,
> yes? Another thing that was confusing me!)

My fault, I meant 'backpart' but I need a example to help you.

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
___________________________________________________________________________________


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

* Re: startbodymatter question
  2008-07-24  6:32               ` Wolfgang Schuster
@ 2008-07-24  8:30                 ` Alan Stone
  0 siblings, 0 replies; 15+ messages in thread
From: Alan Stone @ 2008-07-24  8:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Simple and effective.

Thanks.
Alan

P.S. It's (again) in the manual. <o: grin :o>

[-- Attachment #1.2: Type: text/html, Size: 134 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
___________________________________________________________________________________

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

end of thread, other threads:[~2008-07-24  8:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-22 17:55 startbodymatter question Alan Stone
2008-07-23  6:15 ` Wolfgang Schuster
2008-07-23 13:33   ` Alan Stone
2008-07-23 13:55     ` Wolfgang Schuster
2008-07-23 14:41       ` Alan Stone
2008-07-23 14:46         ` Alan Stone
2008-07-23 15:00           ` Wolfgang Schuster
2008-07-23 15:37             ` Alan Stone
2008-07-23 16:04               ` Alan Stone
2008-07-24  6:32               ` Wolfgang Schuster
2008-07-24  8:30                 ` Alan Stone
2008-07-23 15:19       ` John Devereux
2008-07-23 15:29         ` Wolfgang Schuster
2008-07-23 17:24           ` John Devereux
2008-07-24  6:35             ` Wolfgang Schuster

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).