On 11/22/2010 12:25 PM, Alexander Tsyplakov wrote:
Richard Heck wrote Monday, November 22, 2010, 21:31:38:
RH> On 11/22/2010 01:10 AM, Alexander Tsyplakov wrote:
LyX has several means of defining customized
markup: custom insets, paragraph and character
styles. However I can not figure out how to define
custom character entities like build-in
"Ellipsis". Am I missing something?
RH> No, there is no provision for this. If some
RH> character you need is missing, report it as a
RH> bug to the devel list. Adding it is easy, but
RH> it has to be done in the source.
I meant user customization by means of inclusion
in layouts and modules. This can be used for
logotypes, special babel commands, etc. One can
not hard code any special symbol in advance.
If you want to add custom insets, paragraph or character styles, then
the best way to
do so is to create your own module that defines one or more of these,
and then use it
in the usual way. Instructions are in chapter 5 of the Customization manual.
If what you want to add isn't one of these things, then, well, you can't
do do that quite
so easily. In fact, though, what I said earlier isn't quite true. You
can give LyX the
ability to recognize (and even display) new characters and such by
adding them to the
unicodesymbols file, which lives in the system directory, e.g.:
/usr/local/share/lyx/
on Linux, by default. But there's no provision for doing this in modules.
Richard