]> git.lyx.org Git - features.git/commitdiff
revert recent change to development/FORMAT (don't change history)
authorMichael Schmitt <michael.schmitt@teststep.org>
Wed, 23 Aug 2006 12:55:23 +0000 (12:55 +0000)
committerMichael Schmitt <michael.schmitt@teststep.org>
Wed, 23 Aug 2006 12:55:23 +0000 (12:55 +0000)
drop LinuxDoc support (final part)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14823 a592a061-630c-0410-9148-cb99ea01b6c8

development/FORMAT
lib/bind/xemacs.bind
lib/configure.py
src/lyxtextclasslist.C

index aa8f8232c1081f42773a67ce93027297d36016bf..314f9b0b20a454676b957bcbe013d30de1d3f0f0 100644 (file)
@@ -315,7 +315,7 @@ Paragraph text.
        extra LaTeX "draft"             'extra' data passed to the primary
                                        command for this output format.
                                        (Possible formats LaTeX, PDFLaTeX,
-                                        DocBook, Ascii.)
+                                        LinuxDoc, DocBook, Ascii.)
                                        The string can contain spaces and so
                                        is wrapped in "...".
        rotateAngle 30                  Rotation of the data.
index fbd841fee24b61a98b644747a1456b7dc9ad7ba4..03c54cfe48896dc18325e28d4ad4bef3380364b8 100644 (file)
 ## Trying to incorporate the best of AucTeX and HM--HTML modes
 ##
 # "C-z" is used in HM--HTML-mode for paragraph styles so try to support
-#  similar here especially for LinuxDoc (although LinuxDoc isn't only for
-#  making HTML).
+#  similar here.
 ##
 \bind "C-c C-l"                 "dialog-show latexlog"        # show warning log
 \bind "C-c C-o"                 "error-next"
index 641e0fbe0fa648c56065ab0e56a634516e5928b3..11a06f85dcbe61419c9daef6bb33ed9e05b5eefd 100644 (file)
@@ -496,7 +496,7 @@ def processLayoutFile(file, bool_docbook, bool_linuxdoc):
     '''
     classname = file.split(os.sep)[-1].split('.')[0]
     # return ('LaTeX', '[a,b]', 'a', ',b,c', 'article') for \DeclearLaTeXClass[a,b,c]{article}
-    p = re.compile(r'\Declare(LaTeX|DocBook|LinuxDoc)Class\s*(\[([^,]*)(,.*)*\])*\s*{(.*)}')
+    p = re.compile(r'\Declare(LaTeX|DocBook)Class\s*(\[([^,]*)(,.*)*\])*\s*{(.*)}')
     for line in open(file).readlines():
         res = p.search(line)
         if res != None:
@@ -558,7 +558,7 @@ def checkLatexConfig(check_config, bool_docbook, bool_linuxdoc):
         # Construct the list of classes to test for.
         # build the list of available layout files and convert it to commands
         # for chkconfig.ltx
-        p1 = re.compile(r'\Declare(LaTeX|DocBook|LinuxDoc)Class')
+        p1 = re.compile(r'\Declare(LaTeX|DocBook)Class')
         testclasses = list()
         for file in glob.glob( os.path.join('layouts', '*.layout') ) + \
             glob.glob( os.path.join(srcdir, 'layouts', '*.layout' ) ) :
index 0b845e4c9b2aa0289826f62ad737b90da1ca60ff..11e08c08831c316848d8782a691cb155c6cc49c1 100644 (file)
@@ -186,9 +186,9 @@ LyXTextClassList::addTextClass(std::string const & textclass, std::string const
                //
                // This is a C++ version of function processLayoutFile in configure.py,
                // which uses the following regex
-               //     \Declare(LaTeX|DocBook|LinuxDoc)Class\s*(\[([^,]*)(,.*)*\])*\s*{(.*)}
+               //     \Declare(LaTeX|DocBook)Class\s*(\[([^,]*)(,.*)*\])*\s*{(.*)}
                ifstream ifs(layout_file.c_str());
-               static regex const reg("^#\\s*\\\\Declare(LaTeX|DocBook|LinuxDoc)Class\\s*"
+               static regex const reg("^#\\s*\\\\Declare(LaTeX|DocBook)Class\\s*"
                        "(?:\\[([^,]*)(?:,.*)*\\])*\\s*\\{(.*)\\}\\s*");
                string line;
                while (getline(ifs, line)) {