I am having to change the fonts in an 800 page document and there are upwards of THIRTY different fonts and even more color shade choices for the fonts.
We are simplifying to Arial only and black text. So far I'm editing each page individually. I would love a .css file that I can go through quickly. Is this available?
I'll keep searching the forum, but would love any help you guys can provide.
I would use the Find & Replace feature to clean up the fonts - there's no CSS that controls this in your FM docs.
Is there a way to change a style in the entire document from "whatever" to "Body"?
TableText to Body
ChartText to Body
FooterText to Body
NoteTable to Body
Yes, IIRC the "by pasting" method in the Find & Replace feature can do that, but it doesn't clean up the paragraph tags in the document's catalog - that you have to do manually or use a plug in script.
You can use Find and Replace for that, also.
If you have a buttload of formats, you might want to look at Rick Quatro's Find/ChangeFormatsBatch script.
Oh, and you might also want to do a Find/Replace with Paragraph Format Override and Change All. If your Body tag has already been applied to other paragraphs but there are character style changes, this will reset everything to your plain Body tag.
I did locate and tidy this tip from the forum:
Perform a Find/Change on Styles in FrameMaker
Scenario: I want to change all "TableText" styles to "Body".
*Did this work for ALL pages in my Book? Yes. When I clicked Change, it updated the single selected instance. When I clicked Change All, it came back with "843 changes in book" message, another said "1676 changes in book".
There are a few techniques that might help make these changes that I don't believe have yet been mentioned in this discussion: global updates, the Create and Apply Formats command, and editing MIF versions of your documents.
First, however you do the updating, make sure you back up your book before making the changes and proofread carefully afterwards.
Global update options
If you want to change all paragraph formats within a single document to use Arial and black, try the following within one document:
1. Open the Paragraph Designer.
2. Go to the Font tab.
3. There is a pop-up menu in the lower-left corner of the designer, identified by the familiar Settings icon in FM 2017 and FM 2019 and by the word "Commands" in earlier versions. From this menu, select Set Window As Is. If a paragraph tag is still displayed in the Style text box (The label is Paragraph Tag prior to FM 2017), delete the text.
4. Select Arial for the font and Black for the color.
5. In the Commands pop-up menu, select Global Update Options.
6. In the bottom section of the dialog box, click the All Paragraphs and Catalog Entries radio button.
7. Click the Update button.
The above process will change these two properties of all existing paragraphs and catalog entries in this one file. If all your book components define the same paragraph formats, you can then import paragraph formats from this file into the others. If different files have different paragraph catalogs, you might need to repeat this process in different files.
The character designer also provides Global Update Options which you may need to change analogously.
Create and Apply Formats
The Create and Apply Formats can help you deal with overrides. It assigns a character tag to all untagged text ranges that do not use the default paragraph font. It also defines new catalog entries as needed for all variations of existing used paragraph and character formats and assigns them to paragraphs and text range that contained overrides. Tags of the new formats consist of the original tag followed by a numeric suffix. Thus, the first variation of Body is tagged Body1 and the second is Body2 (the numbers change as needed if any of the tentative tags already exist).
Having everything tagged allows you to look at the Paragraph Catalog to find all used paragraph tags. Note though that if you use this command in different files, the new formats are likely not to match.
You can save the documents as MIF and use the MIF file either to help proofread or to make the changes. In particular, you can open the MIF file for one document and use any plain text editor to look for two statements: <FFamily `xxx'> and <FColor `yyy'>. To make the changes in MIF, change xxx to Arial and yyy to Black. Save the result, open it back in FM, and save it as an FM document.
For proofreading via MIF, no matter how you've made changes, delete all occurrences of <FFamily `Arial'> and <FColor `Red'>. Then search for <FFamily and <FColor. If you find either string, you may have missed something.
A final note is that none of the techniques that have been mentioned in this thread (except possibly MIF) will help you correct text lines such as call-outs in anchored frames. You should at least consider whether you need to look at text lines.
Very good help!
Regarding text lines: That's why I do not use text lines in anchored frames, but small text frames with text.
This way I can control the appearance with a paragraph format.
You cannot apply paragraph formats to text lines, only character formats.