I’m not sure if this is feedback or technical support.
I’m writing a family memoir using Amber’s LaTeX for non fiction template. I have a relatively high density of images, I think. As far as I know I haven’t changed anything in the template since i Downloaded version 3.03 of Scrivener. My platform is a MacBook Air running High Sierra MacOS 10.13.6.
I’ve been having curious results with images since the start back in May, I thought it was all due to my running afoul of image caching, but I am not going to review those – I wasn’t keeping adequate records, anyway. But my problems have been getting worse.
In order to reduce the number of variables I copied my project file into a top level folder in my home directory, and likewise copied all my images into the same folder. One exception for the images – I had an image in the Preface called “ZahideAndJohnAtSuesWedding-2.jpg”. I apparently had imported the figure itself using the Figure Style from the LaTeX template. All the other images were put in the same folder with the project and imported using “insert->image linked to file”.
As it happens, an image with file name “SusansDanceProgram.jpg” was copied into the compiled output file, and used for all the images but one. . But it was given the file name “ZahideAndJohnAtSuesWedding-2.jpg” ! The one exception was the only figure that got into the compiled chapter correctly. For the record, there were 7 images in the preface and first chapter.
Well, here is the evidence. I will include the details for one of the 6 problem images. The others are basically the same.
Here is a shot of the editor page for the figure:
Just to be on the safe side, I checked “reveal in finder” before compiling. This is what I found:
And here is what showed up in the PDF produced by TexShop:
[img][ResultingPDF.png/img]
In the above I have erased the last names of the dancers using an app called Photoscape. This has unfortunately resulted in a compromised image, but I think you can still read the adjoining text to verify it is the same part of the document.
Finally, here is a shot of the actual LaTeX produced (taken from a rendering by MacVim):
(I see that the images themselves don’t show up in the preview, at least not on this mac.First time I’ve tried to submit images.) I will summarize here:
The images were in the same folder as the project
The Reveal in Finder showed the correct photo
The Compiled LaTeX changed the photo path to the path of a different image
The image that showed up in the PDF (and in the compilation result folder) was yet a different image. The same one was used for all but one of the 7 images in the compiled PDF
If this is my doing, I’d appreciate any advice. Otherwise there is a bug somewhere. I’m kind of obsessed with getting my project moving, so if I find a workaround or a cause, I’ll let you know. I can’t really concentrate on anything else until I get this project back on track. One thing I may try is to use the <$img:path> option for including the images.
Thanks.
John V