On 07/17/2010 01:13 PM, Hal Kierstead wrote:
RH -
Thank you for taking time. I see I misspelled mac as max---sorry.
For \label{E} I used the Shortcuts window, found label-insert, and assigned
keystrokes. But I could not find or guess something like ref-insert, only
href-insert which is different---right?
Yes. Only some insets have their own functions. Ones that do not are
inserted using the generic inset-insert. The syntax here is ugly, I'm
afraid, but it just happens to be specifically documented for ref under
Help>LyX Functions, LFUN_INSET_INSERT. The principle behind the syntax
is that you basically have to enter what would appear in the LyX file
itself.
For accents, your answer led me to the Shortcuts window under "Cursor, Mouse and Editing functions.
This solved my problem very nicely for \H{o} since "accent-hungarian-umlaut" produces the
latex code \H{}. But then I was surprised to see that "accent-acute" did not produce the
latex code \'{}, although character in both LyX and LaTex source was accented. I had the same problem
with accent-umlaut. Is it possible to change this by using a different LyX function?
accent-acute and accent-umlaut seem to demand an argument. So you can
have "accent-umlaut a", or o or e, but not just "accent-umlaut". That
said, as Bennett mentioned, there are standard Mac ways to enter such
characters, and LyX is supposed to obey them.
But now I have a new question. What is the mini-buffer? How do I find out
about it? I searched the User's guide, but found nothing.
I guess the official name is "Command Buffer", since it lives at
View>Toolbars>Command Buffer, at least on Linux (and here can be
accessed as Alt-x). Then you can enter commands by hand. This is good
for testing things before assigning keystrokes, etc, too.
Richard
Hal
On Jul 17, 2010, at 8:30 AM, Richard Heck wrote:
On 07/17/2010 10:53 AM, Hal Kierstead wrote:
I am using LyX 1.6.7 on a Mac. There are several things that I can do easily
in tex that I cannot figure out how to do from the keyboard in LyX:
1) Accents: Erd\H{o}s, P\'{o}a, etc.
These can be entered as unicode, actually, and there must be some way to do
that on a Mac. That said, since I do this rarely, I usually just use the
mini-buffer. E.g., for the latter, I enter:
accent-acute o
and voila. Since the mini-buffer has history, I then can just use that most of
the time.
2) I can make keyboard shortcuts for \label{E} and \cite{E}, but not \ref{E}.
What did you try to do here?
rh