From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Krehel 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 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edeLE-0001UJ-9z for emacs-orgmode@gnu.org; Mon, 22 Jan 2018 10:49:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edeLD-0003Fx-HX for emacs-orgmode@gnu.org; Mon, 22 Jan 2018 10:49:00 -0500 Received: from mail-pg0-x22f.google.com ([2607:f8b0:400e:c05::22f]:46948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1edeLD-0003FL-BK for emacs-orgmode@gnu.org; Mon, 22 Jan 2018 10:48:59 -0500 Received: by mail-pg0-x22f.google.com with SMTP id s9so7366399pgq.13 for ; Mon, 22 Jan 2018 07:48:58 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Kaushal Modi Cc: org mode , Christopher W Ryan 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