On Thu, 17 Jan 2002, Mike Ressler wrote:

> Hi,
>
> I've decided to try updating the LyX Graphical Tour, and would like to
> come up with an automatic way of generating it. My idea is to have a
> script which dumps a few line of text into the LGT file,

A LyX Hand-Held Tour is what I thought you were about to introduce.
Maybe?  That would get the user to do some of the work and introduce
them to some of the controls.  I'm not sure about controlling the
timing of things though.  How much can/does LyX inform the LyX-server
clients about such things as closing the dialog that they just opened?

> does a frame grab, dumps a few more, etc. I've figured out how to
> do most of the input through the lyxserver, but one issue has me
> stumped.
>
> Some commands pop up an xform window; e.g. "LYXCMD::label-insert:". The
> label dialog appears, but there doesn't appear to be any way to enter the
> label name and "hit" return. This is also true of things like buffer-new,
> figure-insert, etc. If there is no way to do this, the auto-LGT idea is
> worthless. Is there a way to automate this?

We need lots of new LyXFuncs to handle each and every little thing you
want to set that instead of popping up a dialog the values can just be
plugged straight in -- one at a time.  Which is where we were hoping
XTL would have helped us and external clients to exchange the
equivalent of a whole dialogs worth of info (the various XxxParams
classes).  XTL could help here and we have probably advanced to the
level where most people have compilers capable of dealing with it.

Better yet, XTL is/was being rewritten as a proposal for the Boost
library and should include an XML format.  There is a competing
proposal there.  I haven't heard anything about either in ages though.

Allan. (ARRae)

Reply via email to