Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-04-2013, 09:03 AM   #31
Notjohn
Groupie
Notjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfolded
 
Posts: 172
Karma: 52104
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.)
Notjohn is offline   Reply With Quote
Old 02-04-2013, 03:37 PM   #32
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
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?
meme is offline   Reply With Quote
 
Enthusiast
Old 02-05-2013, 09:20 AM   #33
Iznogood
Guru
Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.Iznogood ought to be getting tired of karma fortunes by now.
 
Iznogood's Avatar
 
Posts: 929
Karma: 15752887
Join Date: Mar 2011
Location: Norway
Device: Ipad, kindle paperwhite
Quote:
Originally Posted by exaltedwombat View Post
It's better than being in a position where you've broken something, don't quickly see the error, can't save but have to end the editing session and be somewhere else! Auto-fix can lose data.
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
Iznogood is offline   Reply With Quote
Old 02-05-2013, 10:23 AM   #34
Notjohn
Groupie
Notjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfolded
 
Posts: 172
Karma: 52104
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by meme View Post
@Notjohn. Have you tried the Sigil User Guide?
Almost every day!
Notjohn is offline   Reply With Quote
Old 02-05-2013, 01:20 PM   #35
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
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.
meme is offline   Reply With Quote
Old 02-08-2013, 06:30 AM   #36
Notjohn
Groupie
Notjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfolded
 
Posts: 172
Karma: 52104
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by meme View Post
Stick with the default Pretty Print Tidy all options on and it should be fine.
Yes, that's what I settled on. Thanks very much!

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....
Notjohn is offline   Reply With Quote
Old 02-08-2013, 07:35 AM   #37
exaltedwombat
Evangelist
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 414
Karma: 1703930
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by Iznogood View Post
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
That's the most sensible suggestion yet, and results in exactly what is required!

No big problem entering the comment-out code. But is there a neat way of automating "Select all, comment out"?
exaltedwombat is offline   Reply With Quote
Old 02-08-2013, 11:19 AM   #38
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,403
Karma: 4544000
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Quote:
Originally Posted by Notjohn View Post
Yes, that's what I settled on. Thanks very much!

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....
It does only make desirable changes, depending on your definition of desirable. I am sure the authors did not intend it to make undesirable changes.

Dale
DaleDe is offline   Reply With Quote
Old 02-08-2013, 12:06 PM   #39
st_albert
Fanatic
st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.st_albert calls his or her ebook reader Vera.
 
Posts: 542
Karma: 64420
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by exaltedwombat View Post
That's the most sensible suggestion yet, and results in exactly what is required!

No big problem entering the comment-out code. But is there a neat way of automating "Select all, comment out"?
Well, I have in my clips the code
Code:
<!-- \1 -->
which will comment out all selected text, but you have to beware that you can't have a comment within a comment, so "select all" followed by commenting it all out may not work if you already have comments within the selected text. (Or maybe even the string '--' (w/out quotes), for that matter.)
st_albert is offline   Reply With Quote
Old 02-10-2013, 08:09 AM   #40
Notjohn
Groupie
Notjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfoldedNotjohn reads XML... blindfolded
 
Posts: 172
Karma: 52104
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by DaleDe View Post
It does only make desirable changes, depending on your definition of desirable. I am sure the authors did not intend it to make undesirable changes.

Dale
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.
Notjohn is offline   Reply With Quote
Old 02-10-2013, 09:07 AM   #41
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,328
Karma: 36126080
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
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.
DiapDealer is offline   Reply With Quote
Old 02-11-2013, 09:09 AM   #42
exaltedwombat
Evangelist
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 414
Karma: 1703930
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by DiapDealer View Post
I never ran into a situation where HTML Tidy (in Sigil) resulted in the "loss" of any well-formed, valid, ebook-typical xhtml.
That's the point, surely? If you write good code, you don't need Tidy. But bad code might lose data.

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.
exaltedwombat is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 01:16 AM.


MobileRead.com is a privately owned, operated and funded community.