09-25-2010, 05:22 PM | #1 |
Intentionally Left Blank
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
Sigil, HTML Tidy or PEBCAK?
I don't know if this is an issue with Sigil, HTML Tidy or (ahem) the user.
I created a book using Sigil, containing several chapters with xhtml filenames "1stDay.xhtml", "2ndDay.xhtml", ... , "30thDay.xhtml". I then created an "Index" chapter, containing numerous links to places within the other chapters. These included references such as: <a href="../Text/23rdDay.xhtml#PSM23">. When I was done editing, I found that several links were broken. When I opened the book in Sigil to check on the code, I discovered that, randomly, the chapter references in the links were changed. For example, the above was changed to: <a href="../Text/3rdDay.xhtml#PSM23">. This didn't happen on all of the links, but when it did, in every case, the alteration was that the first digit in the chapter name was dropped. There are more details, but I'll save those for the issue report, if there is one. I was able to fix it by inserting a letter at the beginning of each file name. Apparently, there is a problem with files that begin with numerals. So here is the question: Does this look like a bug in Sigil for which I should open an issue, a problem with HTML Tidy that the Sigil folks can't do anything about, or is it simply forbidden to start an xhtml file name with a numeral (a rule I'm not aware of)? (*PEBCAK: Problem Exists Between Chair And Keyboard) |
09-25-2010, 05:29 PM | #2 | |
Well trained by Cats
Posts: 29,930
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
It seems that both Sigil and Calibre try and fix the problem. |
|
09-25-2010, 07:18 PM | #3 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
This sounds like a bug. Try to make a repeatable test case and then head over to the issue tracker.
|
09-25-2010, 08:24 PM | #4 | |
eBook FANatic
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Quote:
Code:
1-CHAPTER_IX.xhtml It's been workong fine so far. |
|
09-25-2010, 08:41 PM | #5 |
Well trained by Cats
Posts: 29,930
Karma: 55705602
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
09-25-2010, 10:45 PM | #6 |
Intentionally Left Blank
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
|
09-26-2010, 08:49 PM | #7 |
Intentionally Left Blank
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
This has been submitted, with a sample file, as issue #598.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about using Sigil to convert HTML | ficbot | Sigil | 9 | 03-06-2011 08:12 AM |
HTML Loads To Sigil w/ Errors | FlooseMan Dave | Sigil | 1 | 08-21-2010 09:15 PM |
Sigil freezes when I + HTML ebook. | Anarel | Sigil | 4 | 08-16-2010 11:13 AM |
HTML Tidy problems | pdurrant | Sigil | 2 | 04-08-2010 07:38 AM |
Importing Open Office HTML in Sigil | paulpeer | Sigil | 17 | 03-18-2010 04:23 AM |