![]() |
#16 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
Hitch |
|
![]() |
![]() |
![]() |
#17 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,362
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yeah, I'm still not quite on the same page with how EXACTLY this is manifesting. Not quite sure what's meant by "file jumping" and "blanking on exit" to be frank. I think the suggestion made about a video just may be necessary.
I know I spent the better part of the morning adding existing css files (from the context menu AND from the File menu) linking/unlinking (both with and without a pre-existing css file in the epub), metadata editing--any which way (and any which order) I could think of, and can't get anything weird to happen. I've tried linking the css to one or two files (and then to 50+ files), with all the different Clean Source settings possible. Valid and invalid html/css--I hammered it hard, and I'm drawing a blank. I hope to heck someone can nail down reproduceable steps to expose this thing. |
![]() |
![]() |
![]() |
#18 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,313
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
![]() My methodology is to clean all the goop out of the html files...I know what's in my standard style sheet so I just put the codes into the html. After all that is complete I "add existing files" and put both my styles.css and sgc-toc.css in at the same time (multi-select). Both of these files have passed validation numerous times. After that, I select all the html files and link them as a group to styles.css. This is where the "jumping files" mentioned before comes in. Sigil appears to process each html file (I assume adding the link tags) rapidly. Depending on how many things I have running in the background this might be slow enough to see the actual pages "flipping" by. The css sheets import fine. I've never had it import a blank sheet. All the code is present. I then will add any additional formatting to styles.css needed for that particular book. I have not created the html toc yet, so there is nothing linked to sgc-toc.css. Somewhere in that process....sometimes.... I would check the sgc-toc.css file and find it blank...even though it imported properly. I USUALLY do not find a problem with styles.css ...but have occasionally found it blank as well. I have deduced that the times I find them blank are when I haven't changed the css files after import...thus my workaround. I then will run the "Generate Table of Contents", and then "Create HTML table of contents". It seems to link fine, as the html TOC follows the formatting I have in the sgc-toc. SOMETIMES, I have gotten so far as being finished with a book...checked each page...including the css... hit save and closed sigil. I only realize the blanking css has hit when I go to read the book and there is no formatting. I then go back and open the epub and TaDa....blank css files. Again...this doesn't happen if I add a space to the css file after importing it.... I hope this helps! EDIT: FYI, I have not seen this since upgrading to 8.4, but I have been performing my workaround for awhile as a matter of habit. I will stop doing my workaround *shudder* and see if I can get it to reproduce. Last edited by Turtle91; 03-21-2015 at 08:41 PM. |
|
![]() |
![]() |
![]() |
#19 | |
Connoisseur
![]() Posts: 72
Karma: 10
Join Date: Nov 2012
Device: none
|
Quote:
file jumping = when a block of html files is highlighted and linked in the book browser, I see the book browser highlight and move through each file individually and in sequence. When this happens, all css entries are lost upon exit; when this does not occur, css coding is saved as expected in the vast majority of cases. |
|
![]() |
![]() |
![]() |
#20 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,362
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I don't think I've ever experienced this file jumping, then (no matter how many html files I have selected for linking), but now I know what to look for. Thanks.
I'm assuming you don't really know about the css file being emptied upon exit until you reopen the epub and see that it's empty? Or do you actually SEE its contents disappear when exiting Sigil? So to your knowledge, has it ever happened when linking a css file to one or two html files, or does it always seem to be several files (where the jumping comes into play)? |
![]() |
![]() |
![]() |
#21 | ||
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,313
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
After noticing there was no formatting on some of my books, I investigated why and noticed the blank css. Then I started checking before, during, and after saving...and found it missing while I was still working on books. As I stated above, it was more often the sgc-toc file that went blank, but occasionally the styles.css would go too. I deduced it was because I had made no changes to the file. Quote:
I didn't make a connection between the jumping and the blanking. That would be helpful if that was the case. |
||
![]() |
![]() |
![]() |
#22 | |
Connoisseur
![]() Posts: 72
Karma: 10
Join Date: Nov 2012
Device: none
|
Quote:
1. Before you exit Sigil the css is always present, even after "jumping", but goes missing when you exit Sigil. I've cofirmed this using Winzip. That's why I originally thought the Clean Source settings were responsible for the problem, but my testing didn't prove that. 2. I've seen this problem with 2 or more files that have been linked. |
|
![]() |
![]() |
![]() |
#23 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,912
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Never seen jumping (I assume there is some sort of flicker in the file browser)
I have linked sheets: 1 (sheet) -1 (HTML), 1 - most, 2 - most I have seen just about every kind of incorrectly specified file, end up in Misc I have definitely seen @media styles mangled after 'delete unused...' (I think a remnant of this is '[NEW_LINE]' appearing) |
![]() |
![]() |
![]() |
#24 |
Connoisseur
![]() Posts: 72
Karma: 10
Join Date: Nov 2012
Device: none
|
|
![]() |
![]() |
![]() |
#25 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,633
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Feels like some 3rd party program is 'sticking its oar in' and broadcasting messages to current application (Sigil) that for some reason are being 'mishandled'.
I suggest the people getting the behaviour post a list of what other programs they might have running when they're in Sigil. That might identify commonality, and allow others to say "I use the superduper RSS gadget too, and I don't get this jumping behaviour". And is this happening on just one OS or all of them? BR Nota Bene : I have such a program(click.to), it interferes with Word. Not drastically, just takes focus away from where it ought be. Irritating but not enough to warrant 'fixing' it by telling it to keep it's oar out of the water when Word's driving the boat. IMO the problem is in Word because its the only program that 'mishandles' messages that click.to sends. Other programs (eg Notepad++ and Sigil) see the same messages but they don't 'misbehave' like Word does - nor do Excel and OneNote. |
![]() |
![]() |
![]() |
#26 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 860
Karma: 4097942
Join Date: Jun 2012
Location: London, UK
Device: Sony PRS-505, Pocketbook TL3, TL4, TL5
|
I've been having this problem for a while also. Certainly while using versions 0.7.#.
Before I discovered that Sigil can link a CSS file to the HTML files, I was writing the link style sheets code manually & I thought that I was making a mistake here. However it continued to happen after I found the Link Styles sheets option on the context menu. For me the code in the CSS is deleted when I Save the epub before linking the CSS to one or more HTML files or without opening it and it happens even if I've used a style in the code. If I have the CSS file open when I perform a Save or Save as then the code is still there then the save has been completed. |
![]() |
![]() |
![]() |
#27 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,362
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm utterly baffled.
|
![]() |
![]() |
![]() |
#28 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,912
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
So far not one person with this issue has even listed what OS they are useing
+1 on listing the other running programs I regularly run Sigil on Win XP and W7 Never seen the issue |
![]() |
![]() |
![]() |
#29 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Ditto.
I don't think I've ever linked SS's using the feature, TBH. I always regex it in. I wonder if that's the difference? My darling Ducky: Win7, 64-bit, currently running 0.7.2. No, no, I don't want to hear it, we're a production house, I like to stick with stuff that works. I'll move up to the 8's when I'm feeling brave-ish. ;-) I think that everyone here is currently running Win7, 64-bit, but the Sigils may run into the 8's on some of the other machines. I've never heard this. Doesn't mean it's not happening elsewhere, just...not here. But we're all regexers. Hitch |
![]() |
![]() |
![]() |
#30 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,633
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Someone did mention Winzip, but I see it runs on Windows and OS/X Ψ² BR |
|
![]() |
![]() |
![]() |
Tags |
css changes |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ADE breaks CSS --> CSS Validation: Parse Error / Value Error | dasboeh | ePub | 4 | 12-10-2012 03:25 AM |
Override ePub CSS with userStyle.css? | barium | Sony Reader Dev Corner | 11 | 07-16-2011 03:25 PM |
CSS Help Please | Japes | Calibre | 21 | 06-23-2011 05:05 PM |
epub CSS versus "Regular" CSS | konrad | ePub | 4 | 02-18-2011 09:29 AM |
css pseudo elements and adjacent combinators in extra css? | ldolse | Calibre | 2 | 12-21-2010 05:09 PM |