Browsing the layouts directory for my scrclass pathch, I found a problem
in obsolete.inc.

Style Comment
        ObsoletedBy   Standard
End

But: Comment vs. Standard is not just a naming convention. Silently
replacing comments by standard output can result in ugly surprises.

Example: Someone asks me for a copy of an old publication. I do not find
         the pdf but have the lyx file lying around. So I open it in LyX
         and print. (Without an extra check, as I know that this was the
         final version.)
         
         Unfortunately, there was a section I took out by
         uncommenting. :-(

My suggestion:

Do not obsolete Comment style, so the user gets a warning.


--- /usr/src/lyx-cvs/devel/lib/layouts/obsolete.inc     2003-10-13 
11:50:10.000000000 +0200
+++ /usr/src/lyx-cvs/devel/lib/layouts/obsolete.inc.gm  2005-06-10 
14:32:43.000000000 +0200
@@ -14,7 +14,3 @@
 Style LaTeX
        ObsoletedBy   Standard
 End
-
-Style Comment
-       ObsoletedBy   Standard
-End


Alternative suggestion:

Remover obsolete.inc altogether, as it is no longer included by any of
the standard layouts.


Günter


-- 
G.Milde web.de

Reply via email to