On 10.06.05, Juergen Spitzmueller wrote:
> > Juergen> I do not agree to change the name from "Labeling" to "List"
> > Juergen> in the GUI.
> 
> I really do not like that we are beginning to replace the termini
> technici of LaTeX classes and environments with arbitrary names (or
> translations, for that matter) if there is no special need to do so.

I totally agree with you.

However, there is a "need" here, which is the harmonisation of the
names. "List" is not arbitrary but chosen after the name of the same
style in non-koma layouts.

> There are not only LaTeX agnostics using LyX. For people who are
> familiar with the KOMA script documentation, the term "Labeling" is
> well defined, while "List" is just irritating.

So we have to weight the arguments for 3 possible options:

 1. Call the lyx-list/labeling style "List" in all layouts.
 
     + Nice for people learning koma after LyX or documentation agnostics.
     - Bad for people that know koma or read its superb documentation
    
 2. Call the style "Labeling" in koma and "List" elsewhere.
     
     + No big changes involved.
     - Missing harmony: Two names for one style
     
     See the attached patches for this solution
     
 3. Call the style "Labeling" in all layouts.
 
     + Replace the arbitrary, too generic, and LyX specific name by the
       "standard" name established in the Tex community.
     - The "average" LyX user has to re-adjust. Documentation update
       needed.
  
Personally, I'd favour variant 3 (without insisting on it, as I cannot
provide a complete set of patches).



The attached patch provides solution 2

The following patch provides a backwards compatibility (conversion of a
koma document to a non-koma alternative), as stdclass.inc is not included
by the koma layouts but (almost) all other classes.

--- /usr/src/lyx-cvs/devel/lib/layouts/stdclass.inc~    2005-05-23 
11:04:10.000000000 +0200
+++ /usr/src/lyx-cvs/devel/lib/layouts/stdclass.inc     2005-06-10 
14:24:41.000000000 +0200
@@ -45,3 +45,8 @@
 Input stdlayouts.inc
 Input stdfloats.inc
 Input stdcounters.inc
+
+# convert Labeling (from koma-script documents) to List
+Style Labeling
+        ObsoletedBy           List
+End        

-------------------------------------------------------------------------

> To put it different: I think people who are using KOMA-classes in LyX
> should be encouraged to read the excellent KOMA-script documentation
> (the LyX documentation can never replace that). But if the KOMA-script
> documentation recommends to use the environments which can not be found
> in LyX, because LyX has its own terminology, it gets useless.

As this problem is not restricted to "Labeling", I have a

Feature suggestion
------------------

LyX could tell the latex name of the layout styles

  * as supplement or tooltips in the drop-layouts list.
  * in the status line after change of layout 
    "Layout changed to %s (%s)" % (Style, latex-name)


Günter

-- 
G.Milde web.de
--- /usr/src/lyx-cvs/devel/lib/layouts/scrclass.inc     2005-05-23 
11:04:10.000000000 +0200
+++ /home/milde/.lyx/layouts/scrclass.inc       2005-06-10 14:13:37.000000000 
+0200
@@ -3,6 +3,8 @@
 # Bernd Rellermeyer <[EMAIL PROTECTED]>, 1998/7/23.
 # Update for Koma Script Release >=2.8q
 # Juergen Spitzmueller <[EMAIL PROTECTED]>, 2003/2/08.
+# Mapped List to Labeling
+# Guenter Milde <g.milde web.de>
 
 
 SecNumDepth             2
@@ -20,8 +22,6 @@
 Input stdcounters.inc
 Input stdfloats.inc
 
-NoStyle List
-
 Style Description
        LabelFont
          Family              Sans
@@ -29,21 +29,15 @@
 End
 
 Style Labeling
-       Margin                Manual
-       LatexType             List_Environment
-       LatexName             labeling
-       NextNoindent          1
-       LabelSep              xxx
-       ParSkip               0.4
-       TopSep                0.7
-       BottomSep             0.7
-       ParSep                0.5
-       Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Manual
-       LabelString           00.00.0000
+        CopyStyle             List
+        LatexName             labeling
+        Preamble              # overwrite the preamble code definition
+        EndPreamble
 End
 
+Style List
+        Obsoletedby Labeling
+End
 
 Input stdsections.inc
 
@@ -260,5 +254,4 @@
 End
 
 Input lyxmacros.inc
-Input scrmacros.inc
 

Reply via email to