eforms: Enhanced Preview

| 2 Comments

Some LaTeX authors use a non-conforming PDF reader as a PDF-previewer, in the same way they use a DVI-previewer. Such non-conforming readers do not necessarily support form fields and the JavaScript they contain. The macro \previewOn has been available for many years, when activated, eforms typesets a rectangular box around a form fields so they become visible to one using a DVI- or PDF-previewer; recently, the eforms package (dated 2019/05/24 or later) supports an enhanced preview. When \pmpvOn is expanded, any push button captions are typeset within the preview rectangle, and other form fields, the initial value, as designated by the \V key, are also typeset within the bounding preview rectangle.

Continue reading:  enhanced-preview.pdf (Revised 2019/09/28)

The content of the above PDF is how it is seen in sumatraPDF, you will see only the outlines of the fields (not the fields themselves) as well as their captions and initial values. The source file is attached to the PDF; however, you will need the 2019/05/24 version of eforms to successfully compile it.

2 Comments

  1. I am sorry to comment a post with some OT stuff, but you might be the right person to help me with a problem I have with an eform. I asked the question on tex eschange [1], would you help me out?

    The problem is that I have some repetitions, so I declare a variable inside insdljs and fill up some combo boxes with this variable. When I select it on the pdf, save the file, close it and open it again it does not save the choice.

    Thanks

    [1] https://tex.stackexchange.com/questions/351443/save-pdf-form-information

    • I followed the link provided, and found no use of insdljs. The examples I found were purely hyperref form fields, not form fields created by eforms. A simple example is required.

Leave a Reply

Required fields are marked *.