m17n-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: math-latex.mim: About the updates in https://github.com/indic-transl


From: Vishvas Vasuki
Subject: Re: math-latex.mim: About the updates in https://github.com/indic-transliteration/m17n-db-indic
Date: Mon, 28 Aug 2023 20:37:52 +0530

+ Urs who might know ...

On Sun, 27 Aug 2023 at 13:52, Mike FABIAN <mfabian@redhat.com> wrote:
Hi Vishvas,

I am updating your math-latex.mim in m17n-db.

I really like your new option “with-backslash-prefix”. And I also like
that you made the default for that option 1.

But the description of that option said the default was 0, so I made
this small pull request for your repo:

https://github.com/indic-transliteration/m17n-db-indic/pull/22

The pull request also contains the change:

index 4235774..fc64db5 100644
--- a/math-latex.mim
+++ b/math-latex.mim
@@ -85,7 +85,6 @@ you don't have to turn off this input method to input normal ASCII characters.")
     ("partial"     "∂")
     ("sect"     "§")
     ("laplace"     "∆")
-    ("na")
     ("nabla"       "∇")
     ("qed"         "∎")
     ("ell"         "ℓ") ; This is not the mathematical script l
@@ -648,6 +647,7 @@ you don't have to turn off this input method to input normal ASCII characters.")
    ("modu")
    ("modul")
    ("n")
+   ("na")
    ("nab")
    ("nabl")
    ("ne")

It seemed to me that ("na") was intended to be in the “filler” map.

But actually I don’t understand what this “filler” map does. To
understand what it does, I tried to comment out some of the fillers
like:

@@ -624,10 +627,10 @@
    ("lamb")
    ("lambd")
    ("lamd")
-   ("lap")
-   ("lapl")
-   ("lapla")
-   ("laplac")
+;   ("lap")
+;   ("lapl")
+;   ("lapla")
+;   ("laplac")
    ("ldo")
    ("ldot")
    ("m")


And then I typed \laplace (("laplace" "∆")) and see ∆ and I can still
undo typing Backspace. No matter whether I am using this in
ibus-typing-booster or in ibus-m17n and no matter whether the option
“with-backslash-prefix” is 1 or 0. Uncommenting this seems to make no
difference for me when I type \laplace and then one or more Backspace
keys.

Am I misunderstanding something?

--
Mike FABIAN <mfabian@redhat.com>
睡眠不足はいい仕事の敵だ。



--
--
Vishvas /विश्वासः


reply via email to

[Prev in Thread] Current Thread [Next in Thread]