X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fdoc%2Fdepend.py;h=deeb067afc9cef98d6c362a1f5dd3c260472e42b;hb=abcada9e13b72f57df00815d6a9f4a54a67009d3;hp=7baa1ae9ca60dde6f36f416c2494d8bdaeb211bf;hpb=f550496cee2354d93e57993e3fff5f926a7d51d8;p=lyx.git diff --git a/lib/doc/depend.py b/lib/doc/depend.py index 7baa1ae9ca..deeb067afc 100644 --- a/lib/doc/depend.py +++ b/lib/doc/depend.py @@ -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 +# Copyright (C) 2004 José Matos # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -21,13 +21,16 @@ # 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 import re -possible_documents = ("Intro", "FAQ", "Tutorial", "UserGuide", "EmbeddedObjects", "Extended", "Customization") +possible_documents = ("Customization", "EmbeddedObjects", "Extended", "FAQ", "Intro", "Math", "Tutorial", "UserGuide") def documents(srcdir, lang, dir_prefix = None): '''Return documents for specified language. Translated files are in lang