Skip to main content
ashrae-editor
Known Participant
November 16, 2023
Question

Hypertext Alerts in Framemaker 2019 - Strange Behavior in PDF Output?

  • November 16, 2023
  • 3 replies
  • 322 views

When using Hypertext alert markers to generate comments in PDF output, I've noticed a single marker will sometimes (though not always) generate up to three additional comment bubbles in the output PDF. The alert message is always the same but duplicated multiple times. Has anyone else had similar trouble or know of a solution?

 

I've tried to control for various settings to produce predictable behavior in the output, but nothing seems to work.

 

Specifics:

  • I'm using Unstructured FM 2019, fully updated.
  • The behavior is the same regardless of which document I'm working in, or whether I'm using old files or a newly created file.
  • The behavior is the same regardless of whether I print to PDF using a generic postscript printer, Save to PDF, or Publish to PDF.
  • When Printing to PDF, under PDF Setup, I select "Tags (Distiller)" -> Generate Tagged PDF to generate PDF comments (unselected, no comments are generated); modifying the default settings under "Tags (Distiller)" doesn't change the output behavior.

 

I've created a bug tracker here.

 

Cheers,

Matt

 

    This topic has been closed for replies.

    3 replies

    Community Expert
    November 17, 2023

    Hi Matt,

    I just tested this with 17.0.3, and the PDF comment was created correctly. Even after 5 times I did not noticed your issue-

    You said that your issue appears now and then, but not always. Therefore it could be that I would encounter your issue, when I create the PDF 10 more times.

     

    I create PDF comments with a PostScript frame with PDFmark commands.

    This way you have more control, how your comment should be positioned and how it should look like.

    How to do this:

    Create a text frame where your PDF comment should be.

    Enter the PDFmark text.

    Open the object properties of this text frame.

    Activate the "PostScript Code" option. Then you cannot edit this now PostScript frame any more. However, you can also deactivate this option again and then make changes and adjustments.

    In the Publish pod activate the option to create the PDF with the Distiller.

    Then Save As PDF.

     

    My PDFmark text is:

    /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse
    /Y exch def
    [ /Rect [ 0 0 0 Y ]
    /Open true % Annotation is opened. (Default is closed.)
    /Title (Printing instructions) % Title of the annotation.
    /Contents (Paper format: DIN A4, double sided
    Colour: 1 colour, black
    Scaling: none
    Fold: as appropriate
    Punching: none
    Binding: none) % Text in the annotation box. Line breaks can be entered by a new paragraph or by \n.
    /Color [1 0 0] % Colour of the annotation, the values are red/green/blue, ranging from 0 to 1.
    /Name /Comment % Type of the annotation. This is used for the symbol, when the annotation is closed.
    /ANN pdfmark

     

    In the web you will find explanations of the various PDFmark commands, if you need more info.

    This PDFmark commands work also, when you print to a PostScript file and distill to a PDF.

     

    Best regards

     

    Winfried

    frameexpert
    Community Expert
    Community Expert
    November 16, 2023

    Matt, can you meet via a web meeting so I can see what you are doing? Thanks. rick at frameexpert dot com

    ashrae-editor
    Known Participant
    November 16, 2023

    Rick, just sent you a message.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 16, 2023

    You're wasting your time logging a bug for FM2019 - unless you can reproduce it in FM2022 (latest patch), it's not going to get any attention.

    ashrae-editor
    Known Participant
    November 16, 2023

    Good point, Jeff. Curious if anyone on FM2022 can reproduce it.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 16, 2023

    I invite you to download the trial, update it & test it out with a copy of your docs.