clarkgrubb / latex-input

Enter Unicode characters using LaTeX notation
MIT License
92 stars 12 forks source link

OS X doesn't function as a normal keyboard #2

Open tmbdev opened 9 years ago

tmbdev commented 9 years ago

The OS X input method doesn't function as a normal keyboard. I think it should only switch to LaTeX mode when "\" is used, but it requires every word to be accepted with a space. (OS X 10.9.5)

tmbdev commented 9 years ago

I think the source of this issue is that the keyboard map includes the normal keys ("a", "1", etc.). This causes them to be included as special multi-stroke sequences. It causes similar problems with Emacs, for example. It's probably easy to fix by removing those keys from the input methods.

porglezomp commented 8 years ago

I agree that this is a serious issue. (Although note that we do also want _0 and ^0 to produce ₀ and ⁰ respectively.)

clarkgrubb commented 8 years ago

It doesn't seem to me that this change makes the input method work the way you want it to.

You can test this for yourself if you have the repository checked out.

rm data/*/alphanumeric.txt
make clean
make

Then install latex.cin in your ~/Library/Input\ Methods directory.

porglezomp commented 8 years ago

Yeah, I tried it out, I responded without fully understanding what the input method actually was doing.