![]() |
#76 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
When you switch to an xhtml flow within the book that isn't already open Sigil will use the same view that was last used. But some elements (images, the opf and ncx files) don't have the option to use Book or Code views so Sigil doesn't know what your preference is when you switch from one of those to a new xhtml flow and it defaults to Split view as a 'best-of-both-worlds' option. This is one thing that can go in the preferences dialog when we get round to it.
|
![]() |
![]() |
![]() |
#77 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Re image removal, kiwidude has the right idea with multi select. It was the first thing I tried to do and failed at. I never have reused the same image so far, so it didn't even occur to me. But I can see how automatic deletion could create a big problem for those who use a repetitive separator graphic etc.
|
![]() |
![]() |
![]() |
#78 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
one thing that I'd find useful, when tidying:
detect, with an option to delete - those styles in the stylesheet which are not used anywhere in the book. takes ages to do this manually a each candidate needs a find /count operation run across all files I'm thinking of a "styles in use" summary which counts number of times each style is used & outputs a list or a table of results meanwhile if anyone knows an easy way to detect all un-used styles, please tell |
![]() |
![]() |
![]() |
#79 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@cybmole - perhaps when the plugin architecture is in place this sounds a good candidate. I too would love it. The responses I have seen on this previously is "it does not matter about having unused styles lying around". Which personally I disagree with - because when it comes time to make style changes to the document your maintenance job that much harder.
It would be nice to have the reverse as well - the ability to delete styles and have all usages of that style removed from the document. A good example is OCR conversions which can be peppered with dozens if not hundreds of styles that do pointless things like "letter-spacing" etc. It would be nice to just be able to delete all those styles from the css file, and then run a function that removes all orphaned styles from the rest of the doc. |
![]() |
![]() |
![]() |
#80 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Auto remove unmanifested files, remove unused CSS, remove CSS references that don't exist, and various levels of CSS normalization are all plugin candidates. Do remember that the plugin interface is targeted at 0.6. So it will be some time before this becomes reality.
|
![]() |
![]() |
![]() |
#81 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
![]() |
![]() |
![]() |
#82 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
|
I'm not exactly how to describe what I'm thinking of - but it's something I think would be quite handy for doing a quick check on formatting and such. This could most likely already be done with some auto-magical CSS, but having it as a universal function would be quite nice and less laborious.
The 'book view' would have a background colour for each tag type (and perhaps class, if you were to be fancy). So paragraphs show up with a light blue background, spans within them show up with a light green background, allowing you to spot pointless tags (and as such get around to getting rid of their redundant CSS at the same time). I have a burning hatred for the way some MSO exported epubs have nested spans as whole paragraphs, each having their own class etc. While regex fixes that quickly, there are a number of other such similar things which I end up finding later on. It works well in my head at least! No doubt some shortcoming elsewhere ![]() |
![]() |
![]() |
![]() |
#83 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,760
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Please implement this like now. I really need it. With all these Omnibus editions coming out, I prefer to split the books and doing it file by file is not nice.
|
![]() |
![]() |
![]() |
#84 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,337
Karma: 4000000
Join Date: Oct 2008
Location: Paris
Device: Cybooks; Sony PRS-T1
|
Quote:
I foudd the best way for this is to un-zip the ePub. Then, create a new book and add the relevant html files. Sigil will also get the images / css that are linked. ![]() |
|
![]() |
![]() |
![]() |
#85 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 490
Karma: 1665031
Join Date: Nov 2010
Location: Vancouver Island, Nanaimo
Device: K2 (retired), Kobo Touch (passed to the wife), KGlo, Galaxy TabPro
|
|
![]() |
![]() |
![]() |
#86 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2011
Location: Philz Coffee
Device: Kindleosaurus
|
A little tiny feature request
It would be really nice if I could open files by using the Enter key when the file name is high-lighted in the Book Browser.
|
![]() |
![]() |
![]() |
#87 |
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
List of Illustrations
I put illustrations into the TOC with the following code:
Code:
<h3 id="fland001" title="ILLUS: SHOUTNIGHT THE OWL AND FLUTETHROAT THE BLACKBIRD"><img alt="" src= "Featherland_files/fland001.jpg" /></h3> Some time ago a List of Illustrations was discussed for Sigil. Is there a definition for a seperate LOI in the ePub spec and how would it be handled and displayed? Last edited by crutledge; 09-26-2011 at 12:00 PM. |
![]() |
![]() |
![]() |
#88 |
Connoisseur
![]() Posts: 88
Karma: 60
Join Date: Oct 2010
Device: ProMedia eReader, Sony PRS-600
|
About de-emphasising the BookView: Often someone else proofreads the ePUBs and any corrections/changes/edits to the textual content are made and send back to me for final polish. Having code view presented to non-technical people who do use Sigil to do small edits might make it harder. We technical people can find the code view, but for the non-technical users who need to see the result and not the code, a valid use, and make simple edits the BookView is the most important way they use Sigil.
I hope the dev's keep that in mind also because a 'power-user' doens't always stand on their own. |
![]() |
![]() |
![]() |
#89 |
Member
![]() Posts: 23
Karma: 10
Join Date: Apr 2011
Device: none
|
Hi, epub3 is out, John, do you think that the next version 0.5 will have a support for the new recommendations? If so, have you already thought of the main changes in Sigil? like for example save as en epub2 file option for compatibility issues? Will you keep Tidy as part of Sigil?
idpf.org/epub3-a-final-recommendation |
![]() |
![]() |
![]() |
#90 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Please point me in the right direction. | nickkindle | Amazon Kindle | 0 | 06-15-2011 08:18 AM |
Direction of the next Kindle? | Daithi | Amazon Kindle | 10 | 02-06-2010 12:06 AM |
Hi Everyone - Need some clarification and direction | s7whitecoral | Which one should I buy? | 11 | 11-21-2009 08:20 AM |
Hello from a newbie--need direction | bahia11 | Introduce Yourself | 2 | 11-17-2009 01:38 PM |
A little help and direction... | stevejay | Deals and Resources (No Self-Promotion or Affiliate Links) | 12 | 02-19-2009 05:24 PM |