Complete issue 30:3 as one pdf - TUG
Complete issue 30:3 as one pdf - TUG
Complete issue 30:3 as one pdf - TUG
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
TEX Education EUROTEX 2009 E29<br />
%<br />
%Draw regular surface which is in sight<br />
for k=0 step 1 until n:<br />
draw point k of p100..point n-k of p200;<br />
endfor<br />
%Clip to boundary, mod July 2009<br />
clip currentpicture to (-1.5size,-size)--<br />
(-1.5size,5size)--<br />
(1.5size,5size)--(1.5size,-size)-cycle;<br />
endfig;<br />
end<br />
Mathematically, I love the above included regular surfaces<br />
due to Gabo, because they are constructed from 1dimensionaldata,theboundingcurvesin3D.Thenecessary<br />
parameterized projection technique also facilitates<br />
animation by changing the viewingangles.<br />
For the rst time I emulated the real Gabo by not<br />
er<strong>as</strong>ingthe‘hidden’lines.Inrealitytheyarenothidden,<br />
because the object is made of transparent perspex. I lied<br />
abitinthep<strong>as</strong>t,becausewhenIdidnoter<strong>as</strong>ethehidden<br />
lines the reverse video picture looked too much blurred<br />
by detail. For this conference I ne-tuned the picture<br />
withthinner lines andinblue, whichlooks OK to me.<br />
Reuse<br />
So<strong>one</strong>r or later <strong>one</strong> arrives at the situation to organize<br />
the wealth of macros, pictures, references, tools and<br />
ilks for reuse. This gave rise to my BLUe collection.<br />
The idea in BLUe is that all the macros you use most<br />
of the time are bundled into a blue.tex kernel. The<br />
rest is split up into: tools, formats, pictures, references,<br />
addresses,. . .of which BLUe will reuse parts on the y,<br />
unaware of the ling system of the computer. Reuse is a<br />
general important <strong>as</strong>pect, and ipso facto in the lifecycle<br />
ofdocument parts.<br />
Produce → Distribute → Consume<br />
↑ ↑ ↓<br />
reuse ← retrieve ← store<br />
Withamonolithiccollectionyouhaveitall,allthetime.<br />
I decided to adhere to the kernel&modules adage, and<br />
to use only from a module what is needed, realized by<br />
a selective loading technique, similar to the <strong>one</strong> of M.<br />
Diaz, <strong>as</strong>menti<strong>one</strong>d inappendixDofthe TEXbook.<br />
One might argue that this economy h<strong>as</strong> become more<br />
and more irrelevant, because of the enormous incre<strong>as</strong>e<br />
of computer speed and memory, since the birth of TEX.<br />
Partly true: sometimes parts conict, e.g. <strong>one</strong> either<br />
formats a report or an article, and in general it is safe<br />
to avoid possible conicts.<br />
To illuminate this note, I have reused pictures be it<br />
from pic.dat or from separatePostScript les.<br />
Sometimesreuseimplies some extra work.<br />
I also reused the commands included in \loadtocmacros<br />
together with \p<strong>as</strong>teuptoc for a mini-ToC to<br />
keep track of the structure while creating this note. Enp<strong>as</strong>sant<br />
the Contentsat the beginning w<strong>as</strong>obtained.<br />
This proceedings submission diers from the preproceedings<br />
<strong>one</strong>, because working on the slides gave<br />
feedback. The 2.5D GABO’s <strong>as</strong> well <strong>as</strong> the Escher Cube<br />
have earned aplace fortheir own.<br />
Aninvokeofthe<strong>one</strong>-part\bluepicturesfollowedby<br />
<strong>one</strong>ormore \picturenameswillloadtheindicated(TEX)<br />
pictures and make them available under their names.<br />
At the time I did not construct a library of PostScript<br />
pictures, because I did not know how to supply these to<br />
\epsfbox. There is no pspic.dat, al<strong>as</strong>. If time permits<br />
Iwillthink it over.<br />
Another <strong>as</strong>pect is the search path of drivers, if only<br />
theylookedinto TeX inputor texmflocal;wheretoput<br />
pspic.dat?<br />
It is not so handy to put the pictures directory in the<br />
sameplace<strong>as</strong>themaindocument.Idonotknowhowto<br />
add searchpaths.<br />
Ifonly \<strong>pdf</strong>TEX couldhandlePostScript...<br />
As alternative to \bluepictures <strong>one</strong> can use the underlying<br />
two-part macros, sort ofenvironment<br />
\beginpictures<br />
\picturename1<br />
...<br />
\endpictures<br />
but, al<strong>as</strong> TEX h<strong>as</strong> no garbage collector, it would not save<br />
onmemory, it onlyreduces the possibilityofconicts.<br />
Similar structures hold for tools, formats, references,<br />
. . .<br />
In2002IworkedonmacrosfortheautomaticgenerationofPDFbookmarksforthe((sub)sub)headingtitles.It<br />
worked, even presented them at the EuroTEX, if I’m not<br />
mistaken.<br />
But...<br />
I did not nish the macros, maybe I should. I noticed<br />
that in 2005 A. Heck did not provide for bookmarks in<br />
his MetaPost note published in MAPS, also available on<br />
his WWWsite. Isthere aneed?Rhetoricalquestion.