Hi,
I have installed Predictive package. It is working fine for normal
English words while working in org-mode. When I am writing few latex codes
in org-mode, it is not suggesting latex keywords it seems. I have added the
following in .emacs.
;;predictive
(add-to-list 'load-path
Hi Sanjib,
Sanjib Sikder sanjibju2...@gmail.com writes:
I have installed Predictive package. It is working fine for normal
English words while working in org-mode. When I am writing few latex
codes in org-mode, it is not suggesting latex keywords it seems. I
have added the following in
Hi Bastien and Sanjib,
On Tue, Mar 05, 2013 at 10:44:55AM +0100, Bastien wrote:
Hi Sanjib,
Sanjib Sikder sanjibju2...@gmail.com writes:
I have installed Predictive package. It is working fine for normal
English words while working in org-mode. When I am writing few latex
codes in
Hi Bastien,
Do you mean: once I write some LaTeX keywords in an org-mode buffer,
it only suggests LaTeX keywords (and no english words) for the rest
of the session?
I am writing my thesis in org-mode. My thesis consists of equations. So in
my thesis.org file, I have latex codes also. I do
Hi Suvayu,
I think what he means is that predictive _does not_ suggest LaTeX
keywords inside an org-mode buffer.
Yes, exactly, I wanted to mean this.
Thanks
-
*Sanjib Sikder
*
Hi Sanjib,
Sanjib Sikder sanjibju2...@gmail.com writes:
Yes, exactly, I wanted to mean this.
Maybe:
(add-to-list 'predictive-major-mode-alist
'(org-mode . predictive-setup-latex))
Or
(add-hook 'org-mode-hook 'predictive-setup-latex)
Toby is on this list, he'll perhaps
Hi Bastien,
(add-to-list 'predictive-major-mode-alist
'(org-mode . predictive-setup-latex))
This one works :)
Thanks a lot.
---
Sanjib Sikder
Dear Bastien,
(add-to-list 'predictive-major-mode-alist
'(org-mode . predictive-setup-latex))
This works for latex keyword suggestion in org-mode buffer but while trying
to pdf export, I am getting the following error.
Wrong type argument: listp, t
Thanks
Dear Bastien,
The error
Wrong type argument: listp, t
was due to the following line
(add-hook 'org-mode-hook 'predictive-mode)
which was there in the .emacs file.
While predictive mode is on [without (add-hook 'org-mode-hook
'predictive-mode) in .emacs] in org-mode buffer, C-c C-e p