From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: DTD prohibited Date: Thu, 05 Jun 2014 09:54:24 -0400 Message-ID: <5b13ebc59ec60d1a0e75ff4ce07a8912@mail.rickster.com> References: <6613507.WMGd5MBtyv@linux-j9m3.site> <87a99tm8cw.fsf@ucl.ac.uk> <87ioohuju9.fsf@ericabrahamsen.net> <4076991.QH5rK4IgDH@linux-j9m3.site> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsYDf-000184-Jx for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 10:00:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsYDZ-0006xX-Ar for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 10:00:39 -0400 Received: from mail.rickster.com ([204.62.15.78]:43925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsYDZ-0006wr-7S for emacs-orgmode@gnu.org; Thu, 05 Jun 2014 10:00:33 -0400 In-Reply-To: <4076991.QH5rK4IgDH@linux-j9m3.site> 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: AW Cc: emacs-orgmode@gnu.org On 2014-06-04 12:52, AW wrote: > 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: > >> > >> > >> > 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. It's because the html5 export has no default style for tables -- before opening in word, try opening the html in a browser, you will see that xhtml-strict export adds style info to the table element, but xhtml5 doesn't. If you want the same style in html5 as html4, try the following preamble in your org file: #+HTML_DOCTYPE: xhtml5 #+HTML_HEAD: FYI, here's the table definition output in html4: and html5
rick