Quote:
Originally Posted by Turtle91
yJan1986 - this file is a mess! The html coding is inconsistent. It looks like the source for this was a scan/conversion of a pdf! You have some missing sections/chapters. You have some missing images. You have images that aren't used. The images need to be referenced with the proper src="" tag. (eg <img alt="" src="../Images/00001.jpg" /> */ or whatever the path to your image files /*)
I have taken the liberty of cleaning it up a little bit so it is readable. You should take a look at some of the differences between what you had and what I've done to get some ideas on the direction you should go. One recommendation is to rename the "Calibre" classes into something that makes sense; instead of class="calibre2174" you could have class="verse". That will help you to understand what each section is supposed to do.
In answer to your links question:
You need to make sure you have a correct reference (not just the extra l in your .htmll) otherwise it will throw errors. The correct reference isn't necessarily a full path but you may need to provide a full path if you reference a separate html file.
For example:
Code:
href="../Text/chapter1.html"
if the destination is in a separate html file in the "Text" folder and you want to open at the beginning of the file.
href="../Text/chapter1.html#section3"
if the destination is in a separate html file in the "Text" folder and you want to open at the point within the file with id="section3".
href="#section3"
if the destination is in the current file and you want to open at the point within the file with id="section3".
Some of your references aren't working because they are pointing at missing locations. You don't have an id="chapter1" in your index file.
I have also taken the liberty of splitting your really long index.html file into individual chapter files. This makes it much easier/faster for a reading device/app to render your files. It also makes your link references easier because all you need to do is reference the file name (href="../Text/chapter4.html"). The renderer will automatically open the file to the top of the document.
Good luck!
EDIT: sorry loaded the wrong file!
|
You're a nicer person than I am, Turt. I took one look at it and threw up my hands. I couldn't just let Sigil fix it--after all, we were looking for errata, right? And one look at what I could see--well, yes, a "mess" is not even close to an accurate description. Dog's breakfast is closer to accurate.
That file needs whoever is working on it to learn some HTML and start learning to clean up messes like that. The links are the least of the worries.
Hitch