I would like to create a pdf with an editable text field. In other words, a pdf that I can open in Adobe Reader and enter text at a specific location. Is this somehow possible with Mathematica ?

A form field like here:

enter image description here

If it works with a command line tool, that's also fine !

Here is code to generate a "white paper" without the text field of course:

paper = Graphics[{White, Rectangle[{0, 0}]}];
Export["test.pdf", paper]

EDIT: My platform is Windows 10. Any external software is fine, as long as it is free.

Thank you very much.

  • 3
    $\begingroup$ I'm pretty sure it's impossible. $\endgroup$ – Szabolcs Sep 7 '18 at 12:32
  • $\begingroup$ @Szabolcs It would be nice, though... Maybe by interfacing mathematica with some other program. $\endgroup$ – james Sep 7 '18 at 12:37
  • 3
    $\begingroup$ I think something can be done using LaTeX and the package "hyperref". By the way, that is possible in R/RStudio with the package "knitr" (which loads "hyperref" automatically.) $\endgroup$ – Anton Antonov Sep 12 '18 at 13:18
  • $\begingroup$ Since it can't be done without external software, you should probably specify what platform you're on, and perhaps narrow down the software you're willing to install. Eg. Acrobat (non-free), LaTeX (free but may be overkill), ... $\endgroup$ – Jens Sep 12 '18 at 16:41
  • $\begingroup$ @Jens Thanks, I will do that! $\endgroup$ – james Sep 12 '18 at 17:03

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.