Skip to main content
Legend
September 13, 2013
Question

variables, formatting, find/change …

  • September 13, 2013
  • 2 replies
  • 511 views

Time and again, I open a new document set from the libraries I've inherited and start basic tidying up … experience has amply demonstrated that it's worth using a variable for each library's product name, for one thing, but it doesn't quite work as I'd hope.

  1. define $product as required
  2. replace first instance of Acme Eradicator with $product, and copy the variable to the clipboard
  3. use find/change with Acme Eradicator as Find and By pasting for Change

Every occurrence of the string Acme Eradicator is duly replaced by the variable, but with the formatting of whatever context the first occurrence of the variable was copied from

Is there any nifty trick I can use to make to the pasted variable take on, chameleon-like, the formatting of its new surroundings?

    This topic has been closed for replies.

    2 replies

    Matt-Tech Comm Tools
    Community Expert
    Community Expert
    September 13, 2013

    IIRC, when I do this, I then reimport my template to remove formatting overrides.

    You can also apply default font to each individual instance using the character catalog.

    -Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant
    Arnis Gubins
    Inspiring
    September 13, 2013

    It sounds like the first instance had some formatting attributes applied when you copied it. In Most circumstances, the only the variable should be inserted and it will take on the local formatting in the paragraph context.

    You could try adding the default paragraph format character as the first entry of the variable, e.g. use </> as the short form for this.

    $product defined as "</>Acme Eradicatior"