From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: How to export to latex from command line? Date: Thu, 23 Jun 2016 18:30:22 +0200 Message-ID: <87a8ibna01.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7Wb-00008i-II for emacs-orgmode@gnu.org; Thu, 23 Jun 2016 12:30:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG7WX-0000ky-Ks for emacs-orgmode@gnu.org; Thu, 23 Jun 2016 12:30:41 -0400 Received: from plane.gmane.org ([80.91.229.3]:57975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7WX-0000ks-DT for emacs-orgmode@gnu.org; Thu, 23 Jun 2016 12:30:37 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bG7WV-000199-Js for emacs-orgmode@gnu.org; Thu, 23 Jun 2016 18:30:35 +0200 Received: from 188-176-98-232-dynamic.dk.customer.tdc.net ([188.176.98.232]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jun 2016 18:30:35 +0200 Received: from rasmus by 188-176-98-232-dynamic.dk.customer.tdc.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jun 2016 18:30:35 +0200 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: emacs-orgmode@gnu.org hymie! writes: > In our last episode, the evil Dr. Lacto had captured our hero, > Giacomo M , who said: >> Dear all, >> >> I would like to export an org file to either tex or pdf from bash. > > I have been using this: > ${EMACS} $filename -f org-html-export-to-html -f kill-emacs > > There are similar functions org-latex-export-to-pdf and > org-latex-export-to-latex. I use, emacs --batch --no-init-file --load EXPORT-CONFIG.el --find-file EXPORT_FILE.org --funcall org-export-to-FORMAT > I don't think org does plain TeX; I'd be thrilled if it does. I haven't seen a plain TeX backend. Rasmus -- This message is brought to you by the department of redundant departments