[NTG-context] E-books and XML.

Henning Hraban Ramm texml at fiee.net
Thu Aug 28 10:10:43 CEST 2014


Am 2014-08-27 um 16:06 schrieb Hans Hagen <pragma at wxs.nl>:

>    \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">
 <div class="division detail-frontpart">
  <div class="metadata">
   <div class="metavariable name-author">Henning Hraban Ramm, fiëé visuëlle</div>



Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)



More information about the ntg-context mailing list