diff --git a/README.rst b/README.rst index 9f02e754203..5de19344b4b 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,8 @@ -# Task # 1 +# Task # 1 - https://github.com/ipython/ipython/issues/12861 -https://github.com/ipython/ipython/issues/12861 +accidentalrebel: Made a pull request. https://github.com/code-relay-io/ipython/pull/1 + +# Task # 2 - Double check if newly generated `latex_symbols.py` is complete and are working in IPython. Remember your job is to make *incremental* progress, break the task into smaller tasks, or finish something in 15 minutes, then pass it along to the next contributor. No responsibility, only fun. diff --git a/tools/gen_latex_symbols.py b/tools/gen_latex_symbols.py index e1b441054ac..c83cecb8451 100644 --- a/tools/gen_latex_symbols.py +++ b/tools/gen_latex_symbols.py @@ -35,7 +35,8 @@ for l in lines[symbols_line:]: if not '=>' in l: continue # if it's not a def, skip if '#' in l: l = l[:l.index('#')] # get rid of eol comments - x, y = l.strip().split('=>') + x, y = l.strip().split('=>') + if not '"' in x or not '"' in y: continue # if there's no ", skip if '*' in x: # if a prefix is present substitute it with its value p, x = x.split('*') x = prefix_dict[p][:-1] + x[1:]