View Single Post
Old 11-23-2015, 10:38 PM   #28
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Sarmat89 View Post
It is obviously better, as it is more clear this way than generic divs/paragraphs with arbitrary classes assigned.
But surely using a standardized class is just as good.

So what is really needed is publisher consensus. Or at the absolute worst, an extension to XHTML.

Quote:
Once again, (X)HTML was designed for computer manuals, not books.
Oh no, whatever shall we do -- Wikipedia is wrong!
https://en.wikipedia.org/wiki/XHTML#Motivation

XHTML is HTML defined as a strictly XML-compliant form, which means it will error out on malformed XML.
It's useful for programmatic parsing, not for specific genres of ebooks.

Quote:
Take any book and tell me what elements have its semantic representation in HTML: Title page/Title -- none, Dedication -- none, Epigraph -- none, chapter titles -- none again, 'letters' -- none! Everything has to be imitated with the direct formatting!
I don't consider "direct formatting" to be a flaw.

TItle pages, dedications, epigraphs, chapters are all documents, they are separate XHTML pages.
And the EPUB manifest recognizes "type" semantics declared in the <guide>. Like the ones calibre's editor knows how to place, including "title-page", "toc", "index", "glossary", "acknowledgements", "bibliography", "colophon", "copyright-page", "dedication", "epigraph", "foreword", "loi", "lot", "notes, "preface", and "text".

Last edited by eschwartz; 11-23-2015 at 10:42 PM.
eschwartz is offline   Reply With Quote