View Single Post
Old 03-07-2015, 07:36 AM   #31
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by oiver55 View Post
Great!! It works.
What does this part of the code mean?

<i>Map: <a href="../Text/Section0002.htm#invasion">

To be exact the <i> tag and the #invasion.
In order for me to get it to work I had to take out the #invasion and put "l". So it reads
<i>Map: <a href="../Text/Section0002.html"> instead.
The <i> tag is to italicize the word Map. (There will be a closing </i> tag to follow.)

The #invasion is an anchor that exists in the "Section" that is being pointed to. (It says id=invasion".) It's unnecessary and is a hangover from the time when I formatted e-books as a single file. Pointing to Section0002.html (language that Sigil creates when I split the larger file) is all that is needed in this case, because that gif file is the only thing in the "section" apart from the caption.

Html and htm are equivalent terms. I am accustomed to saving files as htm because I write in a DOS program, and DOS only allowed three-digit file extension (and eight-digit names). If you split an html file in Sigil, all the resulting sections will have the html extension, and if I split an htm file, I get a bunch of sections with the extension htm.
Notjohn is offline   Reply With Quote