<div dir="ltr">2008/8/6 Andreas Vox <span dir="ltr"><<a href="mailto:avox@arcor.de">avox@arcor.de</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">
<br><div><div>Am 06.08.2008 um 23:08 schrieb Louis Desjardins:</div><br><blockquote type="cite"><div dir="ltr"><div class="Ih2E3d">2008/8/6 Andreas Vox <span dir="ltr"><<a href="mailto:avox@arcor.de" target="_blank">avox@arcor.de</a>></span><br>
</div><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div> <br></div></blockquote><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div><blockquote type="cite"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><div><div>
<font color="#000000">...</font></div></div><div><div>I have a proposal for that:</div> <div><br></div><div>a) all objects get a "role" attribute, which might be empty.</div><div>b) text frames get an "auto-link-to" property which takes a rolename.</div>
<div>c) when a text frame which has the "auto-link-to" property set overflows, Scribus automatically links to the next object with the same role as the specified "auto-link-to" name. </div> <div>d) The next object is found by looking for objects which are placed below the current object on the current page or which are on top of a following page (yes, that means the text would reflow if you reorder two auto-linked frames on a page. And it's not so easy to create textframe links that run against the page order)</div>
</div></div></div></blockquote><div><div><br>In essence, I agree with this proposal. But I am not thinking of any top/below hierarchy, either on the same page, or on different pages, to set the link-to frames because from what I understand the user have not all control on the text flow. Is that right? </div>
</div></div></div></blockquote><div><br></div><div>If there is more than one frame with the same role on a page, we have to decide which one to take. That's why I propose a "top-to-bottom in general and left-to-right if frames have the same y-position" strategy.</div>
</div></div></blockquote><div><br>I am thinking of more possibilities but I realize it may be a programming issue. Quark 7 doesn't allow more than one chain on one MP. But this chain can be done with just about any number of frames on that page. The first "frame" to link from is the upper corner link icon that means every page created with this MP will be linked to that chain.<br>
<br>For many years we believe this is a limitation we'd like to see disappear... It's not flexible in heavy layouts such as catalogues. So we end up doing the linking by hand. It doesn't take that long but in fact it is both feet on the brake to any further changes then.<br>
</div><div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_quote"><div>But I follow you on the main idea of this "role" attribute and the "auto-link-to". Once a MP is created with all its frames, some will be linked to all pages bearing the same MP and some will not.</div>
</div></div></blockquote><div><br></div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><div></div>My proposal would allow automatic linking between pages with different MPs. just the roles have to match.</div>
</div></blockquote><div><br>I understand but at the same time, we cannot have 2 stories running side by side on odd and even pages. I understood the contrary when you mentionned that the bilingual book scenario would be covered by your proposal. How would you achieve such a book, then? Would that be possible? There are quite a few collections made like that in school edition, for instance.</div>
</div></div></div></blockquote><div><br></div>Easy: on the left MP, create a textframe and give it the role "English-Text" and set the auto-link-to property to "English-Text". on the right MP, also create a textframe but set role and auto-link-to both to "French-Text". Voilą!</div>
</div></blockquote><div><br>Great! <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div></div><div><br></div><div>You could even place both textframes as columns on the same MP. Synching both stories would have to be done by hand, though.</div>
</div></blockquote><div><br>Understand. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div></div><div><div class="Ih2E3d">
<br><blockquote type="cite"><div dir="ltr"><div class="gmail_quote"><div><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div>
</div><div><div><br><blockquote type="cite"><div dir="ltr"> <div class="gmail_quote"><div><br> <br>1. The frames that will be linked need only to be tagged as "to be linked" to the *same* frame on *next* page to which this particular MP would be applied. That way, you can set as many chain of text frames as you need.<br>
2. The frames that are un-tagged are created on each page too but are not linked.<br>3. Plus, you can also set 2 or more frames to be linked together on a single page, but not to the next page.<br>4. And finally, you can have a set of frames in a structure where all those frames are linked together on a single page and are also flowing in the next set of identical frames on the next page. That is, the last frame in the chain gets a tag to be linked to the next first one of the chain on the next page.<br>
</div></div></div></blockquote><div><br></div><div><br></div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_quote"><div>The same can be done on facing pages. With the particularity that we could set the links to run on the full sequence of the pages, 1-2-3- or 1-3-5 and 2-4-6.<br>
</div></div></div></blockquote><div><br></div></div><div>Hm, that would introduce text links between masterpages. I dont think that would work well, since you could apply the MP to a left side but not the matching MP to the right side, so the link would get broken. </div>
</div></div></blockquote><div><br>See my question above about the case of a bilingual book.<br></div></div></div></blockquote><div><br></div></div><div>If there's no textframe with the right role, my proposal would just search the following pages for a fitting frame (or display the overflow marker if none found). Having a hard link from one MP to another would break if the MPs are not applied as a pair.</div>
<div class="Ih2E3d"><br><blockquote type="cite"><div dir="ltr"><div class="gmail_quote"><div>I assume that anyone doing such a layout would know what he's doing and would not create a case where a link would be broken. At the same time, I don't really see what is the issue if a link ends at some point. Actually, I don't understand what you mean here!<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><div></div><div>Easiest to implement would be to disallow any manual links on MPs (you can still simulate fixed links if you create unique role names).</div>
</div></div></blockquote><div><br>Are you saying here that even if manual linking is disallowed, it will still be possible to link frames on a MP? I mean, without automatic text frame linking? I think that in fact, this is a must!<br>
</div></div></div></blockquote><div><br></div></div><div>Textframe linking on masterpages is a must? Maybe. But autolinking with roles is very flexible</div><div>if you are creative with the role names. Imagine an MP with these textframes:</div>
<div><br></div><div>name<span style="white-space: pre;">        </span>role name <span style="white-space: pre;">        </span>auto-link-to</div><div>_____________________________________________</div><div>frame1<span style="white-space: pre;">        </span>Autotext <span style="white-space: pre;">        </span>Frame2-On-MP</div>
<div>frame2<span style="white-space: pre;">        </span>Frame2-On_MP<span style="white-space: pre;">        </span>Frame3-On-MP</div><div>frame3 <span style="white-space: pre;">        </span>Frame3-On-MP<span style="white-space: pre;">        </span>Autotext</div>
<div><br></div><div>If you have a sequence of pages using this MP, the story would flow as expected:</div><div>frame1 - frame2 - frame3 -<span style="white-space: pre;">        </span>frame1 - frame2 - frame3 - ...</div><div> \____ first page ____/ <span style="white-space: pre;">        </span> \____ second page ____/</div>
<div><br></div></div><br><div>In this case the "Frame2-On-MP" role name replaces a manual link on the MP. Since the MP</div><div>has both link and target, it will never get broken.</div><div><br></div><div><br></div>
<div>More understandable that way?</div></div></blockquote><div><br>Indeed. It is cristal clear! I believe this is a nice way to address this task.<br><br>Thanks!<br><br>Louis<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div></div><div><br></div><font color="#888888"><div>/Andreas</div></font></div></blockquote></div></div>