Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf ·...

33
Typesetting Tools, the Internet, and the Classroom Peter Andrews Duane Broline William Slough Nancy Van Cleave Eastern Illinois University Department of Mathematics Andrews, Broline, Slough & Van Cleave—16 th Annual MCC, April 12, 2002 1

Transcript of Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf ·...

Page 1: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Typesetting Tools, the Internet,and

the Classroom

Peter Andrews Duane BrolineWilliam Slough Nancy Van Cleave

Eastern Illinois University

Department of Mathematics

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 1

Page 2: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Goals

✎ Communicate technical material via classroom and

Internet

✎ Use familiar tools

✎ Minimize costs

✎ Produce documents with high quality typesetting tools

✎ Produce documents which are platform-independent

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 2

Page 3: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Overview

✎ LATEX and related tools

✎ Both Internet and classroom presentations

✎ Slides with color, graphics, and mathematical & technical

typesetting

✎ The software used is available at no cost for the Linux

environment

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 3

Page 4: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Web Site Goals: Behind the Scenes

✎ Platform independent

– HTML

– PDF

– No reliance on proprietary document formats

✎ Convert 200+ existing pages of LATEX documents

✎ Create new documents with hyperlinks

✎ Create documents for overhead presentations

✎ Package C++ source code

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 4

Page 5: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Creating Web-enabled Documents

✎ We wanted a TEX-based approach

– Fine control of typesetting

– Utilize existing TEX documents

– Use in other courses

✎ We wanted to spend little or no money

✎ Utilize public domain resources

xfig Gimp

FoilTEX PPower4 hyperref

pdfLATEX TEX4ht

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 5

Page 6: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

PDF Documents

✎ Portability across platforms

✎ Free Acrobat Reader

✎ Web standard

✎ Hyperlink capability

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 6

Page 7: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

TEX-based Tools

✎ pdfLATEX—PDF files from LATEX source

✎ foilTEX—slides from LATEX source

✎ TEX4ht—HTML files from LATEX source

✎ hyperref—hyperlinks in PDF files from LATEX source

✎ Other LATEX packages

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 7

Page 8: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Other Tools

✎ Gimp—grab snapshots of windows

✎ xfig—drawing program

✎ Ppower 4—slide postprocessor to add special effects

✎ emacs/AucTEX—editor

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 8

Page 9: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Generating PDF Files

✎ Acrobat Distiller

✎ National Library of Medicine’s DocMorph

✎ pdfLATEX and associated tools

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 9

Page 10: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Course Web Site

✎ Late-breaking news, errata

✎ Syllabi

✎ Lecture notes

✎ Lab materials

✎ Programming assignments

✎ Overhead presentations

✎ Useful links

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 10

Page 11: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Desired Computing Environment

✎ Consistent

✎ Highly available

✎ Economical

✎ Always up-to-date

✎ Portable

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 11

Page 12: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Campus Computing Environment

✎ Linux server

✎ Linux workstations

✎ Student accounts/files on server

✎ Remote access from campus labs & dorms (via Xvnc)

✎ Total software costs: < $1/workstation

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 12

Page 13: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Mathematical Examples

Superscripts and Subscripts

x2y, x2y, xy2, xy

a, and 222n

\begin{center}$x^{2y}$,$x_{2y}$,$x^{^2y}$,$x^{y}_{a}$, and$2^{2^{2^n}}$\end{center}

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 13

Page 14: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Limits and Special Symbols

l’Hopital’s rule: if f and g are differentiable,

limx→∞ f(x) =∞, and limx→∞ g(x) =∞, then

limx→∞f(x)g(x) = limx→∞

f ′(x)g′(x).

\begin{center}l’H\^{o}pital’s rule: if $f$ and $g$ are differentiable,$\lim_{x \rightarrow \infty}f(x) = \infty$, and$\lim_{x \rightarrow \infty}g(x) = \infty$, then$\lim_{x \rightarrow \infty}\frac{f(x)}{g(x)} =\lim_{x \rightarrow \infty}\frac{f’(x)}{g’(x)}$.\end{center}

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 14

Page 15: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

SummationsThis summation can be embedded ∀x 6= 1,

∑ni=0 xi = xn+1−1

x−1 in text.

The following summation will be centered on its own line:

∀x 6= 1,n∑

i=0

xi =xn+1 − 1

x− 1.

This summation can be embedded$\forall x \ne 1, \sum_{i=0}^{n} x^i= \frac{x^{n+1} - 1}{x-1}$ in text.\\

The following summation will be centered on its own line:\[ \forall x \ne 1, \sum_{i=0}^{n} x^i= \frac{x^{n+1} - 1}{x-1}. \]

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 15

Page 16: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Chaos Game – Drawn with xfig

B

A

C

D

E

FG

1

3

2

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 16

Page 17: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Chaos Game – Screenshot with gimp

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 17

Page 18: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Chaos Game – Another Screenshot

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 18

Page 19: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Technology: the Good...

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 19

Page 20: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Technology: the Good...

✎ Provides highly structured course organization

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 19

Page 21: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Technology: the Good...

✎ Provides highly structured course organization

✎ Allows for consistency among various sections

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 19

Page 22: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Technology: the Good...

✎ Provides highly structured course organization

✎ Allows for consistency among various sections

✎ Provides ready access to course handouts and references

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 19

Page 23: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Technology: the Good...

✎ Provides highly structured course organization

✎ Allows for consistency among various sections

✎ Provides ready access to course handouts and references

✎ Effort can be amortized over several semesters of use

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 19

Page 24: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Technology: the Good...

✎ Provides highly structured course organization

✎ Allows for consistency among various sections

✎ Provides ready access to course handouts and references

✎ Effort can be amortized over several semesters of use

✎ We and our colleagues can use similar techniques for other

courses

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 19

Page 25: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Technology: the Bad...

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 20

Page 26: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Technology: the Bad...

✎ Network infrastructure is crucial

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 20

Page 27: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Technology: the Bad...

✎ Network infrastructure is crucial

✎ Classroom presentation equipment is crucial

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 20

Page 28: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Technology: the Bad...

✎ Network infrastructure is crucial

✎ Classroom presentation equipment is crucial

✎ Substantial effort is required

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 20

Page 29: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Technology: the Bad...

✎ Network infrastructure is crucial

✎ Classroom presentation equipment is crucial

✎ Substantial effort is required

✎ It is challenging to identify, install, and learn software

tools

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 20

Page 30: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Technology: and the Ugly

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 21

Page 31: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Technology: and the Ugly

Substantial effort is required!

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 21

Page 32: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

Helpful URLs

✎ TEX Users Group: www.tug.org

✎ TEXLive: www.tug.org/tex-live.html

✎ MikTEX: www.miktex.org

✎ OzTEX: www.trevorrow.com/oztex

✎ Editor: www.winedt.com

✎ DocMorph: DocMorph.nlm.nih.gov/docmorph

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 22

Page 33: Typesetting Tools, the Internet, and the Classroomcfnkv/Presentations/MCC16S02_Workshop_talk.pdf · Creating Web-enabled Documents We wanted a TEX-based approach – Fine control

www.eiu.edu/~mathcs

Andrews, Broline, Slough & Van Cleave—16th Annual MCC, April 12, 2002 23