import re
from glob import glob
-possible_documents = ("Intro", "FAQ", "Tutorial", "UserGuide", "Extended", "Customization")
+possible_documents = ("Intro", "FAQ", "Tutorial", "UserGuide", "EmbeddedObjects", "Extended", "Customization")
lang_pattern = re.compile('^([a-z]{2})_')
def documents(srcdir, prefix):
# What are the languages available? And its documents?
languages = {}
srcdir = os.path.dirname(argv[0])
- for file in glob(srcdir + '/*'):
+ for file in glob(srcdir + '/*.lyx'):
file = os.path.basename(file)
lang = lang_pattern.match(file)
if lang: