A B wrote:
Soo... this is a simple little example of my module. There are some
questionmarks that I have no idea what to write in? what should I call
my file? mystuff.module?
#\DeclareLyXModule[??????]{mystuff}
That's optional. You only need to put something there if this module
depends upon a LaTeX package, e.g., url.sty or something. Then LyX will
check to make sure you have it.
And by the way, in my old .lyx/bind/cua.bind I had
\bind_file myown.bind
\bind "M-g c" "layout MyCode"
and in the preamble of my document I had the Code enviroment declared.
Is it possible to get lyx to use the extra bind file that I have
stored in my home directory without copy the one installed in
/usr/share/lyx/bind/cua.bind? I hate having a copy of a file that
might get updated :-(
LyX 1.6 has an intergrated shortcut editor that solves this problem.
Look under Tools>Preferences>Editing>Shortcuts. You can define your new
binding there.
rh