Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Hiding Front Matter Titles

Return to Member Forum

  • Author
    Posts
    • #82324
      Jeff Senter
      Member

      How do I hid the front matter titles in my ebook Nav TOC.

      Wanting to hide the wording Title Page, Copyright, Dedication on the page they reside on, but want them to appear in the Nav TOC.

    • #82326

      Ok, that was a big problem I had/have and how I dealt with it. I have an hourglass image that I like to have above the roman numeral chapter title, but I could not get the toc to work. So i HAD to have the roman numeral first, but I did not want that. This is what I figued out. Not sure if it is the most elagent way, but it works. In InDesign I made a paragraph style for the roman numerals and put the color as white so you could not see it. Then I type the roman numerals at the top of the page when a chapter started and, like normal, used that paragraph style in the toc. You can stop there if you want, but I didn’t want people to see 2 sets of the chapter number if they read in black/white or sepia.

      So, what I did was output the epub, crack it open, and remove the first set of chapter number text at the beginning of each chapter. (The toc will still work.) Then I reassemble it and make it a mobi. It is kind of a pain having to remove the chapter titles in each file, but you get used to way to looks in the cracked open epub and you can quickly find it.

      I suppose you do not need to make the text white if you are just going to remove it, but if you miss one, you don’t have to worry it will look weird, unless the trade reader is using sepia our B&W.

      Works pretty well as a work around. Hope that helps.

    • #82371
      Aaron Troia
      Participant

      Another option for hiding still involves cracking the ePub, but just add a style in your css with display:none; and style all the front matter with it that you want hidden.

      Also adding hidden="" to the landmarks or page-list <nav> items hides those sections in ereaders.

    • #82376
      Jeff Senter
      Member

      Ron, I like your option, but this is were I am very weak at is the CSS. Could you do me a sample CSS file and email it to me so I can look at it to see. Also were do I add this to the InDesign file as in Paragraph Styles.

      thanks, Jeff

    • #82379
      Aaron Troia
      Participant

      Jeff,

      I was trying to think of how to do this in InDesign and at this point, I’m not sure if it’s actually possible within InDesign to style the toc.xhtml list items with InDesign paragraph styles. Here is an ePub file that I threw together as an example. Just unzip it, I tried to comment what was needed in the HTML and give example options of what you could do. I also tried to strip the CSS down to what was absolutely essential, so hopefully it wont be too difficult to see what goes with what.

      https://dl.dropboxusercontent.com/u/14902057/TOC-Hidden_Sample.epub

      Aaron

Viewing 4 reply threads
  • The forum ‘EPUB and eBook’ is closed to new topics and replies.
Forum Ads