Stacia Hartleben wrote: > I had a question about character styles in LyX 1.5.0. In 1.4.x, they > were implemented as a bit of a hack through the command buffer.
You don't need the command buffer. You need to define the character styles in the layout files (or included inc-files; see attached example); then you'll see a menu entry "Insert->Char Style". > I remember being really excited about this feature (as I use a lot of > ERT for things in different scripts) but I never ended up using it > because of the clunky interface (or lack thereof) and lack of > documentation. This is unfortunately true. > This was a really promising feature but I think it > needs more work before people actually begin to use it on a daily > basis - is there any chance that in LyX 1.5.0 we will have a menu and > a GUI to add more character styles? I'm afraid not (we're in feature freeze). But it's high on my agenda for 1.6. Jürgen
# Textclass definition file for docbook. # Author : José Abílio Oliveira Matos <[EMAIL PROTECTED]> # Character Styles definition Format 2 CharStyle Versal LatexType Command LatexName versal LabelFont Family Roman Color blue EndFont Preamble [EMAIL PROTECTED] \usepackage{soul} }{} [EMAIL PROTECTED] \DeclareRobustCommand*\versal[1]{% \MakeUppercase{\scalefont{.92}\null{\caps{#1}}}% } }{} EndPreamble End CharStyle Enquote* LatexType Command LatexName enquote* Font Family Typewriter EndFont LabelFont Family Roman Color green EndFont End CharStyle Enquote LatexType Command LatexName enquote LabelFont Family Roman Color green EndFont End CharStyle Test LatexType Command LatexName dummy Font Family Typewriter EndFont LabelFont Family Roman Color green EndFont Preamble \newcommand\dummy[1]{#1} endPreamble End