<br><div class="gmail_quote">On Sun, Jun 26, 2011 at 11:36 AM, Uwe Lueck <span dir="ltr"><<a href="mailto:uwe.lueck@web.de">uwe.lueck@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">"Peter Davis" <<a href="mailto:pfd@pfdstudio.com">pfd@pfdstudio.com</a>><br>
</div>> On Sun, Jun 26, 2011 at 3:11 AM, Uwe Lueck <<a href="mailto:uwe.lueck@web.de">uwe.lueck@web.de</a>[mailto:<a href="mailto:uwe.lueck@web.de">uwe.lueck@web.de</a>]> wrote:<br>
>> "Peter Davis" <<a href="mailto:pfd@pfdstudio.com">pfd@pfdstudio.com</a>[mailto:<a href="mailto:pfd@pfdstudio.com">pfd@pfdstudio.com</a>]> wrote <a href="tel:26.06.2011%2005" value="+12606201105">26.06.2011 05</a>[#]:29:19:<br>

<div class="im">>>> On Sat, Jun 25, 2011 at 8:45 PM,> Donald Arseneau <<a href="mailto:asnd@triumf.ca">asnd@triumf.ca</a>[mailto:<a href="mailto:asnd@triumf.ca">asnd@triumf.ca</a>][mailto:<a href="mailto:asnd@triumf.ca">asnd@triumf.ca</a>[mailto:<a href="mailto:asnd@triumf.ca">asnd@triumf.ca</a>]]> wrote:<br>

>>>> Peter Davis <<a href="mailto:pfd@pfdstudio.com">pfd@pfdstudio.com</a>[mailto:<a href="mailto:pfd@pfdstudio.com">pfd@pfdstudio.com</a>][mailto:<a href="mailto:pfd@pfdstudio.com">pfd@pfdstudio.com</a>[mailto:<a href="mailto:pfd@pfdstudio.com">pfd@pfdstudio.com</a>]]> writes:<br>

>>>>> The flowfram package comes pretty close to what I need, but it still has two<br>
>>>>> limitations that would be difficult to work around:<br>
>>>>> 1) if it overflows a frame in the middle of a paragraph, and the following<br>
>>>>> frame has a different width, the end of that paragraph will be set at the<br>
>>>>> width of the first frame, not the second.<br>
>>>> You'll have to keep travk of line-counts and usr \parshape.<br>
>>> Thanks, Donald, but I don't see how \parshape let's me know<br>
>>> how much of the text fit on a line (or set of lines).<br>
>>> I can work out that the height of a box divided by<br>
>>> the baselineskip tells me how many lines will fit, but how can I<br>
>>> determine what text has to overflow into the next box?<br>
>> Trying to solve the cryptical hint:<br>
>> 1. Assume all lines have same height -- grid typesetting,<br>
<br>
</div><div class="im">> Uwe, I've read over your suggestions a few times. <br>
> I think I see roughly how this would work, but I'll have to learn some more<br>
> about TeX processing to understand it better.  In particular, I would need<br>
> to split paragraphs across multiple frames, potentially with different widths. <br>
> I understand how \parshape can do typesetting across different line widths,<br>
> but I don't understand how to put those lines on different parts of the page.<br>
<br>
</div>I thought you are happy with the way flowfram.sty distributes the content<br>
(one flow) into frames. However, I only had some glances at ffuserguide.pdf.<br>
It seems to me that it allows frames of different widths for the same flow.<br>
<br>
Then, however, the package also should handle the different paragraph shapes,<br>
no need to guess here about \parshape. From the introductory words for<br>
"dynamic frames" I guess that rather typesetting is repeated<br>
when a paragraph spans frames, not clear to me exactly.<br>
Maybe as an alternative to my proposal, the package tries to get ready<br>
with as few line width changes as possible, starting with a normal<br>
shape without width changes, and adding more line specifications<br>
to the \parshape command when the number of lines in the previous<br>
specification is less than the paragraph actually needs.<br>
<br>
Otherwise, my approach would be to implement frames<br>
by a "dynamic" output routine that changes \textheight etc.<br>
after each run and stores the frames somewhere<br>
until a phyisical page is completed, generalizing LaTeX's<br>
two-column mode.<br>
<br>
Did you actually try flowfram.sty?<br>
<br>
Curious:<br>
<font color="#888888"><br></font></blockquote><div><br></div></div>As I mentioned, flowfram does *almost* everything I need.  The drawbacks are that it doesn't properly split a paragraph across frames of different widths, and it only supports one main flow of text.<br>
<br>The paragraph/frame problem can be worked around by inserting a \framebreak manually, but there's no automatic way to do it.  That's one of the problems I'm trying to solve.<br><br>The single/multiple flow problem is even trickier.  I can use static and dynamic frames to put other text on a page, but I can't, for example, automatically flow from one static or dynamic frame to another.<br>
<br>Suppose, for example, I have a newspaper with 4 frames on the front page.  Call them A, B, C and D.  My first story should fill frames A and B, and then jump to the next page, where there are other frames E, F, etc.  The second story should fill frames C and D.  This is difficult or impossible to pull off in flowfram as it is, as I understand the documents.<br>
<br>I thought of concatenating the stories together: Story 2 Story 1, with a \framebreak in between.  Then if I specify the frames in the order C, D, A, B, E, F, ..., I should usually get the desired results.  However, if Story 2 happens to overflow frames C and D, it would then flow into frame A, which is supposed to be the start of Story 1.<br>
<br>I hope that 's a little clearer.  Please let me know if I'm still too vague on something.<br><br>Thanks,<br>-pd<br><br><br clear="all"><br>-- <br><span style="font-family:arial, sans-serif;border-collapse:collapse">----<div>
The Tech Curmudgeon</div><div><a href="http://www.techcurmudgeon.com/" style="color:rgb(17, 65, 112)" target="_blank">http://www.techcurmudgeon.com</a></div><div style="font-size:10.8333px"><br></div></span><br>