Hellmut Weber wrote:
Hi,
I'm actually working on a document which consists nearly exclusively
(some section or subsection headers) of pictures (jpg's from my canon
powershot A620, reduced to 25% using convert).
First of all, LyX is VERY slow.
I remember some discussion several weeks ago, but don't remember what
the solution was.
A little strange effect (bug?):
1.) Include a picture using the graphics inset dialog
2.) set scale factors for LyX as last activity
3.) reopen the dialog using the right mouse click
4.) Dialog opens showing the LaTeX and LyX Params
The value of the scale factor is marked blue
the cursor bar is blinking
BUT key strokes are not recognized
This is bug 3852. We're working on it.
Question:
Since I use a variable horizontal space quite frequently in this
context, I would like to define a shortcut (to avoid 6 mouse clicks or
an even greater number of key strokes).
I looked at the cua.bind and menu.bind files but could not see what
the lfun call should look like to insert a horizontal space.
From LyXAction.cpp:
/*!
* \var lyx::FuncCode lyx::LFUN_SPACE_INSERT
* \li Action: Inserts one of horizontal space insets.
* \li Syntax: space-insert <NAME> [<LEN>]
* \li Params: <NAME>: normal, protected, thin, quad, qquad, enspace,
enskip,
negthinspace, hfill, hfill*, dotfill, hrulefill,
hspace,
hspace* \n
<LEN>: length for custom spaces (hspace, hspace* for
protected)
* \li Origin: JSpitzm, 20 May 2003, Mar 17 2008
* \endvar
*/
{ LFUN_SPACE_INSERT, "space-insert", Noop, Edit },
All LFUNs are now documented there, thanks to the leadership (and hard
work) of Pavel Sanda. These are also on the web somewhere, but I can't
remember where.
rh