View Single Post
Old 12-29-2018, 04:10 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,749
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by EClaire View Post
Hello, all. Author here, NOT a techie. I've been happily and successfully using Calibre to create my ebooks for years, and in the past whenever I've run into problems I just hack through it with trial and error until I figure it out. But this one has me stumped.

The latest version of Calibre (just downloaded yesterday) is responding to my p class = chapter and p class = title paragraphs by inserting <a> before each one and then </a> immediately after the next occurring </p>. This results in some ereaders showing pretty much the whole book as a hyperlink, besides throwing pages and pages of validation errors.

I code my text files in jedit, convert to html, then feed that file into Calibre for conversion to epub. The problem described happens ONLY in files for boxed sets that have a 2-tiered TOC structure (Title & Chapter tiers). Books with a simple structure 1-tier TOC do not have this problem, even with identical coding in the frontmatter. The only other difference I can see in the affected books is that they contain bookmark codes to connect internal text links with images (book covers) later in the document.

In one case, an html file converted by Calibre a year ago was fine, but the exact same file converted now with the new Calibre produces the problem.

I can and have removed the unwanted tags manually within the edit function. But I don't need to tell you what a PITA that is.

Many thanks.
Do you know what version of calibre you were using before you installed the latest version? If you reinstall that version it won't affect your libraries or configuration.

See How to ask a question about conversion problems

Main thing is an example of the problem yas input and output files. Put them in a zip and attach it to a post via the Manage Attachments button below the Submit and Preview buttons.

BR
BetterRed is offline   Reply With Quote