-#! /usr/bin/env python -tt
+#! /usr/bin/env python
# -*- coding: iso-8859-1 -*-
# This file is part of the LyX Documentation
# Copyright (C) 2004 José Matos <jamatos@lyx.org>
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: