Am 2017-02-17 um 15:20 schrieb j. van den hoff
I am unsure about the "canonical" way to scale images to the desired size. my current understanding is, that `scale=' should do what I want in a way portable across `context' incarnations. so currently I use commands like
\externalfigure[image.png][scale=750]
to adjust the image size to my taste.
my problem: the same document looks completely different regarding image size in the produced pdf with standalone installations on osx64 and linux-64. actually, on oxx64 I have to use something like `scale=1500' where on linux-64 `scale=750' seemingly does about the same.
questions:
* what am I missing? why does the same document compile differently? I can only guess that `context' (or luatex?) has two different opinions of dpi resolution on the two machines when producing the pdf? where can I control/check this?
* if `scale=' is not the way to achieve invariant and unambiguous size of images embedded in the document, what is? `width=XXX cm'? i.e.: how is this supposed to be done correctly(TM)?
I can’t tell you anything about the difference in calculations, otherwise it depends on what you want to achieve: I always use width= or height=, because I need specific sizes of my images. Or I define maxwidth=\textwidth. I never had a case where the actual scaling would have been important - maps might be a use case. Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD