Allan Rae wrote:
> On Tue, 2 Oct 2001, Juergen Spitzmueller wrote:
> > Am Dienstag, 2. Oktober 2001 17:15 schrieb Juergen Vigna:
> > > Well if you find a way to have "Geometry margins" in the
> > > "Special" drop down box which also honors the "Papersize" drop
> > > down box then go for it.
>
> Then I miss out on one of my favourite tricks of having two paper
> sizes available at the click of the use geometry button.  One setting
> being a custom paper size (eg. for producing a pdf for the screen)
> and the other being a4 for example for printing.
>
> Just disabling the margin and paper size fields should be sufficient
> to satisfy everyone (including me since your proposal below affects
> me more than JV).

Good Point. Then I only disable the fields and don't set them to "".

> > > Right now if you select something in the "Special" box the
> > > "Papersize" box is set to "Default" (and is so not honored). You
> > > would have to change the logic to be able to do this and also you
> > > would have to parse "old" .lyx files to see if geometry IS
> > > checked and no margins and the automatically select that
> > > "Special" item.
> >
> > I'm just in the process of overhauling the behaviour of the whole
> > "paper" tab. Currently all "Special" Options are only for A4
> > Portrait only. Setting the Papersize to Default was a bug IMHO
> > because it was also set to default if default != A4. Currently (in
> > my tree) Special is only enabled if Papersize == A4 and Orientation
> > == Portrait. But after adding "geometry margins" this behaviour
> > will of course be changed.
>
> And you think this will then allow you to remove the geometry button?
> You'd have to add a "Clear custom margin/paper-size settings" button
> for user convenience so they could get back to a4 settings wouldn't
> you or do you propose to clear all custom settings as soon as a user
> changes the settings of either Special or Papersize?
>
> Big surprise for some users I would image who might have hoped they
> could just switch to a standard papersize for a quick prointout and
> then straight back to the custom size (especially true for people
> producing pdfs for screen use).  Why not just ensure the input fields
> are disabled, regroup the document->paper tab so that the geometry
> dependent inputs are clearly being controlled by the existing
> geometry button and then rename the geometry button to something more
> informative like "Use custom paper/margins".  This should also help
> make it clear that the two functions are interrelated (although you
> can have one with the other). The only confusing thing then might be
> that not setting any values for the input fields will still work and
> give different margins to the default -- this is where your proposed
> special->geometry_margins might come in useful (we could disallow
> empty inputs when "use custom p/m" is selected and that way ensure
> users only use the special->g_m instead but that gives us a headache
> for backward compatibility and only substitutes one confusion for
> another).

Hmm... I would like to keep the "custom paper" entry in the papersize 
choice, because that's how it's like in bad wordprocessors. But if you 
really have such strong feelings against the geometry button, I'll just 
rename it. A less cryptic name will probably solve a lot of the 
confusion.

Jürgen

> Allan. (ARRae)

Reply via email to