Skip to main content
Barb Binder
Community Expert
Community Expert
December 16, 2017
Answered

Regex for footnote reference?

  • December 16, 2017
  • 6 replies
  • 1105 views

I need to inverse footnote reference numbers and punctuation. Does anyone know how to identify the footnote reference with Regex? InDesign uses ~F, but that's not working in FrameMaker.

~Barb

This topic has been closed for replies.
Correct answer Ian Proudfoot

I understand now Barb.

I would probably write a short ExtendScript to do that sort of thing if it was likely to be worthwhile. The FrameMaker Regex functionality for search and replace is just a basic implementation of the Perl syntax. Although that can be changed in maker.ini. It has no FrameMaker specific extensions that I'm aware of.

Ian

6 replies

Ian Proudfoot
Legend
December 16, 2017

Barb,

I'm not sure that I understand your requirement... In FrameMaker the footnote numbering properties are managed through the Document Numbering Properties dialog. You can't use Regex to find and change footnotes.

Ian

Barb Binder
Community Expert
Community Expert
December 16, 2017

Hi Ian!

I am trying to write a query that will locate a footnote followed by either a comma or period. If I can find that pattern, then I can pick them up and pop them back down the opposite order. Maybe you are correct we can’t do this in Fm yet, but I can use regular expressions in InDesign to do it, and I feel like I saw something last week about how to reference a footnote outside of InDesign. I just can’t find it now that I want it, of course!

~Barb

~Barb at Rocky Mountain Training
Ian Proudfoot
Ian ProudfootCorrect answer
Legend
December 16, 2017

I understand now Barb.

I would probably write a short ExtendScript to do that sort of thing if it was likely to be worthwhile. The FrameMaker Regex functionality for search and replace is just a basic implementation of the Perl syntax. Although that can be changed in maker.ini. It has no FrameMaker specific extensions that I'm aware of.

Ian

Participant
December 16, 2017

Vào 17-12-2017 0:37, "BarbBinder" <forums_noreply@adobe.com> đã viết:

Regex for footnote reference? created by BarbBinder

<https://forums.adobe.com/people/BarbBinder> in Adobe FrameMaker - View

the full discussion <https://forums.adobe.com/message/10045955#10045955>