Skip to main content
12 events
when toggle format what by license comment
Dec 29, 2012 at 21:57 vote accept Stefe Klauou
Dec 29, 2012 at 12:00 comment added Andrew Swann The same problem occurs for other list environments (theorems are built on top of trivlists).
Dec 29, 2012 at 10:56 answer added egreg timeline score: 7
Dec 29, 2012 at 10:38 comment added egreg I can reproduce the problem and it has nothing to do with thmtools or hyperref, just the ordinary \newtheorem provided by LaTeX. It just seems that you're the first one using \pageref for theorems. This definitely is a misfeature that happens when a theorem starts when some space is available on the page, but at page breaking TeX decides to move the theorem to the next page. It shouldn't happen.
Dec 29, 2012 at 4:06 comment added Stefe Klauou Just use \usepackage{blindtext} und use \Blindtext five times (instead of \dots etc). This is regular text and the page number is still screwed up. For me this doen't look like a problem which usually does not happen. It happens all the time :/ (found another issue in my doc... oh dear!)
Dec 29, 2012 at 3:43 comment added A.Ellett This miscalculation should not occur that frequently at all. Perhaps if you provide a more complete MWE we can see better what's happening. But right now, LaTeX is not going to think it has a good page break after you forced \\[18cm].
Dec 29, 2012 at 3:39 comment added Stefe Klauou Re-running does not help (I know that general workflow and already tried before)
Dec 29, 2012 at 3:38 comment added Stefe Klauou I expected that I don't have to comment that my doc has 400+ pages and too many theorems (and other environments), so putting any formatting hints (clearpage) manually cannot be accepted as solution :( LaTeX has to do that work for me.
Dec 29, 2012 at 3:04 answer added A.Ellett timeline score: 2
Dec 29, 2012 at 2:41 comment added user11232 Putting \clearpage after the commented out \ldots corrects the number.
Dec 29, 2012 at 2:32 comment added Peter Grill Try re-runing it one more time. The page references are stored in auxiliary files that are read upon a subsequent run and hence if things change may require an additional run.
Dec 29, 2012 at 2:25 history asked Stefe Klauou CC BY-SA 3.0