LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Paul Thompson <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Thu, 22 Jan 2009 06:55:51 -0800
text/plain (64 lines)
Thanks for taking the time to look at newlfm.

What I do there is 1) set dimensions for Page 1 based on letterhead stuff; 2) at the same time, compute requirements for Page 2-K; 3) store Page 2-K in variables; 4) after shipping out Page Z, reset dimensions to the stored values if stored values are there, and then reset the "change dimension variable" after finishing the change.  That's all I need, really.

Your comment about the calc package is very interesting.  I don't understand why it will not work.  Can you direct me to something to clarify the problem?

Paul Thompson

Division of Biostatistics
Washington University School of Medicine
St Louis, MO 63108

25 Signal Hill Blvd
Belleville, IL   62223-1650

----- Original Message ----
From: Morten Høgholm <[log in to unmask]>
To: [log in to unmask]
Sent: Thursday, January 22, 2009 8:03:48 AM
Subject: Re: changing page dimensions in mid-document (was Re: Key points of LaTex3)

On Thu, Jan 22, 2009 at 10:14 AM, Frank Mittelbach
<[log in to unmask]> wrote:
> Joseph, Paul
>  > > 5) Changing page dimensions in the middle of the document:
>  > > Middlebach says this can't be done, but I have done it in
>  > > my newlfm macro, and I say "rubbish" to Frank -
>  > > it can be done, and it should be possible.
>  >
>  > I always thought this was an engine issue.  Shows you what I know!
> Joseph, your knowledge is up to date. There is no way to modify horizontal text
> dimensions in TeX in mid document, except in very restricted situations. I
> think we had these discussions before.
> The main restricting reasons are
>  - paragraph breaking and page breaking are asynconous, i.e. TeX does
>   paragraph shaping before deciding on where to place that paragraph
>  - you can't reformat an already broken paragraph into a different shape (as
>   the material lost on the ine breaks is not fully recoverable

Reading newlfm it seems to me as if it simply deals with changing page
dimensions in situations where pages are already complete, just like
it is possible to do so after a \clearpage in current LaTeX. Paul,
correct me if I am mistaken.

Note: The implementation in newlfm will not work (as intended) when
the calc package is loaded. To be more specific,
will not do a global assignment to \hsize with calc loaded (but to an
internal variable).