31.08.2013 Views

Complete issue 30:3 as one pdf - TUG

Complete issue 30:3 as one pdf - TUG

Complete issue 30:3 as one pdf - TUG

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TEX Education EUROTEX 2009 E15<br />

Drawbacks of MetaFont<br />

Nowadays,whenwe<strong>as</strong>kinTEXforaTEX-knownfontof<br />

dierentsize, it isgenerated onthe y.<br />

MetaPost,whichsoundslike<strong>as</strong>uccessortoMetaFont,<br />

w<strong>as</strong> intended for creating PS graphics to be included in<br />

TEX documents, and not for creating PS fonts, despite<br />

&mfplain,whichisnotenough.MetaFont’sbitmapfonts<br />

are outdated, because of the signicant memory it requiresandbecauseitisnotscalable.Thegapw<strong>as</strong>lledin<br />

2001byBogusłavJackovskietal.byrele<strong>as</strong>ingMetaType.<br />

Latin Modern is the PS successor of TEX’s native bitmap<br />

Computer Modern fonts. Work is underway for use of<br />

OpenType (Math) fonts inTEX.<br />

Literate programming<br />

Ilike to characterize literateprogramming by<br />

Aims at error-free anddocumented programs<br />

Humanlogic oriented, not imposed by computer<br />

Programming anddocumentation are d<strong>one</strong>simultaneously<br />

Relational insteadofhierarchical<br />

The computer science department of the Groningen<br />

University pays attention to program correctness <strong>issue</strong>s,<br />

mainly for small programs, heavily bi<strong>as</strong>ed by the loop<br />

invariancetechniquesofthe70-ies.Noreal-lifeapproach<br />

suited for large programs like Knuth’s literate programming<br />

approach,by whichTEX w<strong>as</strong>implemented.<br />

But...<br />

There’s More Than OneWay To Do It 16<br />

EvenatStanfordIcouldnotndoeringsforTEXcl<strong>as</strong>ses<br />

norcl<strong>as</strong>ses forliterateprogramming.<br />

No need?Still aheadoftime?<br />

Iconsidereducationinliterateprogrammingimportant,<br />

which should be provided by computer<br />

sciencedepartmentsintherst place.<br />

TEX Collection DVD<br />

The DVD will lead you to the use of L ATEX or ConTEXt.<br />

The IDE TEXnicCenter allowed me to open projects and<br />

processeither<br />

L ATEX → .dvi, or<br />

L ATEX → .<strong>pdf</strong>, or<br />

L ATEX → .ps → .<strong>pdf</strong><br />

TheCenterdoesnotprovidebuttonsforprocessingplain<br />

TEX with a format le of your own, at le<strong>as</strong>t that is not<br />

clear to me. I had to fool the system: opened a template,<br />

threw all that I did not need away and processed my<br />

minimal plainTEX job <strong>as</strong>L ATEX!<br />

Clumsy! Did I overlook something? The possibility to<br />

adapt TEXnicCenter w<strong>as</strong> on my mind for a couple of<br />

days. At l<strong>as</strong>t, I undauntedly dened an output profile<br />

and selected <strong>pdf</strong>eTeX.exe. Indeed, glory, my Hello<br />

World!\bye job worked, only the viewer Acrobat did<br />

not open automatically with the result le. The resulting<br />

.<strong>pdf</strong> le w<strong>as</strong> stored in the same directory <strong>as</strong> the<br />

source le, so I could view it n<strong>one</strong>theless. Not perfect<br />

<strong>as</strong> yet, because I would like to have the result opened in<br />

Acrobat automatically. Nevertheless, encouraging. I w<strong>as</strong><br />

surprised that \magnification did not work in <strong>pdf</strong>eTEX.<br />

I also stumbled upon that \blue dened <strong>as</strong> the appropriate<br />

\<strong>pdf</strong>literal invoke, did not obey the scope rules.<br />

The editor in TEXnicCenter is too smart: \’e is changed<br />

into é, unless you insert a space. I reported this, no<br />

answer <strong>as</strong>yet.<br />

Thispaper<strong>as</strong>ksamongotherstoincludeinTEXnicCenter<br />

also buttons for processing by Knuth’s plain.tex. It<br />

would not harm to include <strong>as</strong> example the minimal TEX<br />

job<br />

Hello world!<br />

\bye<br />

or the TEX cl<strong>as</strong>sic story.tex, to demonstrate the work-<br />

ow<br />

TEX→ dvi, <strong>pdf</strong>(or ps).<br />

Viewbuttonsforeither.dvi,.psor.<strong>pdf</strong>resultsarenice.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!