On 03/23/2010 05:22 AM, Guenter Milde wrote:
On 2010-03-22, rgheck wrote:
As he said, this is highly non-trivial. And the better the website, the
harder it is, since a good website will use semantic markup that is
styled by CSS. Then what do you do?
Of course transform semantic markup to semantic markup. This implies
that the website uses "really good" markup (text with HTML markup
indicating its logical structure), not CSS-styled<div> and<span> soups.
The difficulty is that HTML is very limited in what it is capable of
marking, for the simple reason that there aren't very many tags. LyX
character styles, for example, would almost uniformly correspond to
"span", except for the handful of obvious exceptions. That, it seems to
me, is why "use div and span for everything" has become almost the norm.
See e.g. elyxer's HTML output. LyX's is more flexible, because it is
specifiable in the layout. But the problem remains.
Richard