Skip to main content
Inspiring
July 14, 2023
Question

problem with Word files

  • July 14, 2023
  • 14 replies
  • 1195 views

Hello,

1) I open a Word file (doc or docx) by doing Control+O, so FM create an FM file.

2) I add this FM file (coming from Word) to my book (this is my chapter)

3) I create a template with page numbering

4) I select my chapter book and File/Import/Format/Template

Result : In the chapter, the page numbering does not appears at the top of the page.

It seems like a bug. What do you think ?

 

This topic has been closed for replies.

14 replies

Inspiring
July 17, 2023

According to you, it could be a refresh issue inside FM ?

Barb Binder
Community Expert
Community Expert
July 17, 2023

Only if Window > Refresh or  Ctrl L fixes it.

 

I followed your instructions and it worked as expected for me. 

 

~Barb

~Barb at Rocky Mountain Training
Barb Binder
Community Expert
Community Expert
July 17, 2023

Ok, Pierre:

 

I can't record the whole process because we are limited to 30 seconds and I couldn't get it done in 30 seconds so my video starts out with the template file open, a brand new book, the word document opened in Fm and saved with number 1 and then I began recording.

 

Do you have the latest patch installed? Could it be a refresh issue (Ctrl L)?

 

~Barb

 

~Barb at Rocky Mountain Training
Inspiring
July 17, 2023

With the files I sent you (template + Word file), here are the steps to reproduce :

1) open the template

2) Open (control+O) the Word file and save it on the desktop (as FM file).

3) Create a book and add the new FM file to the book as a chapter

4) In the book mode, select the chapter + File/Import/Format/Template

Jeff_Coatsworth
Community Expert
Community Expert
July 17, 2023

I didn't think you could save a Word doc as a .fm file and expect it to be a real FM file. I thought you had to create a new .fm file and import the Word doc into it.

Inspiring
July 17, 2023

I said :

"Open (control+O) the Word file and save it on the desktop (as FM file)."

And I am doing that inside Frame Maker of course. So by opening the Word file inside Frame Maker, FM create an FM file that I save on the desktop.

Inspiring
July 17, 2023

For your next test, I think you could keep only the FM template file and the Word file I sent you.

Inspiring
July 17, 2023

Thank you Barbara for the help and the video.

Your video is very clear : it works on your side with no problem.

So I have tried to understand why I had this problem and I have noticed that :

1) At the moment where I make all the steps for the first time (open the template /open Word file by saving the Word file in a FM file/Add FM file to the book/File-Import-Format-Template) : it does not works. Even if I save each file/chapter (control+S) and update the book, it does not works.

 

2) Then I quit Frame Maker, so it asks me if I want to save the files and I click "Save". Then I re-open all the files and do the same action (File/Import/Format/template) and ... it works !

 

So as a workaround, I am obliged to quit and save and reopen all the file in order to have the "File/Import/Format/template" working.

Barb Binder
Community Expert
Community Expert
July 17, 2023

I don't understand why, Pierre. I opened it up and tried it and then reverted and recorded the same process a second time so you could see it. I didn't have any issues at all. I'm teaching today, but I can try starting again with the word file to see if that makes a difference after class. 

~Barb

~Barb at Rocky Mountain Training
Barb Binder
Community Expert
Community Expert
July 17, 2023

Hi Pierre:

 

Here's my take on your question:

 

Am I misunderstanding the question?

 

~Barb

~Barb at Rocky Mountain Training
Barb Binder
Community Expert
Community Expert
July 16, 2023

 Back to FrameMaker! 🙂

 

Can you share the file and template, Pierre? If not, is there a custom master page assigned to page 1?

 

~Barb

~Barb at Rocky Mountain Training
Inspiring
July 16, 2023

All the settings seems to be OK.

- As the FM chapter has content coming from Word, and

- as the File/Import/Format/Template does not works for this type of content only

it is like if the Word content could prevent from importing the content of the FM template.

Inspiring
July 16, 2023

I have tried :

1) in File/Import/Format, I have deselected all and selected "page layout".

2) using double sided template

But it does not work (no page numbering shown) when I made File/Import/Format/Template.

Bob_Niland
Community Expert
Community Expert
July 16, 2023

In the failing document, on a typical page that lacks a page#, verify the assigned Master Page, then open that MP and see if it has the # variable in the header or footer. If so, some other mystery is afoot. If not, then either the template file has a problem, or the import didn't work.

Inspiring
July 15, 2023

If I understand well, you advise me to add page numbering manually in each FM document chapter (in the master page) ?

What I noticed is that:

1) in the book mode only, for an FM chapter file (whose content is coming from Word), the File/Import/Format/template does not import automatically the page numbering from the template.

2) in the book mode only, for an FM chapter file (whose content is plain text), the File/Import/Format/Template can import automatically with no problem the page numering from the template.

 

 

Bob_Niland
Community Expert
Community Expert
July 15, 2023

If you have a templatename.fm file for the project and it has the desired Master Page properties for all page layouts used in the project, open it,

then from the Book menu for the book:
Select all the book component files.fm
File ▼ Import » Formats…
Import from Document [templatename.fm]

click [ Deselect All ]
select
☑ Page Layouts
[ Import ]

 

Putting the page# system variable on the MPs is the easiest (and most common) way to get page numbers for the book. There a number of things that can cause problems, such as if the template file is not set for two-sided mode, in which case you can't edit MP "Left", and possibly ever other page in the book won't have page numbers.

 

There are many things, by the way, that you might want to put on a Master Page. For a recent project I had 8 objects, turned on and off for various output workflows.