Jose Abilio Oliveira Matos a écrit :

> On Thu, Dec 07, 2000 at 07:46:41PM +0100, ben wrote:
> > Jose Abilio Oliveira Matos a écrit :
> >
> > > > I would like to use the SGML format for its powerful translation
> > > > possibilities, and I would like to know if it is possible to define a
> > > > new document style (different from the LinuxDoc one)?
> > > > Does anyone know some links that would explain how to customise the
> > > > sgmltools package, or to customise it through LyX (is it possible?)?
> > >
> > >   What version of sgmltools?
> > >   v1 supports linuxdoc.
> > >   v2 and v3 support docbook.
> >
> > I have version 1, and I should update to v2 or v3, at least to have the
> > docbook support. But how does it work with docbook? Is there a command such
> > as sgml2docbook, or what? When docbook is installed, does a LyX
> > reconfiguration detect and add a new SGML document style or not?
>
>   The interface is different for v2 and v3. All filters collapse to
>
>   sgmltools ...options...
>
>   And yes, lyx detection works for sgmltools v[23].

Fine. But is sgmltools changed for sgmltools-lite, or is it something different?

> > >   Or are you talking about a different dtd?
> >
> > Yes; my dream is that I could write a LyX document, export it in SGML, and
> > use an environment containing tools that would allow to convert it in a
> > publishable format (tex, ps, pdf, rtf, man, html, etc.), AND the environment
> > would be open enough to let the user add/customise the output format (by
> > adding new .dtd files I suppose). But is it only a dream?
>
>   Not a dream but close enough ;-). You are talking about valid XML without a
> dtd. But the transforation part isn't easy( dsssl or xsl ).

Ok, I think I won't leave latex immediatly... Thanks for your help!

Bye,
BG


Reply via email to