Re: PageSize Backend and some changes to PageSize front end.


Subject: Re: PageSize Backend and some changes to PageSize front end.
From: Sam TH (sam@uchicago.edu)
Date: Sun Feb 04 2001 - 08:55:23 CST


On Mon, Feb 05, 2001 at 01:00:18AM +1100, Martin Sevior wrote:
>
>
> On Sun, 4 Feb 2001, Sam TH wrote:
>
> > On Sun, Feb 04, 2001 at 08:44:08AM -0500, Leonard Rosenthol wrote:
> > > At 6:44 PM -0600 2/3/01, Sam TH wrote:
> > > >I agree that writing out page size info on a per-section basis is a
> > > >good idea. But how exactly would you propose to implement per-page
> > > >info?
> > >
> > > It really is a per-section, basis. If the user were going
> > > to change the orientation for a "page", they would most likely insert
> > > a manual page break,which if it doesn't already, should then insert a
> > > new section into the format and that section would get the new page
> > > layout info.
> >
> > Actually, page breaks do not create new sections. There is a concept
> > in the Break dialog called a Section break, but it's currently
> > unimplemented. A future POW, perhaps?
> >
>
> I implemented this but it is in debug until someone fixes the interesting
> behaviour that ocuurs when pasting a section with 3 columns into a
> sections with 2 columns :-) BTW what should happen?

What I think should happen is that the text just gets reflowed (is
that a word)? If there are <cbr/>s in the section, then they should
be respected. I don't see why this is a complicated case. What am I
missing?

Say you have columns like this:

 .........................................
 . . . .
 . text . blah . foo .
 . goes . blah . bar .
 . here . blah . baz .
 . quux . <cbr/> . .
 . . . .
 . . . .
 . . . .
 . . . .
 . . . .
 . . . .
 . . . .
 . . . .
 .

Now, pretend that we can only have 5 lines on one page. Then, if we
paste it to two columns, it just looks like this:

 ....................................
 . . .
 . text . blah .
 . goes . blah .
 . here . <cbr/> .
 . quux . .
 . blah . .
 . . .
 . . .
 . . .
 . . .
 . . .
 . . .

And the rest of the text goes to the next page.

Remember, M-x artist-mode is your friend.
           
        sam th
        sam@uchicago.edu
        http://www.abisource.com/~sam/
        GnuPG Key:
        http://www.abisource.com/~sam/key




This archive was generated by hypermail 2b25 : Sun Feb 04 2001 - 08:54:56 CST