![]() |
#16 |
Witchman
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 788808
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. |
![]() |
![]() |
#17 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
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) |
![]() |
Advert | |
|
![]() |
#18 |
Witchman
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 788808
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. |
![]() |
![]() |
#19 |
Hedge Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 802
Karma: 19999999
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). |
![]() |
![]() |
#20 |
Witchman
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 788808
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. |
![]() |
Advert | |
|
![]() |
#21 |
Witchman
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 788808
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. |
![]() |
![]() |
#22 |
Witchman
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
I've just released the ReworkChapterHeads plugin.
|
![]() |
![]() |
#23 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
-----
Last edited by AlanHK; 07-08-2018 at 12:47 PM. |
![]() |
![]() |
#24 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,612
Karma: 29710338
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 |
![]() |
![]() |
#25 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,891
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Last edited by theducks; 07-08-2018 at 11:28 PM. Reason: changed mind |
![]() |
![]() |
|
![]() |
||||
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 |