[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Table Of Contents crash with negative first-page-number (issue 25874
From: |
dak |
Subject: |
Re: Table Of Contents crash with negative first-page-number (issue 258740043 by address@hidden) |
Date: |
Sun, 12 Jul 2015 23:39:52 +0000 |
On 2015/07/12 17:49:44, thomasmorley651 wrote:
On 2015/07/12 17:01:06, dak wrote:
>
https://codereview.appspot.com/258740043/diff/1/scm/define-markup-commands.scm
> File scm/define-markup-commands.scm (right):
>
>
https://codereview.appspot.com/258740043/diff/1/scm/define-markup-commands.scm#newcode542
> scm/define-markup-commands.scm:542: (+ table-page-number (+ 1 (* -1
> first-page-number))))
> Uh, (- table-page-number (1- first-page-number)) ?
done
Now I get second thoughts. The problem is that I actually have no clue
how this calculation comes about. Is it because logical pages are
counted from 1? If so, this likely should rather be (1+ (-
table-page-number first-page-number)) instead. Basically, the
calculation should reflect the underlying logic. Whatever that may be.
https://codereview.appspot.com/258740043/
- Table Of Contents crash with negative first-page-number (issue 258740043 by address@hidden), thomasmorley65, 2015/07/12
- Re: Table Of Contents crash with negative first-page-number (issue 258740043 by address@hidden), dak, 2015/07/12
- Re: Table Of Contents crash with negative first-page-number (issue 258740043 by address@hidden), thomasmorley65, 2015/07/12
- Re: Table Of Contents crash with negative first-page-number (issue 258740043 by address@hidden), dak, 2015/07/12
- Re: Table Of Contents crash with negative first-page-number (issue 258740043 by address@hidden), thomasmorley65, 2015/07/12
- Re: Table Of Contents crash with negative first-page-number (issue 258740043 by address@hidden), thomasmorley65, 2015/07/12
- Re: Table Of Contents crash with negative first-page-number (issue 258740043 by address@hidden),
dak <=
- Re: Table Of Contents crash with negative first-page-number (issue 258740043 by address@hidden), thomasmorley65, 2015/07/12