Jose Abilio Oliveira Matos a écrit :

> On Tue, May 15, 2001 at 12:31:37AM +0200, ben wrote:
> [...]
> > >   Ben, I think that a diet is needed (at least for me ;-). Do we need ent/
> > > in the repository?
> > >
> > >   Or are they changed in any way regarding the default distribution?
> >
> > Oh, I see. The entities are related to MathML support, and are not provided by the
> > standard DocBook XSL stylesheets (of course). I've taken then from the original
> > package, but it is true that it should be provided in some external MathML
> > support. I will look at this point.
>
>   They are already, that's my point.

Yes, you're right, it's provided at http://www.nag.co.uk/projects/OpenMath/mml-files/

> > >   If someone uses docbook with (or even without) lyx it should have those
> > > files installed. If we need its location that can be provided at
> > > configuration time.
> >
> > It is not so easy since these entities are included with a relative path in the
> > stylesheets. But the solution could be to impose where the files should be
> > located. We could have something like:
> > (path)/docbook/common
> > (path)/docbook/html
> > (path)/docbook/lyx
>
>   Is it possible to reuse some parts from Norman Walsh' XSL stylesheets or
> the resulting code base is completly different, and it was only taken as an
> inspiration to this project?
>   I'm just asking, since XSL isn't yet one language I fully understand...

The main stylesheet, docbook.xsl, includes some of the common N. Walsh stylesheets
(../common/l10n.xsl", ../common/common.xsl"). This is why the lyx stylesheets should be
located correcty. The other stylesheets are specific to the lyx translation, such as
the docbook/html/ stylesheets are specific to produce HTML. Besides, it is not so easy
to have real common piece of code, used by every stylesheets.

> > (path)/mathml/ent
> > (path)/mathml/dtd
> > ...
> > What do you think? Until now, the stylesheets work only with ent/ under lyx/, but
> > it can be changed. For your convenience we can avoid to put the files in the
> > repository for the good reason that they never change.
>
>   Not only that, but they are distributed apart. Those entities files are
> the ISO ones, aren't they?

Yes, you are right: the ent/ directory needn't to be archived.

>   I should also look to the configuration schemes used by sgmltools and
> db2xxx, since they use the entities that are usually packaged in a different
> way.

At which level sgmltools is involved with entities?

>   I think I should go this road: if the user has installed sgmltools or
> db2xxx then lyx should find the correct configuration. If not, then it means
> it is capable to fiddle with the configuration...

The problem with XML is that paths are required. There isn't the catalog mechanism. How
would you manage this?

> > >   I think that Herbert is hearing so that is a good idea. Are you using
> > > Amaya to see the resulting look?
> >
> > No, but I will try it. The test suite provides a complete html doc, in which there
> > is a rendering for each example.
>
>   IIRC both Amaya and the later Mozilla are able to display MathML.

I've just downloaded Amaya, and it seems very interesting!

> --
> José

BG

Reply via email to