19 Apr
2006
19 Apr
'06
8:50 a.m.
On Tue, 18 Apr 2006 21:53:02 -0700, Johannes Graumann
Hans Hagen wrote:
<expertadvice> ... </expertadvice>
Thank you. I have modified that code and it does what I want (see below). There is however one generalization issue: the line '\externalfigure[\XMLflush{graphic}][width=\textwidth]' should really be able to use scaling to '\textwidth' or \'textheight' depending on what fills the page better without overflowing it. Is there any way I can make ConTeXt check which one is better: 'width=\textwidth' or height='\textheight'?
Doing [width=\textwidth,height=\textheight,factor=max] should do it (it's in the big manual). Regards, BG