> the attached patch further polishes the text class names and changes to 
warnings.
>
> OK?

I added comments to every change. Some of your changes need to be slightly 
changed.
Here they are:

Index: src/callback.cpp
===================================================================
--- src/callback.cpp    (Revision 18421)
+++ src/callback.cpp    (Arbeitskopie)
@@ -401,9 +401,9 @@
        // FIXME UNICODE: We don't know the encoding of the file
        docstring file_content = from_utf8(tmpstr);
        if (file_content.empty()) {
-               Alert::error(_("Reading not UTF-8 encoded file"),
-                                       _("The file is not UTF-8 encoded.\n"
-                                       "It will be read as local 
8Bit-encoded.\n"
+               Alert::error(_("Reading non-UTF-8-encoded file"),
+                                       _("The file is not UTF-8-encoded.\n"
+                                       "It will be read as local 
8-Bit-encoded.\n"
                                        "If this does not give the correct 
result\n"
                                        "then please change the encoding of the 
file\n"
                                        "to UTF-8 with a program other than 
LyX.\n"));

OK.

Index: src/Buffer.cpp
===================================================================
--- src/Buffer.cpp      (Revision 18421)
+++ src/Buffer.cpp      (Arbeitskopie)
@@ -916,9 +916,9 @@

        if (failed_export) {
                Alert::error(_("Encoding error"),
-                       _("Some characters of your document are probably not "
+                       _("Probably, some characters of your document are not "
                        "representable in the chosen encoding.\n"
-                       "Changing the document encoding to utf8 could help."));
+                       "Changing the document encoding to utf8 may help."));
                return false;
        }
        return true;

Not needed in my opinion, doesn't make things clearer and I like more the 
actual style.

Index: lib/layouts/llncs.layout
===================================================================
--- lib/layouts/llncs.layout    (Revision 18421)
+++ lib/layouts/llncs.layout    (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{article (LNCS)}
+#  \DeclareLaTeXClass{article (Springer - LNCS)}
 # llncs (article) textclass definition file.
 # --------
 #

Index: lib/layouts/agums.layout
===================================================================
--- lib/layouts/agums.layout    (Revision 18421)
+++ lib/layouts/agums.layout    (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[aguplus,agums.sty]{article (AGU++) manuscript}
+#  \DeclareLaTeXClass[aguplus,agums.sty]{article (AGU++ manuscript)}
 # AGUplus manuscript textclass definition file.
 # Author: Martin Vermeer <[EMAIL PROTECTED]>

Index: lib/layouts/egs.layout
===================================================================
--- lib/layouts/egs.layout      (Revision 18421)
+++ lib/layouts/egs.layout      (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{article (European Geophysical Society) egs}
+#  \DeclareLaTeXClass{article (European Geophysical Society)}
 # egs (article) textclass definition file for LyX.
 # Get egs.cls from EGS website under www.copernicus.org
 # Author : Matthias Ettrich <[EMAIL PROTECTED]>

Index: lib/layouts/dinbrief.layout
===================================================================
--- lib/layouts/dinbrief.layout (Revision 18421)
+++ lib/layouts/dinbrief.layout (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{letter (DIN-Brief, german)}
+#  \DeclareLaTeXClass{letter (DIN-Brief, German)}
 # German DIN-Brief textclass definition file.
 # Author : Juergen Vigna <[EMAIL PROTECTED]>
 # Modified by: Carsten Kaemmerer <[EMAIL PROTECTED]>

All OK.

Index: lib/layouts/mwrep.layout
===================================================================
--- lib/layouts/mwrep.layout    (Revision 18421)
+++ lib/layouts/mwrep.layout    (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[mwrep]{report (mwrep)}
+#  \DeclareLaTeXClass[mwrep]{report (MW - Polish)}
 # mwrep textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich <[EMAIL PROTECTED]>
 # Transposed by Tomasz £uczak <[EMAIL PROTECTED]>

This confused me. MW should be explained. Why is this Polish?

Index: lib/layouts/IEEEtran.layout
===================================================================
--- lib/layouts/IEEEtran.layout (Revision 18421)
+++ lib/layouts/IEEEtran.layout (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete he line below; configure depends on this
-#  \DeclareLaTeXClass{article (IEEEtran)}
+#  \DeclareLaTeXClass{article (IEEE Transactions)}
 # Based on Article textclass definition file.
 #
 # Author : Allan Rae <[EMAIL PROTECTED]>

No because IEEE refer to IEEEtran, so when an author is following their guidelines, he is searching for "IEEEtran".

Index: lib/layouts/scrbook.layout
===================================================================
--- lib/layouts/scrbook.layout  (Revision 18421)
+++ lib/layouts/scrbook.layout  (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[scrbook]{book (koma-script)}
+#  \DeclareLaTeXClass[scrbook]{book (KOMA-Script)}
 # KOMA scrbook textclass definition file.
 # Bernd Rellermeyer <[EMAIL PROTECTED]>, 1998/7/11.

Index: lib/layouts/scrlettr.layout
===================================================================
--- lib/layouts/scrlettr.layout (Revision 18421)
+++ lib/layouts/scrlettr.layout (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[scrlettr]{letter (koma-script)}
+#  \DeclareLaTeXClass[scrlettr]{letter (KOMA-Script)}
 # KOMA scrlettr textclass definition file.
 # Bernd Rellermeyer <[EMAIL PROTECTED]>, 1999/2/17.

Index: lib/layouts/ijmpd.layout
===================================================================
--- lib/layouts/ijmpd.layout    (Revision 18421)
+++ lib/layouts/ijmpd.layout    (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[ws-ijmpd]{article (ijmpd)}
+#  \DeclareLaTeXClass[ws-ijmpd]{article (IJMPD)}
 #
 # Textclass definition file for ws-ijmpd.cls
 # For publications in the International Journal of Modern Physics D
Index: lib/layouts/scrreprt.layout
===================================================================
--- lib/layouts/scrreprt.layout (Revision 18421)
+++ lib/layouts/scrreprt.layout (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[scrreprt]{report (koma-script)}
+#  \DeclareLaTeXClass[scrreprt]{report (KOMA-Script)}
 # KOMA scrreprt textclass definition file.
 # Bernd Rellermeyer <[EMAIL PROTECTED]>, 1998/7/11.

Index: lib/layouts/scrlttr2.layout
===================================================================
--- lib/layouts/scrlttr2.layout (Revision 18421)
+++ lib/layouts/scrlttr2.layout (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[scrlttr2]{letter (koma-script v.2)}
+#  \DeclareLaTeXClass[scrlttr2]{letter (KOMA-Script v.2)}
 # KOMA scrlettr2 textclass definition file.
 # Juergen Spitzmueller <[EMAIL PROTECTED]>, 2003/2/17.

All OK.

Index: lib/layouts/siamltex.layout
===================================================================
--- lib/layouts/siamltex.layout (Revision 18421)
+++ lib/layouts/siamltex.layout (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{article (siamltex)}
+#  \DeclareLaTeXClass{article (Siam)}
 # Siam Article textclass definition file.
 # Cut & paste from various LyX layouts plus some minor modifications
 # Author : Kornelia Pietsch <[EMAIL PROTECTED]>

The correct name is
+#  \DeclareLaTeXClass{article (SIAM)}

Index: lib/layouts/cl2emult.layout
===================================================================
--- lib/layouts/cl2emult.layout (Revision 18421)
+++ lib/layouts/cl2emult.layout (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{article (cl2emult)}
+#  \DeclareLaTeXClass{article (Springer - cl2emult)}
 # Springer's cl2emult textclass definition file.
 # Author : André Poenitz

Index: lib/layouts/jgrga.layout
===================================================================
--- lib/layouts/jgrga.layout    (Revision 18421)
+++ lib/layouts/jgrga.layout    (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[aguplus,jgrga.sty]{article (AGU++) JGR}
+#  \DeclareLaTeXClass[aguplus,jgrga.sty]{article (AGU++ JGR)}
 # AGUplus JGR textclass definition file.
 # Author: Martin Vermeer <[EMAIL PROTECTED]>

Index: lib/layouts/ijmpc.layout
===================================================================
--- lib/layouts/ijmpc.layout    (Revision 18421)
+++ lib/layouts/ijmpc.layout    (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[ws-ijmpc]{article (ijmpc)}
+#  \DeclareLaTeXClass[ws-ijmpc]{article (IJMPC)}
 #
 # Textclass definition file for ws-ijmpc.cls
 # For publications in the International Journal of Modern Physics C
Index: lib/layouts/europecv.layout
===================================================================
--- lib/layouts/europecv.layout (Revision 18421)
+++ lib/layouts/europecv.layout (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{curriculum vitae (europe)}
+#  \DeclareLaTeXClass{curriculum vitae (Europe)}
 # europe CV textclass definition file.
 # Author : Uwe Stöhr ([EMAIL PROTECTED])

Index: lib/layouts/memoir.layout
===================================================================
--- lib/layouts/memoir.layout   (Revision 18421)
+++ lib/layouts/memoir.layout   (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[memoir]{book (memoir)}
+#  \DeclareLaTeXClass[memoir]{book (Memoir)}
 # Memoir textclass definition file
 # Author: Jürgen Spitzmüller <[EMAIL PROTECTED]>
 # Improvements by: Bennett Helm <[EMAIL PROTECTED]>
Index: lib/layouts/spie.layout
===================================================================
--- lib/layouts/spie.layout     (Revision 18421)
+++ lib/layouts/spie.layout     (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[spie]{article (SPIE-Proceedings)}
+#  \DeclareLaTeXClass[spie]{article (SPIE Proceedings)}
 # SPIE-Article textclass definition file.
 # Author : Guenter Milde <[EMAIL PROTECTED]>
 # to be used with the spie.cls LaTex-style available at
Index: lib/layouts/scrartcl.layout
===================================================================
--- lib/layouts/scrartcl.layout (Revision 18421)
+++ lib/layouts/scrartcl.layout (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[scrartcl]{article (koma-script)}
+#  \DeclareLaTeXClass[scrartcl]{article (KOMA-Script)}
 # KOMA scrartcl textclass definition file.
 # Bernd Rellermeyer <[EMAIL PROTECTED]>, 1998/7/11.

Index: lib/layouts/ltugboat.layout
===================================================================
--- lib/layouts/ltugboat.layout (Revision 18421)
+++ lib/layouts/ltugboat.layout (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[ltugboat]{article (tugboat)}
+#  \DeclareLaTeXClass[ltugboat]{article (TUGboat)}
 # The tugboat journal (TUGboat) textclass definition file.
 # Journal of the TeX User Group http://www.tug.org
 # Author : Herbert Voss <[EMAIL PROTECTED]> 2001/08/13
Index: lib/layouts/dtk.layout
===================================================================
--- lib/layouts/dtk.layout      (Revision 18421)
+++ lib/layouts/dtk.layout      (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[dtk]{article (dtk)}
+#  \DeclareLaTeXClass[dtk]{article (Die TeXnische Komoedie)}
 # This is the definition file for
 # Die TeXnische Komoedie (dtk),
 # the journal of the German TeX User Group http://www.dante.de.
Index: lib/layouts/elsart.layout
===================================================================
--- lib/layouts/elsart.layout   (Revision 18421)
+++ lib/layouts/elsart.layout   (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[elsart,amssymb.sty]{article (elsevier)}
+#  \DeclareLaTeXClass[elsart,amssymb.sty]{article (Elsevier)}
 # Author: Rod Pinna <[EMAIL PROTECTED]>
 # The Elsevier doc style also duplicates the theorem
 # environments used by the AMS. The definitions here have been

All OK.

Index: lib/layouts/mwart.layout
===================================================================
--- lib/layouts/mwart.layout    (Revision 18421)
+++ lib/layouts/mwart.layout    (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[mwart]{article (mwart)}
+#  \DeclareLaTeXClass[mwart]{article (MW - Polish)}
 # mwart textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich <[EMAIL PROTECTED]>
 # Transposed by Tomasz £uczak <[EMAIL PROTECTED]>

The same as above, MW and Polish is not clear.

Index: lib/layouts/isprs.layout
===================================================================
--- lib/layouts/isprs.layout    (Revision 18421)
+++ lib/layouts/isprs.layout    (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{article (Int. Soc. for Photogrammetry etc) isprs}
+#  \DeclareLaTeXClass{article (Int. Soc. for Photogrammetry etc; ISPRS)}
 # Find the class file at, e.g.,
 #     http://www.photogrammetry.ethz.ch/tarasp_workshop/isprs.cls
 # Article textclass definition file. Taken from initial LyX source code

This is not uniforg to the egs journal change. When the journal is there as full name, we can get rid of the abbreviation:
+#  \DeclareLaTeXClass{article (Int. Soc. for Photogrammetry)}

Index: lib/layouts/mwbk.layout
===================================================================
--- lib/layouts/mwbk.layout     (Revision 18421)
+++ lib/layouts/mwbk.layout     (Arbeitskopie)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[mwbk]{book (mwbk)}
+#  \DeclareLaTeXClass[mwbk]{book (MW - Polish)}
 # mwbk textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich <[EMAIL PROTECTED]>
 # Transposed by Tomasz £uczak <[EMAIL PROTECTED]>

The same as above, MW and Polish is not clear.

regards Uwe

Reply via email to