• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to handle same text repeated?

New Here ,
Aug 29, 2018 Aug 29, 2018

Copy link to clipboard

Copied

Hi there

I have a lot of text blocks repeated in a technical manual, most of them in tables that explain command line options .

What is the best way to handle this? if a block changes I want to change automatically all the repeated blocks.

Is there another resource in Frame maker than variables to do this?

thanks a lot

Views

363

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Aug 29, 2018 Aug 29, 2018

Yes there is something that will do exactly what you need. If you create a separate FrameMaker document for each reusable text block you can import them into your main FrameMaker document as text insets.

This is a powerful feature, but you do need to manage it carefully from the outset. Use a meaningful naming convention for all of your inset files. That will help to avoid inset duplication and divergence that can happen after several years when more than one author is working on the document set

...

Votes

Translate

Translate
Enthusiast ,
Aug 29, 2018 Aug 29, 2018

Copy link to clipboard

Copied

Yes there is something that will do exactly what you need. If you create a separate FrameMaker document for each reusable text block you can import them into your main FrameMaker document as text insets.

This is a powerful feature, but you do need to manage it carefully from the outset. Use a meaningful naming convention for all of your inset files. That will help to avoid inset duplication and divergence that can happen after several years when more than one author is working on the document set.

FrameMaker gives you control over the formatting of the text inset - whether it uses the source or target formatting catalogs. You can also choose if the text inset update is automatic or on request.

  1. To insert an inset simply select File > Import File...
  2. Select the inset file  - make sure that Import by Reference is selected.
  3. Set up the required properties in the Import Text Flow by Reference dialog.
    Inset.PNG
  4. Set the required Import properties then click Import.
  5. The inset text block has been added to your main document.

~ Ian

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 29, 2018 Aug 29, 2018

Copy link to clipboard

Copied

That's is exactly what I was looking for!!

Thaks a lot Ian!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 29, 2018 Aug 29, 2018

Copy link to clipboard

Copied

In addition to variables and insets, another way is Cross References.

Where the common text is an entire paragraph at the defining instance, all the other uses are xrefs of format $paratext. The defining instance could be on a reference page, or even in another document.

A couple of disadvantages to the Xref technique are:

1. the generated text will try to be hypertext, even if the link has no where to go, and
2. if the defining instance is a just string, or sentence, and not a whole para, you need to use run-in at the defining instance to make it a para (as FM still doesn't have Xref by $markertext).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 29, 2018 Aug 29, 2018

Copy link to clipboard

Copied

LATEST

Yes it is possible to define a text frame on a reference page and assign a particular paragraph format to the text in it. Thus you find it more easy in the paragraph list of the Variables dialogue. Of course you can reference multiple paragraphs only by inserting multiple cross references at the target location.

It is also possible to use a variable for frequently used text. This may contain character formats and line breaks (\n), but no paragraph ends (\x0a).

When defining variables in MIF, the length of the contents is practically unlimited (Arnis Gubins has tested up to 2510).

However, as soon as you use the GUI with dialogue Special/Insert > Variable… for that variable (even just looking at it), the content will be truncated to 255 (up to FM-7.2) or 1022/1023 (starting with FM-8) characters.

To save characters use </> as replacement for <Default ¶ Font> .

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines