<div dir="ltr">I'm sorry, I should have included the actual text of the error:<div>===============</div><div>java -jar ../../tools/epubcheck/epubcheck-5.2.1.jar sample.epub<br>Validating using EPUB version 2.0.1 rules.<br>ERROR(RSC-012): sample.epub/OEBPS/sampleli2.html(14,85): Fragment identifier is not defined.<br><br>Check finished with errors<br>Messages: 0 fatals / 1 error / 0 warnings / 0 infos<br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Mar 5, 2025 at 9:49 AM Chet Murthy <<a href="mailto:murthy.chet@gmail.com">murthy.chet@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, I've found the next bug.<div><br></div><div>Synopsis: a single bib entry + an index entry at the location of the \cite causes the href from the index entry to be broken: the href is in file sampleli2.html</div><div><br></div><div><a href='#x1-2'></div><div><br></div><div>but the actual target is in file sample.html</div><div><br></div><div><p class='noindent'>and 2-3-4 trees <span class='cite'>[<a href='sampleli1.html#XAlgorithms4th'>1</a>]</span><a id='x1-2'></a>.</div><div><br></div><div>===============</div><div><br></div><div>(0) texlive updated this morning</div><div><br></div><div>(1) the MWE: <a href="https://github.com/chetmurthy/latex-mwes/tree/master/mwe-4-undefined-fragment-id/2025-03-05-09-30" target="_blank">https://github.com/chetmurthy/latex-mwes/tree/master/mwe-4-undefined-fragment-id/2025-03-05-09-30</a></div><div><br></div><div>(2) to reproduce:</div><div><br></div><div>$ make sample.FULL</div><div><br></div><div>[it does everything, including running bibtex]</div><div><br></div><div>==================</div><div><br></div><div>NOTES</div><div><br></div><div>(1) I tried to remove the bibtex invocation by inline inserting the biblio, but I believe it's the rewriting of the \cite that is causing the problem, and I don't know how to do that manually.</div><div><br></div><div>(2) the .bib file contains only the single entry involved.</div><div><br></div><div>(3) I have to require hyperref so that the references in the PDF work (I think it's fair to say if the PDF doesn't work right, I don't have a right to expect the EPUB to do so *grin*)</div><div><br></div><div>(4) I have to require "listings" because the config.cfg mentions things from it, and if I don't, I get malformed HTML.</div><div><br></div></div>
</blockquote></div>