siefkenj / unified-latex

Utilities for parsing and manipulating LaTeX ASTs with the Unified.js framework
MIT License
85 stars 20 forks source link

Embellishment argspec should not return a group #48

Closed siefkenj closed 11 months ago

siefkenj commented 11 months ago

An argspec of e{{x}} is treated the same as e{x}. The embellishment token list should be ['x'], not [{type: "group", content: ['x']}].

theseanl commented 8 months ago

But e{{{x}}} is not the same as e{{x}}

siefkenj commented 8 months ago

Is e{{{x}}} allowed? How is it treated?