Hi,

The Grahpics dialog has two remaining issues that need discussed:

1) Display mode.
    The display input for both, graphics and preferences dialogs, has two proposals:

    - used in xforms: has a single Display choice list
      with "Default|Monochrome|Grayscale|Color|Do not display".

    - used in Qt, has one choice list with "Default|Monochrome|Grayscale|Color"
      and another check button for "Do/don't display".

    I myself prefer the first one, because it is simple and has only one
    interaction widget.

    Proposal two has two interaction widgets. To handle this properly, we have
    to add an additional keyword to store the value of the two widgets
    (e.g. choicelist=color; checkbutton=don't display).
    This means: one more bool-variable is needed in the code (easy task),
    but also storing the extra keyword in the Graphics-inset and Preferences-file.
    The latter means a format change.

2) The subfigure.
    A non-float graphics inset currently allows the use of the Subfigure input.
    However, this causes errors in the LaTeX export, since Subfigure is only
    allowed within floats. LyX should handle this more gracefully by
      - ignoring the subfigure outside a float, when writing the LaTeX output
    or
      - disabling the Subfigure in the dialog, when the dialog is openened outside
        a float

    The first one should have a straightforward implementation, by simply doing
    an in/out-float-test in the export-LaTeX routine.
    The second one requires an in/out-float test when opening the graphics dialog
    and also it needs to modify the Subfigure flag when cutting/pasting in/out a
    float.

    The first one seems to be better to me, since it is simpler to implement.


Any opinions regarding these topics?

Cheers,
Rob.

Reply via email to