emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to install CDLaTeX in emacs24, on Windows 7?
@ 2016-01-20  0:09 vendo.libri
  2016-01-20 10:15 ` Rasmus
  0 siblings, 1 reply; 4+ messages in thread
From: vendo.libri @ 2016-01-20  0:09 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1084 bytes --]

Hello, I'm having trouble understanding in which directory to download the cdlatex.el script that Mr. Dominik wrote. I'm on Windows 7, emacs 24, my AUCTEX version is 11.88 and I also have Org-mode 8.2 and yasnippet installed.
When I give the command M-x org-cdlatex-mode, Emacs responds "Cannot open load file: no such file or directory, cdlatex". I've also tried adding the following lines into my .emacs file but to no avail.
<pre>(autoload 'org-cdlatex-mode "cdlatex.el" "Enter org-cdlatex mode" t)(add-hook 'org-mode-hook 'turn-on-org-cdlatex)</pre>
I'm not the only person experiencing this odd behavior, infact please check this stackexchange thread: http://emacs.stackexchange.com/questions/19614/org-cdlatex-doesnt-work.
Can someone please confirm that yasnippet and org-cdlatex-mode are not incompatible?Do I need to download the script from ELPA as I did with other packages? I cannot find this script in the list of packages that come up if I type M-x list-packages. How can I fix this problem, I really would like to use org-cdlatex-mode under Org-mode. Thanks in advance!

[-- Attachment #2: Type: text/html, Size: 1311 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to install CDLaTeX in emacs24, on Windows 7?
  2016-01-20  0:09 vendo.libri
@ 2016-01-20 10:15 ` Rasmus
  0 siblings, 0 replies; 4+ messages in thread
From: Rasmus @ 2016-01-20 10:15 UTC (permalink / raw)
  To: emacs-orgmode

"vendo.libri@libero.it" <vendo.libri@libero.it> writes:

> Hello, I'm having trouble understanding in which directory to download
> the cdlatex.el script that Mr. Dominik wrote. I'm on Windows 7, emacs
> 24, my AUCTEX version is 11.88 and I also have Org-mode 8.2 and
> yasnippet installed.
> When I give the command M-x org-cdlatex-mode, Emacs responds "Cannot
> open load file: no such file or directory, cdlatex". I've also tried
> adding the following lines into my .emacs file but to no avail.
> <pre>(autoload 'org-cdlatex-mode "cdlatex.el" "Enter org-cdlatex mode"
> t)(add-hook 'org-mode-hook 'turn-on-org-cdlatex)</pre>
> I'm not the only person experiencing this odd behavior, infact please
> check this stackexchange thread:
> http://emacs.stackexchange.com/questions/19614/org-cdlatex-doesnt-work.
> Can someone please confirm that yasnippet and org-cdlatex-mode are not
> incompatible?Do I need to download the script from ELPA as I did with
> other packages? I cannot find this script in the list of packages that
> come up if I type M-x list-packages. How can I fix this problem, I
> really would like to use org-cdlatex-mode under Org-mode. Thanks in
> advance!

You can download it here:

    https://raw.githubusercontent.com/cdominik/cdlatex/master/cdlatex.el

Add it to your load path.

Hope it helps,
Rasmus

-- 
There are known knowns; there are things we know that we know

^ permalink raw reply	[flat|nested] 4+ messages in thread

* R: Re:  How to install CDLaTeX in emacs24, on Windows 7?
@ 2016-01-20 12:26 vendo.libri
  2016-01-20 14:25 ` Rasmus
  0 siblings, 1 reply; 4+ messages in thread
From: vendo.libri @ 2016-01-20 12:26 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2055 bytes --]

Rasmus, 
Thank you for your suggestion. 
I'm not very good at emacs so when you say "load path" do you mean <C:\home\.emacs.d\elpa\>? My .emacs configuration file is in <C:\home\>, so where do I put cdlatex.el? Do you know if yasnippet and cdlatex are compatible or not?Please refer to the screenshot at this link for Emacs my path file: http://stackoverflow.com/questions/34884310/emacs-org-cdlatex-mode-where-do-you-put-the-cdlatex-el-script

>----Messaggio originale----
>Da: Rasmus <rasmus@gmx.us>
>Data: 20-gen-2016 11.15
>A: <emacs-orgmode@gnu.org>
>Ogg: Re: [O] How to install CDLaTeX in emacs24, on Windows 7?
>
>"vendo.libri@libero.it" <vendo.libri@libero.it> writes:
>
>> Hello, I'm having trouble understanding in which directory to download
>> the cdlatex.el script that Mr. Dominik wrote. I'm on Windows 7, emacs
>> 24, my AUCTEX version is 11.88 and I also have Org-mode 8.2 and
>> yasnippet installed.
>> When I give the command M-x org-cdlatex-mode, Emacs responds "Cannot
>> open load file: no such file or directory, cdlatex". I've also tried
>> adding the following lines into my .emacs file but to no avail.
>> <pre>(autoload 'org-cdlatex-mode "cdlatex.el" "Enter org-cdlatex mode"
>> t)(add-hook 'org-mode-hook 'turn-on-org-cdlatex)</pre>
>> I'm not the only person experiencing this odd behavior, infact please
>> check this stackexchange thread:
>> http://emacs.stackexchange.com/questions/19614/org-cdlatex-doesnt-work.
>> Can someone please confirm that yasnippet and org-cdlatex-mode are not
>> incompatible?Do I need to download the script from ELPA as I did with
>> other packages? I cannot find this script in the list of packages that
>> come up if I type M-x list-packages. How can I fix this problem, I
>> really would like to use org-cdlatex-mode under Org-mode. Thanks in
>> advance!
>
>You can download it here:
>
>    https://raw.githubusercontent.com/cdominik/cdlatex/master/cdlatex.el
>
>Add it to your load path.
>
>Hope it helps,
>Rasmus
>
>-- 
>There are known knowns; there are things we know that we know
>
>
>


[-- Attachment #2: Type: text/html, Size: 2461 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to install CDLaTeX in emacs24, on Windows 7?
  2016-01-20 12:26 R: Re: How to install CDLaTeX in emacs24, on Windows 7? vendo.libri
@ 2016-01-20 14:25 ` Rasmus
  0 siblings, 0 replies; 4+ messages in thread
From: Rasmus @ 2016-01-20 14:25 UTC (permalink / raw)
  To: emacs-orgmode

"vendo.libri@libero.it" <vendo.libri@libero.it> writes:

> I'm not very good at emacs

Don’t worry.  It will come!

You could check (info "eintr"); it’s a pretty cool book.

> so when you say "load path" do you mean <C:\home\.emacs.d\elpa\>? My
> .emacs configuration file is in <C:\home\>, so where do I put
> cdlatex.el? Do you know if yasnippet and cdlatex are compatible or not?

It’s configurable.  Check the folders in the variable load-path
(hint: do C-h v RET load-path RET; RET is Enter, C is Ctrl)

Try to add something like this to your init.el:

    (add-to-list 'load-path (expand-file-name
                             (concat user-emacs-directory "lisp")))

And evaluate it in the session (C-x C-e at last closing parenthesis).
Then look up the value of load-path.  It will probably be something like
C:\home\.emacs.d\lisp (I don’t know windows very well, sorry).  Now put
the cdlatex.el in this folder.  It’s now in the Emacs load path and you,
or Org, can require it.  If you want to be fancy, you can byte-compile
cdlatex.el (M-x byte-compile-file).

> Please refer to the screenshot at this
> link for Emacs my path file:
> http://stackoverflow.com/questions/34884310/emacs-org-cdlatex-mode-where-do-you-put-the-cdlatex-el-script

I did not check this.

Hope it helps,
Rasmus

-- 
The right to be left alone is a human right

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-20 14:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-20 12:26 R: Re: How to install CDLaTeX in emacs24, on Windows 7? vendo.libri
2016-01-20 14:25 ` Rasmus
  -- strict thread matches above, loose matches on Subject: below --
2016-01-20  0:09 vendo.libri
2016-01-20 10:15 ` Rasmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).