From mboxrd@z Thu Jan 1 00:00:00 1970 From: cberry@tajo.ucsd.edu Subject: Re: org-e-groff-export-to-groff produces empty output file Date: Fri, 21 Sep 2012 08:54:35 -0700 Message-ID: <874nmrl6bo.fsf@tajo.ucsd.edu> References: <87boh032nr.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF5ZE-0006Zd-Ot for emacs-orgmode@gnu.org; Fri, 21 Sep 2012 11:55:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TF5Z8-0006OY-V5 for emacs-orgmode@gnu.org; Fri, 21 Sep 2012 11:55:00 -0400 Received: from plane.gmane.org ([80.91.229.3]:43350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF5Z8-0006OT-Oo for emacs-orgmode@gnu.org; Fri, 21 Sep 2012 11:54:54 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TF5Z5-0000Nc-FR for emacs-orgmode@gnu.org; Fri, 21 Sep 2012 17:54:51 +0200 Received: from tajo.ucsd.edu ([137.110.122.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Sep 2012 17:54:51 +0200 Received: from cberry by tajo.ucsd.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Sep 2012 17:54:51 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric Schulte writes: > Hi, > > Maybe I'm missing something obvious here, but I can't get org-e-groff to > generate anything but an empty output file. I've boiled this down to > the following minimal example. First save the attached example.org file > to /tmp/example.org. Then run the following in your shell, > > # -*- shell-script -*- > emacs --batch --eval '(let ((org-path "~/.emacs.d/src/org-mode/")) > (add-to-list (quote load-path) (expand-file-name "lisp" org-path)) > (add-to-list (quote load-path) (expand-file-name "contrib/lisp" org-path)) > (require (quote org)) > (require (quote org-e-groff)))' /tmp/example.org -f org-e-groff-export-to-groff > > The above generates an empty file in /tmp/example.groff. > > What am I missing? Perhaps the backend is not being correctly passed on to org-export-as. I am not at a machine where I can check this right now, but (org-export-as 'e-bogus) used to merrily run to completion producing an empty output if the objects for the named backend were not bound. HTH, Chuck