auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] Re: [AUCTeX] How to implement the function? Identify stat


From: auxsvr
Subject: [AUCTeX-devel] Re: [AUCTeX] How to implement the function? Identify state of input method.
Date: Wed, 20 Aug 2008 18:50:40 +0300
User-agent: KMail/1.10.0 (Linux/2.6.25.11-0.1-default; KDE/4.1.1; i686; ; )

On Wednesday 20 August 2008, you wrote:
> It does not work. When I input $, emacs can not input "Ctrl" key acording
> to input method.
>
> Thank you very much!!!

Does "i18n" appear after LaTeX in the minor mode indication? If I understand 
correctly, you use Ctrl to change input encoding instead of the default 
(Ctrl-\ ). Could you try the default to see if it works?

> 2008/8/20 <address@hidden>
>
> > On Wednesday 20 August 2008, xiaopeng hu wrote:
> > > I use Ctrol to switch my input method between chinese and english.
> > > When I input $, coming in math mode,I need to automatically switch to
> > > english input method (push "Ctrl" key).
> > >
> > > First, I simulate a keystrike "t"+<space>, I will get a chinese
> > > character (not equal "t ")if my input method is chinese. Now I need
> > > Emacs automatically simulate a "Ctrl" key to switch to english input
> > > method. All of these is just after when I input $.
> > >
> > > How to implement the function?
> > >
> > > Thanks
> >
> > I have attached a minor mode that changes the input encoding when
> > entering and exiting math-mode or after a backslash. Copy it to a
> > directory that is in the emacs load path (such as
> > /usr/share/emacs/site-lisp/) and add:
> >
> > (autoload 'latex-i18n-mode "latex-i18n" t)
> > (add-hook 'LaTeX-mode-hook 'latex-i18n-mode)
> >
> > to ~/.emacs.
> >
> > Hope this helps.






reply via email to

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