Search

Filter

  • Advanced Filters:

  • to
  • Specific Data Sources:

    All Edit

    Select All  |  Select None

Reset filters

Interactive Teaching Materials in PDF using JavaScript Petr Sojka Masaryk University in Brno, Faculty of Informatics Botanicka 68a, 602 00 Brno, Czech Republic sojka@fi.muni.cz ABSTRACT The use of JavaScript scripting language for adding interaction to portable teaching materials of a high typographical quality in PDF file format is described. An extended version of the program TpX called pdfTjiX is extremely useful for such purposes. It is shown that applications similar to those done by CGI script on the web can be done in PDF, exploiting the embedded JavaScript engine implementation in PDF viewers. 2. PROGRAMMING INTERACTIVE CONTENT FOR PDF With techniques and tricks inspired by AcroTpX [4, 5] we have created electronic teaching materials [2] for a course on Multivariable Calculus using Maple for students of computer science. Several tricks were needed to prepare animations. Animations were implemented using Acrobat forms [1] support, and using document-level JavaScript routines for stepping animations forward and backward, changing the speed of animations, etc. The full Acrobat application is needed for the development, as inserting animation images as icons into Acrobat forms cannot be done using free tools; this fact makes the debugging of such applications particularly difficult. Creation of the final PDF product cannot be fully automated without specialized Acrobat plugins. Categories and Subject Descriptors J.I [Administrative Data Processing]: Education; H.5.1 [Multimedia Information Systems]: Animations; J.7 [Computers in Other Systems]: Publishing; H.5.2 [User Interfaces]: Interaction styles—;forms General Terms Documentation, Languages, Design 3. CONCLUSION Making interactive teaching materials documents in PDF using JavaScript and pdfTpX is feasible, given that for core functions, TgX macro-package is available—it hides teacher preparing animations from peculiar macroprogramming and JavaScript debugging, Examples of animations can be downloaded from [2] as part of teaching materials (in Czech), or from h t t p : / / w w w . f i . muni . c z / u s r / s o j k a / a n i m a t i o n s / . For another examples of interactive content, namely the creation of online self-marking quizzes in PDF, see [3]. Keywords animation, interaction, teaching materials, PDF, TpX, pdngX, JavaScript, AcroTr-X, Acrobat 1. INTRODUCTION JavaScript is a standard way of programming web pages and customizing their behavior for a reader. Typographic quality of rendering mathematics in web browsers is still very poor. Portable Document Format (PDF) [1], on the other hand, is suitable for delivery of portable teaching materials with programmable behavior (animations, auto-tests) as it allows JavaScript code to be inserted into the PDF file, in addition to self-contained typographically rich content. JavaScript insertion into PDF is troublesome, and there are no development environments for interactive document programming for PDF available today. Open source pdfTgX program [6] is very useful for this task as the 1pX macro writer has commands for JavaScript code insertion at his/her disposal. 4.

Page 1 of 1

Page 1 of 1

Toggle back to continuous viewing mode

/lp/association-for-computing-machinery/interactive-teaching-materials-in-pdf-using-javascript-JrlX9xAX99
Welcome to DeepDyve! Rent Premier Research Articles and Save Up to 90%

Learn more

Free Article

Bookmark

Interactive teaching materials in PDF using JavaScript

Sojka, Petr
ACM SIGCSE Bulletin , Volume 35 (3)
Association for Computing MachinerySep 1, 2003

More Info

More Like This Article

View All dataSource[]=actageo&dataSource[]=aspet&dataSource[]=aaos&dataSource[]=aacc&dataSource[]=aacr&dataSource[]=aea&dataSource[]=aip&dataSource[]=ajnr&dataSource[]=ams&dataSource[]=aps_physical&dataSource[]=appi_book&dataSource[]=appi_journal&dataSource[]=apha&dataSource[]=asip&dataSource[]=asm&dataSource[]=asn&dataSource[]=aspb&dataSource[]=avs&dataSource[]=annual_reviews&dataSource[]=arxiv&dataSource[]=acm&dataSource[]=berghahn&dataSource[]=cabi&dataSource[]=clinical_trials&dataSource[]=dailymed&dataSource[]=degruyter&dataSource[]=du_press&dataSource[]=esa&dataSource[]=eu_press&dataSource[]=elsevier&dataSource[]=emerald&dataSource[]=ejtr&dataSource[]=emea&dataSource[]=epo&dataSource[]=faseb&dataSource[]=gsa&dataSource[]=health_affairs&dataSource[]=hindawi&dataSource[]=imanager&dataSource[]=imedpub&dataSource[]=informa_healthcare&dataSource[]=informs&dataSource[]=iop&dataSource[]=iucr&dataSource[]=iospress&dataSource[]=jbjs&dataSource[]=leftcoast&dataSource[]=lu_press&dataSource[]=mesharpe&dataSource[]=mary_ann_liebert&dataSource[]=medline&dataSource[]=mit_press&dataSource[]=nature&dataSource[]=oxford&dataSource[]=pier_professional&dataSource[]=pnas&dataSource[]=portlandpress&dataSource[]=psyc_articles&dataSource[]=psyc_books&dataSource[]=psyc_critiques&dataSource[]=plos_journal&dataSource[]=pubmed_central&dataSource[]=rsna&dataSource[]=rockefeller&dataSource[]=rcn&dataSource[]=ria&dataSource[]=rsc&dataSource[]=sage&dataSource[]=spie&dataSource[]=springer_journal&dataSource[]=springer&dataSource[]=taylor_francis&dataSource[]=aps&dataSource[]=the_scientist&dataSource[]=uc_press&dataSource[]=uspto_abstract&dataSource[]=wiley&dataSource[]=pct

Browse: Subject Areas | Journals | Publishers

Sign Up for a DeepDyve Account

Bookmark an Article

To bookmark an article, please log in first, or sign up for a DeepDyve account if you don't already have one.

OK

Subscribe to Journal Email Alerts

To subscribe to email alerts, please log in first, or sign up for a DeepDyve account if you don't already have one.

OK

Thank you for renting with DeepDyve

Your PayPal account has been charged $2.99. You now have access to the full text of this article. A rental receipt has also been sent to your email address.

Your credit card has been charged $2.99. You now have access to the full text of this article. A rental receipt has also been sent to your email address.

OK

New! You can now keep track of new articles from ACM SIGCSE Bulletin on your personalized homepage! Learn more

PDF Download — Not Available

Thanks for your interest in purchasing the PDF. Your request has been noted and we will work with our publisher partner to discuss enabling this feature.

In the meantime, you can get the PDF by visiting the publisher site.

Thank you for purchasing with DeepDyve

Your PayPal account has been charged $.

Your credit card has been charged $.

You can now download this article. A purchase receipt has also been sent to your email address.

Download This Article or I'm done with my download

Print Page — Not Available

Thanks for your interest in printing individual pages. Your request has been noted and we will work with our publisher partner to discuss enabling this feature.

In the meantime, you can get the PDF by visiting the publisher site.

Thank you for printing with DeepDyve

Your PayPal account has been charged $0.

Your credit card has been charged $0.

You can now print this article. A purchase receipt has also been sent to your email address.

Print the Selected Pages or I'm done with my printing

Please refresh to generate a new download link

Your article download link has expired. Please refresh this page to obtain a new download link and try again.

Follow a Journal

To get new article updates from a journal on your personalized homepage, please log in first, or sign up for a DeepDyve account if you don't already have one.

OK