Dekel Tsur wrote:
On Sun, Oct 27, 2002 at 07:19:24PM +0900, Rob Lahaye wrote:
Decision on what the input means, is then during the 'apply()'.
For example:
*) width: 50 scale%
height: 1.5 cm
would mean
"scale = 50 % ; ignore height input"
*) width: [empty]
height: 1.5 cm
would mean
"height = 1.5 cm ; width scales wrt. aspect ratio"
This is very confusing.
Perhaps the contents of the width text box should be erased if the user
enters something in the height text box, and the width type is scale.
A different solution is to having a different text box for scale.
Reintroducing a separate scale input, would bring us back to when
we started simplifying the dialog. I prefer to use present layout
and modify the input fields, as you suggest above. However, instead of
erasing the text in width, I'd rather disable that input field.
There's still a patch dangling to the Graphics code, which I hope
Angus will apply any time soon. When that is in CVS, I'll give this
new implementation of scale/width/height input a go.
3. (both)
The height units list contain \textwidth, \columnwidth which are
not usually used for measuring height, but doesn't contain
\textheight.
Well, in the dialog these units show up as "text%", "col%",
"page%" etc. Would it be better if "text%" as the height unit
becomes a "\textheight" appendix in LaTeX ? That would be
rather complicated to implement, I bet.
If it complicates the code, it is OK to allow selecting both
\textwidth and \textheight for either the figure width or height.
I'm not a LaTeX guru; does every \foowidth have a corresponding \fooheight ?
(with foo is one of text, page, column, line)
Regards,
Rob.