View Single Post
Old 08-09-2013, 03:11 AM   #45
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Quote:
Originally Posted by ibu View Post
You ask: Why isn't that extra class OK?

I ask: Why do you need an extra class?

About "plain text":
That does not fit my needs.
I need and want markup in books.
Headers.
Emphasized text.
Ordered lists.
Footnotes (Links).
Blockquotes.
Images.
Data tables.
...

Your post-conversion plugin:
I'm not sure, if I could use it, when the source isn't a markdown format.

Do you have please a complex example of "before" and "after" (the conversion).
I'm interested in what your plugin does
I explained why the class="number" may not be an extra class but you have not answered this point; you have simply re-asserted that it is an extra class.

My plugin does almost exactly what PeterT did in post #30 of this thread, (stripping tag ids and calibre classes), but additionally applies Markdown extentions to support <span> and to allow css named styles to be applied to elements. (Standard markdown does not allow this.) It also tidies the OPF, (removing calibre specific meta data), allows additional dc: tags in the OPF, (ones not implemented by calibre), and tidies the toc.ncx. It works on ePubs after calibre conversion.
Agama is offline   Reply With Quote