emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Oleh Krehel <ohwoeowho@gmail.com>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>,
	Christopher W Ryan <cryan@binghamton.edu>
Subject: Re: do you need a separate LaTeX installation to export org mode files to pdf?
Date: Mon, 22 Jan 2018 16:48:57 +0100	[thread overview]
Message-ID: <CAA01p3rdFsS4hbLKeyQFQqsB3O6n50nJ5Qv=U6Zz=cHi0nqv=g@mail.gmail.com> (raw)
In-Reply-To: <CAFyQvY27Xgyr4nqQZSBi6Qk+vBSHhh23AfkyaGWHWKT7qoiO_g@mail.gmail.com>

Hi all,

>> Would they need to install LaTeX too, or is org mode self-contained and
>> able to export to pdf without LaTeX an friends installed?
>
>
> Yes, they'd need to have a LaTeX distribution installed on their system. In
> my experience, installing the full latest version of TexLive is the easiest
> way.

For years, my approach was to install texlive-full. But that meant
blocking me for around 2 hours.

Recently, I threw together a minimal Dockerfile to enable org-to-pdf
export. Here's the gist of it:

    FROM ubuntu:xenial
    RUN apt update && apt install -y software-properties-common
    RUN apt install -y texlive-latex-extra cm-super

I also install Emacs and some project specific stuff on top of it. In
the end, the built Docker image is only 2.19GB.
If you don't care for Docker, you can just install the above minimal
packages with sudo.

regards,
Oleh

  parent reply	other threads:[~2018-01-22 15:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-22 14:56 do you need a separate LaTeX installation to export org mode files to pdf? Christopher W Ryan
2018-01-22 15:21 ` Kaushal Modi
2018-01-22 15:44   ` Martin Alsinet
2018-01-22 15:48   ` Oleh Krehel [this message]
2018-01-22 16:32 ` Rasmus
2018-02-09 22:46 ` Adonay Felipe Nogueira

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='CAA01p3rdFsS4hbLKeyQFQqsB3O6n50nJ5Qv=U6Zz=cHi0nqv=g@mail.gmail.com' \
    --to=ohwoeowho@gmail.com \
    --cc=cryan@binghamton.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=kaushal.modi@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).