![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2021
Device: none
|
Sigil dialog help
|
![]() |
![]() |
![]() |
#2 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 839
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
|
Unfortunately, there is no such option.
I admit that I personally changed the Sigil code so that it would not inform me about the DOCTYPE problem and I did it with full awareness. Why? When working on an EPUB file, I always run the "Mend & Prettify Code - all files" function at a certain stage, so any missing DOCTYPEs will be filled automatically. I came across this message too often, and it turned out to be 99% of the missing DOCTYPE. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,570
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I just whack the enter key ('Yes' is default). It only happens once per new epub (if it happens at all). I don't run into it all that often myself.
I wouldn't be opposed to "remembering" the decision (or making an environment variable to override it) IF we had a way to verify that the missing doctype was the only thing that was wrong. But I don't think we can easily determine that, and defaulting to 'yes' for any and all deformity seems dangerous to me. And defaulting to 'no' would disguise where the problem originated, in my opinion. |
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 839
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
|
I agree with you, however, "WellFormedErrorForSource" does check for a few different elements, and the existence of a DOCTYPE is only one of them. The other checks are very important to me.
So it is enough that the DOCTYPE is missing from one single XHTML file and we will see the message. I am not persuading anyone, but since I removed the DOCTYPE check a few months ago, I have never seen the message again. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
writing dialog | robintes | Writers' Corner | 44 | 04-29-2021 11:03 AM |
Q: 'See What Changed' dialog | phossler | Editor | 7 | 06-30-2017 09:05 AM |
Sigil on Nook vs Sigil on Kobo vs Sigil on iBook | rosshalde | Sigil | 12 | 11-13-2014 09:34 AM |
Dialog Question | VydorScope | Writers' Corner | 17 | 08-04-2013 06:03 PM |
Help with dialog... | VydorScope | Writers' Corner | 9 | 06-14-2013 09:57 PM |