Compile is deleting words and randomly capitilizes others.

Hello,

I’m almost ready to publish my first book, and a beta reader spotted some pretty serious typos.

When I went back to the manuscript in Scrivener, Version: 1.9.16.0, the words are correct.

I have tried restarting, copying it to another computer, rewriting the corrupted lines, and compiling to Docx, Mobi, Epub, PDF. It still corrupts the exact same lines, the same way, every time. Even after copying the entire scene into Notepad++ and then copying from that into a completely new scrivener text.

Becomes

Any help or insight would be greatly appreciated as this has happened multiple times.

I know zip about compiling. But I notice that the change was “replace” > “With”, which to me is suspiciously sense-adjacent: somewhere there might be a “replace with” setting that is replacing “replace” with “With”. It’s computers–this could happen, though I’m not offering this as a definite explanation. Do other changes also affect the word “replace”? Does “replace” ever get through without being changed? Is there such a setting in the compile dialogues?

I know this sounds goofy, but stranger things have happened.

Are the relevant entries (inadvertently placed or forgotten) in the Replacements compile options pane?
Replacements reference at section 23.11 of the manual (Revision: 1.9.8-01).

Thank you, this solved the problem.

I’ve never used that section of the compile settings, but it was replacing “replace” with “With”. A really strange thing, but thank you for the solution.

Glad to hear that fixed it! Computer software will do whatever you tell it to; but sometimes the things it thinks you would want to tell it to do are inexplicable.

I’ve seen that once – was looking at the compile settings and that section somehow took the display text and filled it in as an actual value. But that was back in the original Scrivener 1.x beta for Windows. I wonder if there’s a weird Qt bug with the textboxes that only gets triggered every now and then?