I love LyX.  I want two things it doesn't have/do today:

 - a vi editing mode (I looked at the list archives, I know this has
come up before)

 - a way to export to xml2rfc's XML schema

For the latter I'm playing with TeX4ht and htlatex, followed by
applying an XSLT stylesheet.  First I export to LaTeX (plain), then I
convert to XML, then I apply the sylesheet, then invoke xml2rfc.
It's... not perfect.  In particular LyX doesn't have a rich enough
representation of authors.  In Internet-Drafts and RFCs authors have:
full names, initials, organization name, e-mail address, and mailing
address.  I suspect I'll run into similar issues with respect to
references, but there it will be easier to just use a convention.
Other issues (e.g., how to specify the name of the document, as
opposed to its title, and how to specify the abbreviation of the
title) I've solved by using XSLT parameters.

I don't know enough about TeX, but I'm guessing custom insets would be
able to represent the additional author meta-data that LyX is
currently missing.  But would that meta-data be preserved somehow when
exporting to TeX?  And would the TeX->XML conversion tools preserve
that meta-data?  If not, then I think I'll stop here and stick to
editing xml2rfc documents in their XML form in VIM.

As for a vi editing mode, I'm guessing the only way it'd be added to
LyX is if someone who wants it goes and does the dev work.  Sadly I
don't have time to do that.  Someday, when I go write a book, I may do
it, but not anytime soon :(

Nico
--

Reply via email to