View Single Post
Old 02-04-2019, 01:28 AM   #2
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Here's the two relevant chunks:

Code:
<li><a href="#editorial">From The Chief Editor's Desk</a></li><br>
Code:
<hr class="sigil_split_marker" />
<!-- editorial -->
 <a id="editorial"></a>
<h3>From The Chief Editor's Desk</h3>
What href="#editorial" is saying is:

Jump to the id="editorial" within the the same exact file.

Because you are trying to SPLIT the id="editorial" into a different file, Sigil is warning you about it.

You can split it anyway, your links will break, and you can manually correct your links. Or if you want it automated by Sigil, you can specify the file within the href.

Let's say the file all this information is in a Chapter01.xhtml file:

Chapter01.xhtml

Code:
<li><a href="../Text/Chapter01.xhtml#editorial">From The Chief Editor's Desk</a></li><br>

[...]

<hr class="sigil_split_marker" />
<!-- editorial -->
 <a id="editorial"></a>
<h3>From The Chief Editor's Desk</h3>
What the updated href is saying now:

Look for the id="editorial" in THIS SPECIFIC FILE (Chapter01.xhtml).

When you then split it, Sigil should auto-update your links for you:

After Sigil Split

Chapter01.xhtml

Code:
<li><a href="../Text/Chapter02.xhtml#editorial">From The Chief Editor's Desk</a></li><br>
Chapter02.xhtml

Code:
<!-- editorial -->
 <a id="editorial"></a>
<h3>From The Chief Editor's Desk</h3>
Now you can see, the new link says:

Go look in Chapter02.xhtml, and jump to the id="editorial".

Last edited by Tex2002ans; 02-04-2019 at 01:34 AM.
Tex2002ans is offline   Reply With Quote