From 3b816c5d7b38634b97afc036d32d25d65acc46f5 Mon Sep 17 00:00:00 2001 From: AccidentalRebel Date: Sat, 20 Mar 2021 10:10:59 +0800 Subject: [PATCH 1/2] Fix error parsing latex_symbols.js from Julia. --- tools/gen_latex_symbols.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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:] From e35ac147d63c5e4bb7f6ff0da247748467291b83 Mon Sep 17 00:00:00 2001 From: AccidentalRebel Date: Sat, 20 Mar 2021 10:21:32 +0800 Subject: [PATCH 2/2] Added Task#2. --- README.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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.