From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre de Buyl Subject: Re: Export HTML from command line Date: Wed, 17 Mar 2010 10:35:07 +0100 Message-ID: References: <91dc62521003161247u204eb069sd4be923c9c8d62c9@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nrpfk-0001DJ-VS for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 05:36:17 -0400 Received: from [140.186.70.92] (port=56585 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nrpfi-0001BC-Mo for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 05:36:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nrpfg-0001hE-Fs for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 05:36:14 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:56838) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nrpfg-0001bN-Bg for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 05:36:12 -0400 In-Reply-To: <91dc62521003161247u204eb069sd4be923c9c8d62c9@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Zachary Young Cc: emacs-orgmode@gnu.org =46rom the documentation http://orgmode.org/manual/Quoting-HTML-tags.html#Quoting-HTML-tags I would say that you need to remove the ":" in "#+BEGIN_HTML:" and =20 the closing line. However leaving them works also on my emacs (org =20 6.31trans). If it still does not work, can you send a minimal org file in which =20 the error is reproducible ? Pierre Le 16 mars 10 =E0 20:47, Zachary Young a =E9crit : > Hi all, > > When I run `org-export-as-html' in a buffer, it works as I expect, =20 > but when I try to run it from an emacs batch command: > > emacs --batch --execute=3D'(setq vc-follow-symlinks nil)' --=20 > visit=3Dcurrent-day.org --execute=3D'(org-export-as-html-and-open = nil)' > > anything between #+BEGIN_HTML: and #+END_HTML: are exported like =20 > the following: > >

#+BEGIN_HTML: > <pre>Revision: 934 > Message: >

    >
  1. > Revved 'release-name' variable to '1.10'. >
  2. >
> >

---- > Modified : /trunk/scripts/AutoDoc/AutoDoc.build</pre> > #+END_HTML: >

> > and I am expecting: > >
Revision: 934
> Message:
> 1) Revved 'release-name' variable to '1.10'.
> ----
> Modified : /trunk/scripts/AutoDoc/AutoDoc.build
> > This is my first try at running emacs as a batch command, so I =20 > might be doing something wrong there. > > If more information is required, please let me know. > > Thank you, > Zach > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode