Greetings all! I have a book setup that worked perfectly as long as the inside cover was only one page long. But then we added information to the inside cover and had to split the information on two pages. The so called inside cover works fine, the TOC works fine, but the main text part (starting with Intro) begins now on page 2 when it should be on page 1. And this happens even when the TOC is two pages long, which is a bit weird (I would assume that if it counts TOC into page numbers, two-page TOC would mean that Intro starts on page 3, but nope, it still starts on page 2). The minimal sample attached to this message is really ugly as it doesn't contain any of the environment files, but the problem is visible here just as well as in the real thing - if I make the second page of the inside cover disappear, Intro starts on page 1 as it should. If the so called inside cover is two pages long, Intro starts on page 2. (The file to be compiled is prd-pr43-general_test.tex, the others are component files.) It is quite possible the TOC file is the culprit and it has been pure luck that everything has worked until now... I don't understand the page mechanism in ConTeXt well enough to see where the problem is. I noticed that my ConTeXt version is pretty old: "ConTeXt ver: 2015.02.03 23:55 MKIV beta" (hmm... I didn't update at ConTeXt meeting as I usually do, stupid me.) I'd rather not update just now (production in sensitive phase), but if you think the problem will go away with an update, I'll do it. All help is gratefully received, Mari
Mari Voipio mailto:mari.voipio@iki.fi 14. März 2016 um 15:43 Greetings all!
I have a book setup that worked perfectly as long as the inside cover was only one page long. But then we added information to the inside cover and had to split the information on two pages. The so called inside cover works fine, the TOC works fine, but the main text part (starting with Intro) begins now on page 2 when it should be on page 1. And this happens even when the TOC is two pages long, which is a bit weird (I would assume that if it counts TOC into page numbers, two-page TOC would mean that Intro starts on page 3, but nope, it still starts on page 2).
The minimal sample attached to this message is really ugly as it doesn't contain any of the environment files, but the problem is visible here just as well as in the real thing - if I make the second page of the inside cover disappear, Intro starts on page 1 as it should. If the so called inside cover is two pages long, Intro starts on page 2. (The file to be compiled is prd-pr43-general_test.tex, the others are component files.)
It is quite possible the TOC file is the culprit and it has been pure luck that everything has worked until now... I don't understand the page mechanism in ConTeXt well enough to see where the problem is.
I noticed that my ConTeXt version is pretty old: "ConTeXt ver: 2015.02.03 23:55 MKIV beta" (hmm... I didn't update at ConTeXt meeting as I usually do, stupid me.) I'd rather not update just now (production in sensitive phase), but if you think the problem will go away with an update, I'll do it. Move your intro text after the \startfrontmatter command everything before it doesn’t belong to any sectionblock.
You can also omit \startext and \stoptext commands when you \startcomponent etc. because they already do the work of \starttext. Wolfgang
On 03/14/2016 03:43 PM, Mari Voipio wrote:
Greetings all!
I have a book setup that worked perfectly as long as the inside cover was only one page long. But then we added information to the inside cover and had to split the information on two pages. The so called inside cover works fine, the TOC works fine, but the main text part (starting with Intro) begins now on page 2 when it should be on page 1. And this happens even when the TOC is two pages long, which is a bit weird (I would assume that if it counts TOC into page numbers, two-page TOC would mean that Intro starts on page 3, but nope, it still starts on page 2). [...]
Hi Mari, how about adding "\setcounter[userpage][1]" just before the introduction? Just in case it might help, Pablo -- http://www.ousia.tk
participants (3)
-
Mari Voipio
-
Pablo Rodriguez
-
Wolfgang Schuster