Jump to content

APub places pinned group on a different page from the pin, and at the wrong height


Recommended Posts

This was a post in the "Desktop Questions" forum and had no takers. After further experiments, I am fairly certain that this is a bug. My Publisher version is 2.5.5.2636:

image.png.45e3fab0a932fd127caf10594e54009f.png

Hi, it's me again! And I think I need to set up some fake accounts, this is getting to be embarrassing. :))

(The file with the repro is attached below, as usual.)

I added a new picture frame and text box, grouped them (group "14" below), pasted them approximately where they belong, pinned them there. Here is the layer stack and what the page looks like:

image.png.32ea7519b41d2a4596bc67153eef3f5d.png  image.png.33e15a184fe7b094f50b322bc39c583a.png

Here are the pin and text wrap settings:

image.png.659842d9a7264d2b2739595ad2884baa.png  image.png.1b00713d208bde089450595acf32bbea.png

So far, so good. When I move the pin where I want it, that is, to the first letter of the first line of the text paragraph, this happens:

image.png.274ecdb25df9a88f35055a0b3544f5dc.png  image.png.d5be2a1e8aa79447d601f98abc50884d.png

"Inside right relative to column" and "inside top relative to line + 1 mm" is not where the groiup has ended up. Also, I wonder why my group "14" now shows up under "Body-left"; the pin certainly still is in the Body-right frame.

But wait, I thought, maybe this is something with a master applied to each page of the spread separately? In the Pages panel, I selected the last two spreads, right-clicked, "Apply master…", and Publisher silently died. "Oh well, never mind!", to quote SNL’s Emily Litella.

So let me move the pin a little lower, to the words "vertical lines" in the second line of the text para after heading 3.4:

image.png.ba605e7921484798f2cc23adb49e5418.png

So we are back on the correct side of the spread, but the vertical position has been rounded up. Way up. The pin settings are still as they should be (float, inside top, line, 1 mm offset). I wonder: what happens if I were to move the pin another line or two down?

image.png.b36e2170f4bf5c32166bc6f9d3f85145.png

Ah. That works!

The entire thing is highly dependent of where on the page we are. If I change the "Body" style leading to, say, 125%. the text is flowed differently, the pin is no longer close to the top of the page, and it all works. The same if I delete or insert a paragraph such that my test text and test pin slide farther down the page.

At this point I doubt that it is an error on my part. I would love for it to be my fault, but right now, I can see no logical reason why the formatter/layouter in APub would behave this way.

 

Cheers,
Felix.

Statistics with the TI-Nspire CX-II.afpub

 

Statistics with the TI-Nspire CX-II.afpub

Link to comment
Share on other sites

I can't duplicate this on my system even with the correct font installed but we've seen this before and it's related to the Flow Options for Heading 2.

You have selected prevent widows, prevent orphans, keep paragraph together, and keep with next 3 lines. This won't fix the issue, but FYI you don't need to select widows and orphans if you are also selecting keep paragraph together, those are redundant because keeping the paragraph together will avoid all widows and orphans.

The issue is you've instructed Publisher to keep the heading together with the first 3 lines of the next paragraph, a normal configuration but one that has problems with pinned images. When you move the pin to the first line following the heading, you are instructing Publisher to try to fit the pinned image with the heading and first three lines. Before rendering anything, Publisher tests to see if the heading on the left page will fit. The heading has keep with next set to 3 so it also tests to see if those 3 lines will fit. The first character of the first line is your pin so it tries to fit the pinned image on the left page. As you've shown in your screenshot, it will fit but doing so will push the heading to the right page. Publisher should then move the heading and image to the right page before anything is rendered to the screen. This is where the bug is, on your machine, Publisher has decided to leave the image on the left page even after pushing the heading to the right page.

You should be able to work around the issue by positioning the pin in the 4th line of text but I can't test it to see if that solves it since it works fine on my computer.

Good luck

Link to comment
Share on other sites

8 minutes ago, MikeTO said:

You should be able to work around the issue by positioning the pin in the 4th line of text but I can't test it to see if that solves it since it works fine on my computer.

That must have been the easiest and quickest workaround I ever put in place – move the pin to line 4, leave it there, and it’s off to the races.

Running the risk of counding like a broken record, I am once again deeply obliged to you!

Cheers and a million thanks,
Felix.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.