X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Ftools%2Fgenerate_symbols_list.py;h=a18dd690c93be628e191c9ca3bbb153749f72c51;hb=1d23f8bf793bce04175ff59890761f18079d98ff;hp=917b27e355072738cbc4e6bc0f4471c6a419792d;hpb=1b6f3b67d3ae1575627b8f0dcfcf093c3a28a87a;p=lyx.git diff --git a/development/tools/generate_symbols_list.py b/development/tools/generate_symbols_list.py index 917b27e355..a18dd690c9 100644 --- a/development/tools/generate_symbols_list.py +++ b/development/tools/generate_symbols_list.py @@ -28,7 +28,7 @@ def process(file): if i+1 < n: next_line = lines[i+1] - # some entries are spread over two lines so we join the next line + # some entries are spread over two lines so we join the next line # to the current one, (if current line contains a comment, we remove it) line = string.split(line,'%')[0]+next_line @@ -49,7 +49,7 @@ def process(file): type = "mathord" font = mo.group(2) code = mo.group(3) - + if mo != None and symbol not in ignore_list: mo2 = re.match(r'\s*\\def\\(.*?)\{', next_line) if mo2 != None and symbol == mo2.group(1)+"op": @@ -109,7 +109,7 @@ for x in exceptions: print """ lyxbar cmsy 161 0 mathord -lyxeq cmr 61 0 mathord +lyxeq cmr 61 0 mathord lyxdabar msa 57 0 mathord lyxright msa 75 0 mathord lyxleft msa 76 0 mathord