Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.rst
Original file line numberDiff line numberDiff line change
@@ -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.
Expand Down
3 changes: 2 additions & 1 deletion tools/gen_latex_symbols.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -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:]
Expand Down