Jose' Matos <[EMAIL PROTECTED]> writes:

> 
> > c) How to align math bitmaps vertically. It's no problem to get
> > ascent/descent from preview.sty, but how to code it in XML?
> >     Docbook defines valign=(top|center|bottom) which is not good enough,
> >     XHTML apparently also knows "valign=-7px"
> 
>    What do others use?

What others?

...
> 
> > g) What "density" or magnification should be used for maths?
> >     (Not knowing the final font size)
> 
>   Me neither. 
> 

> > c) Produce illegal valign attributes which can be used directly for XHTML
> 
>   I will close my eyes here. 

I did some research. It's in the semantics for "CSS3.lines". CSS2 and CSS1 
support valign without length or percentage values (which is not better
than the default)

So, now I think we could declare %local.common.attr to include "style" for
all elements and use the CSS3 syntax&semantics.
For PNG: style="valign: -7px"
For EPS: style="valign: -5%"

I don't think there are any solutions yet which align inline math bitmaps
properly for DocBook. If you know any, please let me know.

> 
> > g) No idea. That's the advantage of EPS images, they are scalable...
> 
>   I agree also.

Let's ask Chris...

> 
> > >   PS: Have you seen that it is possible for docbook 5.0 to be release
> > > without a dtd? More and more xml is becoming the default.

I had a look now. LyX support for db5 will need a major rewrite, I think :-)

BTW, I have to more questions:

1. Are there any CSS stylesheets for Docbook XML? I could only find ones for 
    XHTML.

2. I think you were the last to work on docbook.layout & co.  Couldn't we 
    add environments for admonitions etc quite easily? Also I think I spotted 
    one or two typos/mistakes related to the inclusion of counters.

Ciao
/Andreas

Reply via email to