emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: AW <alexander.willand@t-online.de>
To: emacs-orgmode@gnu.org
Subject: Re: DTD prohibited
Date: Wed, 04 Jun 2014 18:52:21 +0200	[thread overview]
Message-ID: <4076991.QH5rK4IgDH@linux-j9m3.site> (raw)
In-Reply-To: <87ioohuju9.fsf@ericabrahamsen.net>

Am Mittwoch, 4. Juni 2014, 17:04:14 schrieb Eric Abrahamsen:
> Eric S Fraga <e.fraga@ucl.ac.uk> 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:
> >> 
> >> <?xml version="1.0" encoding="utf-8"?>
> >> 
> >> 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" . "<?xml version=\"1.0\" encoding=\"%s\"?>")
> > | 
> > |  ("php" . "<?php echo \"<?xml version=\\\"1.0\\\" encoding=\\\"%s\\\"
> > |  ?>\"; ?>"))> | 
> > | 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.

  reply	other threads:[~2014-06-04 16:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-02 10:40 DTD prohibited AW
2014-06-02 11:33 ` Bastien
2014-06-03  0:34   ` James Harkins
2014-06-03 20:14     ` AW
2014-06-04  7:39       ` Eric S Fraga
2014-06-04  9:04         ` Eric Abrahamsen
2014-06-04 16:52           ` AW [this message]
2014-06-05 13:54             ` Rick Frankel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4076991.QH5rK4IgDH@linux-j9m3.site \
    --to=alexander.willand@t-online.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).