Answers.Body: <p>InDesign 2022 has an option when creating TOC in InDesign to remove numbers. There are two places to adjust this in the TOC creating dialogue box, click &quot;advanced&quot; settings.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-09-05T16:01:31.173Z
Answers.LastActivityDate: 2022-09-05T16:01:31.173Z
Answers.UserDisplayName: user19559
Answers.Body: <p>I suspect you can persuade InDesign to export this correctly, but if this is a one-off and you don't need to do many like it, it would very probably be easier to open it in <a href="https://calibre-ebook.com/" rel="nofollow noreferrer">Calibre</a> (free), edit the ToC, and use Calibre to re-pack the ePub. Alternately, you can unzip the ePub, edit the ToC file in a text editor, and re-zip it in this order -- OSX, but I think the flags work on Linux and maybe Win:</p>
  <pre><code>prompt$ zip -X0 title.epub mimetype
  prompt$ zip -Xr &quot;title.epub&quot; &quot;META-INF/&quot; &quot;OEBPS/&quot;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-26T19:21:20.273Z
Answers.LastActivityDate: 2021-01-26T19:21:20.273Z
Answers.UserDisplayName: jorourke
Body: <p>I've created this <a href="https://drive.google.com/file/d/1yuzTrPmCK5h_AOrq3GtUamRSRKBJCnAe/view?usp=sharing" rel="nofollow noreferrer">epub file</a> as an export from an Indesign file, and it's got two problems that I can see immediately:</p>
  <ol>
  <li>The ToC includes page numbers after the chapter titles, even though I've created a special epub export ToC style in Indesign that isn't supposed to include the page numbers of references (see <a href="https://i.sstatic.net/wksZT.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/wksZT.png" alt="screenshot" /></a>.</li>
  </ol>
  <p>Note that in the ePub export dialogue, I made sure to set my special ToC style like this:</p>
  <p><a href="https://i.sstatic.net/HAjtv.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HAjtv.png" alt="this" /></a></p>
  <p>Yet the ToC in the ePub when viewed on Apple books still has the page numbers there -- like this:</p>
  <p><a href="https://i.sstatic.net/LD7rk.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LD7rk.png" alt="this" /></a></p>
  <p>How do I get rid of the page numbers that appear after the chapter titles?</p>
  <ol start="2">
  <li>The title pages aren't carrying over the Playfair Display font from the print PDF of the book, and there's a page break on the dedication page. How do I fix this?</li>
  </ol>
  <p>Thank you so much if anyone can help!</p>
  
Tags: <epub><table-of-contents><indesign>
Title: How to remove extraneous page numbers from ePub TOC
UserDisplayName: Tim
ThreadText: # How to remove extraneous page numbers from ePub TOC
  
  (Asked by: username_0 on 2021-01-21)
  
  I've created this [epub file](https://drive.google.com/file/d/1yuzTrPmCK5h_AOrq3GtUamRSRKBJCnAe/view?usp=sharing) as an export from an Indesign file, and it's got two problems that I can see immediately:
  
  1. The ToC includes page numbers after the chapter titles, even though I've created a special epub export ToC style in Indesign that isn't supposed to include the page numbers of references (see [![screenshot](https://i.sstatic.net/wksZT.png)](https://i.sstatic.net/wksZT.png).
  
  Note that in the ePub export dialogue, I made sure to set my special ToC style like this:
  
  [![this](https://i.sstatic.net/HAjtv.png)](https://i.sstatic.net/HAjtv.png)
  
  Yet the ToC in the ePub when viewed on Apple books still has the page numbers there -- like this:
  
  [![this](https://i.sstatic.net/LD7rk.png)](https://i.sstatic.net/LD7rk.png)
  
  How do I get rid of the page numbers that appear after the chapter titles?
  
  2. The title pages aren't carrying over the Playfair Display font from the print PDF of the book, and there's a page break on the dedication page. How do I fix this?
  
  Thank you so much if anyone can help!
  
  **Tags:** epub, table-of-contents, indesign
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2022-09-05. Score: 0
  
  InDesign 2022 has an option when creating TOC in InDesign to remove numbers. There are two places to adjust this in the TOC creating dialogue box, click "advanced" settings.
  
  
  ---
  
  ### Answer by username_2 on 2021-01-26. Score: 0
  
  I suspect you can persuade InDesign to export this correctly, but if this is a one-off and you don't need to do many like it, it would very probably be easier to open it in Calibre (free), edit the ToC, and use Calibre to re-pack the ePub. Alternately, you can unzip the ePub, edit the ToC file in a text editor, and re-zip it in this order -- OSX, but I think the flags work on Linux and maybe Win:
  prompt$ zip -X0 title.epub mimetype
  prompt$ zip -Xr "title.epub" "META-INF/" "OEBPS/"
  
  
  ---
  
  