Adam Di Carlo <[EMAIL PROTECTED]> writes:

> Kevin Dunn <[EMAIL PROTECTED]> writes:
> 
> > From: Sebastian Rahtz <[EMAIL PROTECTED]>
> 
> > >its probably because the stylesheet puts the label on a containing
> > >element which *does* start in page n-1
> 
> > Yes, that's exactly what happens. And not just for the TOC and LOT,
> > any LINK or XREF to a table or figure will have the same problem.
> 
> Annoying.  Can someone track down if this is the stylesheet's fault or
> else perhaps the TeX backend on Jade or OpenJade?

I have tried to track it down some time ago.  I'll attach the old mail
in case it helps you locate the problem:


>From nobody Mon Sep 18 15:29:23 2000
To: Jade Devel <[EMAIL PROTECTED]>
Subject: Re: TeX backend fixed.
References: <[EMAIL PROTECTED]>
Organization: Open Systems Computing AS
From: Thomas Andre Berger <[EMAIL PROTECTED]>
Date: 18 Sep 2000 15:29:23 +0200
In-Reply-To: "Francis J. Lacoste"'s message of "Fri, 15 Sep 2000 18:00:39 -0400"
Message-ID: <[EMAIL PROTECTED]>
Lines: 148
User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6

"Francis J. Lacoste" <[EMAIL PROTECTED]> writes:

> Hi,
> 
> I've finally fixed the pure virtual method called error !
> 
> You can download the new patch from 
> 
> http://indev.insu.com/openjade/openjade-1.3-table.patch
> 
> The patch which has all the changes was updated as well :
> 
> http://indev.insu.com/openjade/openjade-1.3.patch
> 
> Please test those and give me feedback !



I can give you some output from our tex-file.  I'm not sure of where
to start and end quoting, but I start somewhat before and after the
spots where the bug appears.

Some debug info for the "page-number" problem of mine.

[ Table of contents ]
              
 One of the problematic enties is:

   2.7. Shortcuts ....................................... 25

 2.6 and 2.7.1 is fine.

Here is that part of our tex:

{toc-page-number-mode}}\insertCurrentNodePageNumber%
{\def\Element%
{352}}\endNode{}\endLink{}\endPar{}\Par%
{\def\StartIndent%
{96\p@}\def\StartIndentFactor%
{0}\def\FirstLineStartIndent%
{-24\p@}\def\FirstLineStartIndentFactor%
{0}\def\fWeight%
{medium}\def\Quadding%
{start}}\Link%
{\def\Element%
{357}}\Seq%
{}\Seq%
{}\Seq%
{}2.7\endSeq{}. \endSeq{}\Node%
{\def\Element%
{358}\def\ProcessingMode%
{title-sosofo-mode}}Shortcuts\endNode{}\endSeq{}\endLink{}\Leader%
{}.\endLeader{}\Link%
{\def\Element%
{357}}\Node%
{\def\Element%
{357}\def\ProcessingMode%
{toc-page-number-mode}}\insertCurrentNodePageNumber%
{\def\Element%
{357}}\endNode{}\endLink{}\endPar{}\Seq%
{}\Par%
{\def\StartIndent%
{120\p@}\def\StartIndentFactor%
{0}\def\FirstLineStartIndent%
{-24\p@}\def\FirstLineStartIndentFactor%
{0}\def\fWeight%
{medium}\def\Quadding%
{start}}\Link%
{\def\Element%
{359}}\Seq%
{}\Seq%
{}\Seq%
{}2.7.1\endSeq{}. \endSeq{}\Node%
{\def\Element%
{360}\def\ProcessingMode%
{title-sosofo-mode}}Main Menu Shortcuts\endNode{}\endSeq{}\endLink{}\Leader%
{}.\endLeader{}\Link%
{\def\Element%
{359}}\Node%
{\def\Element%


 
[.......]
  and here is where the title of 2.7 is in the tex-file:


{356}}\Seq%
{\def\fWeight%
{bold}}Enter\endSeq{}\endNode{}.\endPar{}\endNode{}\endSeq{}\endDisplayGroup{}\endNode{}\Node%
{\def\Element%
{357}}\DisplayGroup%
{\def\StartIndent%
{48\p@}\def\StartIndentFactor%
{0}\def\sbNom%
{11\p@}\def\sbMin%
{11\p@}\def\sbMax%
{11\p@}\def\sbConditional%
{1}\def\saNom%
{11\p@}\def\saMin%
{11\p@}\def\saMax%
{11\p@}\def\saConditional%
{1}}\Seq%
{}\Seq%
{}\HeadPar%
{\def\fFamName{Arial}\def\fWeight%
{bold}\def\fPosture%
{upright}\def\fSize%
{19.008\p@}\def\LineSpacing%
{24.71\p@}\def\LineSpacingFactor%
{0}\def\StartIndent%
{0\p@}\def\StartIndentFactor%
{0}\def\FirstLineStartIndent%
{0\p@}\def\FirstLineStartIndentFactor%
{0}\def\Quadding%
{start}\def\HeadingLevel%
{2}\def\sbNom%
{14.256\p@}\def\sbMin%
{14.256\p@}\def\sbMax%
{14.256\p@}\def\sbConditional%
{1}\def\saNom%
{9.504\p@}\def\saMin%
{9.504\p@}\def\saMax%
{9.504\p@}\def\saConditional%
{1}\def\KeepWithNext%
{1}}2.7. \Node%
{\def\Element%
{358}\def\ProcessingMode%
{title-sosofo-mode}}Shortcuts\endNode{}\def\HeadingText{%
2.7. Shortcuts}%
\endHeadPar{}\endSeq{}\Node%
{\def\Element%
{358}}\endNode{}\Node%
{\def\Element%
{359}}\DisplayGroup%
{\def\StartIndent%
{48\p@}\def\StartIndentFactor%


Looks like that tex links to element number 357, and that is located
on page 25, but the title itself is element number 358, and TeX has
wrapped that to the next page.


Thanks for all your great work with openjade/jadetex!

--
 Thomas A. Berger




-- 

 Thomas André Berger               Open Systems Computing AS
 email: [EMAIL PROTECTED]            Kongensgt. 9, N-0153 Oslo, Norway
                                   phone +47 2220 4050, fax +47 22 20 02 85
                                   http://www.osc.no/

Reply via email to