01-01-2020, 11:16 PM | #106 |
just an egg
Posts: 1,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
|
01-01-2020, 11:59 PM | #107 |
Wannabe Connoisseur
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
For what it's worth, if I need to do a bunch of simple indent changes in a TOC and really can't be bothered with editing the html or CSS, I find it easy to just bang on an alternating series of right-arrow,down-arrow in the TOC editor then eyeball the ones that I missed () and fix those manually. Granted this might not work too well in the 500 item academic TOC recently mentioned
|
Advert | |
|
01-02-2020, 01:38 AM | #108 | |
just an egg
Posts: 1,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
|
|
01-02-2020, 12:50 PM | #109 | |||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Is there equivalent functionality in Calibre? I'm always Right-Clicking classes and being disappointed when I can't jump right to them in the CSS. (I know you can Tools > Reports > Style classes in Calibre and jump to the spot in the CSS, but it just ain't the same!) Quote:
And journals typically have a dozen articles per volume, and when you're dealing with multi-year compilations, it can explode to hundreds of TOC entries. Quote:
I think the most common use of "multi-select" would be this: Code:
- Part 1 -- Chapter 1 -- Subchapter 1 -- Subchapter 2 -- Subchapter 3 - Part 2 Currently, in Tools > Edit Table of Contents you have to select/move Subchapters 1-3 individually. 1. Select Subchapter 1 (<h2>): Code:
- Part 1 -- Chapter 1 -- Subchapter 1 <--- Select here. -- Subchapter 2 -- Subchapter 3 - Part 2 Sigil looks at current depth (<h2>), selects every entry here+down until it hits a different level (any non-<h2>). 3. Move all to the right: Code:
- Part 1 -- Chapter 1 --- Subchapter 1 --- Subchapter 2 --- Subchapter 3 - Part 2 1. Select Subchapter 2: Code:
- Part 1 -- Chapter 1 --- Subchapter 1 --- Subchapter 2 <--- Select here --- Subchapter 3 - Part 2 Code:
- Part 1 -- Chapter 1 --- Subchapter 1 - Subchapter 2 - Subchapter 3 - Part 2 Amazon/Kindle Use-Case: Amazon can also hit you with KQNs for having TOC depths >3. (As I preposterously learned a few months ago.) Code:
- Part 1 -- Chapter 1 --- Subchapter 1.1 ---- Subsubchapter 1.1.1 <---- Potential KQN. In this case, using Regex or Tools > Generate Table of Contents would ruin the semantics/underlying structure by changing already correct <h#> levels... Last edited by Tex2002ans; 01-02-2020 at 01:23 PM. |
|||
01-02-2020, 07:06 PM | #110 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
Advert | |
|
01-02-2020, 08:08 PM | #111 |
Evangelist
Posts: 425
Karma: 77256
Join Date: Sep 2011
Device: none
|
Concerning TOC editing, I think a button that can expand or collapse to a particular level may be sufficient. If for example one sets expansion to H1, for multi-select one can either use modifier keys as is done in file managers and other lists, or shift-up and down arrow. Existing controls would behave as is, acting on selection. Sometimes TOC editing via regex is much work as somewhat often publishers may use paragraph classes and generating as such would create a blank TOC. If I need a fair amount of editing, I may replace them with headers, but if the TOC is mostly as I would like, editing is sufficient. One example, in cases such as when chapters are H1 when the should be H2, e.g. Book 1 -> Chapter 1, viewing collapsed as H1 and then moving via multi-select would be what seems to be most efficient.
Indeed as I am starting to think about Sigil as such – what can be borrowed from various editors and apps –, to someday envision and create the most refined EPUB editor possible, I hope such things may someday, added over time, make editing a true joy and bring moments of wow, I cannot believe how simple is such and such action. As one thinks of such, various things come to mind such as right clicking on the author field in the OPF, being context aware, and selecting add file-as. EPUB is in a way a set of code, and there is much that can be taken from the most feature rich IDEs to bring ease of editing, navigation, proofing, etc. There may be others such as Sublime and TextMate for macOS but for me, Intellij is the standard by which all else is measured. Concerning the convert to EPUB 3 plugin, I am curious under what conditions there may be data loss. No issues that I've seen though maybe there could have been in the past and it'd be nice to know if possible when such may occur. Last edited by democrite; 01-02-2020 at 08:29 PM. |
01-02-2020, 08:33 PM | #112 | |
creator of calibre
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
01-02-2020, 11:08 PM | #113 |
Sigil Developer
Posts: 7,602
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Yes, and now that we have a decent css_parser and access to javavscript getComputedStyle info, we should probably do the same. I will add that to the Sigil to-do list.
|
01-03-2020, 04:42 PM | #114 |
Klak
Posts: 174
Karma: 150374
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
|
strange behaviour (windows 10 64bit, 64b sigil & 64bit notepad++)
open epub in sigil (for example The Opium Ship - H Bedford-Jones recent addition from mobileread library- it is the same with any epub) select The Opium Ship.htm, press f2 to open it in notepad++ let's say i want to open another file from epub in notepad++, i get "this file has been modified by another program. do you want to reload it" error sometimes, sometimes notepad++ opens file i opened before. same behaviour with brackets editor. however right button open with works just fine. |
01-03-2020, 06:46 PM | #115 |
Sigil Developer
Posts: 7,602
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Yes. Sigil caches its editing changes and only writes them to disk from memory when required. It does this for speed reasons.
Using “open with” on a file in Sigil tells Sigil to write its changes to disk and set a FileWatcher to look for changes by a third party software (what you use with open with). Trying to work around that is a sure recipe for disaster. |
01-04-2020, 02:31 PM | #116 |
Klak
Posts: 174
Karma: 150374
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
|
it works just fine when you doubleclick on a file in the epub (or better select it with alt+page up or alt+page down) and then press f2, so i guess it's a feature, not a bug.
sorry. |
01-04-2020, 07:44 PM | #117 |
Grand Sorcerer
Posts: 27,532
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes. You actually need to open the file in a tab for the Open In Preferred External XHTML Editor to work. Merely highlighting them in Book Browser is not enough. The tab that's currently got focus will be the one F2 opens.
|
01-09-2020, 11:22 AM | #118 |
A Hairy Wizard
Posts: 3,093
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Found an odd one:
Tried to add my css sheet "styles.css" and received an unable to load error. It clashed with the "page_styles.css" file...when I deleted that file it was able to load the new file fine. |
01-09-2020, 12:29 PM | #119 |
Sigil Developer
Posts: 7,602
Karma: 5433388
Join Date: Nov 2009
Device: many
|
I think there is a snippet of code that tests using endsWith that I must have forgotten.
I will track it down and get it fixed. Update: Found and fixed in master. The fix will be in the next release. Last edited by KevinH; 01-09-2020 at 12:43 PM. |
01-30-2020, 08:23 PM | #120 |
Enthusiast
Posts: 26
Karma: 2010
Join Date: Jul 2015
Device: Kindle 3
|
Why txz?
I am trying to download the Mac version of Sigil 1. The file has a txz extension. I have Apple's expander plus three others. None can open the file. Two of them compress the file. I tried gunzip, but it didn't work. I downloaded Sigil three times in case there was damage during transmission. All three had the same problems.
Can you please use a more common compression format such as zip or tar? |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil-0.9.18 Released | DiapDealer | Sigil | 20 | 09-13-2019 09:08 AM |
Sigil-0.9.4 Released | KevinH | Sigil | 40 | 03-26-2016 10:15 AM |
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 | KevinH | Sigil | 106 | 10-04-2015 10:41 AM |
Sigil 0.8.3 Released | user_none | Sigil | 10 | 02-02-2015 04:32 PM |
Sigil 0.4.2 Released | user_none | Sigil | 41 | 10-26-2011 06:03 AM |