10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 13:53:48 +01:00

Continue to try fix

This commit is contained in:
Mickaël Véril 2020-02-07 11:08:19 +01:00
parent 024b89a49c
commit 4c72f4ff5d

View File

@ -51,10 +51,8 @@ class newCommand(commandBase):
if str(tex)==str(cmd): if str(tex)==str(cmd):
tex.expr=fres.expr tex.expr=fres.expr
else: else:
tex.replace(cmd,fres)
def tryRun(self,tex):
def tryRun():
cmds=list(tex.find_all(self.commandName)) cmds=list(tex.find_all(self.commandName))
if len(cmds)!=0: if len(cmds)!=0:
for cmd in cmds: for cmd in cmds:
@ -109,6 +107,7 @@ def tabularToData(table,commands=None):
mcolel=child[0] mcolel=child[0]
mcol=multiColumn(mcolel) mcol=multiColumn(mcolel)
el=mcol.contents el=mcol.contents
el=desarg(el)
if commands!=None: if commands!=None:
newCommand.runAll(el,commands) newCommand.runAll(el,commands)
for i in range(int(mcol.cols)): for i in range(int(mcol.cols)):