diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:45:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:45:13 +0000 |
commit | 92a15e15b276458e10aa05016bf472e8c6dd3eb0 (patch) | |
tree | af0343097e5f497167cefa16ed45c03475b98c37 /Master/texmf-dist/tex/context/sample | |
parent | df014cf02a62504f6b3e7a4398fb1e093b84f114 (diff) |
context
git-svn-id: svn://tug.org/texlive/trunk@608 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/sample')
17 files changed, 364 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/sample/aesop-de.tex b/Master/texmf-dist/tex/context/sample/aesop-de.tex new file mode 100644 index 00000000000..80a41f295ef --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/aesop-de.tex @@ -0,0 +1,25 @@ +% German example file from Aesop + +Der L\"owe und die M\"ucke + +Eine M\"ucke forderte mit den \"uberm\"utigsten Worten +einen L\"owen zum Zweikampf heraus: \quotation {Ich +f\"urchte dich nicht, du gro\SS es Ungeheuer}, rief sie ihm +zu, \quotation {weil du gar keine Vorz\"uge vor mir hast; +oder nenne sie mir, wenn du solche zu haben glaubst; etwa +die, da\SS\ du deinen Raub mit Krallen zerrei\SS est und +mit Z\"ahnen zermalmest? Jedes andere feige Tier, wenn es +mit einem Tapfern k\"ampft, tut dasselbe, es bei\SS t und +kratzt. Du sollst aber empfinden, da\SS\ ich st\"arker bin +als du!} Mit diesen Worten flog sie in eines seiner +Nasenl\"ocher und stach ihn so sehr, da\SS\ er sich vor +Schmerz selbst zerfleischte und sich f\"ur \"uberwunden +erkl\"arte. + +Stolz auf diesen Sieg flog die M\"ucke davon, um ihn aller +Welt auszuposaunen, \"ubersah aber das Gewebe einer Spinne +und verfing sich in demselben. Gierig umarmte die Spinne +sie und sog ihr das Heldenblut aus. Sterbend empfand die +M\"ucke ihre Nichtigkeit, indem sie, die Besiegerin des +L\"owen, einem so ver\"achtlichen Tiere, einer Spinne, +erliegen mu\SS te. diff --git a/Master/texmf-dist/tex/context/sample/bryson.tex b/Master/texmf-dist/tex/context/sample/bryson.tex new file mode 100644 index 00000000000..ecda71c5895 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/bryson.tex @@ -0,0 +1,9 @@ +Imagine trying to live in a world dominated by dihydrogen oxide, a +compound that has no taste or smell and is so viable in its properties +that it is generally benign but at other times swiftly lethal. +Depending on its state, it can scald you or freeze you. In the +presence of certain organic molecules it can form carbonic acids so +nasty that they can strip the leaves from trees and eat the faces off +statuary. In bulk, when agitated, it can strike with a fury that no +human edifice could withstand. Even for those who have learned to live +with it, it is often murderous substance. We call it water.
\ No newline at end of file diff --git a/Master/texmf-dist/tex/context/sample/davis.tex b/Master/texmf-dist/tex/context/sample/davis.tex new file mode 100644 index 00000000000..8d45c984924 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/davis.tex @@ -0,0 +1,13 @@ +This nation, turning 100 years old, had no {\em Odyssey}, no +St.~George slaying the dragon, no Prometheus. The emerging American +genius for making a lot of money was a poor substitute for King +Arthur and his knights (although the Horatio Alger myth of rags to +riches was good for a lot of mileage). Without a mythology and set +of ancient heroes to call its own, America had to manufacture its +heroes. So the mythmaking machinery of nineteenth|-|century American +media created a suitable heroic archetype in the cowboys of the Wild +West. The image was of the undaunted cattle drivers living a life of +reckless individualism, braving the elements, staving off brutal +Indian attacks. Or of heroic lawmen dueling with six|-|guns in the +streets at high noon. This artificial Wild West became America's +Iliad.
\ No newline at end of file diff --git a/Master/texmf-dist/tex/context/sample/dawkins.tex b/Master/texmf-dist/tex/context/sample/dawkins.tex new file mode 100644 index 00000000000..3490b79b021 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/dawkins.tex @@ -0,0 +1,20 @@ +I used a similar illustration in one of my Royal +Institution Christmas Lectures in 1991. I said I had reason +to believe that among my audience was a psychic, +clairvoyant individual, capable of influencing events +purely by power of thought. I would try to flush this +individual out. \quotation {Let's first establish,} I said, +\quotation {whether the psychic is in the left half or the +right half of the lecture hall.} I invited everybody to +stand up while my assistant tossed a coin. Everybody on the +left of the hall was asked to \quote {will} the coin to +come down head. Everybody on the right had to will it to be +tails. Obviously one side had to lose, and they were asked +to sit down. Then those who remained were divided into two, +with half \quote {willing} heads and the other half tails. +Again the losers sat down. And so on by successive halvings +until, inevitably, after seven or eight tosses, one +individual was left standing. \quotation {A big round of +applause for our psychic.} He must be psychic, mustn't he, +because he successfully influenced the coin eight times in +a row?
\ No newline at end of file diff --git a/Master/texmf-dist/tex/context/sample/demo-mps.tex b/Master/texmf-dist/tex/context/sample/demo-mps.tex new file mode 100644 index 00000000000..57bb690c0a0 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/demo-mps.tex @@ -0,0 +1,23 @@ +% interface=en + +\starttext + +\setupcolors + [state=start] + +\startMPpage + path p ; color c[] ; + p := fullsquare scaled 4cm ; + c[0] := transparent(1,.5,red) ; + c[1] := transparent(1,.5,green) ; + c[2] := transparent(1,.5,blue) ; + for i = 0 upto 2 : + fill p rotated (i*30) withcolor white ; + endfor ; + for i = 0 upto 2 : + fill p rotated (i*30) withcolor c[i] ; + endfor ; + addbackground withcolor transparent(1,.5,cmyk(0,0,1,0)) ; +\stopMPpage + +\stoptext
\ No newline at end of file diff --git a/Master/texmf-dist/tex/context/sample/demo-tex.tex b/Master/texmf-dist/tex/context/sample/demo-tex.tex new file mode 100644 index 00000000000..309a0acfc99 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/demo-tex.tex @@ -0,0 +1,23 @@ +% interface=en + +\setuppapersize + [S6][S6] + +\setuplayout + [width=middle, + height=middle] + +\setuphead + [chapter] + [header=high, + style=\bfc, + alternative=middle] + +\starttext + +\title{Peter D. Ward} \processfile{ward} +\title{Hermann Zapf} \processfile{zapf} +\title{Bill Bryson} \processfile{bryson} +\title{Edward R. Tufte} \processfile{tufte} + +\stoptext
\ No newline at end of file diff --git a/Master/texmf-dist/tex/context/sample/demo-xml.tex b/Master/texmf-dist/tex/context/sample/demo-xml.tex new file mode 100644 index 00000000000..bf527a74780 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/demo-xml.tex @@ -0,0 +1,53 @@ +% interface=en + +\defineXMLargument + [title] [label=] + {\title[\XMLop{label}]} + +\defineXMLenvironment + [itemize] [packed=] + {\doifelseXMLop{packed}{yes} + {\startitemize[packed]} + {\startitemize}} + {\stopitemize} + +\defineXMLenvironment + [item] + {\item} + {\par} + +\defineXMLenvironment + [p] + {\ignorespaces} + {\par} + +\starttext + +\startXMLdata +<title label="example">Just an Example</title> + +<p>There are three items:</p> + +<itemize packed="yes"> + <item>Number One</item> + <item>Number Two</item> + <item>Number Three</item> +</itemize> + +<p>And tree more</p> + +<itemize> + <item>First Line</item> + <item>Second Line</item> + <item>Third Line</item> +</itemize> +\stopXMLdata + +Instead of putting the data in here you can put it in a file, say +\type {sample.xml} and load that file using: + +\starttyping +\processXMLfilegrouped{sample.xml} +\stoptyping + +\stoptext
\ No newline at end of file diff --git a/Master/texmf-dist/tex/context/sample/douglas.tex b/Master/texmf-dist/tex/context/sample/douglas.tex new file mode 100644 index 00000000000..cf5fd50f3e6 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/douglas.tex @@ -0,0 +1,23 @@ +Donald Knuth has spent the past several years working on a +system allowing him to control many aspects of the design +of his forthcoming books|.|from the typesetting and layout +down to the very shapes of the letters! Seldom has an +author had anything remotely like this power to control the +final appearance of his or her work. Knuth's \TEX\ +typesetting system has become well|-|known and available in +many countries around the world. By contrast, his +\METAFONT\ system for designing families of typefaces has +not become as well known or available. + +In his article \quotation {The Concept of a Meta|-|Font}, +Knuth sets forth for the first time the underlying +philosophy of \METAFONT, as well as some of its products. +Not only is the concept exiting and clearly well executed, +but in my opinion the article is charmingly written as well. +However, despite my overall enthusiasm for Knuth's idea and +article, there are some points in it that I feel might be +taken wrongly by many readers, and since they are points +that touch close to my deepest interests in artificial +intelligence and esthetic theory, I felt compelled to make +some comments to clarify certain important issues raised by +\quotation {The Concept of a Meta|-|Font}. diff --git a/Master/texmf-dist/tex/context/sample/hawking.tex b/Master/texmf-dist/tex/context/sample/hawking.tex new file mode 100644 index 00000000000..e0e0cccd242 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/hawking.tex @@ -0,0 +1,7 @@ +If [in 2600] you stacked all the new books being published next to +each other, you would have to move at ninety miles an hour just to +keep up with the end of the line. Of course, by 2600 new artistic +and scientific work will come in electronic forms, rather than as +physical books and paper. Nevertheless, if the exponential growth +continued, there would be ten papers a second in my kind of +theoretical physics, and no time to read them. diff --git a/Master/texmf-dist/tex/context/sample/knuth.tex b/Master/texmf-dist/tex/context/sample/knuth.tex new file mode 100644 index 00000000000..30b6310ccd4 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/knuth.tex @@ -0,0 +1,16 @@ +Thus, I came to the conclusion that the designer of a new +system must not only be the implementer and first +large||scale user; the designer should also write the first +user manual. + +The separation of any of these four components would have +hurt \TeX\ significantly. If I had not participated fully in +all these activities, literally hundreds of improvements +would never have been made, because I would never have +thought of them or perceived why they were important. + +But a system cannot be successful if it is too strongly +influenced by a single person. Once the initial design is +complete and fairly robust, the real test begins as people +with many different viewpoints undertake their own +experiments. diff --git a/Master/texmf-dist/tex/context/sample/materie.tex b/Master/texmf-dist/tex/context/sample/materie.tex new file mode 100644 index 00000000000..5e259718678 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/materie.tex @@ -0,0 +1,50 @@ +Zaagh, of Steek||zaagh. +Domme||kraght. +Mokers. +Yzere Wiggen. +Brandt||yzer. +Hout||haak. +Spaander||haak. +Een Klaas Jacobzen. +Tange. +Nagel||hamer. +Wigge. +Oor||houten. +Kluften. +Hellen. +Steven||haken. +Hevels en Klein||touwen. +Een Koe||voet. +Schot||bouten. +Yzere ram. +Avegaar. +Een houte Ram. +Een groote Wigge daar toe. +Teer||ketel. +Slyp||steen. +Een Mal. +Rye. +Hout||bok. +Schraagh. +Vlotten. +Een Slee. +Dwars||slee. +Kaap||stander. +Bytels. +Klavaats||hamer. +Rabat||yzer. +Klavaats||yzer. +Spyker||yzer. +Werk||bytel. +Duim||stok. +Schraper. +Een Moker. +Spyker||hamertje. +Een Roffel. +Gerf||schaaf. +Odief. +Ploegen. +Handt||zaagh. +Klamp||spykers||boor, tien duims Boor. +Dissel. +Byl. diff --git a/Master/texmf-dist/tex/context/sample/reich.tex b/Master/texmf-dist/tex/context/sample/reich.tex new file mode 100644 index 00000000000..db9d4404f59 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/reich.tex @@ -0,0 +1,11 @@ +\quotation {Heavy smoke} +\quotation {Stand by, stand by} +\quotation {It's full a' smoke} +\quotation {Full a' smoke} +\quotation {Urgent} +\quotation {Guns, knives or weapons on ya?} +\quotation {Wha' were ya doin'?} +\quotation {Be careful} +\quotation {Where you go} +\quotation {Careful} +\quotation {Stand by} diff --git a/Master/texmf-dist/tex/context/sample/sample.tex b/Master/texmf-dist/tex/context/sample/sample.tex new file mode 100644 index 00000000000..44ef8ec5dc4 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/sample.tex @@ -0,0 +1,52 @@ +\starttext + +The sample directory contains a few files with quotes that can be used +while testing styles. + +I'll complete this file when I've reorganized my books and audio cd's. + +If someone makes a nice bibtex file of these, the quotes can also be +used in testing bibliographic references and citations. + +\starttabulate[|l|l|p|] +\NC \bf file \NC \bf author \NC \bf source \NC \NR +\HL +%NC stork.tex \NC David F. Stork \NC \NC \NR +\NC knuth.tex \NC Donald E. Knuth \NC \NC \NR +\NC tufte.tex \NC Edward R. Tufte \NC \NC \NR +\NC reich.tex \NC Steve Reich \NC \NC \NR +\NC materie.tex \NC Louis Andriessen \NC De Materie \NC \NR +\NC douglas.tex \NC Douglas R. Hofstadter \NC \NC \NR +\NC dawkins.tex \NC Dawkins \NC \NC \NR +\NC ward.tex \NC Peter D. Ward \NC The Life and Death of Planet Earth \NC \NR +\NC zapf.tex \NC Hermann Zapf \NC About micro-typography and the hz-program, \endgraf + Electronic Publishing, vol. 6(3), \endgraf + 283-–288 (September 1993) \NC \NR +\NC bryson.tex \NC Bill Bryson \NC A Short History of Nearly Everything, \endgraf + Random House, 2003 \NC \NR +\NC davis.tex \NC Kenneth C. Davis \NC Don't Know Much About History, \endgraf + Everything You Need to Know About American + History but Never Learned, \endgraf + HarperCollins, 2003 \NC \NR +\NC thuan.tex \NC Trinh Xuan Thuan \NC Chaos and Harmony, Perspectives on Scientific + Revolutions of the Twentieth Century, \endgraf + Oxford University Press, 2001 \NC \NR +\NC hawking.tex \NC Steve W. Hawking \NC The Universe in a Nutshell, Bantam Books + (Random House), 2001 \NC \NR +\stoptabulate + +% Tufte: This quote will always produce hyphenated text, apart from the content, +% it's a pretty good test case for protruding. + +% Ward: I should find a quote in the extremely well written Rare Earth as well. + +% A Short History of Nearly Everything: I wish that I had the memory to remember this book +% verbatim. + +% Chaos and Harmony: very nice and well written book, but the typography is rather bad: +% quite visible inter-character spacing in a text that can be typeset quite well by \TeX. + +% The Universe in a Nutshell: a beautiful designed book, (companion of A Short History +% of Time) + +\stoptext diff --git a/Master/texmf-dist/tex/context/sample/thuan.tex b/Master/texmf-dist/tex/context/sample/thuan.tex new file mode 100644 index 00000000000..e38c58489d0 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/thuan.tex @@ -0,0 +1,10 @@ +Had our solar system included two suns, the problem would have +involved three bodies (the two suns and each planet), and chaos +would have been immediately obvious. Planets would have had +erratic and unpredictable orbits, and creatures living on one +of these planets would never have been able to percieve the +slightest harmony. Nor would it have occurred to them that the +universe might be ruled by laws and that it is up to man's +intellect to discover them. Besides, it is not at all obvious +that life and conscience could even emerge in such a chaotic +system.
\ No newline at end of file diff --git a/Master/texmf-dist/tex/context/sample/tufte.tex b/Master/texmf-dist/tex/context/sample/tufte.tex new file mode 100644 index 00000000000..1b54d278055 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/tufte.tex @@ -0,0 +1,13 @@ +We thrive in information||thick worlds because of our +marvelous and everyday capacity to select, edit, +single out, structure, highlight, group, pair, merge, +harmonize, synthesize, focus, organize, condense, +reduce, boil down, choose, categorize, catalog, classify, +list, abstract, scan, look into, idealize, isolate, +discriminate, distinguish, screen, pigeonhole, pick over, +sort, integrate, blend, inspect, filter, lump, skip, +smooth, chunk, average, approximate, cluster, aggregate, +outline, summarize, itemize, review, dip into, +flip through, browse, glance into, leaf through, skim, +refine, enumerate, glean, synopsize, winnow the wheat +from the chaff and separate the sheep from the goats. diff --git a/Master/texmf-dist/tex/context/sample/ward.tex b/Master/texmf-dist/tex/context/sample/ward.tex new file mode 100644 index 00000000000..a95b90f5f66 --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/ward.tex @@ -0,0 +1,5 @@ +The Earth, as a habitat for animal life, is in old age and +has a fatal illness. Several, in fact. It would be happening +whether humans had ever evolved or not. But our presence is +like the effect of an old|-|age patient who smokes many packs +of cigarettes per day |.| and we humans are the cigarettes.
\ No newline at end of file diff --git a/Master/texmf-dist/tex/context/sample/zapf.tex b/Master/texmf-dist/tex/context/sample/zapf.tex new file mode 100644 index 00000000000..f73835b1cca --- /dev/null +++ b/Master/texmf-dist/tex/context/sample/zapf.tex @@ -0,0 +1,11 @@ +Coming back to the use of typefaces in electronic +publishing: many of the new typographers receive their +knowledge and information about the rules of typography +from books, from computer magazines or the instruction +manuals which they get with the purchase of a PC or +software. There is not so much basic instruction, as of +now, as there was in the old days, showing the differences +between good and bad typographic design. Many people are +just fascinated by their PC's tricks, and think that a +widely||praised program, called up on the screen, will make +everything automatic from now on.
\ No newline at end of file |