- From: David Carlisle <davidc@nag.co.uk>
- Date: Fri, 6 Nov 2015 14:01:42 +0000
- To: Coralie Mercier <coralie@w3.org>, <spec-prod@w3.org>
- CC: <chairs@w3.org>, <w3c-ac-forum@w3.org>
I have experimented with updating the (xmlspec XSLT generated) XML (and HTML) Entities spec [1] to the proposed style. [2] is the current editors draft on github and [3] is the same source, restyled. It all went reasonably well (comments on whether I could have used more of the new classes welcome) * I found the default styling of links (a faint underline, but no change to the text formatting) made them somewhat hard to spot, so I added an a.loc class that uses the same colour as a.property but without the monospace font. * Because of the narrow text width (a good thing:-) the title broke as (3rd edition) which is less of a good thing. Currently I've replaced spaces by nbsp between the brackets which works fine, but might confuse any crawlers expecting the <h1> text to exactly match he published title? (I could use a span with nowrap styling for the parenthesized text, would that be better?) There are lots of tables in this spec, for the tables such as "epsilon" [4] I used class="complex data" which is OK, but I think I really wanted left aligned. For the main tables for the entity sets eg [5] I've currently left with no css but <table border> as before. It would be nice to pull these into the styling (somehow). So really just a general comment that table formatting could perhaps do with more variant classes. This is a fairly simple spec using a more or less unmodified xmlspec stylesheet, so if anyone else wants to try an xmlspec based publication, feel free to fork [6] [1] http://www.w3.org/TR/xml-entity-names/ [2] http://w3c.github.io/xml-entities/ [3] http://w3c.github.io/xml-entities/restyle/ [4] http://w3c.github.io/xml-entities/restyle/#epsilon [5] http://w3c.github.io/xml-entities/restyle/2007doc/isobox.html [6] https://github.com/w3c/xml-entities/blob/gh-pages/xmlspec-restyle.xsl ________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Microsoft Office 365. ________________________________
Received on Friday, 6 November 2015 14:02:23 UTC