I was playing with prince to see how its HTML5 support is, and I got the following result:
The actual PDF that prince made seemed fine though. So, it seems like a) those “errors” should be called warnings if they don’t cause the file to stop processing b) in any event, it would be nice if prince supported the new HTML5 tags without any errors or warnings.
Incidentally, I’m excited to start using the aside tag for prince footnotes. Right now, I’m using cite, which I know is completely wrong, but I couldn’t think of any more ‘semantic’ option. I could just use a span, I guess, but that’s no fun. Anyway, it’s a little bit ridiculous that HTML/CSS still don’t have a good option for footnotes baked in. It’s nice that prince is pushing things forward a little bit with “display: prince-column-footnote”.
$ prince html5.html
prince: html5.html:81: error: Tag header invalid
prince: html5.html:87: error: Tag section invalid
prince: html5.html:98: error: Tag section invalid
prince: html5.html:103: error: Tag aside invalid
prince: html5.html:106: error: Tag footer invalid
The actual PDF that prince made seemed fine though. So, it seems like a) those “errors” should be called warnings if they don’t cause the file to stop processing b) in any event, it would be nice if prince supported the new HTML5 tags without any errors or warnings.
Incidentally, I’m excited to start using the aside tag for prince footnotes. Right now, I’m using cite, which I know is completely wrong, but I couldn’t think of any more ‘semantic’ option. I could just use a span, I guess, but that’s no fun. Anyway, it’s a little bit ridiculous that HTML/CSS still don’t have a good option for footnotes baked in. It’s nice that prince is pushing things forward a little bit with “display: prince-column-footnote”.