Commonly when working on ebook creation, I encounter a tedious time-consuming task, that of creating the index with page numbers for various subjects within the book. The html code I work with is such:
Dimensions of Grand Cañon. <a href="../Text/Section0001.xhtml#Page_87">87</a>, <a href="../Text/Section0001.xhtml#Page_142">142</a>, <a href="../Text/Section0001.xhtml#Page_144">144</a>
What I need to do is changing the Section0001.xhtml to the proper epub section number according to a table such as
Is it possible to construct a script that will consult the page no./section no. in conjunction with regex to quickly do what I've been doing manually? If so, I will greatly appreciate help (I've never used a script in UE before.)
Bob
Dimensions of Grand Cañon. <a href="../Text/Section0001.xhtml#Page_87">87</a>, <a href="../Text/Section0001.xhtml#Page_142">142</a>, <a href="../Text/Section0001.xhtml#Page_144">144</a>
What I need to do is changing the Section0001.xhtml to the proper epub section number according to a table such as
Code: Select all
page no. section no.
9-25 0008
26-50 0009
51-60 0010
etc.
Bob