![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 8/28/2014 10:10 AM, Henning Hraban Ramm wrote:
Am 2014-08-27 um 16:06 schrieb Hans Hagen
: \setupbackend [export=yes, xhtml=yes, css=export-example.css]
also exports an html file with all tags being 'div' and the default css has been adapted to support both. The default css still need some work because not all browsers handle these div expressions equally well. The idea is to have a decent looking default as template (one can always overload).
I have no ebook device (threw away the broken very old one) so no testing of that part done.
Unfortunately, in that new HTML file, you put all attributes into the class name, so it makes more sense to translate the XML as before.
e.g.
<div class="document xmlns:m-http://www.w3.org/1998/Math/MathML date-Thu Aug 28 14:00:55 2014 author-Henning Hraban Ramm, fiëé visuëlle version-0.31 title-Gestammelte Werke context-2014.08.27 11:51 file-prd_hraban language-de xmlns:xhtml-http://www.w3.org/1999/xhtml">
that one is already fixed
<div class="division detail-frontpart"> <div class="metadata"> <div class="metavariable name-author">Henning Hraban Ramm, fiëé visuëlle</div>
those are is okay as a class can have multiple names and the attribute-name prefix can be used for further css detailing ... so we export both xthml old style (using tags, something that browsers understand) and xhtml new style (something that epub devices might be able to handle) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------