]> git.lyx.org Git - features.git/commitdiff
doc_toc.py: add comment to explain its calling syntax (fixes bug 3798
authorUwe Stöhr <uwestoehr@web.de>
Wed, 18 Jul 2007 19:45:11 +0000 (19:45 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Wed, 18 Jul 2007 19:45:11 +0000 (19:45 +0000)
            http://bugzilla.lyx.org/show_bug.cgi?id=3798)
depend.py: dito, and fix file encoding

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

lib/doc/depend.py
lib/doc/doc_toc.py

index 7baa1ae9ca60dde6f36f416c2494d8bdaeb211bf..4a5b585f6687fd72855527adefc9231d5e61b896 100644 (file)
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
-# -*- coding: iso-8859-1 -*-
+# -*- coding: utf-8 -*-
 # This file is part of the LyX Documentation
-# Copyright (C) 2004 José Matos <jamatos@lyx.org>
+# Copyright (C) 2004 José Matos <jamatos@lyx.org>
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -21,6 +21,9 @@
 # It does so by going through the files and printing out all of the
 # chapter, section, and sub(sub)section headings out. (It numbers the
 # sections sequentially; hopefully noone's using Section* in the docs.)
+# It calls the script doc_toc.py using this syntax:
+# depend.py doc_toc.py SetOfDocuments
+# where SetOfDocuments is a set of documents
 
 import sys
 import os
index 9ee656803f4a27fc8df7c5ee21759d0e185703c1..61e5fb8d4f9e7ccecdea39266934dc1eb79a37bb 100755 (executable)
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-# This script creates a "master table of contents" for a set of LyX docs.
+# This script is called by the script depend.py to create a "master table of contents"
+# for a set of LyX docs.
 # It does so by going through the files and printing out all of the
 # chapter, section, and sub(sub)section headings out. (It numbers the
 # sections sequentially; hopefully noone's using Section* in the docs.)
+# It is calledusing this syntax:
+# depend.py doc_toc.py SetOfDocuments
+# where SetOfDocuments is a set of documents
 
 import sys
 import os