Long section breaks formatting & gets cut off when compiling

I’m running into a compiling error.

This is only happening on a particularly long section, which should just take up multiple pages.

Instead when I compile, this long section forces a page break, and also cuts off the end of the section’s words.

When I shorten the section by deleting and try compiling again, everything works correctly.

Here is a video of the issue: https://youtu.be/oUeRMMPMIrI

Hopefully it’s just user error with a simple solution.

Thanks in advance for any help, I’ve been banging my head against the wall trying to troubleshoot this for hours.

As tests…

  1. Does ‘Keyboard Maestro’ (with all the text) compile cleanly if it is the only document compiled?

  2. Does ‘Keyboard Maestro’ compile cleanly if you compile the whole project but leave out the screenshot page that follows ‘Keyboard Maestro’?

  3. Will the project compile okay to a different format, such as RTF or Word?

When you first compile and get the heading on one page and the text on another, we see down to section 4 in the PDF. What happens to section 5? Just disappears? Or is it on the next page after the screenshot?

  1. No. If it is the only document selected, it still adds the pagebreak after the heading, and then the full text.

  2. No. It still does the page break, even with the screenshot deleted.

  3. Compiling to RTF seems fine for the most part, but the formatting doesn’t look great in general.

Everything continues on as normal when compiling, it’s just this one long page that’s having the issue.

Thanks for helping troubleshoot this.

So it will compile with all the text and the right spacing after the heading to RTF (even if it looks less than lovely), but the break happens after the heading if you compile to PDF. Very curious.

The inspector on your video link suggests the project dates back a few years. I’m not at a Mac now, but there is a setting in, I think, Edit … Text Tidying … Zap Gremlins, which is supposed to zap any odd characters that might have crept into a document. It might be worth trying that (you can always backup the file before you use the command).

If you duplicate the project and then delete all the other files so that only the two KM files are left, do they compile okay to PDF?

If they do, add back in one of the files above and below the KM files and see if they break the compile. If they don’t compile, would you be happy to share those two pages on the forum or by PM as a standalone project? Would be happy to see if I could get them to work, or perhaps another forum member could.

Alternatively, as the issue appears to be very specific, I imagine you might need to get in touch with tech support and ask them to look at the file for you. I tried to replicate the settings from your video, but I didn’t run into the same problem.

mac.support@literatureandlatte.com

Thanks for all of your help so far.

  1. Text Tidying - I’ve tried this, it didn’t seem to affect anything.

  2. I’ve actually just created an entirely new project and copy-pasted sections over. I am still encountering the error on the long section, where it adds a page break and then cuts off the end.

Old Project: https://drive.google.com/open?id=1bDTFL3jHN188ve4EqOSYuKjzdq9uPYOe
Old Render: https://drive.google.com/open?id=1DUZM0KuXn5RXAyOo3dfR45NOPh26XTO9

New Project: https://drive.google.com/open?id=1Vqn91dqNd_lBhVSlAnTyxR32byrmLEL-
New Render:https://drive.google.com/open?id=1s70LWGhFuIcwq5uKAXQa7egmF50TZqLp

They both have the same error.

I don’t know what’s going on here, but it’s driving me crazy! I was really hoping to have this PDF published for the new year.

Also forwarded to support.

Morgan*,

Those files aren’t Scrivener projects so we can’t open them. (In fact they’re just one of the xml files within the projects – behind the scenes Project.scriv files are actually folders (bundles) containing hundreds of separate files. We need to see the entire project.)

The best way for us to look at them is to zip the .scriv files up in the Finder (right click on the project and ‘Compress’ them), then attach them to a post here. To do that click on the three lines next to the Options button below and choose Attachments, then Add Files.

HTH.

  • Apologies if I’ve got the name wrong!

Agree with brookter. But ripping the PDFs shows odd characters at the foot of the KM page.

Are they in the project or just the PDF? If in the project, can they be deleted?

Whoops, thanks for this! I’m usually very tech savvy, but I’m feeling like a total noob here. Quite a learning curve.

I really appreciate the help, as the official support channel is on vacation.

Attached the new files.

Tech Tricks - new.zip (73.2 KB)
Tech Tricks That Make My Life Easier - old.zip (396 KB)

The text is in a table. Right click the page and choose “Remove Table” (which removes the table but leaves the text in place). It then compiles okay.

Tech Tricks - new-1.pdf (68.6 KB)

Solved it, I think.

All your documents are actually in tables (the borders are invisible, which is why it’s not obvious. To see this, go to the Keyboard Maestro document and make sure View > Text Editing > Show Invisibles is ticked. You’ll see a blue border round the entire text. That’s why compile is having problems – it’s trying to fit one long cell on a page and it can’t.

To remove, just click inside the blue border and right-click > table > remove table.

The table will disappear. You’ve got all the other documents was tables as well, so do it for them all, then compile. This is what I get…

HTH!

Amazing! That was indeed the issue. I wonder where those stray tables came from…

Thank you both so much!

Welcome.

Happy New Year.