format = re.compile(r"(\d)[\.,]?(\d\d)")
fileformat = re.compile(r"\\lyxformat\s*(\S*)")
-lst_ft = ["210", "215", "216", "217", "218", "220", "221"]
+lst_ft = ["210", "215", "216", "217", "218", "220", "221", "222"]
def usage():
print """Usage: lyx2lyx [options] file1
def parse_options(argv):
- _options = ["help", "version", "list", "from=", "to=", "output=", "quiet"]
+ _options = ["help", "version", "list", "debug=", "from=", "to=", "output=", "quiet"]
try:
- opts, args = getopt.getopt(argv[1:], "f:hlo:qt:v", _options)
+ opts, args = getopt.getopt(argv[1:], "d:f:hlo:qt:v", _options)
except getopt.error:
usage()
sys.exit(2)