🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.framemaker
10 messages
10 total messages Started by Sander_Gheldof Thu, 11 Sep 2008 08:40
Search and Replace on master pages
#2488
Author: Sander_Gheldof
Date: Thu, 11 Sep 2008 08:40
17 lines
1150 bytes
Is there a way to do Search and Replace on masterpages.

Example: There are 30 files in a .book document.
On those 20 files the header and footer must change.
The header and footer are on the master pages.
Can you p. e. change "Haeder1" to "Header1" with Search and Replace?

Right now we do it on this way:

Open all files in book
Set view to Masterpage manually file per file (30 times).
Search "Haeder1" and replace with "Header1" (option search in book)

Is there a way to do it faster?

Thanks in advance
Sander Gheldof
Re: Search and Replace on master pages
#2489
Author: Art Campbell
Date: Thu, 11 Sep 2008 11:47
3 lines
684 bytes
Write or purchase a FrameScript...

Art
Re: Search and Replace on master pages
#2491
Author: Sander_Gheldof
Date: Thu, 11 Sep 2008 12:38
6 lines
792 bytes
So, you think it isn't possible in FrameMaker...

Anyone with onther suggestions?

Regards
Sander
Re: Search and Replace on master pages
#2393
Author: Arnis_Gubins
Date: Thu, 11 Sep 2008 14:16
5 lines
849 bytes
Sander,

If you save the file(s) in MIF format, then you can use any text
editor (including FM when opening with the Shift key) to do you search
and replace.
Re: Search and Replace on master pages
#2395
Author: Peter_Gold
Date: Thu, 11 Sep 2008 14:51
20 lines
1215 bytes
I'm not sure if you want to change the running header/footer variable definition from something like:

<$paratext[Header1]>

to

<$paratext[Header2]>

for all chapters in the book.

If this is you need, and all variable definitions in all files are identical, you can redefine the variable in one file and use File > Import > Formats, deselect all options, and select only Variable Definitions to import the definitions from this file to all files in the book.

See the Help topic on importing formats for details.

HTH

Regards,

Peter Gold
KnowHow ProServices
Re: Search and Replace on master pages
#2396
Author: Sander_Gheldof
Date: Thu, 11 Sep 2008 16:50
5 lines
750 bytes
Thanks for your help Peter but the headers aren't variables...

We know how to fix it if they were variables but they aren't...

Maybe we must do it manually...
Re: Search and Replace on master pages
#2398
Author: Art Campbell
Date: Thu, 11 Sep 2008 17:15
10 lines
1096 bytes
Sander,

FrameScript is (or should be) part of most Frame shop's toolkit.

And there are a number of script writers around who can turn this script in a few minutes for you (Rick Quatro - frameexpert@truevine.net is my fave).

So your choice is to save money by creating a reusable tool for not much cash, or spend more money in time and man-hours doing it manually.

Cheers,
Art
Re: Search and Replace on master pages
#2399
Author: R._VanDyke
Date: Thu, 11 Sep 2008 19:33
12 lines
1571 bytes
Thanks for your help...but the headers aren't variables...

It may be that your solution is to bite the bullet today and do the page-by-page change of your headers to variables.

System header variables can, for example, contain text from a paragraph style such as a level-[ 1 | 2 | 3...] heading. Or other values received from a FrameMaker named paragraph style.

User-defined variables can also be used in headers and footers, although they can't be made to do the zippy automatic things system header/footer variables do...

The essential point being that after doing it the hard way today, you may never need to do it again tomorrow. Or, alternatively, subsequent changes can be effected by changing the value of the variable and importing that into the desired target chapter files...

Cheers & hope this helps,
Riley
Re: Search and Replace on master pages
#2400
Author: Thomas_Michanek
Date: Thu, 11 Sep 2008 20:44
6 lines
1117 bytes
You don't give much details, but wouldn't it simply be
possible to import master pages throughout the book?
Put what you want in one file's master pages and then import.

-- 
/Thomas Michanek
Re: Search and Replace on master pages
#2402
Author: Sander_Gheldof
Date: Fri, 12 Sep 2008 05:58
11 lines
1353 bytes
Thanks Thomas and Riley

Riley, we must do this often but it is always with another kind of book. The English books are coming from Japan or Belgian Technical Writers. The English books are always good, the headers are right.
But when we send the books to an translation office, they don't know how to exactly translate the headers. It's a productcode that changes per language.

Thomas, good idea, we haven't thought to do this. It's faster than what we did, thanks!

If there are some persons with better ideas, let me know please!

Regards
Sander Gheldof
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads