rgh...@lyx.org wrote:
Author: rgheck
Date: Thu Jun  4 20:18:45 2009
New Revision: 29939
URL: http://www.lyx.org/trac/changeset/29939

This completes the major infrastructure for HTML output. Few of the insets work yet, but it handles everything else reasonably well, even tough files like development/HTML/depth.lyx. (The output from that one validates.) I'm sure there are bugs somewhere though. The nesting thing can probably go wrong, in particular.

Anyone who wants to do so is now welcome to contribute to this by working on one or more of the insets that still need work, or by providing layout information, CSS, etc, for the things that still need it. See the HTML.notes file for details. In many cases, you can just copy the docbook() routine, rename it to xhtml(), and make some minor modifications. I'd particularly appreciate help with graphics and tables. (It would be those two, right?)

There are also just a lot of questions about how to handle various things, so I'd welcome any thoughts about that. E.g., what should we do with InsetInclude? Include it? Export it separately and link to it? Or maybe one if it's input and one if it's included? Or should there be some sort of setting?

Then there's math. Here there are three options: (i) try to do everything in XHTML with entities and the like; (ii) use MathML; (iii) use little pictures. As I see it, (i) would be great, but it has obvious limitations; (ii) probably has similar limitations, in the handling of macros, in particular, and it's probably just as much work; (iii) is the only way to be sure of getting proper output, but the images don't scale well, etc, etc.

Of course, we could implement more than one of these if we wanted.

Opinions?

rh

Reply via email to