03-07-2011, 03:12 AM | #1 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
no way to recover from typing errors ???
if I make a mistake, say in style or class syntax in code view, then flip to book view I see something like:
This page contains the following errors: error on line 19 at column 55: Opening and ending tag mismatch. Below is a rendering of the page up to the first error. there seems to be no way to go back & fix it, because returning to code view gives me just the code version of the above message. seems that i have to quit + discard changes & start over - not ideal. is there a better way - I don't think undo works here either. |
03-07-2011, 03:37 AM | #2 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
This will be fixed in Sigil 0.4.0. The problem is that you've made the XHTML source not XML well-formed, and Tidy couldn't fix it. The next version of Sigil will handle this corner case.
|
Advert | |
|
03-07-2011, 08:32 AM | #3 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I actually had this one yesterday for the first time. It was annoying, but fortunately I save quite often...
|
03-07-2011, 10:16 AM | #4 | |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
so edit code view (badly), then save, could destroy your book. |
|
03-07-2011, 02:02 PM | #5 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Fortunately I usually am in code view mode most of the time.
|
Advert | |
|
03-08-2011, 01:54 AM | #6 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
|
03-08-2011, 08:01 AM | #7 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Actually I don't think so, but I don't care to test it really.... ;-)
|
03-09-2011, 12:20 AM | #8 | |
Bookmaker & Cat Slave
Posts: 11,459
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
You don't have to save...just screw up and flip over to Book View, and you're hosed. And no, per your previous, "undo" doesn't do anything. Just reload the book as if from start, and at least, while you've lost whatever you did from your last save forward, you haven't lost an entire chapter/file. If you've made the mistake and saved, wel... For a while, when I first started out, I actually got so paranoid about the PSOD that I'd start saving multiple copies with "save as..." every once in a while, so I'd have a progression of epubs marching along in a directory; I still run into them every once in a while when I'm looting my archives, it's a riot. I know that none of this helped, sorry. Hitch |
|
03-09-2011, 01:25 AM | #9 |
Fanatic
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
I never before Sigil encountered a program that would essentially destroy significant parts of a document because of typo mistakes. I admire the many great features of Sigil but recently I've started doing almost all my markup in UltraEdit and/or Word 2003, and try to really check for errors before bringing it to Sigil. Even then, I always miss some typos and find I must replace significant parts of my files because of Sigil's 'help'. Why can't Sigil simply point out mistakes in a different color, add a pointer to where located, and allow an interim save even though there are xhtml errors (without any automatic 'corrections')?
I've never been helped, as far as I know, by Tidy's error corrections because most of the corrections are gobbly-gook that is spread throughout an entire xhtml file, or at least through many paragraphs. |
03-09-2011, 05:14 AM | #10 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
For 0.4.0, checks are being put in place that will inform the user that the doc is not well-formed and that will offer options in a dialog about resolving this. I'm currently deciding on what those options should be, but I've already decided on two: 1) use Tidy or 2) give the user the option to fix it manually ("here's a line/column number and an error message, now go fix it"). I'm also thinking of offering option 3) revert changes, but I'll need to explore that one a bit more. As I've said before, complaining about about something in Sigil is only possibly productive until I start working on a fix for exactly that problem. After that it's unproductive. If I could fix it faster, I would have done so already. |
|
03-09-2011, 08:00 AM | #11 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
I'd like to see a more powerful undo.
some other programs maintain a buffer of recent steps so that undo can be applied multiple times to get back to a previous good point. 50 steps in some cases are possible. but would/could /should a replace all operation count as just one step ???. maybe yes if the program took a snapshot before applying any replace all operation. |
03-09-2011, 11:18 AM | #12 |
Fanatic
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
Valloric,
I'm really looking forward to v4; my complaint has to do with excessive frustration with Tidy's 'help' - it was especially frustrating with my current 600 pg two volume book by Charles Lyell. I do all my markup manually, and am not an expert typist and also a bit careless so I usually spend much time on help corrections. But after all, I do admire Sigil; without it my efforts with epub creation would be much more difficult and time consuming. Please keep up the great work! |
03-09-2011, 01:12 PM | #13 | |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
|
|
03-09-2011, 03:10 PM | #14 |
Fanatic
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
Toxaris,
Yes I understand that, but switching it off doesn't completely switch off the auto correct that so often leads to my frustrations. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Auto Send books failed, no recover | jessie102 | Calibre | 1 | 01-28-2010 11:57 AM |