Open kohlhase opened 8 years ago
If we solve this, I think we can also get a hold on #107
I wonder which branch you are using when generating the omdoc for $\bsetst{v}{A}{B}$
, if we use the KWARC master
we get:
<om:OMOBJ stex:srcref="smglom/sets/source/set.en.tex#textrange(from=3;10,to=4;18)">
<om:OMBIND>
<om:OMA>
<om:OMS cd="set" name="bsetst" />
<om:OMV name="𝐴" />
</om:OMA>
<om:OMBVAR>
<om:OMV name="𝑣" />
</om:OMBVAR>
<om:OMV name="𝐵" />
</om:OMBIND>
</om:OMOBJ>
when we use the the sync
branch https://github.com/angerhang/LaTeXML up to date with Bruce's version, we get:
<om:OMOBJ>
<om:OMA>
<om:OMS cd="arithmetics" name="multiplication" />
<om:OMSTR>\bsetst</om:OMSTR>
<om:OMV name="𝑣" />
<om:OMV name="𝐴" />
<om:OMV name="𝐵" />
</om:OMA>
</om:OMOBJ>
Neither of these looks similar to the wrong version you showed.
@dginev, I am assigning this to @angerhang, but I suspect he will need your help.
In
MathHub/smglom/set/source/set.tex
we haveand that generates
which is exactly what we want (except that OpenMath does not allow multi-body OMBINDS, but we want to change that). BUT, it does not generate the right semantic macro, which you can see in
MathHub/smglom/set/source/set.en.tex
which contains$\bsetst{v}{A}{B}$
which generateswhich is wrong: it seems that the macro produced is doing the wrong thing. And I have no clue where it gets the #1 from. I guess that it somehow gets confused because the
[bars=1]
which signals\symdef
to make anOMBIND
is not used in the presentation.