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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
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
Adobe Systems Incorporated. PDF Reference: Adobe Portable Document Format Version 1.5. Addison-Wesley, Reading, MA, USA, fourth edition (August 2003)
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/
Goossens, M., Sivunen, V.: LATEX, SVG, Fonts. TUGboat 22(4), 269–280 (2001)
Hagen, H.: The Calculator Demo, Integrating TEX, METAPOST, JavaScript and PDF. TUGboat 19(3), 304–310 (1998)
Olšák, P.: TEXbook naruby (in Czech). Konvoj, Brno (1997)
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)
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)
Story, D.P.: AcroTEX: Acrobat and TEX team up. TUGboat 20(3), 196–201 (1999)
Story, D.P.: Techniques of introducing document-level JavaScript into a PDF file from LATEX source. TUGboat 22(3), 161–167 (2001)
T́hánh, H.T.: Micro-typographic extensions to the TEX typesetting system. TUGboat 21(4), 317–434 (2000)
W3C. Scalable Vector Graphics (SVG) 1.1 Specification (January 2003)
Watt, A.H.: Designing SVG Web Graphics. New Riders Publishing, Indianapolis (September 2001)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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