Skip to main content

Animations in pdfTeX-Generated PDF

A New Method for Directly Embedding Animation into PDF

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 3130))

Abstract

This paper presents a new approach for creating animations in Portable Document Format (PDF). The method of animation authoring described uses free software (pdfTeX) only. The animations are viewable by any viewer that supports at least some features of Acrobat JavaScript, particularly Adobe (Acrobat) Reader, which is available at no cost for a wide variety of platforms. Furthermore, the capabilities of PDF make it possible to have a single file with animations both for interactive viewing and printing.

The paper explains the principles of PDF, Acrobat JavaScript and pdfTeX needed to create animations for Adobe Reader using no other software except pdfTeX. We present a step by step explanation of animation preparation, together with sample code, using a literate programming style. Finally, we discuss other possibilities of embedding animations into documents using open standards (SVG) and free tools, and conclude with their strengths and weaknesses with respect to the method presented.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Adobe Systems Incorporated. Acrobat JavaScript Object Specification, Version 5.1, Technical Note #5186. Technical report, Adobe (2003), http://partners.adobe.com/asn/developer/pdfs/tn/5186AcroJS.pdf

  2. Adobe Systems Incorporated. PDF Reference: Adobe Portable Document Format Version 1.5. Addison-Wesley, Reading, MA, USA, fourth edition (August 2003)

    Google Scholar 

  3. Došlá, Z., Plch, R., Sojka, P.: Mathematical Analysis with Maple: 2. Infinite Series. CD-ROM (December 2002), http://www.math.muni.cz/~plch/nkpm/

  4. Goossens, M., Sivunen, V.: LATEX, SVG, Fonts. TUGboat 22(4), 269–280 (2001)

    Google Scholar 

  5. Hagen, H.: The Calculator Demo, Integrating TEX, METAPOST, JavaScript and PDF. TUGboat 19(3), 304–310 (1998)

    Google Scholar 

  6. Olšák, P.: TEXbook naruby (in Czech). Konvoj, Brno (1997)

    Google Scholar 

  7. Sojka, P.: Animations in PDF. In: Proceedings of the 8th Annual Conference on Innovation and Technology in Computer Science Education, ITiCSE 2003, Thessaloniki, p. 263. Association of Computing Machinery (2003)

    Google Scholar 

  8. Sojka, P.: Interactive Teaching Materials in PDF using JavaScript. In: Proceedings of the 8th Annual Conference on Innovation and Technology in Computer Science Education, ITiCSE 2003, Thessaloniki, p. 275, Association of Computing Machinery (2003)

    Google Scholar 

  9. Story, D.P.: AcroTEX: Acrobat and TEX team up. TUGboat 20(3), 196–201 (1999)

    Google Scholar 

  10. Story, D.P.: Techniques of introducing document-level JavaScript into a PDF file from LATEX source. TUGboat 22(3), 161–167 (2001)

    Google Scholar 

  11. T́hánh, H.T.: Micro-typographic extensions to the TEX typesetting system. TUGboat 21(4), 317–434 (2000)

    Google Scholar 

  12. W3C. Scalable Vector Graphics (SVG) 1.1 Specification (January 2003)

    Google Scholar 

  13. Watt, A.H.: Designing SVG Web Graphics. New Riders Publishing, Indianapolis (September 2001)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Holeček, J., Sojka, P. (2004). Animations in pdfTeX-Generated PDF. In: Syropoulos, A., Berry, K., Haralambous, Y., Hughes, B., Peter, S., Plaice, J. (eds) TeX, XML, and Digital Typography. TUG 2004. Lecture Notes in Computer Science, vol 3130. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-27773-6_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-27773-6_14

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-22801-1

  • Online ISBN: 978-3-540-27773-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics