02-04-2013, 09:03 AM | #31 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
I had to dig hard to find the Tidy option in 0.6.2. What is the default? When I finally found it, HTML Tidy was off, Pretty Pretty was on, and all the options were on. What do they mean?
* Open * Save * Replace in all files ("Notjohn" seemed like a good idea at the time. When I first set up an identity on Kindle Direct Publishing, I was mystified to go to my control panel, whatever it's called, and find that my name was shown as John. Changing my alias seemed the easiest way to clear this up.) |
02-04-2013, 03:37 PM | #32 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
@Notjohn. Have you tried the Sigil User Guide?
|
02-05-2013, 09:20 AM | #33 |
Guru
Posts: 932
Karma: 15752887
Join Date: Mar 2011
Location: Norway
Device: Ipad, kindle paperwhite
|
This problem is easy to circumvent - comment out all erroneous parts of your code - the entire chapter if needed. You can now save it, pluss you get a valid book
|
02-05-2013, 10:23 AM | #34 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
|
02-05-2013, 01:20 PM | #35 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Good to hear
In the user guide the Preferences chapter explains all the preference options. In addition, the options should have tooltips on them. Stick with the default Pretty Print Tidy all options on and it should be fine. |
02-08-2013, 06:30 AM | #36 | |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
One of these days I am going to turn HTML Tidy loose on a test book and see what happens. It would be great if it made only the DESIRABLE corrections.... |
|
02-08-2013, 07:35 AM | #37 | |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Quote:
No big problem entering the comment-out code. But is there a neat way of automating "Select all, comment out"? |
|
02-08-2013, 11:19 AM | #38 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
02-08-2013, 12:06 PM | #39 | |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
Quote:
Code:
<!-- \1 --> |
|
02-10-2013, 08:09 AM | #40 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
That's good to know. But HTML Tidy made a dog's breakfast out of my website html when I tested it the other day! It's built with tables, to be sure, and my books are not. Still, I am going to proceed cautiously.
|
02-10-2013, 09:07 AM | #41 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
GIGO.
I've limited myself to using only the Pretty Print clean-source setting since it became an option, but even before that... I never ran into a situation where HTML Tidy (in Sigil) resulted in the "loss" of any well-formed, valid, ebook-typical xhtml. Yes, I realize it's still technically possible—and as such, may be considered too risky by some. That's understandable. But unless you're feeding it the most heinously formatted xhtml (or you just don't have the requisite knowledge/experience to directly edit xhtml correctly/safely), I don't think the HTML Tidy feature in Sigil is quite the evil bugbear that many seem to want to make it out to be. If you don't need it; then by all means, don't use it (full-blown Tidy). But if your coding skills/knowledge dictate that you might need some "help" of the automagic variety?... well then, you generally takes what you gets. *shrugs* Last edited by DiapDealer; 02-10-2013 at 09:25 AM. |
02-11-2013, 09:09 AM | #42 | |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Quote:
Back in the dim, ancient history of EBook conversion (i.e. a year or so ago :-) when I was still kidding myself that automatic conversion from complex Word or Quark layout was feasible, I was trying to tame VERY messy code - and more than once lost text. |
|
|
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 |