From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: convert orgmode to docx Date: Fri, 29 Apr 2011 11:03:38 +0530 Message-ID: <81k4edmxjh.fsf@gmail.com> References: <4D5ECFD3.6010002@gmx.de> <87d3moe12p.fsf@gnu.org> <81lj1cxnn3.fsf@gmail.com> <4D6112EB.3050603@gmx.de> <87ipwcuwx4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFgL6-0002lR-M9 for emacs-orgmode@gnu.org; Fri, 29 Apr 2011 01:34:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFgL1-0004aw-W9 for emacs-orgmode@gnu.org; Fri, 29 Apr 2011 01:34:04 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:61414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFgL1-0004ak-RC for emacs-orgmode@gnu.org; Fri, 29 Apr 2011 01:33:59 -0400 Received: by pzk4 with SMTP id 4so2810299pzk.0 for ; Thu, 28 Apr 2011 22:33:58 -0700 (PDT) In-Reply-To: (Fabian Braennstroem's message of "Tue, 22 Feb 2011 19:37:00 +0100") 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: Fabian Braennstroem Cc: emacs-orgmode@gnu.org Fabian Braennstroem writes: > Hi Bastien, > > thanks for the info! > Do you have a hint, how I could do the export in batchmode from the > console in Linux? > You can use the following to convert from org to odt (with suitable changes to the -L option). --8<---------------cut here---------------start------------->8--- emacs --batch -L "~/src/org-jambu/lisp" --eval "(progn (require 'org-odt) (setq org-export-headline-levels 3) (toggle-debug-on-error))" --visit=draftcopy.org --funcall org-export-as-odt-batch --8<---------------cut here---------------end--------------->8--- ps: Refer http://orgmode.org/worg/org-faq.html#convert-to-open-office Jambunathan K.