images don't compile (at random)

I use a compile replacement to change {image name} to the name of an external image. Sometimes it works, sometimes it doesn’t — on the same page. Spacing is also wonky, often mismatching with the Mac.

Here’s a title page:

… and here is the PDF. The first image isn’t there, and the second image moved to the next page.

Here’s the same thing compiled on macOS. (Windows results are uglier in general.)

Similar Problem I Think (in Windows)

Inside the Research and Writing section of my novel in progress, in the folder with my single-page documents for each character, the documents with photos are now blank. The headings do remain. The rest of each page is blank, including the text. This is only true of the pages that had photos (faces for descriptive purposes) from various sources. All the rest of the documents in the folder (the ones without photos) are fine.

But this should be no problem—right? Just go to a backup for the phto pages. xcept that I have just discovered the same is true of all my backups of the project, even those that are a year old. The documents with photos in them are all blank. Nothing else in my project is askew as far as I can tell. I am using the May beta on Windows 10. I’ve written over 60,000 words of the novel. No problems anywhere else.

Compile replacement works, by the way. $img tags don’t, but sometimes do. Fail and succeed on the same page. A blank page tends to be the result…

The font change is likely in the compile settings.

Specifically “override text and notes formatting” in section layout, which I think is checked by default. If you want the formatting from your manuscript/draft to stick, that needs to be unchecked.

The images, I don’t know; haven’t messed too much with them.

The Mac font was not installed on Windows at the time.

Someone NEEDS to mess with images! It’s past time to fix this.

Just to be clear, THIS IS A BUG, and I’ve seen no acknowledgement of it.

Acknowledging!

Are you able to provide a small sample Scrivener project (zipped) where you can reliable reproduce the issue with images?

If you are using a Mac font on Windows, please also provide the exact font name you are using.
Lee

Here’s a Dropbox link to three things: a zip backup of the reduced project, a video showing how it behaves on the Mac, and a video showing how it behaves on Windows 10 under Parallels on the Mac.

They cover this bug AND a few bugs reported elsewhere.

a) $img tags don’t always compile
b) image widths are inconsistent
c) it’s anyone’s guess what behavior we should expect for image widths
d) a manually generated table of contents doesn’t work at all ($p doesn’t compile)
e) line heights are inconsistent from platform to platform

I previously reported (e) in another form: if I change font size in a paragraph, the previous paragraph changes as well … but it’s only the pilcrow. Text in the previous paragraph is unaffected, but line height is, and that can push an image from the bottom of the page to a new page instead. (Bad juju on a title page.)

Here’s the link:

https://www.dropbox.com/sh/d0ii15k376go5zu/AAAde_XM0cwiNMnkiOJh9E-wa?dl=0

HTH.