New DocBook support (0002)

Kornel Benko kornel at lyx.org
Mon Jun 29 13:31:39 UTC 2020


Am Mon, 29 Jun 2020 13:43:59 +0200
schrieb Thibaut Cuvelier <dourouc05 at gmail.com>:

> On Mon, 29 Jun 2020 at 13:38, Pavel Sanda <sanda at lyx.org> wrote:
> 
> > On Mon, Jun 29, 2020 at 01:14:44PM +0200, Thibaut Cuvelier wrote:
> > > > So as a novice user who installs LyX on his machine, who wants to see
> > the
> > > > output with new docbook machinery, what programs/packages hee needs to
> > > > install to have some meaningful options to see the result when he
> > chooses
> > > > Document->View->Docbook?  Or is the plan to have only
> > File->Export->Docbook
> > > > option?
> > > >
> > >
> > > My original plan was just to allow export. If you want to view the
> > document
> > > as-is (i.e. without transforming it further, as the XSLT sheets would
> > do, for
> > > instance by generating HTML or PDF files), you would have to resort to
> > XML
> > > editors with WYSIWYM support (XMLmind, Oxygen, XMetaL, all of which are
> > > commercial -- I don't know any other that's still actively developed),
> > that's
> > > not software you'd expect to find broadly.
> >
> > I see, it can be export only if you think that's what is in general
> > expected.
> >
> 
> For now, I suppose it's the best thing to do. We may propose View options
> and recognise if specific software is installed (LibreOffice can read
> DocBook 4, the result is not always pretty…), but I'm not really sure if it
> will be useful.

I have tried 'pandoc -s -f docbook -t latex $$i > $$o' to create input for pdflatex.
Worked fine here on small tests.

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200629/c15d8cc1/attachment.asc>


More information about the lyx-devel mailing list