Steve Litt wrote:
On Sunday 23 March 2008 08:30, Daniel Lohmann wrote:
Anybody an idea?
Otherwise I might add a feature request. Changing an already inserted
(bibliographic) reference is a quite common task. It should be, IMHO,
possible to do this without having to leave the keyboard.
Thanks,
Daniel
I don't understand what you're saying here. If you're speaking of connecting
an arbitrary keystroke to an arbitrary LFUN, I think that's a great idea.
Better still would be something that would do a character style with a
keystroke.
LyX 1.6. will make some of this easier: There's a GUI keybindings
editor, thanks to Bo Peng. And it is possible to bind character styles
to keystrokes. In 1.6, it's something like
flex-insert CharStyle:Code
Or whatever else you like.
Steve, you'll also appreciate this: It will shortly be possible to embed
document-specific layout information into the document itself. The GUI
is still on my to-do list---initially, it'll just be like the Preamble
bit under Documnet>Settings---but the backend is almost done. So the
beginning of a LyX file might look like this:
#LyX 1.6.0alpha1 created this file. For more info see http://www.lyx.org/
\lyxformat 321
\begin_document
\begin_header
\textclass article
\begin_local_layout
Style Objection
CopyStyle Standard
Margin First_Dynamic
LatexType Environment
LatexName objection
LabelType Static
LabelString "Objection:"
LabelSep "M"
ParIndent ""
ParSkip 0.4
ParSep 0.4
TopSep 1.4
LabelFont
Series Bold
EndFont
EndLabelType No_Label
Preamble
\usepackage{objrep}
EndPreamble
End
stuf
Style Reply
CopyStyle Standard
Margin First_Dynamic
LatexType Environment
LatexName reply
LabelType Static
LabelString "Reply:"
LabelSep "M"
ParIndent ""
ParSkip 0.4
ParSep 0.4
TopSep 0.4
LabelFont
Series Bold
EndFont
EndLabelType No_Label
Preamble
\usepackage{objrep}
EndPreamble
End
\end_local_layout
\language english
\inputencoding auto
...
And it works!
rh