bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML output and &latex; entity undefined


From: Per Bothner
Subject: Re: XML output and &latex; entity undefined
Date: Tue, 9 Feb 2016 07:40:00 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0



On 02/09/2016 02:28 AM, Patrice Dumas wrote:
On Fri, Feb 05, 2016 at 05:30:38PM -0800, Per Bothner wrote:

I'd drop it in favor of --xhtml,
where --xhtml is the same as --html except strictly XML compatible - with
no required DTDs or entity definitions.

Isn't the html generated already XHTML compatible?

There are a few problems.  I noticed the <hr> elements, which are not
well-formed XML.  That can be easily fixed by writing them as
  <hr />

Even better: Get rid of the <hr> elements, and achieve the effect by styling.
Giving each node a bottom margin seems the simplest way to achieve that.

(In my opinion, doing HTML5 would probably be more interesting than
XHTML...)

Probably, as long as the output doesn't degrade too badly on
older browsers.

One idea I had:
--html produced html that works on older brosers.
--xhtml produces the xhtml syntax with html5 additions

Distributions and packagers would use --xhtml (once info format
is made obsolete).
--
        --Per Bothner
address@hidden   http://per.bothner.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]