On Fri, Feb 6, 2026 at 10:01 (+0100), Henning Hraban Ramm wrote: > Hi again,
> I tried to make sense of the scaling factor options and can’t believe that
> they work as intended.
> * default = min: width and height observed, image distorted
> (good for default, probably wrong for min)
> * fit = auto: proportional scaling, should fill available space as possible,
> but behaves sometimes as "max"
> * max = prop. scaling to use bigger side of the image, can exceed height
> * broad = prop. shrinking that I can’t understand
> Find an example attached where I tried to find out what’s going on.
I was wondering whether there are
(1) "works as intended" problems or
(2) documentation in wiki is wrong.
Or maybe both. Who's to say?
Attached is a different example which may clear things up completely.
Sorry, no Lua, and horrible brute-force code TeX. More sensitive ConTeXt
users may only want to look at the PDF. ;-)
People who don't like measurements based on the width of some ancient
king's thumb should steel themselves before looking at either file.
Cheers.
Jim
graphics-factor-test.pdf
Description: Adobe PDF document
graphics-factor-test.tex
Description: TeX document
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
