From: Stig Brautaset <stig@brautaset.org>
To: Dushyant Juneja <juneja.dushyant@gmail.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: use-package with ox-latex
Date: Tue, 27 Dec 2016 13:39:56 +0000 [thread overview]
Message-ID: <m2wpeltrrn.fsf@Margil.home> (raw)
In-Reply-To: <CAJkb0UPYRjZEtOW14eiY1JfevskBgKtUteEeM78yzLsy0ANX6A@mail.gmail.com>
Dushyant Juneja <juneja.dushyant@gmail.com> 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
next prev parent reply other threads:[~2016-12-27 13:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-27 13:01 use-package with ox-latex Dushyant Juneja
2016-12-27 13:39 ` Stig Brautaset [this message]
2017-01-03 14:25 ` Kaushal Modi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2wpeltrrn.fsf@Margil.home \
--to=stig@brautaset.org \
--cc=emacs-orgmode@gnu.org \
--cc=juneja.dushyant@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).