On 09/21/2009 06:50 AM, Guenter Milde wrote:
On 2009-09-18, rgheck wrote:
What I meant was this: When a new feature is added, lyx2lyx generally
writes the raw LaTeX to ERT.
In my understanding, ERT is a last ressort. There are a lot of syntax
changes that are easily converted back to the old format. This is why
a switch like ::
> elxyer --lyxformat
221
could be a help.
It would help, yes, with simple changes of syntax, but not with changes
of semantics, which includes new features. The latter, at least, always
get converted to ERT when converting backwards. There just isn't any
other option.
At the moment, there are enough core LyX features that elyxer doesn't
support that worrying about future features maybe isn't all that important.
In the case of LyXHTML, this is no different from LaTeX export. People
who add new features will be expected to make sure that they work
properly with HTML export.
Did you check this new requirement with all LyX developers when
proposing native LyX->HTML export? I can imagine that some would think
it meant "Richard will be expected to make sure this works properly
with HTML export." (In any case I am very glad, that math support is
already present in LyX...)
Things here are no different from the other output formats we support.
Someone who adds a new feature already is supposed to take care of
plaintext and DocBook output, as well as LaTeX, though, yes, I expect
that I will likely end up helping out with this here and there, and the
state of DocBook is perhaps not a positive sign. But (a) this is as much
due to the fact that so few developers use or (more importantly) know
anything about DocBook, and (b) I'm kind of hoping that once HTML is
done, I'll have learned enough to fix DocBook.
Richard