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

Footnote Style Overrides

Return to Member Forum

  • Author
    Posts
    • #1177417
      Anonymous
      Inactive

      Over the past few years, I’ve created long reference manuals (set up as InDesign books) into epubs from always-messy Word docs (supplied by someone else). I’ve developed a good workflow for getting almost everything into paragraph and character styles without too much hassle (GREP, Find/Replace, etc.), but the footnotes always transfer in strangely. I have a script that shows the non-compliant text in a blue highlight, and what remains in blue are the footnote numbers in the text itself, and the entirety of all the footnote references. Mostly it appears to be the wrong size font for the the style. To clear the style override, I have to go into each paragraph and each footnote and “option-click” on the footnote style. Long reference manuals make for lots of footnotes. Any ideas for not having to manually click into each footnote and paragraph?

    • #14323857
      hancilt
      Member

      Many years ago Peter Kahler wrote me this script to fix that:

      app.documents[0].stories.everyItem().footnotes.everyItem().paragraphs.everyItem().appliedParagraphStyle
      = “YOURFOOTNOTESTYLENAME”

      which basically gets rid of all overrided in all footnotes.
      Make sure that all your formating in footnotes is captured by styles and then run this.

      Tomas

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