On Mon, 2005-04-18 at 12:32, Jean-Marc Lasgouttes wrote: > >>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Martin Vermeer wrote: > >> Currently however, both the toolbar buttons and the keystroke C-e > >> at least, still produce font-noun and font-emph attribute-type > >> charstyles. Should we, for 1.4.0, switch to inset-type character > >> styles for this, and make it the preferred way, marking the text > >> attribute types noun and emph as deprecated? > > Angus> My take: if the new way works, then use it. What's the point of > Angus> writing it otherwise? > > Well, my take is completely different :) I think we should get rid of > the Noun charstyle in std latex classes, and only keep charstyles for > *ML, where that are really needed. > > Do you _really_ think that ``normal'' LaTeX users will thing that > having the name of the style written under every emphasized word is an > improvement? As they are I think they really hamper the reading of the > document on screen. They are distractiing and take a _lot_ of screen > estate to convey an information (emphasize, noun) which is not really > needed, since people see on screen what the style is. Of course, this > is not true for a style like "First Name", but this is not what we are > doing here. > > Note that this does not prevent people from defining their own > charstyles in their classes. > > JMarc
What about this? I changed the names slightly on the toolbar, so as to reduce the potential for confusion: emph and noun aren't really styles, just attributes. Also I removed "Toggle" from user style, because it only toggles if you turned "toggle all" on. "Apply last" is more neutral (and more expressive!), and will toggle if "last" implies so. Can this pass muster? - Martin
Index: ui/stdtoolbars.ui =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ui/stdtoolbars.ui,v retrieving revision 1.15 diff -u -p -r1.15 stdtoolbars.ui --- ui/stdtoolbars.ui 21 Apr 2004 00:19:25 -0000 1.15 +++ ui/stdtoolbars.ui 18 Apr 2005 11:46:39 -0000 @@ -50,9 +50,9 @@ Toolbar "standard" "Standard" Item "Paste" "paste" Item "Find and replace" "dialog-show findreplace" Separator - Item "Toggle emphasis style" "font-emph" - Item "Toggle noun style" "font-noun" - Item "Toggle user style" "font-free-apply" + Item "Toggle emphasis" "font-emph" + Item "Toggle noun" "font-noun" + Item "Apply last" "font-free-apply" Separator Item "Insert math" "math-mode" Item "Insert graphics" "dialog-show-new-inset graphics" Index: layouts/stdclass.inc =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/stdclass.inc,v retrieving revision 1.9 diff -u -p -r1.9 stdclass.inc --- layouts/stdclass.inc 12 Nov 2003 14:38:22 -0000 1.9 +++ layouts/stdclass.inc 18 Apr 2005 11:46:39 -0000 @@ -35,21 +35,6 @@ Style Standard LabelType No_Label End -CharStyle Noun - LatexType Command - LatexName noun - Font - Shape SmallCaps - EndFont - LabelFont - Shape SmallCaps - Color blue - EndFont - Preamble - \newcommand{\noun}[1]{\textsc{#1}} - EndPreamble -End - Input stdlists.inc Input stdsections.inc
signature.asc
Description: This is a digitally signed message part