Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-16-2012, 03:23 AM   #1
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
Markdown to ePub generation of ID attributes

Has the generation of ID attributes changed recently? In previous conversions the values generated were strings like pb_id_123 but now the values seem to take the contents of the tag.

So what used to be:

<h2 id="pb_id_1" class="calibre1">A Commentary on St. Paul's Epistle to the Galatians</h2>

now becomes:

<h2 id="a-commentary-on-st-pauls-epistle-to-the-galatians" class="calibre1">A Commentary on St. Paul's Epistle to the Galatians</h2>

with corresponding changes in all references to the link, e.g. in the toc.ncx.

Is there a tweak to control this?
Agama is offline   Reply With Quote
Old 10-17-2012, 11:17 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I dont maintain the txt input plugin so I cant give you a definitive answer, but I recall that the markdown to html component calibre uses was updated a little while ago. If that is indeed the cause of this then there is no way to control this short of modifying that component.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-18-2012, 02:45 AM   #3
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
Ok thanks. I'll find a work around by either adjusting my markdown or by adding another option to my post-conversion plugin. I don't really want to modify any standard components.
Agama is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Markdown to ePub has <title>Unknown</title> Agama Conversion 4 06-09-2012 04:16 AM
ePUB generation library for C#/.NET gonzoua ePub 4 08-08-2011 12:20 PM
Markdown to ePub : Optimize internal filesizes Agama Calibre 1 01-22-2011 09:36 AM
'Cloud' epub generation tool for browsers garygibsonsf ePub 1 09-14-2010 08:59 PM
Objectif PROFESSIONNEL : Génération d'EPUB. Randy11 Software 8 05-06-2009 11:08 PM


All times are GMT -4. The time now is 02:16 AM.


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