Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 07-03-2018, 12:44 PM   #16
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 387
Karma: 768286
Join Date: May 2013
Location: Philippines
Device: Android S5
@Thasaidon...Good to hear from you again and glad you liked the plugin. I'm rehashing the plugin for a proper release -- cleaning it up a bit and adding checks etc. I've added quite a few extras to the new version. Here's some new functionality that I've added:

The plugin now has an option to hide the chapter headings(using "display none") so you can't see it in text view but it's there in html view. This is particularly useful if you are using chapter headings as images, because I can use this feature to tag the heading images which will make make them linkable as well as searchable. My thanks to DNSB for that one.

You can now also add a class to all chapter headings as well. Not sure, I think theducks suggested that one. Anyway, my thanks to theducks for that suggestion.

The plugin is also now capable of both replacing and adding chapter headings and the chapter headings can be formatted in many different ways -- e.g. Chapter 22, CHAPTER TWENTY-TWO or chapter XXII with many variations.

Another couple of days testing and, if all goes well, I'll release the new plugin properly.

Last edited by slowsmile; 07-03-2018 at 12:50 PM.
slowsmile is offline  
Old 07-03-2018, 12:52 PM   #17
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,881
Karma: 22086754
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
Thank YOU!
My idea was just the way I tend to do things.
BTW couldn't the display: none be done with the CSS? (I hate inline styles)
theducks is offline  
Old 07-03-2018, 07:59 PM   #18
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 387
Karma: 768286
Join Date: May 2013
Location: Philippines
Device: Android S5
@theducks
"BTW couldn't the display: none be done with the CSS? (I hate inline styles)"

Although I appreciate that you dislike inline styles, there is no harm in using them in your code -- you will not get errors from doing this. Also, if you want the plugin to automatically add a class and add the class to the stylesheet then what if your epub has more than one stylesheet(which is very possible)? This would mean that, to make your desired change, I would also have to implement a dropdown selection somewhere in the dialog to capture the correct stylesheet for the new 'invisible' class entry. This would unnecessarily complicate plugin usage(which is complicated enough already!!). And it is for these reasons that I won't be implementing your suggestion.

But all is not lost! If you want to quickly implement a class in your chapter headings that makes all the chapter headings invisible then all you would have to do is just define that class once in the relevant css and then just add that class to your chapter headings using the new add class plugin option. And just in case you were wondering -- although I haven't added it yet, I am intending that that the new add class facility on the plugin should also be capable of adding more than one class per entry to all chapter headings. I'm hoping that this simple solution will ease your mind a wee bit at least.

Last edited by slowsmile; 07-03-2018 at 10:57 PM.
slowsmile is offline  
Old 07-03-2018, 09:15 PM   #19
Thasaidon
Hedge Wizard
Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.
 
Thasaidon's Avatar
 
Posts: 336
Karma: 2948316
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
Hi @slowsmile

The extra functionality you mention will make the plugin a real must have, for me. Thank you for your had work and that goes for all the other plugin writers.

We would have a lot more manual work if we did not have plugins and 'life is too short for that' (especially when you are retired).
Thasaidon is offline  
Old 07-03-2018, 11:03 PM   #20
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 387
Karma: 768286
Join Date: May 2013
Location: Philippines
Device: Android S5
Hi @Thasaidon..Thanks for your comment. Unfortunately, what was originally a simple plugin with a simple requirement has morphed into a bit of a beast with all the further requested functionality. This means that the plugin test time keeps getting longer and longer

But I will release it as soon as I can when I'm happy with it .

Last edited by slowsmile; 07-04-2018 at 12:35 AM.
slowsmile is offline  
Old 07-04-2018, 12:27 AM   #21
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 387
Karma: 768286
Join Date: May 2013
Location: Philippines
Device: Android S5
By the way, I've changed the name of the plugin to ReworkChapterHeads.

Last edited by slowsmile; 07-04-2018 at 03:04 AM.
slowsmile is offline  
Old 07-04-2018, 08:14 PM   #22
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 387
Karma: 768286
Join Date: May 2013
Location: Philippines
Device: Android S5
I've just released the ReworkChapterHeads plugin.
slowsmile is offline  
Old 07-08-2018, 12:26 PM   #23
AlanHK
Addict
AlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheese
 
AlanHK's Avatar
 
Posts: 397
Karma: 1002
Join Date: Apr 2014
Device: PW-3, Android phone
-----

Last edited by AlanHK; 07-08-2018 at 12:47 PM.
AlanHK is offline  
Old 07-08-2018, 09:47 PM   #24
BetterRed
null operator
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: 10,504
Karma: 10563064
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Suggestion: a mod should post a link to slowsmile's ReworkChapterHeads thread, and close this thread.

BR
BetterRed is offline  
Old 07-08-2018, 11:23 PM   #25
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 21,881
Karma: 22086754
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
Moderator Notice
Plugin renamed and moved:
https://www.mobileread.com/forums/sh...d.php?t=301108

Last edited by theducks; 07-08-2018 at 11:28 PM. Reason: changed mind
theducks is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Assign Sequential Numbers to Series Index American_Desi Calibre 3 04-19-2018 07:47 PM
Sequential Posting issybird Feedback 12 03-03-2015 05:49 PM
Inserting a jpeg into a PM Lynx-lynx Feedback 11 12-24-2014 06:17 AM
Sequential entries in Title field rlh3 Library Management 5 03-10-2013 11:12 PM
Sequential numbers regex? soparch Sigil 7 10-10-2011 05:51 AM


All times are GMT -4. The time now is 12:38 AM.


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