Skip to content
Closed
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
3 changes: 3 additions & 0 deletions src/parser/commands_registration.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ end

command_to_canonical[raw"\frac"] = TeXExpr(:argument_gatherer, [:frac, 2])
command_to_canonical[raw"\sqrt"] = TeXExpr(:argument_gatherer, [:sqrt, 1])
command_to_canonical[raw"\begin"] = TeXExpr(:argument_gatherer, [:begin_env, 1])
command_to_canonical[raw"\end"] = TeXExpr(:argument_gatherer, [:end_env, 1])

##
## Commands from the commands_data.jl file
Expand Down Expand Up @@ -118,6 +120,7 @@ for command in combining_accents
command_to_canonical[command] = TeXExpr(:argument_gatherer, [:combining_accent, 2, symbol_expr])
end


for symbol in punctuation_symbols
symbol = first(symbol)
symbol_to_canonical[symbol] = TeXExpr(:punctuation, symbol)
Expand Down