File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,9 @@ fn tokenize(line: &str) -> StrResult<Line> {
105105 }
106106 let c = decode_char ( tail. ok_or ( "missing char" ) ?) ?;
107107 Line :: Variant ( rest, c)
108- } else if let Some ( alias) = head. strip_prefix ( '@' ) {
108+ } else if let Some ( mut value) = tail. and_then ( |tail| tail. strip_prefix ( "@= " ) ) {
109+ let alias = head;
109110 validate_ident ( alias) ?;
110- let mut value = tail. ok_or ( "missing value" ) ?;
111111 let mut deep = false ;
112112 if let Some ( v) = value. strip_suffix ( ".*" ) {
113113 deep = true ;
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ breve ˘
193193caret ‸
194194caron ˇ
195195hat ^
196- @ diaer dot.double
196+ diaer @= dot.double
197197grave `
198198macron ¯
199199quote
@@ -359,7 +359,7 @@ succ ≻
359359 .not ⊁
360360 .ntilde ⋩
361361 .tilde ≿
362- @ equiv eq.triple.*
362+ equiv @= eq.triple.*
363363smt ⪪
364364 .eq ⪬
365365lat ⪫
@@ -377,7 +377,7 @@ emptyset ∅
377377 .bar ⦱
378378 .circle ⦲
379379 .rev ⦰
380- @ nothing emptyset.*
380+ nothing @= emptyset.*
381381without ∖
382382complement ∁
383383in ∈
@@ -435,10 +435,10 @@ infinity ∞
435435 .bar ⧞
436436 .incomplete ⧜
437437 .tie ⧝
438- @oo infinity
438+ oo @= infinity
439439partial ∂
440440gradient ∇
441- @ nabla gradient.*
441+ nabla @= gradient.*
442442sum ∑
443443 .integral ⨋
444444product ∏
@@ -468,8 +468,8 @@ laplace ∆
468468forall ∀
469469exists ∃
470470 .not ∄
471- @ top tack.b
472- @ bot tack.t
471+ top @= tack.b
472+ bot @= tack.t
473473not ¬
474474and ∧
475475 .big ⋀
481481 .curly ⋎
482482 .dot ⟇
483483 .double ⩔
484- @ xor plus.circle.*
484+ xor @= plus.circle.*
485485models ⊧
486486forces ⊩
487487 .not ⊮
@@ -490,8 +490,8 @@ because ∵
490490qed ∎
491491
492492// Function and category theory.
493- @ compose circle.stroked.tiny
494- @ convolve ast.op
493+ compose @= circle.stroked.tiny
494+ convolve @= ast.op
495495multimap ⊸
496496 .double ⧟
497497
@@ -980,13 +980,13 @@ Zeta Ζ
980980// from Letterlike Symbols.
981981// See https://github.com/typst/typst/pull/3375.
982982aleph א
983- @ alef aleph
983+ alef @= aleph
984984beth ב
985- @ bet beth
985+ bet @= beth
986986gimmel ג
987- @ gimel gimmel
987+ gimel @= gimmel
988988daleth ד
989- @ dalet daleth
989+ dalet @= daleth
990990shin ש
991991
992992// Double-struck.
You can’t perform that action at this time.
0 commit comments