Copy link to clipboard
Copied
Lynne's conclusion in https://tracker.adobe.com/#/view/FRMAKER-7650. to avoid the error does not work for me (FM-15.0.8.979):
Neverthelesse with Edit > Update Book (Apply Master Pages) or with selecting the book with all files and then using Format > Page Layout > Apply Master Pages I get this error message within the first three of 11 files:
No master pages applied because one or more master pages do not exist.
→ Which ????
Kruzi turks, another stupid report, even though the guy knows exactly which MP he is missing.
Obviously this function is not reliably, as Bob Niland writes since FM-10: I no more use this function...
IMHO the client performing this function ($HOME\fminit\Plugins\masterpages.dll) has never been updated. File version for FM-16.0.4.1062 is still "1.1.0.1" as it also is in FM-10...
Hi Klaus,
I've just tested with your files:
In the UnstructMasterPageMaps(RefPage 5), there are two masterpages missing:
- Book-title
- Chapter--title (your page is named Chapter-title)
Change / edit the names and try again
Copy link to clipboard
Copied
I hadn't tried doing a book-level AMP since FM7, but just did, using a copy of an FM2019 book opened in FM2020 (16.0.4.1000).
The Edit » Update Book:
☑ Apply Master Pages
ran without error, whether just doing an AMP, or making other update elections.
Copy link to clipboard
Copied
Things are even worse with another book (my system documentation):
The following done both in FM-15.0.8.979 and FM-16.0.4.1062:
For your own tests you find the ZIP with the book files at https://daube.ch/zz_tests/SysDoc.zip (not all graphics are included; some files end with empty pages due to removed private table contents).
Have now checked again the other book (compendium): same behaviour (per book and per doc failing).
One more test:
Copy link to clipboard
Copied
Even using the script method yields no result.
KLD_Z.ApplyMasterPages = function (oDoc) { // ==========================
/* Applies master pages to the body pages according to the table
on the reference page
Arguments oDoc Document or book object to be handled
Returns true for success, else false
Calling Message
Comment If the table does not exist on the reference page,
then the defaults Right/Left are
assigned to all body pages. This may destroy special assignments.
History 2022-03-03
*/
var msg01 = "Document object is not valid";
if (!oDoc.ObjectValid()) {
KLD_Z.Message ("E", msg01, "ApplyMasterPages");
return false;
}
CallClient ("masterpages", oDoc.id);
return true;
} //--- end ApplyMasterPages ----------------------------------------------------------------------
→ Quirk of Windows 10? last update? Re-install FM-15? But also same problem with FM-16...
Copy link to clipboard
Copied
Hi Klaus,
I've just tested with your files:
In the UnstructMasterPageMaps(RefPage 5), there are two masterpages missing:
- Book-title
- Chapter--title (your page is named Chapter-title)
Change / edit the names and try again
Copy link to clipboard
Copied
Wow!!!
I could not see this on the screen, had to copy the names into my text editor - et voilà: 2 - signs there!
Thank You all for your help to find the error - a screen loupe is not that convenient to avoid such problems. But for the future I must consider this for a closer look...