I’m using Weave.jl to write up a report using
.jmd format. I need to include some images that I’ve already generated, so I included them in my markdown as I normally would:
![a descriptive caption](one pair random data.png)
And it looks fine in the HTML export, but in the PDF it is way too large and has some text on the top. Here’s how it looks in my PDF viewer. Notice that it is not centered and the right part is cut off (it’s an 800px by 800px square image).
Is there a way to tweak how images are displayed in the PDF export?
Also, is there a way to get a figure reference for the image so I can refer to it in the text?