Skip to content

Commit

Permalink
[61_11] Plugin: session-enable-math-input for default math input
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Jul 20, 2024
1 parent bc8de92 commit c9b64b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TeXmacs/progs/dynamic/session-edit.scm
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
(cons (car opts) (cadr opts)))
(ahash-ref session-math-input key)))

(tm-define (session-enable-math-input lan ses)
(ahash-set! session-math-input (cons lan ses) #t))

(tm-define (toggle-session-math-input)
(:synopsis "Toggle mathematical input in sessions.")
(:check-mark "v" session-math-input?)
Expand Down

0 comments on commit c9b64b5

Please sign in to comment.