Am 20.11.2010 19:57, schrieb Georg Baum:
The repeated "script" is not nice, but this is the way how inset parameters
work in general (the first is the inset type, the second is the parameter
type). It can't be changed easily and certainly not at this time. Therefore,
the images need this ugly name. Shall I introduce a specialized LFUN script-
insert? This would look nicer, but I thought it was not needed, since inset-
insert works perfectly.
OK, then leave it.
- Changing text from/to subscript should also be possible via the text
style dialog. Users expect this because Word/OpenOffice and Co. also
provide this.
This is possible (using the "insert inset and move selection inside"
mechanism and inset-dissolve internally), but would be more risk, so I'd
like to postpone this. If you want a more visible place you could put the
scripts into a toolbar. Removing a script is already very easy with inset-
dissolve (pressing backspace at the first position).
But we need a method to change existing text to be a superscript text via a dialog. LyX is really
the only word processor I know that doesn't provide this.
A toolbar might be a workaround but as user I would expect that i can do this in the text style
dialog too.
If somebody discovers a problem I'll certainly try to fix it as quickly as
possible.
I found another, important issue:
you are using \usepackage{subscript} but subscript is not a real LaTeX-package (the author calls it
a fragment) and therefore not installable via the package managers of TeXLive and MiKTeX:
http://www.ctan.org/tex-archive/help/Catalogue/entries/subscript.html
But the subscript.sty file contains of only 4 lines, the ones I proposed in
comment 3 of #3008:
\DeclareRobustCommand*\textsubscript[1]{%
\...@textsubscript{\selectfont#1}}
\d...@textsubscript#1{%
{...@th\ensuremath{_{\mbox{\fontsize\sf@siz...@#1}}}}}
(These lines are also used by Koma-script.)
So we must insert these lines instad of using subscript.sty.
regards Uwe