12-26-2009, 07:35 PM | #1 |
Addict
Posts: 370
Karma: 1553
Join Date: Feb 2008
Location: Melbun
Device: Kobo H2O
|
Sigil displaying WYSIWYG oddly
Sigil is excellent, especially for something still in very early release stages. I'm just grinding through cleaning up a bunch of epub conversions and it's doing most things really well. Unfortunately when I tried to report a bug I discovered that you require me to have a google account for that. I want not to have one. So instead I'm going to report bugs here.
Sigil on my WinXP laptop has started displaying WYSIWYG oddly, and the CSS header is breaking. I've restarted Sigil (but not the laptop) and the problem presists. It happens for any epub file, not just the one I was editing when the problem started. When I switch to code view I see the header like so: Code:
... img.sgc-1 {height: 100%} /*SG DO NOT MODIFY. This style is used by Sigil. It will be removed on export along with the "sigilChapterBreak" HR tags. SG*/ hr.sigilChapterBreak { border: none 0; border-top: 3px double #c00; height: 3px; clear: both; } /*]]>*/ </style> </head> Code:
/*]]>*/ </style> <style type="text/css"> /*SG DO NOT MODIFY. But since the first time I got that, I can't not have it. Starting sigil, open a random epub, it's there. The effect is that images are resized to nearly full screen and the text is very large. I can't see anything other than executable files in the "program files" directory, so I assume that somewhere there's a stash of information that's been corrupted. I closed Sigil, deleted the contents of "C:\Documents and Settings\User\My Documents\Sigil\scratchpad" and restarted without effect. Uninstalling and reinstalling also had no effect, but interestingly my modified startup menu shortcut was re-created when I reinstalled (it starts in my books folder instead of "program files\sigil" - any chance you can make that "my documents" or something?) Currently I can no longer use Sigil, since this fault makes it unusable. Do I need to manually delete stuff out of the registry or delete a template file? Any tips would be much appreciated. thanks moz |
12-26-2009, 07:48 PM | #2 | ||
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
If it's because you choose not to create a Google Account, then that's fine. Just create a new thread for each problem then. Quote:
Please provide more information. Start from the beginning, and explain everything in detail. |
||
Advert | |
|
12-27-2009, 08:01 AM | #3 | |
Addict
Posts: 370
Karma: 1553
Join Date: Feb 2008
Location: Melbun
Device: Kobo H2O
|
Quote:
Based on the Sigil XHTML view showing a changed "don't change this" section, I think that's the problem. But regardless, I'd like to be able to change it back. There doesn't seem to be anything useful in the registry, nor in the assortment of file locations that I've checked. So how do I change back to the way it was when I first installed it? At the risk of adding extraneous detail, I've been doing a fair bit of large-scale editing - take a full novel with HTML next/prev links on every page, and use regex replacement to strip them out. Which at times involves clipboard copying the whole thing into my text editor of choice, using a regex engine I know, then pasting it back in to Sigil. I'm very used to the 100% cpu pause while Sigil loads, saves or changes view mode Sometime in the middle of that Sigil lost the plot as above. I can zip up and send you files or whatever, let me know what you need. thanks moz Last edited by moz; 12-27-2009 at 08:03 AM. Reason: bad image link |
|
12-27-2009, 08:41 AM | #4 | |||
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
Quote:
Again, it's not causing the large text/image size. The zoom mode is. It's the only thing that can enlarge both the images and the text. And if you want to know, Sigil stores its settings in the registry, under HKEY_CURRENT_USER/Software/Strahinja Markovic/Sigil. Just delete that folder and you'll have a "fresh" installation. Deleting this folder will also reset any stored zoom settings, but as I've said, you can always change it with the controls at the bottom of the window. Quote:
And copying an entire novel worth of text onto the clipboard and pasting that somewhere? A horrible idea for any text editor. On Windows, all of that text will be UTF-16 on the clipboard and take up 30MB+ for an average novel. Parsing all of that on the fly... Import that text, don't paste it. |
|||
12-27-2009, 08:57 AM | #5 | |
Addict
Posts: 370
Karma: 1553
Join Date: Feb 2008
Location: Melbun
Device: Kobo H2O
|
Quote:
Um, the "import" function... where is that? I know it's mentioned in the FAQ as well as here, but there doesn't seem to be a menu item or toolbar button labelled "import". Do you mean dropping a file into the program, as it seems to accept epub files (doesn't display them or include them that I can see, but the document gets marked as changed)? |
|
Advert | |
|
12-27-2009, 09:28 AM | #6 | ||
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
CTRL-(plus) and CTRL-(minus) on the other hand, zoom in and out. Standard keyboard shortcuts for zoom controls. Open the View menu and you'll see them written next to the command name. Actually that's a pretty good idea. Quote:
Last edited by Valloric; 12-27-2009 at 09:55 AM. Reason: typo |
||
12-27-2009, 05:07 PM | #7 |
Addict
Posts: 370
Karma: 1553
Join Date: Feb 2008
Location: Melbun
Device: Kobo H2O
|
Hmm, there's some odd stuff going on with my setup and keyboard shortcuts then. If I set focus to the zoom control home/end zoom all the way, but setting focus to anything else and ctrl-home/end grab it.
Import... perhaps you should change the FAQ to say "open" rather than "import". Or add a new function - import a document into the existing document. What I was expecting was that import lets us open an epub with metadata and (say) a TOC, then import the separate chapters as HTML files into the already-open epub. By the sound of it Sigil doesn't support that except via copy'n'paste. What I've been doing is conceptually similar, except with the whole novel in one hit. Being able to export the text as HTML, play with it, then import it back into the epub skeleton would be handy. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle behaving oddly after reset | ficbot | Amazon Kindle | 2 | 09-11-2010 02:10 PM |
WYSIWYG UI Features Matrix | Frank Lowney | Sigil | 2 | 04-12-2010 07:44 AM |
Using Book Designer as a WYSIWYG | crutledge | Workshop | 1 | 07-25-2009 03:20 AM |
Help? Oddly "bricked | roofone | Sony Reader Dev Corner | 1 | 09-01-2008 10:31 PM |