Hi,
Kristoffer Lawson writes:
>
> I would like to know if there is any process involving exporting all LyX
> documents to SGML. I believe it follows from the basic principles of
> editing with LyX that one does not necessarily need to concern oneself
> with the output format - only the structure of the document. That means
> that even if a document has not specifically been set to be a linuxdoc
> document and that SGML cannot represent everything, LyX should still be
> able to export to it, just as it exports to ASCII (I also noticed that
> URLs aren't displayed properly when exporting to ASCII).
As you probably know there isn't such a thing as an SGML export, SGML
is a meta language to specify markup languages. So for this SGML you
need to state the DTD (Document Type Definition) used.
AFAIK your idea is close of XML, where it is possible to have a
document without an explicit DTD.
I am implementing support for docbook in lyx, and from my experience
with it I know that is possible to generalize such support, in the sense
that changing only the textclass layout you change the document
output. But as I told before this is more related to XML than to SGML.
We are open to all the ideas concerning lyx 1.2 (next stable
version), and all the help (code,documentation, ...) of course ;-)
> Even if SGML doesn't have support for all the tags available in LyX it can
> support quite a wide range of them. It would be very nice indeed to be
> ablt to type out a document once, and then export it nicely to
> good-looking ASCII, Postscript and SGML (and HTML) all with a few clicks
> of the mouse button. In this sense making LyX into a generic text
> processing tool.
This is one of the goals for the new version, with a script language
to interface the lyx kernel it will be possible to do that as clean,
transparent and WYSIWYM as possible :-)
Then with a simple script it will be possible this once for all
approach.
Lyx has the potencial to become this general text processing tool,
but it needs work to fullfil it's oath :-)
>
> - ---------- = = ---------//--+
> | / Kristoffer Lawson | www.fishpool.com
> +-> | [EMAIL PROTECTED] | - - --+
> |-- Fishpool Creations Ltd - / |
> +-------- = - - - = --------- /~setok/
Jos�