emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] DTD prohibited


From: AW
Subject: Re: [O] DTD prohibited
Date: Wed, 04 Jun 2014 18:52:21 +0200
User-agent: KMail/4.13.1 (Linux/3.14.4-30.gbebeb6f-desktop; KDE/4.13.1; x86_64; ; )

Am Mittwoch, 4. Juni 2014, 17:04:14 schrieb Eric Abrahamsen:
> Eric S Fraga <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]