Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Tricks to make Unicode input easier and proof scripts more readable (was Re: Lean Theorem Prover)

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Tricks to make Unicode input easier and proof scripts more readable (was Re: Lean Theorem Prover)


Chronological Thread 
  • From: Matej Kosik <5764c029b688c1c0d24a2e97cd764f AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Tricks to make Unicode input easier and proof scripts more readable (was Re: Lean Theorem Prover)
  • Date: Tue, 1 Mar 2016 12:32:30 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=5764c029b688c1c0d24a2e97cd764f AT gmail.com; spf=Pass smtp.mailfrom=5764c029b688c1c0d24a2e97cd764f AT gmail.com; spf=None smtp.helo=postmaster AT mail-wm0-f42.google.com
  • Ironport-phdr: 9a23:UoouyBY0vYHN51rXVByf5Av/LSx+4OfEezUN459isYplN5qZpcm/bnLW6fgltlLVR4KTs6sC0LqJ9f+4EjZfqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh7/0pMWYOVoArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIYTGZn9Kq8/VPlTCCksG2Ez/szi8xfZHiWV4X5Jd2wKnxgAIA/e7RKyCsqu7Hfx7rAs0nfKbcavRug4A2irtao6FxTk13lbORY29WjWjop7i6cN80HpnAB234OBONLdD/F5ZK6IJd4=

On 03/01/2016 12:05 PM, Soegtrop, Michael wrote:
> Dear Pierre-Marie,
>
>> Notwithstanding this whole discussion, I'm not sure this is the rôle of the
>> editor to implement a nice input method. KISS! Plus GTK-sourceview 2.x is a
>> really crappy editor, and interfering with what the user types is often
>> buggy.
>
> I agree that we should go for what Microsoft calls an IME
> (https://en.wikipedia.org/wiki/Input_method) for typing math symbols. It
> would make more sense to type the same way when writing an email or a
> document as when typing in Coq. Not sure, though, if IMEs can be nested,
> e.g. if a Japanese IME can be used in combination with a math IME. Does
> this work on Linux?
>
> If I understand you right, something like this exists for Linux. Could you
> give a few more pointers?

This weekend, I've tried XIM (The X Input Method).
I guess that is the oldest input method for X.

Here are my notes what I needed to do to get what I needed.


https://github.com/matej-kosik/coq/tree/v8.5__Show_Tree__BLANK__propositional_logic__1#configuring-xim-the-x-input-method

Then I was able to type the UNICODE glyphs I needed
(in coqtop running in my X terminal
in CoqIDE
in Emacs
and just about anywhere where I bothered to test ... ⊤ ⊥ ¬ ∧ ∨ → ↔ ℙ)

There are much more fancier alternatives but this one (XIM) worked for me
well.



Archive powered by MHonArc 2.6.18.

Top of Page