[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] [1.0.0.19] page_breaker_rep::make_skeleton patch? New
From: |
Joris van der Hoeven |
Subject: |
Re: [Texmacs-dev] [1.0.0.19] page_breaker_rep::make_skeleton patch? New double page (before). |
Date: |
Wed, 23 Oct 2002 21:35:21 +0200 (MET DST) |
> The page_breaker_rep::make_skeleton method has been patched to add a
> test:
>
> *** TeXmacs-1.0.0.18-src/src/Typeset/Page/page_breaker.cc
> --- TeXmacs-1.0.0.19-src/src/Typeset/Page/page_breaker.cc
> *************** page_breaker_rep::make_skeleton () {
> *** 1476,1482 ****
> (l[j]->t == tree (FORMAT, NEW_PAGE)))
> {
> last_page_flag= (l[j]->t == tree (FORMAT, NEW_PAGE));
> ! assemble_skeleton (sk, i, j);
> j++; i=j;
> }
> }
> --- 1476,1482 ----
> (l[j]->t == tree (FORMAT, NEW_PAGE)))
> {
> last_page_flag= (l[j]->t == tree (FORMAT, NEW_PAGE));
> ! if (i<j) assemble_skeleton (sk, i, j);
> j++; i=j;
> }
> }
>
> That does not seem to relate to the new page breaking elements, so I
> suppose it might be a bug fix. So, what does that do?
It prevents the production of empty pages through page breaks.
> Also I noticed there are new format tags "new double page" and "new
> double page before" but they do not seem to be implemented. Why not
> delay the introduction of that stuff until it is actually implemented?
Well, I just put it there already for later.