|
|
#1 |
|
Intentionally Left Blank
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
Sigil, HTML Tidy or PEBCAK?
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) |
|
|
|
|
|
#2 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,954
Karma: 2574555
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
It seems that both Sigil and Calibre try and fix the problem.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,975
Karma: 348069
Join Date: Feb 2008
Device: Sony Reader PRS 505
|
This sounds like a bug. Try to make a repeatable test case and then head over to the issue tracker.
|
|
|
|
|
|
#4 | |
|
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,041
Karma: 13086446
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.
__________________
Charlie 'Bene legere saecla vincere'. 'To read well is to master the ages' [Prof. Issac Flagg] |
|
|
|
|
|
|
#5 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,954
Karma: 2574555
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#6 |
|
Intentionally Left Blank
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
|
|
|
|
|
|
#7 |
|
Intentionally Left Blank
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
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.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 |