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

Preprocessing stylesheet fails in FM2019, worked in FM2017

0
0

I am migrating a structured Frame application from FrameMaker 8 to FrameMaker 2019. Several months ago I did a trial migration to Frame 2017 and the open-edit-save roundtrip for a single document worked fine. Now I am doing the job for real with Frame 2019 (times move on).

Unfortunately when I attempt to open my sample XML document for editing the pre-processor stylesheet generates an error. This ran without problems in Frame 2017 (and of course the stylesheet runs perfectly outside of Frame).

 

The pre-processor stylesheet is XSL 1.0 so could run in any XSL processor; the post-processor stylesheet is XSL 2.0 so requires Saxon. Hence in my structured apps document definitions I have included

Template:          $STRUCTDIR\xml\helpcenter\app\template.fm
Read/write rules:  $STRUCTDIR\xml\helpcenter\app\rules
XSLT Preferences:
  Preprocessing:
    Stylesheet:     $STRUCTDIR\xml\helpcenter\app\hcxml2fm.xsl
  Postprocessing:
    XSLT Processor: SAXON
    Stylesheet:     $STRUCTDIR\xml\helpcenter\app\hcfm2xml.xsl

The error I am getting on document open is this:

XSL Processor Messages (Processor: SAXON)

Error reported by XML parser processing file:/C:/Program%20Files/Adobe/Adobe%20FrameMaker%202019/structure/xml/helpcenter/app/hcs trip.xsl:
FWK005 parse may not be called while parsing.

net.sf.saxon.s9api.SaxonApiException: Error reported by XML parser processing file:/C:/Program%20Files/Adobe/Adobe%20FrameMaker%202019/structure/xml/helpcenter/app/hcs trip.xsl:
FWK005 parse may not be called while parsing.

Transformation Aborted.

 

The hcstrip.xsl stylesheet is included by the hcxml2fm.xsl stylesheet and there's nothing unusual about it. As I say, this identical setup worked in FrameMaker 2017.

 

Just for completeness, hcstrip.xsl contains this:

<?xmlversion="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:strip-space elements="included document section content
  table th tb tf tr
  list ol li inlist"
  />
</xsl:stylesheet>

 

Anyone got any ideas why this isn't loading in FM2019?

 

Cheers
T


FrameMaker 11 and 12 on a single PC

0
0
  1. Is it possible to install and use FrameMaker 11 as well as FrameMaker 12 on a single PC?
  2. If yes, are there any prerequisites and known issues in doing so?

Is QuickSelect() not working anymore?

0
0

The function QuickSelect() should present a small drop down menu. The same kind of menu you get when pressing F7, F8 or F9.

 

I wrote a PlugIn with the FDK for FrameMaker 2010 where this behaved correctly.

result = F_ApiQuickSelect(docId, (StringT)"Please Select: ", &somestrings);

 

In FrameMaker 2017 the same PlugIn (without recompilation) doesn't open the menu anymore.

Instead it just returns immediatly with a return value of -1. FA_Errno is not set. So, judging from the return value, this looks like the user dismissed the dialogue right away. But that is not the case, there is no menu and no intereaction at all.

The rest of the plugin runs without flaws. Recompilation with FDK 2017 did not fix this.

 

The same behaviour can be seen when running the following from ExtendScript:

app.ActiveDoc.QuickSelect("title", ["one", "two", "three"])

 

The documentation and the object model viewer all say the function should be available and working.

TOC not showing up in HTML and Index and Glossary showing up

0
0

When I publish to Responsive HTML5 in unstructured FrameMaker Version 13.0.5.547 the TOC doesn't come through even though I have it marked as "true" in the settings.

 

I don't want the Index or Glossary to come through, so I have them set to "false" but the icons for them are still coming through into HTML.

 

Capture.JPG

Parse .fm File

0
0

How to parse .fm file and store its content in another .fm file using FDK2019?

TableTitleLOT

0
0

Hello all,

 

Is there some reason I do not see the para tag TableTitleLOT in the list of tags in the paragraph designer?

 

Thanks in advance/.

 

Regards,

Ben

 

FM2017

Frame 12 to Frame 15

0
0

I am trying to convert Framemaker 12 created files to Framemaker 15 in my mac, via a VMWare which has a windows environment.  I get unavailable fonts error. I see that fonts like Palatino are not available. How can I update my font list and how to make sure that these files are saved correctly?

FrameMaker 2019 won't open past splash screen

0
0

I downloaded the trial edition of FrameMaker 2019 onto two different computers (with two different valid FrameMaker subscriptions) to upgrade the accounts from 2017 to 2019. On the first computer, everything works fine (Laptop, Windows 10 Pro, i7), but on the other computer (Desktop, Windows 10 Home, i7) it won't open past the splash screen. It makes it all the way to "Password" on the splash screen, then crashes. What can I do to get the trial to open so I can upgrade the account?


Removing Context and Result labels in DITA output

0
0

We are using FrameMaker 2019 and are looking to publish our next document. While the publishing is faster and somewhat easier, I'm getting unwanted Dita labels in my output, mainly the Context and Result labels that are associated with Dita tasks. I understand I may need to remove these from my FM template files - is this correct? Can I turn off just Context or Result, or both? And how would I go about removing these labels? Many thanks!

Has anyone noticed FM Doc File information not being imported when Printing to .PDF?

0
0

I just upgraded FrameMaker 2019 64-bit to 15.0.1.430 (from Nov 1, 2018), but I still get inconsistent performance when printing a FM doc file to .pdf - occasionally, the FM Doc File Info (Author, Title, Subject, Keywords, Copyright, etc.) doesn't get imported into the generated .pdf file, and I have to manually enter the FM Doc File information under the .pdf file's File > Properties > Document Properties > Description tab. Alternately, if I Save As.pdf instead of Printing the FM Doc file to .pdf, the FM Doc File Info imports fine. Has anyone else noticed this? Thanks in advance.   

Troubleshooting Font Problem FrameMaker 2019 -> PDF

0
0

I have 64-bit FrameMaker 2019 in Windows 10 all patched up.

 

There is an instance of Doric Bold, a Type 1 PFM file, that is not Saving as PDF from the File menu but also not from the Publish pod. The character appears correctly as a registered trademark symbol ® in FrameMaker 2019 but in PDF as a capital A with an accent grave atop it. (Note, if I copy and paste that accented A in this HTML window, it pastes as the registered trademark symbol.) Acrobat does correctly identify the font of the character in question as Doric Bold.

 

The character Saved as PDF just fine  in FrameMaker 12 in Windows 8.1. But, my system has changed since then.

 

In addition to FrameMaker 2019, I have Acrobat XI Pro on my system. I have gone through Distiller and set Doric Bold to always embed. I have tip-toed through the Adobe PDF printer instance and deselected "Rely on system fonts only; do not use document fonts" with no change. I don't think it matters, but I have TrueType Font set to Download as Softfont and TrueType Download Option set to Native TrueType. I notice I also have a printer on my system called "Microsoft Print to PDF," but this laptop is "managed" and that printer is locked down.

 

So, I am embarrassed to ask, because I used to be good at troubleshooting font issues, but how do I get my registered trademark symbol in Doric Bold to correctly print to PDF? Ideas?

 

Cheers,

 

Sean

Changing the settings for publishing a book with fm components in PDF

0
0

Hi

 

Is it possible to change the settings file for publishing PDF from a .book file which was saved from ditamap with fm components?

 

What I tried to do was

- Create a ditamap

- Save as book with fm components

- Try to publish PDF files with different backgrounds (Normal, Confidential watermark, Draft watermark......) Main idea to have exactly same file with different stamps. For the process (write-check-approve) it would be the best.

 

I know how to add watermarks with Acrobat but I thought it could be done with these settings files in FrameMaker. From help.adobe.com I noticed that PDF is not mentioned in Multi-Channel publishing under Structured authoring using DITA.

 

I'm asking just to make sure that it really isn't possible.

Using ExtendScript, how to get the list of all headings including numberings, text and their locations?

0
0

Hi

I have a book, now I need to create a report  of all headings including numberings, text and their locations. It should look like a TOC but in an external text file.

 

How to achieve that?

 

Thanks

Responsive HTML Help - font of TOC

0
0

I am making responsive HTML help, from Frame 2017

 

Is it possible to define the font of the TOC that appears in the help file

I used the Settings to determine the font of the regular headers and footers etc. but the TOC on the Help is different

 

If it can be changed, so how

 

thanks

Graphics on reference pages not coming through into HTML

0
0

I am using unstructured FrameMaker version 13.0.5.547. I have a chapter template with caution icon graphics included in the reference pages that are used with all our safety warnings in our documents. Why do these caution icon graphics not come through into HTML when I publish to Responsive HTML5? When I first tried doing this, the graphics were saved as PSD files in the reference pages. I changed them to PNG files because I thought HTML might play nicer with them. Didn't work.


It is taking 30+ minutes to create a PDF from FrameMaker book. Why?

0
0

Why is it taking so long to create pdf from a FrameMaker book. New is a relatively new Creative Suite install.

How to add UserString for a Marker object?

0
0

Hi colleagues

I am newbie to ExtendScript So as the title says How to add UserString for a Marker object?

 

My code is as below, but it does not add UserString to the Markers.

 

 

var doc = app.ActiveDoc;

var flow = doc.MainFlowInDoc;

var tbl = 0;

var textItems = flow.GetText(Constants.FTI_MarkerAnchor);

var s = "Number of Comments: " + textItems.len.toString();

alert(s)

for (var i = 0; i < textItems.len; i += 1)

{

    $.write(textItems[i].obj.MarkerText);

    s = "Comment: " + textItems[i].obj.MarkerText + " @ " + textItems[i].obj.TextLoc.offset.toString() + "\n"
        + textItems[i].obj.Unique;

 

    GetUniqueObject(textItems[i].obj.Unique).UserString = "Added by Dan"; // Will add more useful data here

}

Leader problem

0
0

Hello all,

 

Sigh....

 

Where are my leaders? I did what I've done before (in the reference page - inserted a tab and updated to have dots) but it seems to have no affect to the body page

 

11-29-2018 11-02-40 AM.jpg

Creating a TextLine with character format

0
0

Well friends, the story about TextLine needs a new chapter:

Things go really strange with this short script:

// Clone a selected TextLine to check the function
#target framemaker
main ();

function main () {
  var j, oDoc = app.ActiveDoc, oFrame, oSelected, oTextLine, sText, oTextLoc, oTR, CM = 1857713, DEGREE = 65536;    oSelected = oDoc.FirstSelectedGraphicInDoc;  oFrame = oSelected.FrameParent;  oTextLine = oDoc.NewTextLine(oFrame);  oTextLoc = new TextLoc (oTextLine, 0);  oDoc.AddText (oTextLoc, "New text");  oTextLine.BasePointX = oSelected.BasePointX;    // not changed  oTextLine.BasePointY = oSelected.BasePointY + 1*CM;  oTextLine.StyleTag = "fh2-fig-heading2";  oTextLine.Angle = 5 * DEGREE;  oTextLine.Fill = 0;   // not used !  oTextLine.Color = oDoc.GetNamedColor("Magenta"); // does not work
} //--- end main

 

  1. Source TextLine selected, then script applied:
    Resultant 'clone' is an object TextLine, indicated in the status line as  O: fh2-fig-heading2*
    but using colour ddd-3 (used in table heading cells etc.)
    Selected as text it has no style, but size is 128 pt (as used by a specific ¶ format) and font family which can be from fh2-fig-heading2 but also from the specific ¶ format
    Clone-TextLine1.png
  2. Now I select the cloned text (the green one) as text and apply the character format fh2-fig-heading2.
    Clone-TextLine2.png
  3. Now i delete the clone TextLIne (the red one), select the source TextLine again and run the script:
    Resultant 'clone' text is an object TextLine as before indicated in status line and text has character format (obviously from the manual action before deletion).
    Clone-TextLine3.png

My questions are:

  • Wherefrom gets the first created clone TextLine its strange properties?
  • How to correctly apply a character format to this type of thingy?

Image borders disappear when publishing to HTML

0
0

1.  I mostly use PNG and AI files for my images, all imported by reference and with a border on the AF set by an Object Style.  I've found that nearly all of my PNGs lose their borders when I publish to HTML.  The odd one or two keep their borders, but I can't determine why not.  On the contrary, all of my AI images keep their borders in the HTML.

 

Anyone know why this happens?

 

My workaround for this is to place a very tiny--and blank white--AI image behind the PNG, in the same AF.  Dunno why this works, but it always does.

 

I've tried using the STS to place borders around images, and it works great, but it treats equations as if they were images, so they get borders too.  Our style standards say no borders around equations.  Argh.

 

2.  Some of the images lose only one or two of their borders.  I've managed to fix this by enlarging the AFs so there is more white space around the image.  If that fails, I move the border from the AF to around the image inside the AF.

 

Ideas?

 

Thanks!

 

Doug

Viewing all 5254 articles
Browse latest View live




Latest Images