Quantcast
Channel: Adobe Community : Unanswered Discussions - Adobe FrameMaker
Viewing all 5254 articles
Browse latest View live

Having Issues Creating TOC in FrameMaker 2017

0
0

I am having several issues creating a TOC in FM 2017. It doesn't matter if I create a Standalone TOC or take one from an existing document and rename it. It always generates like the image attached. We've never found a way to add a TOC from scratch and usually it works when grabbing from and existing TOC, but we shouldn't have to do this, nor is that option currently working.

 

FM TOC Issue.png


convert framemaker to indesign

0
0

Anyone who knows how to convert frame maker to indesign

/Pelle

Kapitelnummerierung in einem Buch

0
0

Trotz intensiven Suchens im Framemaker 2017-Bedienungshandbuch, der Online-Hilfe, den Adobe-Communities und in Büchern von K. Krüger, S. O'Keefe, K. Ethier finde ich auf dieses sehr einfache Problem weder eine Erklärung, warum es nicht funktioniert, noch eine Anleitung, einen Fehler im Inhaltsverzeichnis zu korrigieren.

 

Ich habe ein FM-Buch mit Titelseite, Inhaltsverzeichnis und mehreren Kapiteln, die selbst wieder verschiedene Abschnitte enthalten. Jedes Kapitel ist ein einzelnes Dokument.

fmNumm.jpg

 

Wenn ich das Inhaltsverzeichnis generiere, wird die Kapitelnummerierung korrekt hochgezählt. Alles andere beginnt für jedes Kapitel wieder bei 1.

 

Die ersten Seiten sollen römisch nummiert sein, danach folgt arabische Zählung.

Die Kapitelzählung soll mit dem ersten Kapitel (und nicht mit der Titelseite und nicht mit dem IVZ) bei 1 starten.

Die Abschnitte sollen innerhalb des Kapitels hochgezählt werden.

Die Nummerierung sollte über Format > Dokument > Nummerierung einstellbar sein.

Aber: wenn ich die Nummerierung für die ersten Seiten auf römisch, für den Rest auf arabisch festlege, werden *alle* Kapitelseiten römisch gezählt.

Die Registerkarten Abschnitt und Unterabschnitt sind nicht veränderbar, die Einstellungen sind festgesetzt auf "neu beginnen".

Zudem erhalte ich eine Meldung, dass die Nummerierung inkonsistent sei.

 

Für das Buch alleine kann ich keine Nummerierung festlegen, der Menüpunkt ... > Dokument > Nummerierung ist deaktiviert.

 

2 von 6 Dokumenten kann ich in der Buchvorschau anklicken und die Nummerierung auch für Abschnitt und Unterabschnitt festlegen.

Sie werden jedoch beim Speichern wieder zurückgesetzt.

 

Wie kann ich die Abschnittsnummerierung einstellen und wie kann ich verschiedene Seitenzählungstypen festlegen?

fmNumm_Referenzseite.jpg

Auf der Referenzseite ist die Nummerierung so festgelegt:

Bsp. Überschrift3: <$chapnum>.<$sectionnum>.<$subsectionnum>\t<$paratext> \t\t<$pagenum>

 

Seltsamerweise ist dieser Teil

openXmlElementId <$relfilename>:<$UniqueXmlElementId> <$RelativeXmlElementId>

openObjectId <$relfilename>:<$ObjectType> <$ObjectId>

 

mehrmals vorhanden - obwohl ich versucht habe, diese Wiederholung zu entfernen. Sie wird jedoch immer wieder neu hinzugefügt.

Parameters to the Notify function

0
0

Dear friends and experts

In my script I have defined

  Notification (Constants.FA_Note_PostOpenDoc, true); 

And in the Notify function I normally get these parameters (logged):

Notify: iNote= 2    sParam= D:\_INFOBASE\general.fm    iParam= 0    object.Name=  D:\_INFOBASE\general.fm    object.ID=  67108877

(I use the object ID to check whether the document has really changed - which is not true in all cases).

But in rare cases I get iParam = 3, in which case the script runs havoc later on:

  • The document gets white and I can not see where I am (actions in the document are not possible, hence CTRL+L to make it visible is impossible).
  • The open palette still behaves in this current document (e.g. I can walk through the existing variables in the document)
  • I do not get any error messages in the log, ESTK is not opened to show me an error.
  • Closing the document via the X button is possible, but requires a second click after some time. Then the document is closed (after some time) and (if one exists) the next document (which is also white) can be closed. Finally I will close FM with the X, this creates an error and I need to kill FM. At the next open of FM the script is still registered and I need to unregister it, close FM and restart again for the next text.

  Where can I get a meaning from the the iParam = 3?

I thought this parameter is meaningful (!= 0) only for the FA_NotePreXxx / FA_NotePostXxx events as listed in the FDK Function Reference for F_ApiNotify().

 

Klaus

ESTK workspace not persistent anymore

0
0

Dear friends,

Since a while - propably an FM update - the selected workspace (DDD) is lost after closing ESTK CC (4.0.0.1, ES 4.5.5, ScriptUI 6.2.2).

At the next open of ESTK the selected workspace is briefly visible, but falls back into the Empty workspace, although in the dow-down-list it is selected. I need to reselect it.

 

I have checked the preferences - but can not find an appropriate setting.

Klaus

app.Displaying considered unreliable

0
0

Der friends,

The white document hits again... ( see https://forums.adobe.com/thread/2276988) and I tracked it down to failing app.Displaying. The script requests function SetDisplay (bWanted) 17 times successful, but the 18. call does not switch the display any more. The routine is that simple:

function SetDisplay (bWanted) { //=== Set display to on or off ====================================
// Arguments bWanted: true => set display ON; false => display OFF
// Commment  This function does not work reliably. See https://forums.adobe.com/thread/2276988
// Reference Rick Quattro    Console ("    current:" + app.Displaying + " => wanted: " + bWanted);  if (app.Displaying != bWanted) {    app.Displaying = bWanted;    Console ("    set ? " + app.Displaying);  }
} //--- end SetDisplay

Just after the following log the document gets white:

....SetDisplay(true)    current:0 => wanted: true    set ? 0

That is, app.Displaying was not performed and hence the document is not visible.

The white document appears within a routine which collects variables from the document. Since this function switches between pages and even page types I want to avoid flicker - which is really annoying here.

 

Do you spot something dubious in this routine?

 

function CollectVarsInDoc (oDoc, aDocVars) { //=== Collect variables in the 'natural' order =======
// Arguments oDoc:        current document
//           aDocVars:    array to be filled with var objects
// Called by xxx
// Calling   GetFindParameters, SetDisplay, SaveCurrentLocation, RestoreLocation
// Comment   Variables are found on all page types (Body, Master, Reference).
//           Starting points must be oDoc.FirstBodyPageInDoc, .FirstMasterPageInDoc, .FirstRefPageInDoc
var aVarsRange = [], bIsSystem, findParams, jFound = 0, jPageType, iVrLen, oFirst, oPage, oPara,    oSavedLoc, oTextItem,  oTR = new TextRange(), oVar, sVarName, sValue,    aPages = [oDoc.FirstBodyPageInDoc, oDoc.FirstMasterPageInDoc, oDoc.FirstRefPageInDoc];  SetDisplay (false);  oSavedLoc = SaveCurrentLocation (oDoc);  aDocVars.length = 0;                            // clear array for refill  if (oDoc == null) {                             // emergency bailing out       SetDisplay (true);    return;  }                for (jPageType = 0; jPageType < 3; jPageType++) { // for all page types    oFirst = aPages[jPageType];    if (oFirst.id == 0 && jPageType != 1) {continue}; // only master page(s) exist    oDoc.CurrentPage = oFirst;    oPage = oDoc.CurrentPage;    oPara = oPage.PageFrame.FirstGraphicInFrame.FirstPgf;    while (oPara == undefined) {                  // can happen on ref pages      oPage = oPage.PageNext;      if (oPage.id == 0) {        goFMv.nDocVars = aDocVars.length;        RestoreLocation (oDoc, oSavedLoc);        SetDisplay (true);        return;}                                  // no next page available      oPara = oPage.PageFrame.FirstGraphicInFrame.FirstPgf;    }    oTR   = oDoc.TextSelection;    oTR.beg.obj =  oTR.end.obj = oPara;    oDoc.TextSelection = oTR;    oTR.beg.offset = oTR.end.offset = 0;    findParams = GetFindParameters (2, null);     // finding any variable, no wrap    InitFA_errno ();                              // reset - it is write protected    oTR = oDoc.Find(oTR.beg, findParams);         // and do an initial find to get started.    while(FA_errno === Constants.FE_Success) {      jFound += 1;      oDoc.TextSelection = oTR;                   // set up the text range      aVarsRange = oDoc.GetTextForRange (oTR, Constants.FTI_VarBegin);  // this is an array      iVrLen = aVarsRange.length;                 // have not found anything other than 1 to be correct      if (iVrLen === 0) {                         // Hickup ?        InitFA_errno ();                          // track the progress        oTR = oDoc.Find(oTR.beg, findParams);     // prepare for next find        continue;                                 // while      }      oTextItem = aVarsRange[0];                  // have not found anything other than 1 to be correct      oVar = oTextItem.obj;      sVarName = oVar.VarFmt.Name;                // name of the variable      sValue   = oVar.VarFmt.Fmt;                 // contents of variable      oTR      = oVar.TextRange;                  // the text range of the variable      bIsSystem= (oVar.VarFmt.SystemVar !== Constants.FV_VAR_USER_VARIABLE);      aDocVars.push (new oVariable (sVarName, sValue, oVar, bIsSystem, oTR));      InitFA_errno ();                            // track the progress      oTR = oDoc.Find(oTR.beg, findParams);       // prepare for next find    }  }  goFMv.nDocVars = goFMv.aoDocVars.length;  RestoreLocation (oDoc, oSavedLoc);  SetDisplay (true);
} //--- end CollectVarsInDoc

 

From a more detailed trace I know that the statement on line 66 is in charge.

Cross Reference an second layer Autonumbered paragraph

0
0

I have a set of Auto Numbered paragraphs in a document. They look like this:

 

Capture.PNG

I want each of these paragraphs to be repeated exactly as they are in this section into another section of my book.

 

The "Article" Auto Number is set up as: A:Article <R+>:\sn

 

The next level "BodyAlpha1" Auto Number is set as: B:\t<A=1>.\t

 

I was able to get the "Article III: Judging of Contests" paragraph to repeat perfectly with the cross reference built like this:

 

<Default ¶ Font><$paranum[ArticleHead1]><$paratext><Default ¶ Font>

 

However when I try to get the next level to show up, I seem to lose the \t "tabs that are in the Auto Number of the second level. The text comes through perfectly but I can get it to bring along the complete Auto Number from the original Auto Number. It looks like this.

 

Capture2.PNG

This is how I have the Cross Reference set for the second level:

 

<Default ¶ Font><$paranum[BodyAlpha1]><$paratext><Default ¶ Font>

 

I have only attempted to do the first paragraph cross reference. As you can see the tabs do not come with the reference. I only did the first paragraph so the second two paragraphs are picking up the numbering from previous paragraphs in the section. I tried entering "\t" into the cross referencing settings but it does not matter. And I have the paragraph tabs set in the paragraph that I am pasting the reference into.

 

I don't know if anyone can help me but I sure would welcome some suggestions.

 

Chris

Open FrameMaker Application and Open a .fm Doc

0
0

Hello friends,

 

I want to implement following feature and wanted to ask, if you could help me accomplish this.

 

I want ExtendScript to open FrameMaker, every time the script is started.
After this, i want FrameMaker to open a specific .fm document - I have little experience in opening .mif files, so I think that opening files should not be a great problem.

 

 

But I have no idea, how to tell the script to start FM.


Thanks a lot!

 

 

Selim


Hyperlinks in PDF not working while working in Framemaker 2015

0
0

I have a book with many document and lots of hyperlink between the documents.
While I'm on framemaker those links are working perfectly (Ctrl-Alt-click opens the proper document) but when I save as PDF, the links seems to exist but are not working anymore.

The links are only between the same book.

 

It seems to be the same issue as Hyperlinks in FrameMaker 8 File don't work consistently when PDF'd , but the solutions proposed are not working for me.

 

I am using FM 13.0.2.433

 

Any help will be very appreciated.

 

Ryan

How to display busy cursor or progress bar in FrameMaker Extendscript

0
0

Hi,

 

Is there a way to change the cursor to hour glass/busy, or display a progress bar.

 

Thank you in advance,

 

AZ

Deleting an xref format from a book

0
0

Hello fellows,

 

I need a framescript that deletes a specific xref format (e.g., "API") from a book. So I've decided to write one for the sake of practice.

 

I came up with the following code. When running it on a book, for some unclear reason it complains: "Missing Object on command (Loop) at Line (11). So far, it's unclear to me what the issue is. Any input will be appreciated!

 

If ActiveBook = 0

MsgBox 'There is no active book.';

LeaveSub;

Else

Set vCurrentBook = ActiveBook;

    Set vDoc = vCurrentBook.BookComponent;

EndIf

 

 

Loop ForEach(vDoc) In(vCurrentBook) LoopVar(vCompobj) //This is the line FM complains about.

    Open Document File(vCompobj.Name) NewVar(vDocObj) FileIsOldVersion FontNotFoundInDoc RefFileNotFound(AllowAllRefFilesUnFindable) AlertUserAboutFailure(false);

    Set vDocObj = ActiveDoc;

    Set vDocObj.ShowAll = 1;

    Set vXrefFmt = vDocObj.FirstXRefFmtInDoc;

    Loop While (vXrefFmt)

        If vXrefFmt.Name==='API'

            Set vXrefFmtToDelete = vXrefFmt;

            Delete Object(vXrefFmtToDelete);

            LeaveLoop;

        Else

            Set vXrefFmt = vXrefFmt.NextXRefFmtInDoc;

        EndIf

    EndLoop

    Save Document DocObject(vDocObj);

    Close Document DocObject(vDocObj);

EndLoop

TOC will not show lowercase roman numerals for page numbers.

0
0

I have set the page numbers for the first couple chapters in a book to show as lowercase roman numerals. However, they show as uppercase roman numerals.

In the reference page, I have it set to show chapter number, paratext page number. The font was set to all caps, but I adjusted the page number to lowercase with the character designer. This did not solve the issue.

 

(Framemaker 2017)

 

Thoughts?

Unfamiliar Error in Element Validation

0
0

Hi all,

Before I dive into my question, here is my work flow:

I had an unstructured document that I applied structured to using the conversion table and the EDD file. I had to modify the EDD file along the way, which I did; however, when validating elements, I encountered an error that I have never seen before. I tried resolving it by modifying the EDD file but have been unsuccessful. Can someone please offer their expertise on how to go about resolving the error? A thorough explanation is highly appreciated. The error is “Type-content mismatch; element should be a text range.” Please see the screenshot below.

TextRange issue.JPG

Thank you in advance!

Unable to Save Book as PDF in Framemaker 2017

0
0

I am unable to Save Book as PDF in FM 2017.  I have noticed that now I am also unable to save certain documents of the book as PDF, but when I take those out, I still wind up with a non-responsive FM 2017.

 

Windows 10.  Adobe PDF as default printer.

Id =

0
0

Hi all,

I am trying to understand the id attributes and need a little help with understanding and resolving an issue. In my structured document, i see this error id=<no value>, and am not sure how to resolve this. How do I define the ID value? Can you please briefly explain and answer the questions below. The screenshot is attached.

 

1: In an EDD file, when an attribute is defined, as Name: idref    > ID Reference   Optional, what does it mean when it is optional and what does it mean if it is required?

2: Similarly, for Attribute list> Name > UniqueID > Optional, what does UniqueID mean here?

 

I have read the pdf document on ID attributes but am still in need of clarification to make sure that I understand the concept correctly.

 

Please see the screenshot for the issue. I appreciate all the input.

IDREF.JPG

 

Thanks in advance!


FM2017 / HTML5 output: Styling breadcrumbs

0
0

Using an HTML page template, FM generates breadcrumbs in my HTML5 output. However, I did not find a possibility to assign a certain font to the breadcrumbs. The breadcrumbs are always displayed with the default font of the browser (Times Roman for me), even if 'Arial, sans-serif' is set as the font for the Help project in my layout. This behavior is reproducible with the common browsers on different machines and operating systems. Changing the default font in the browser is not what I want.

 

Does anybody have an idea? 

navigation screen for frame html5

0
0

How would one going about creating a graphical navigational interface for a framemaker digital project?

 

Working on a thick technical manual that I realize can be boiled down to a trouble-shooting flowchart. This would be a great navigational device where the user could hop to where they needed to go at a glance.

 

Was going to build it in Adobe Animate or some other project, exporting training manual sections from frame maker and embedding them or linking to them in the Animate project.

 

Wasn't thrilled by the results. Was clunky, pages had to load in and out, very inefficient.

 

So now I'm wondering if I could go the other way, if I could build a graphical navigation interface and import that into framemaker.

 

The goal is to make the interface as simple and clean as possible...though in the same token it's not something as simple as a couple hotspots.

 

Does anyone know of resources, sites, examples of anyone who's done something similar to what I'm describing?

Refund Adobe FrameMaker (Edited for brevity)

0
0

I need to make a refund of a purchase that does not work for me but the page indicates that your chat service is out of service and the phone number you give does not work, how can you make the return?

FM 2017 crashes if move objects containing equation, text and drawing

0
0

If you move every objects inside the frame, FM 2017 will crash.

Structured FrameMaker 14 default zoom

0
0

How can I set the default zoom to 90%? Help says that default zoom is determined by monitor resolution which sets the zoom to 140%. Even when I save the dita file at 90% zoom, it reopens at 140%.

Viewing all 5254 articles
Browse latest View live




Latest Images