Monday, July 23, 2007 luigi scarso wrote:
the fit assumes operating on a page not in a box; an alternative is:
\framed[width=5cm,height4cm]
{\externalfigure[mill.png][maxwidth=4cm,maxheight=5cm,width=10cm]}
i.e. setting the maximum values
hmm,
\frame can be slow.
Maybe something
Sunday, July 22, 2007 Hans Hagen wrote:
the fit assumes operating on a page not in a box;
Ah, didn't know that. I couldn't even tell from the sources,
since it uses enclosing box dimensions and not page or paper
sizes. I suspect the logic is broken at the page level too
though, let me explain
Giuseppe Bilotta wrote:
I hadn't thought about using width and maxwidth (and
maxheight) at the same time, thanks. Of course, I'd rather
have 'fit' and 'max' usable in boxes :)
sure, i'll redo that part anyway, since in luatex we can calculate in
lua instead of tex which is more convenient
Saturday, July 21, 2007 Brian R. Landy wrote:
Hi,
What version of ConTeXt are you using? I just noticed a difference a
few days ago between the version installed by TeXLive 2007 and the
April 2007 release (tested locally through contextgarden) placing
an image into a natural table, using
Giuseppe Bilotta wrote:
Friday, July 20, 2007 Giuseppe Bilotta wrote:
Hello all,
I have to place a number of images into some given-size
frames in a layer. The images should be scaled
proportionally to fit into the frame. The code I'm working
with is:
\defineframed[framedimg][
Hi,
What version of ConTeXt are you using? I just noticed a difference a
few days ago between the version installed by TeXLive 2007 and the
April 2007 release (tested locally through contextgarden) placing
an image into a natural table, using factor=max. I'll post an
example in a
Friday, July 20, 2007 Giuseppe Bilotta wrote:
Hello all,
I have to place a number of images into some given-size
frames in a layer. The images should be scaled
proportionally to fit into the frame. The code I'm working
with is:
\defineframed[framedimg][
frame=on,framecolor=elux,
Hello all,
I have to place a number of images into some given-size
frames in a layer. The images should be scaled
proportionally to fit into the frame. The code I'm working
with is:
\defineframed[framedimg][
frame=on,framecolor=elux,
background=color,
backgroundcolor=white,
width=\wdfig,