Register Guidelines E-Books Today's Posts Search

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: 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.
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: 29,802
Karma: 54830978
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)
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: 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.
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: 800
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).
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: 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.
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: 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.
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: 628
Karma: 788808
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
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 668
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, 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 (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: 20,568
Karma: 26954694
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: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
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


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 05:26 PM.


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