Skip navigation
Currently Being Moderated

GREPing footnote markers can cause InDesign CS6 to crash

Apr 11, 2013 2:43 PM

It's taken an hour or so, but I've managed to whittle down what I

believe is a nasty bug that can cause InDesign to crash, or worse, to

silently delete footnotes. Try this:


Procedure 1:


Create a text frame.


Type this text "Cram" without quotes.


With the cursor after the "m", insert a footnote. Type some words in the



Now, in the find GREP field, type "(m)(~F)" which searches for an s

followed by a footnote marker


In the replace field, type "sh$2", which should replace the m with sh.


Click on "Change all".


InDesign crashes.


Procedure 2:


Repeat the above, but instead of clicking on "change all", click on



Result: The most obvious is that you've lost the footnote. Bad. But

apart from that, the replace hasn't really worked properly.


I've only tested this in CS6 on Windows. Do you get the same result?




  • Currently Being Moderated
    Apr 11, 2013 3:09 PM   in reply to [Ariel]

    Hi Ariel,


    I get the same results running CS6 on Mac OS 10.6.8. Hard crash for No. 1 and 'Crashm' result for No. 2. Nasty!



    Mark as:
  • Currently Being Moderated
    Apr 11, 2013 3:30 PM   in reply to [Ariel]

    What happens if you set the ~F as a positive lookahead?

    Mark as:
  • Currently Being Moderated
    Apr 12, 2013 2:06 AM   in reply to [Ariel]

    There is another Grep problem with footnotes: . doesn't match it. That means that in a paragraph that contains a footnote, ^.+ matches from the beginning of the paragraph up to the footnote marker, not, as you would expect, to the end of the paragraph.



    Mark as:
  • Currently Being Moderated
    Apr 12, 2013 5:13 AM   in reply to Peter Kahrel

    Can you put the marker in a class?

    Mark as:
  • Currently Being Moderated
    Apr 12, 2013 5:36 AM   in reply to Peter Spier

    No, that wouldn't work I don't think. But ^.+~F?.* would match whole paragraphs, including those containing footnotes.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points