From mboxrd@z Thu Jan 1 00:00:00 1970 From: AW Subject: Re: DTD prohibited Date: Wed, 04 Jun 2014 18:52:21 +0200 Message-ID: <4076991.QH5rK4IgDH@linux-j9m3.site> References: <6613507.WMGd5MBtyv@linux-j9m3.site> <87a99tm8cw.fsf@ucl.ac.uk> <87ioohuju9.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsEOk-0003vp-6m for emacs-orgmode@gnu.org; Wed, 04 Jun 2014 12:50:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsEOe-0003fy-8G for emacs-orgmode@gnu.org; Wed, 04 Jun 2014 12:50:46 -0400 Received: from mailout10.t-online.de ([194.25.134.21]:51055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsEOd-0003fd-Qe for emacs-orgmode@gnu.org; Wed, 04 Jun 2014 12:50:40 -0400 Received: from fwd28.aul.t-online.de (fwd28.aul.t-online.de [172.20.26.133]) by mailout10.t-online.de (Postfix) with SMTP id A6E773A7DE7 for ; Wed, 4 Jun 2014 18:50:37 +0200 (CEST) In-Reply-To: <87ioohuju9.fsf@ericabrahamsen.net> 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 Am Mittwoch, 4. Juni 2014, 17:04:14 schrieb Eric Abrahamsen: > Eric S Fraga writes: > > On Tuesday, 3 Jun 2014 at 22:14, AW wrote: > > > > [...] > > > >> Hi, > >> > >> thank you, I started again digging into this strange thing and the > >> culprit > >> seems the first line of the html-file: > >> > >> > >> > >> If I remove this line, no error. And removing simply > > > > Have a look at > > > > ,----[ C-h v org-html-xml-declaration RET ] > > > > | org-html-xml-declaration is a variable defined in `ox-html.el'. > > | Its value is > > | (("html" . "") > > | > > | ("php" . " > | ?>\"; ?>"))> | > > | Documentation: > > | The extension for exported HTML files. > > | %s will be replaced with the charset of the exported file. > > | This may be a string, or an alist with export extensions > > | and corresponding declarations. > > | > > | This declaration only applies when exporting to XHTML. > > | > > | You can customize this variable. > > | > > | [back] > > Seems like simply exporting as html5 might solve the problem. Yes, it does, thank you. But the price is that tabulars lose the frames and lines. I did not invest whether due to export without those elements or because Word had issues with html5. So I think I stick for the time being with customization of org-html-xml- declaration.