View Single Post
Old 08-02-2014, 11:04 PM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,650
Karma: 205022288
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by davidfor View Post
Very nice and will save a lot of regex anguish. One thing is that I think <i> and <b> should be valid "Change tag to" values for a span. This is what the calibre editor uses when you press the "i" and "b" buttons.
If you're careful, you can edit the json settings file and add elements to the available "change to" options for the various elements. There's two json files in the 'plugin' folder of calibre's config directory for SpanDivEdit. The one you want ends in "settings". It won't exist until you've run the tool at least once, though. Add an "i" and a "b" to the "span_changes" list and you should be ready to rock. Throw in a "small" if you like.

Quote:
A very useful plugin. And the most impressive part, it even comes with "Help"
Thanks. And I'll have you know a lot of thought went into those help pages.

Last edited by DiapDealer; 08-02-2014 at 11:07 PM.
DiapDealer is online now