Edwin Leuven wrote:
Bo Peng wrote:
But there is no way to GUI'ify all 163 listings parameters.
support the important ones and if people want to set the others they
can use the preamble?
The problem is, you either support things through the
preamble or some dialog, but not both.
If you use the listing support, where in the preamble would
you put an additional option? That don't work in practice. There
is no "\usepackage" in the preamble when you use built-in
package support.
But the listings dialog can provide a textfield where experts may
enter the rare extra options. And it is even possible to have some
syntax checking that avoids common problems like mis-spelled
keywords or mismatched braces.
<dream>
it would be nice to have package definitions in modules from which we
could auto-generate a properties dialogs, both for the package and the
environments it defines...
</dream>
That would certainly cut down on the GUI work, but won't solve the
problem of bad design if 163 parameters are crammed into
a dialog (or set of dialogs).
Helge Hafting