Re: [NTG-context] \externalfigure and factor=max

2012-06-12 Thread Marco
Sorry for the previous mail, here again with content: On 2012-06-07 "Rogers, Michael K" wrote: Hi Michael, thanks for your investigations. > Whether that's a bug or intended is a question for others. If not, then > "max" is for this problem: > > Q. How to scale an image so that the largest

Re: [NTG-context] \externalfigure and factor=max

2012-06-12 Thread Marco
On 2012-06-07 "Rogers, Michael K" wrote: > I played with your example a little and rooted around in grph-trf.mkiv. It > seems "max" selects how to scale based on which dimension in the original > figure is greater. Oddly, the dimensions of the MP figure are 142.26682pt by > 142.2377pt. So I

Re: [NTG-context] \externalfigure and factor=max

2012-06-07 Thread Rogers, Michael K
On Jun 6, 2012, at 2:45 PM, Marco wrote: > Hi, > > according to the wiki the \externalfigure key “factor” has the > options: > > max: aspect ratio is kept, the image is scaled to > the bigger (oversized) variant > > fit: aspect ratio is kept, the image is scaled to > the smaller (fitted) va

[NTG-context] \externalfigure and factor=max

2012-06-06 Thread Marco
Hi, according to the wiki the \externalfigure key “factor” has the options: max: aspect ratio is kept, the image is scaled to the bigger (oversized) variant fit: aspect ratio is kept, the image is scaled to the smaller (fitted) variant In the following example I expect the third image