DRMF/DRMF-Seeding-Project

Homogenize DLMFtex2Wiki.py and tex2Wiki

Closed this issue · 5 comments

Make DLMFtex2Wiki.py look like tex2Wiki.

  • import tex2Wiki (for now)
  • Identify and then remove all subroutines from DLMFtex2Wiki (such as is_number) that are exactly the same in tex2Wiki.
  • adjust the output from mmd to xml
  • remove {\displaystyle ... } wrapper
  • rename jsahlfkjsd -> iterations in tex2Wiki
  • make DLMF (in DLMFtex2Wiki) accept 3 arguments like readin (in tex2Wiki) i.e., ofname,glossary,mmd
  • remove all commented code such as #tester=open("testData.txt",'w')
  • replace wiki.write with append_text
  • convert bof eof to append_revision

You should make a commit after every step.

@pwang00 @physikerwelt

I just finished working with Moritz, and we updated the list that you should work on Philip.

@pwang00 you removed mod_label even though that seems to be different. Can you fix that? If you have problems to fix it, you are very welcome in my office.

@pwang00 the next time you'd like to change the task order, please discuss that in advance.

I believe I changed the jsahlfkjsd -> iterations in tex2Wiki a bit too early. Is that ok?

@pwang00 thank you for your contributions. I'll take care of the rest.