LaTeX forum ⇒ Text FormattingCreating a PDF with forms that auto-calculates

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Creating a PDF with forms that auto-calculates

Postby Faust » Tue Aug 10, 2010 12:49 pm

Hi,


I currently make my company's quotations using latex and I have included checkboxes from the hyperref package, so people can choose which options they want -similar to Dell's website where you can configure your PC-

I would like the PDF to auto calculate the total every time someone
makes a change, is this possible using latex? What package should I use?

If someone has plug 'n play javascripts or something easy I can use I'd be happy.

sitex
Posts: 70
Joined: Sat May 09, 2009 12:37 pm

Postby sitex » Tue Aug 10, 2010 3:20 pm

Hello,

• If you create your PDF form latex using distiller you can use the eforms package available at http://www.math.uakron.edu/~dpstory/webeq.html. The eforms can can create calculation fields. See the AcroTeX PDF Blog #25, titled “Processing Acrobat Forms using JavaScript, Internal Processing of a Field, Part 5: The Calculation Tab” at http://www.math.uakron.edu/~dpstory/pdfblog.html. All PDF forms seen at the AcroTeX PDF Blog were created with AeB (http://www.math.uakron.edu/~dpstory/webeq.html), using distiller. Blog #25 contains many examples of automatic calculation.
• If you use pdflatex and have Acrobat (not Adobe Reader, but Acrobat), you can use the UI (user interface) to create the auto calculation. Blog #24 would be helpful again.

Don Story's packages are very useful. I hope this helps,

Tom


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 3 guests