[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] use-package with ox-latex
From: |
Stig Brautaset |
Subject: |
Re: [O] use-package with ox-latex |
Date: |
Tue, 27 Dec 2016 13:39:56 +0000 |
User-agent: |
mu4e 0.9.19; emacs 25.1.1 |
Dushyant Juneja <address@hidden> writes:
> Hi all,
>
> I was trying to wrap ox-latex in a use-package configuration. My
> use-package statement is super simple:
>
> (use-package ox-latex
> :defer t)
ox-latex is part of org, which ships with Emacs. You should be able to
just use:
,----
| (require 'ox-latex)
`----
Alternatively:
,----
| (use-package org
| :config
| (require 'ox-latex))
`----
Finally, if you prefer org-plus-contrib you can do:
,----
| (use-package org
| :ensure org-plus-contrib
| :config
| (require 'ox-latex))
`----
Hope this helps!
Stig