• 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 modify an element in a structured document

Enthusiast ,
Nov 04, 2023 Nov 04, 2023

Copy link to clipboard

Copied

Hello,

I have tried to do a FM structure, and would like to modify the selected  "Title".  So I have opened the "paragraph designer" to change the font size, but I have an alert message saying me that if I do that it "can lead to unexpected global changes ".

 

screenshot0002.jpg

Do you think there is a risk if I do this change by using the "paragraph designer" ?

What is the best way to modify the formatting of an element in a structured document ?

 

 

TOPICS
Getting started

Views

200

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

Community Expert , Nov 10, 2023 Nov 10, 2023

Use the paragraph designer as you showed in your first screenshot and click OK to ignore the warning. However, make sure you save the document as FrameMaker binary (.fm). Otherwise, the next time you open the .xml file, it will default to the base template and your paragraph format update will be gone.

Votes

Translate

Translate
Enthusiast ,
Nov 05, 2023 Nov 05, 2023

Copy link to clipboard

Copied

I have seen online help videos on how to modify the formatting of an element, but the only thing I have found is that we are obliged to modify the code. For me it is too much complicated. Do you think I can click on an element of my structured document (by example "Title") and use the "paragraph designer" window in order to modify the formatting of this element ?

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 ,
Nov 06, 2023 Nov 06, 2023

Copy link to clipboard

Copied

Hi, @pierret18811376 ,

seems you are new to structured content.

I am not an xml/sgml expert but afaik it is not working that way.

 

The formatting is done by using a) a formatting FM template (which contains all the paragraph/character etc. formats) that will be assigned, b) a "Format change list" in the corresponding EDD or c) by specifying it by writing the formatting into each element definition (afaik only done in specific cases).

Normal way is a) or b).

So going your way can possibly damage the structure of that document or as the error message states lead to unexpected behaviour.

Regards

Stephan

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 ,
Nov 09, 2023 Nov 09, 2023

Copy link to clipboard

Copied

To permanently change how the title is displayed, you need to open up the template that formats your concept topic.

From there you can change the formatting of the title.0 paragraph format. 

You can find the location of the concept template file in the global application definition (location differs, based on Fm version and DITA version.

MattSTechCommTools_0-1699556954760.png

After saving the template file, any concept opened or created in FrameMaker will use the new template to format concept files.

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
Enthusiast ,
Nov 09, 2023 Nov 09, 2023

Copy link to clipboard

Copied

@Matt S - Tech Comm Tools 

In fact, I don't want to modify the format of the title permanently. My goal is to modify the format of the title only for one document. How to do it ?

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 ,
Nov 10, 2023 Nov 10, 2023

Copy link to clipboard

Copied

Use the paragraph designer as you showed in your first screenshot and click OK to ignore the warning. However, make sure you save the document as FrameMaker binary (.fm). Otherwise, the next time you open the .xml file, it will default to the base template and your paragraph format update will be gone.

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
Enthusiast ,
Nov 10, 2023 Nov 10, 2023

Copy link to clipboard

Copied

Hi @frameexpert 

I have saved my XML file as FM, and succeeded to modify the formatting of the Title element by creating a new paragraph style for the title. 

I am wondering if it is possible to add the structured elements of the "Concept template" directly inside a FM file ? Or am I obliged to begin all the time in XML then save as FM ?

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 ,
Nov 10, 2023 Nov 10, 2023

Copy link to clipboard

Copied

It sounds like you're starting to look at the tradeoffs between working in Fm binary files and DITA (or other XML standards)

 

You'll find that there are advantages to working in both .fm and .xml files, but you're not likely going to want to maintain a "hybrid" environment where you use both file formats.

 

There's nothing wrong with working with DITA files saved as .fm files, other than the file size will be much larger and you'll not be able to easily pass the DITA to non-Fm users.

 

-Matt

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
Enthusiast ,
Nov 11, 2023 Nov 11, 2023

Copy link to clipboard

Copied

LATEST

@Matt S - Tech Comm Tools 

About your Frame Maker books : are they written in XML or in FM files ?

Do you advise me to write books in XML or FM ?

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