Hi Murray,

On Thu, Jun 18, 2009 at 3:07 AM, Murray Eisenberg<[email protected]> wrote:
> I hate to say this, but the target page is a good example of why
> converting math in LaTeX (whether originating in LyX or not) to HTML
> gives such bad results. Here are a few of the "uglies":

What you are outlining are basically differences between the LaTeX
version and the HTML generated by eLyXer. We know that results are not
going to be identical, at least not until we are using MathML (and its
moment has not come yet IMHO); but they are an approximation to be
used in certain situations.

I am sure that when you write equations on the blackboard you don't
draw typographically-perfect symbols, but they do the job. The same
for PowerPoint presentations -- you can compose a simple equation
which is more-or-less what you want, but many things will come out a
bit distorted, even if you just paste a screenshot from a PDF.

The Math Showcase is there precisely to show what you can expect from
eLyXer output. I am aware of all the points you mention and a few
more: fractions not exactly centered with the rest of the line,
equation numbering only in the destination and not in the link, no
space between fractions and units, square root symbols not covering
all of the radicand; and this is without getting into fancy TeX stuff.
Some features are acceptable, others can be improved, and others
simply cannot be done at all.

To improve eLyXer I am going to need something more than just "HTML
output is not _exactly_ like PDF output". Which points are
particularly bothering you (and you cannot live with them)? How would
you solve them? Sample CSS code would be very useful.

> There's also one issue not with the conversion but with the original
> typesetting: in 4.3, the kg units should be set upright, not italic.

This one has been reported by many people, thanks to you all! It is
proving to be surprisingly hard to solve, due to how eLyXer stores the
results of the conversion, but it will hopefully be solved for 0.28.

Thanks,

Alex.

Reply via email to