[LyX/master] GUI for new counter inset.

Jürgen Spitzmüller spitz at lyx.org
Sat May 2 06:41:47 UTC 2020


Am Freitag, den 01.05.2020, 19:04 -0400 schrieb Richard Kimberly Heck:
> > The "Action" entries are hardly understandable if one does not know
> > the respective LaTeX commands. 
> 
> I'm not sure how much we can do there. I've made it "Set Counter",
> etc.

I think it should be more explicit, and I would also reorder it. Like:

* Set Counter to
* Increase Counter by
* Reset Counter to Zero
* Save Counter Value for Later Restorage
* Restore Saved Counter Value

(Display should be moved to InsetInfo, as said)

In the dialog itself, I'd put the value SpinBox right to the action
combo (without an own label), like:

Action: [Set Counter to] [ 2 | - | + ]

This will make it more clear that the Value entries relate to the spin
box value.

> I will add more to the User Guide.

Always assume people do not read the User Guide. The dialogs need to be
understandable by themselves.

> > Same for the "Counter" entries.
> 
> We could do something here but, at present, yes, it relies upon the
> user
> 
> knowing what the counters are. Fortunately, that is usually
> clear...in
> 
> English. 

But not even English users without LaTeX knowledge will understand
itemii, for instance.

> I thought about adding a GUIName to the Counter layout bit.
> 
> That seem worth doing?

Not only worth doing. It definitely _needs_ GUI names. 
bibitem => "Bibliography Entry Number", 
"itemii" => "Numbered List (2nd Level)" 
etc.

(also for the button labels).

If I can lend a hand, please let me know.

Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200502/d8e9484e/attachment.asc>


More information about the lyx-devel mailing list