Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-11-2014, 04:16 PM   #1
steven522
binomial: homo legentem
steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.
 
steven522's Avatar
 
Posts: 1,061
Karma: 25222222
Join Date: Feb 2010
Location: Alabama, USA
Device: iriver Story HD; Archos 80 G9
Table of Content click-bug inside Sigil

I first noticed this happening after I updated to the latest version (0.8.2 at this point) for Windows 64 bit.

I load in a single html file with each chapter set with an H1/H2/etc. code.
I generate the table of contents in Sigil to get the listing in the contents panel.
I then click the first chapter link in the contents panel to move to that chapter header.
I use the key combo command Ctrl-Enter to break the html into a new file at that new chapter header leaving the previous segments isolated and making the Chapter header the start of the large html file.
I click on the next chapter, Ctrl-Enter, etc., etc. until all chapters have been broken down to their own individual html section inside Sigil.

Now I have to be careful when going through this because a click on the next Chapter, say click on 12 from within the larger section that now starts with 11 and it will bounce me back to the previous clipped down chapter 10. I will have to make a second click on the chapter 12 link to move back into the larger html section and down to the actual chapter 12 header.

Many times I have realized that I have created extra blank html sections because I broke out a new html section from a prior section where the header was the first line of that section.
steven522 is offline   Reply With Quote
Old 12-11-2014, 04:19 PM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Perhaps a strange question, but why don't you insert a splitmarker by searching for h1/h2 and put a splitmarker in front. Then you can easily with one command split the HTML into separate files at the markers. Saves a lot of work... Two actions, one S&R and one split action.

Also, if you changes your files like you do, it would be better to recreate the toc first after each split.
Toxaris is offline   Reply With Quote
Advert
Old 12-19-2014, 09:17 AM   #3
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Yes, why are you messing around with a TOC when you have a perfectly good marker for the beginning of each chapter already? You're not trying to do all this in Book View, are you? :-)
exaltedwombat is offline   Reply With Quote
Old 12-21-2014, 08:23 AM   #4
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by steven522 View Post
I load in a single html file with each chapter set with an H1/H2/etc. code.
I generate the table of contents in Sigil to get the listing in the contents panel.
Well, I have always split my book into sections/chapters first. Pace to the gurus among us, I find this easiest to do in Book View. I left-click my cursor just past the last character in the section (typically a full stop). Then I click on the icon in the second menu line that shows one page, a blue arrow, then two pages. I keep doing that until I'm done.

Then I go to Tools > Table of Contents > Edit Table of Contents (rarely, Generate Table of Contents). Nine times out of ten, the entire TOC is there and I don't have to do anything more to it.

Incidentally, I have been doing more work in Book View lately, just because I'm lazy. If I want to substitute one word for another, I just highlight the doomed word and type the new one on top of it. In earlier iterations of Sigil, this was a recipe for disaster -- it kept inserting non-breaking spaces and other bad stuff. But 0.8.1 doesn't seem to do that, and I keep getting away with this risky behavior.
Notjohn is offline   Reply With Quote
Old 12-21-2014, 11:29 AM   #5
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: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
@s.522
some folk work on pre(chapter)split books

some folk would rather work on a huge, long file

I prefer the first. Less damage when things go waaaay off in left field

It does not matter WHEN you create the TOC if using H#s as TOCgenerator markers, as long as they are all present Splitting will adjust references.

I use the Clip Editor to create common tags (some in wrap mode) and strings used in code view. The frequent used ones are on the Clip bar One is the Sigil Split Marker (ctrl-enter) (see circled items in image) and use Split at Markers (F6) when ready

Clips can be placed into a Search or replace box as well as the body text. Sometimes I build a replace compounded from clips

Image shown is a non-traditional toolbars layout (My goal: minimal mouse travel to common used icons)
Attached Thumbnails
Click image for larger version

Name:	Sigil_clp_bar.jpg
Views:	214
Size:	74.6 KB
ID:	132752  

Last edited by theducks; 12-21-2014 at 11:29 AM. Reason: Add image
theducks is offline   Reply With Quote
Advert
Old 12-29-2014, 08:46 AM   #6
steven522
binomial: homo legentem
steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.steven522 ought to be getting tired of karma fortunes by now.
 
steven522's Avatar
 
Posts: 1,061
Karma: 25222222
Join Date: Feb 2010
Location: Alabama, USA
Device: iriver Story HD; Archos 80 G9
Thanks, everyone, but I'm not looking for alternate ways of doing things... just reporting a bug.
steven522 is offline   Reply With Quote
Old 12-30-2014, 03:33 PM   #7
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by steven522 View Post
Thanks, everyone, but I'm not looking for alternate ways of doing things... just reporting a bug.
Alrighty--but what Toxaris said on the 11th, would do what you are doing in about 5 seconds. FWIW.

Hitch
Hitch is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Request: small recipe that adds borders to a borderless table inside an RSS feed mopol Recipes 0 03-01-2012 03:26 PM
New bug on table of contents creation? saxondawg Conversion 3 06-22-2011 12:34 AM
Use my own Table of Content Kniebolo Calibre 1 10-22-2010 06:08 PM
eBooks of chess problems. Center table bug? Tibor ePub 6 03-05-2009 09:20 AM
Table Of Content tomcool420 Sony Reader Dev Corner 3 03-16-2008 12:14 PM


All times are GMT -4. The time now is 01:35 AM.


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