01-31-2013, 09:06 AM | #16 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Huh. I ran a website page through HTML Tidy, then uploaded the Tidied page as a test and looked at it.
It's a mess! |
01-31-2013, 09:13 AM | #17 |
Grand Sorcerer
Posts: 27,550
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sigil 0.6x offers you different levels of "Clean Source" settings: full-blown Html-Tidy (which will do what it has to do to whip your code into compliance), Pretty-Print (which in addition to its self-explanatory name, will still fix some egregious errors), and Off. But even Off won't allow you to proceed in an invalid state.
Turning Html-Tidy "Off" in Sigil 0.5.3 is basically the same as selecting "Pretty Print" in 0.6.x's Clean Source preferences. Last edited by DiapDealer; 01-31-2013 at 09:18 AM. |
01-31-2013, 09:37 AM | #18 |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Yes, of course! In earlier versions of Sigil it was essential to press Ctrl-S before ANY operation - certainly before any search/replace! It's a whole lot more stable now.
But give us poor fallible writers a break! "Tidy" is there to help those of us who can't write correct code (which is all of us, sometimes). "Save as is" would help those of us who can't quickly spot an error, but forgot to Save for a few minutes (which is all of us, sometimes). Sigil must HAVE an internal format, showing the page "as is". How about a new command "freeze session"? It's not always feasible to put the WHOLE computer into Hibernate. |
01-31-2013, 09:57 AM | #19 |
Grand Sorcerer
Posts: 27,550
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I think (s)he just meant "back up"... as in "back up a moment". "Take a step back in the conversation. Not "back up your work."
|
02-02-2013, 03:33 AM | #20 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I get the problem, but I think that's a really bad idea, for all the reasons that have been stated a bunch of times. If someone's ePUB is mucked up, then if they want a "preserved" but improper ePUB, maybe they should merge it and save it as an XHTML file. Wouldn't that work? I mean, this is nothing compared to Ye Olden PSO'D (Pink Screen O'Death) days. I've been doing a ton of merging, using...was it Diap's idea?, or Wolfie's....and using Toxaris' Fontshrinker. Merging is 5 seconds, literally, and you can copy + paste into whatever HTML editor you use in another 5 seconds. Kablammo, you're done. That would save a mid-stage ePUB that wasn't compliant, and you could back up the actual ePUB to a point of compliance and save it. You'd still have your styles, images, any outboard files (like Apple files), and your in-process XHTML in your HTML editor. {shrug}. Seems like a viable and very, very fast workaround for this issue. Hitch |
|
02-02-2013, 05:41 PM | #21 | |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
Sorta scary though to realize that I have run perhaps ten books through 0.5.3 without ever messing with the Tidy option. I reckon this means that they have all been HTML-Tidied without my knowledge? And the first thing I do when I open an html file is to save it as booktitle.epub. In doing that, have I already invoked HTML Tidy? |
|
02-02-2013, 06:43 PM | #22 |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
|
02-03-2013, 10:02 AM | #23 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
I am glad to have contributed to your smile, Hitch.
(Notjohn is a male, as it happens. Otherwise she would have adopted the nom du web of Notjoan.) |
02-03-2013, 10:51 AM | #24 |
Grand Sorcerer
Posts: 27,550
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
02-03-2013, 01:24 PM | #25 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
02-03-2013, 04:12 PM | #26 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I've been puttering and muttering "back up! back up!" around the office for the last few days, getting a kick out of it. It's a valuable lesson on why emphasis in language matters. When we have a miscommunication with a client, I say it to myself. It helps. And, really, doesn't "notjoan" fit, as well, when you think about it? Or maybe we should all just stick to "Carol." H |
|
02-03-2013, 06:03 PM | #27 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
02-03-2013, 06:48 PM | #28 |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
|
02-03-2013, 07:17 PM | #29 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
02-04-2013, 07:58 AM | #30 |
Guru
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
A Fish called Notjohn ?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Please turn Tidy off by default | JSWolf | Sigil | 75 | 05-13-2012 11:03 AM |
Tidy use and issue | DaleDe | Sigil | 7 | 06-19-2011 07:22 PM |
Love Sigil, Hate HTML Tidy | Danger | Sigil | 2 | 12-25-2010 08:00 PM |
Sigil, HTML Tidy or PEBCAK? | DTM | Sigil | 6 | 09-26-2010 08:49 PM |
HTML Tidy problems | pdurrant | Sigil | 2 | 04-08-2010 07:38 AM |