Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 04-18-2014, 04:51 PM   #31
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,422
Karma: 85397180
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 skreutzer View Post
Just think about this issue as follows: EPUB gets processed with XML tools. XML tools use XML schema validation. The validation fails for an invalid EPUB input file. What are web services supposed to do in such a case? The initial post about <u> invalidity didn't mention if this issue was raised by a web service or processing tool or if the user just did a validation voluntarily, but at least he posted the issue and asked for a solution. Can he solve it in Calibre? Manually or automatically?
And the <u> tag will pass xml validation.

Granted, it may fail xhtml validation....

Yes, it can be solved in calibre. regex it out. Or convert it with calibre and create beautifully conformant xhtml.

Regardless, it is more important to sell a working book than to comform to the standards. Change must start with the distributors who enforce noncompliant ebooks.

Last edited by eschwartz; 04-18-2014 at 04:56 PM.
eschwartz is offline  
Old 04-18-2014, 05:07 PM   #32
skreutzer
Software Developer
skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.
 
skreutzer's Avatar
 
Posts: 189
Karma: 89000
Join Date: Jan 2014
Location: Germany
Device: PocketBook Touch Lux 3
So you're suggesting to divert from standards and to increase incompatibility for no benefit at all (quite the opposite), just that some EPUB editors can stay with their invalid output or introduce even more errors and incompatibility?
skreutzer is offline  
Advert
Old 04-18-2014, 05:15 PM   #33
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,422
Karma: 85397180
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 skreutzer View Post
So you're suggesting to divert from standards and to increase incompatibility for no benefit at all (quite the opposite), just that some EPUB editors can stay with their invalid output or introduce even more errors and incompatibility?
No, I am suggesting you should speak to Apple and Kobo and B&N but in the meantime producers of ebooks should ignore the specs if that's what it takes to create a working book. It was, in fact, an irrelevant comment, at least as much as your comment about xml processing workflows.

Last edited by eschwartz; 04-18-2014 at 05:18 PM.
eschwartz is offline  
Old 04-18-2014, 05:21 PM   #34
skreutzer
Software Developer
skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.
 
skreutzer's Avatar
 
Posts: 189
Karma: 89000
Join Date: Jan 2014
Location: Germany
Device: PocketBook Touch Lux 3
Replacing <u> with a CSS class won't break a book. <u> might break a book or might have no effect or might have a different effect than underlining or might underline. Why should I speak to Apple, Kobo and B&N? I don't use Calibre, my EPUBs are valid. At least Apple was involved in the EPUB3 specification process, so they probably won't violate the standard they've helped to develop in order to create a common protocol for e-book interchange and consumption.

Last edited by skreutzer; 04-18-2014 at 05:24 PM.
skreutzer is offline  
Old 04-18-2014, 07:49 PM   #35
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by skreutzer View Post
The validation fails for an invalid EPUB input file. What are web services supposed to do in such a case? The initial post about <u> invalidity didn't mention if this issue was raised by a web service or processing tool or if the user just did a validation voluntarily, but at least he posted the issue and asked for a solution. Can he solve it in Calibre? Manually or automatically?
Calibre is not a publishing platform. It is a end user tool for cleaning up a book for personal use. Folks requested the ability to insert the various tags <b>, <i>, <u> etc... directly into the text and it was granted. The functionality of the book is not hindered by doing this.

If I were to do an epub to epub conversion after inserting these tags I am relatively sure that most of the inline tags would be moved to css.
DoctorOhh is offline  
Advert
Old 04-18-2014, 10:02 PM   #36
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by eschwartz View Post
@skreutzer calibre is actually quite good about xml, it will only convert books into strictly xhtml-compliant code. So since the problem with the <u> tag has nothing to do with conformance to xml, but s rather an html and by extension an html-as-it-relates-to-xhtml problem, can we stop dragging xml workflow into it? Even though it is a cause you care about?


I never claimed <u> is a valid part of the epub spec. I simply said it has nothing to do with the xml aspect of it.

This is exactly why in real life <u> works for ebooks.
You are correct that <u> is not in any way related to xml. In XML you can define the meaning of any tag to be anything you wish, so long at the structure rules are maintain and you have a definition table available to interpret the meaning. XML is a very generalized specification of which xhtml is one specific implementation and is the one chosen by ePub.

Dale
DaleDe is offline  
Old 04-19-2014, 01:38 AM   #37
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by skreutzer View Post
At least Apple was involved in the EPUB3 specification process, so they probably won't violate the standard they've helped to develop in order to create a common protocol for e-book interchange and consumption.
Unfortunatly Apple was involved... That is one of the reasons why we have crappy ePUB3 specifications with a lot of loopholes and Javascript possibilities. They focussed on those kind of things and audio/video instead of solving the real issues with the ePUB2 specs.
And you are mistaken. Apple is one of the biggest specification violators with their iBooks program. Not only for ePUB2, but also for ePUB3.
Toxaris is offline  
Old 04-19-2014, 01:44 AM   #38
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by skreutzer View Post
@Toxaris:
What is your impression, are those integration problems caused by proprietary applications and their questionable data formats or by the lack of tools that would translate and interact between XML formats if it were in XML? At least for publishing, there are huge advantages in XML-based workflows, and it is widely used in various ways. What kind of formats are increasing in application integration, binary ones with corresponding APIs to access them?
Binary with corresponding API's? We are not in the 90's anymore... Although certain SaaS vendors think a little different about that. The problem with XML is not the tools. They work fine. However, XML is bloated and slow compared to other formats. For a few messages that is not a big issue, but for a large number of messages it really counts. The fact that is widely used has nothing to do with the fact that it is a perfect format, but just that sometimes it is the best of the rest.
You are really too much focussed on 'proprietary applications and their questionable dataformats'. These are not the 90's anymore. Applications that really matter all support open formats besides some closed ones.
I am just saying that there are more efficient formats and they are gaining ground fast. One of those formats is JSON. Not always the best, but then again the best format for the job at hand needs to be chosen.

Now, lets get back on topic.
Toxaris is offline  
Old 04-19-2014, 02:35 AM   #39
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Quote:
Originally Posted by skreutzer View Post
@eschwartz:
I frequently run into people who have problems with Calibre EPUB files (with reading them or using them for online services), and a portion of those problems are due to the lack of standard conformance, which is absolutely avoidable, but forces users to fix those errors while they usually don't know how.
Hey guys. I'm not a coding expert so I'm not going to speak about breaking or not the 4.5.6.1 rule of the ePub 2.56 spec or whatever.

But I think I can give you an advice. You are trying to convince Kovid about changing his freely given software. Why the hell don't you post any of those conflict examples rather than just saying "you don't know what you are doing"?

In my veeeeery little experience with Calibre I haven't found any single compatibility issue, so for the time being I really cannot blame Kovid about any of his "non-compliant" decisions.
arspr is offline  
Old 04-19-2014, 06:06 AM   #40
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
Moderator Notice
Everything has been said to answer the OP's original question. Thread cleaned up and closed.

Alexander
Alexander Turcic is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil 0.7.2 is deprecated? Gregg Bell Sigil 12 04-01-2014 01:17 PM
Deprecated Plugins BetterRed Plugins 2 03-17-2014 05:41 AM
--output-format deprecated? Robotech_Master Calibre 6 01-03-2011 10:07 PM
LrfAppender: IE toolbar similar to "Toolbar for Librie" mumurik LRF 1 10-13-2009 04:01 AM
LrfAppender: IE toolbar similar to "Toolbar for Librie" mumurik Sony Reader Dev Corner 1 10-06-2009 03:33 AM


All times are GMT -4. The time now is 02:40 PM.


MobileRead.com is a privately owned, operated and funded community.