summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/s-pre-14.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-11-16 01:02:47 +0000
committerKarl Berry <karl@freefriends.org>2006-11-16 01:02:47 +0000
commit3c85b55e2f245fb7edac7e445f107e6d0bb423ae (patch)
treec62b7f80edafe0455310d08e09f4218127bf9e87 /Master/texmf-dist/tex/context/base/s-pre-14.tex
parente5ecff27a26ef59e1dbe9702677687fd7107be3a (diff)
context update
git-svn-id: svn://tug.org/texlive/trunk@2444 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/s-pre-14.tex')
-rw-r--r--Master/texmf-dist/tex/context/base/s-pre-14.tex68
1 files changed, 34 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/context/base/s-pre-14.tex b/Master/texmf-dist/tex/context/base/s-pre-14.tex
index 7a777c27edf..f44117e7c9c 100644
--- a/Master/texmf-dist/tex/context/base/s-pre-14.tex
+++ b/Master/texmf-dist/tex/context/base/s-pre-14.tex
@@ -15,18 +15,18 @@
%D In the process of making a couple of simple styles for
%D \EUROTEX\ 99, I came to this one. The joke is in the
%D pagenumber. This style can be used for short presentations
-%D with much text.
+%D with much text.
\startmode[asintended] \setupbodyfont[lbr] \stopmode
\setupbodyfont[14.4pt]
-%D Since we expect text, we can best be very tolerant.
+%D Since we expect text, we can best be very tolerant.
-\setuptolerance
+\setuptolerance
[verytolerant,stretch]
-%D As most styles we choose a large screen page size.
+%D As most styles we choose a large screen page size.
\setuppapersize
[S6][S6]
@@ -42,8 +42,8 @@
topspace=1cm,
backspace=1cm]
-%D We only use two colors, named \type {One} and \type
-%D {Two}:
+%D We only use two colors, named \type {One} and \type
+%D {Two}:
\setupcolors
[state=start]
@@ -54,15 +54,15 @@
%D If you've looked at the demo file, you will have noticed
%D that the background consists of four pieces: two filled
%D rectangles and two half numbers. These are put on th epage
-%D using four overlays:
+%D using four overlays:
\setupbackgrounds
[page]
- [background={one,two,three,four}]
+ [background={one,two,three,four}]
%D When we code this in \TEX, we get the following
%D definitions. As an alternative we coudl have used layers
-%D but I'm afraid that it would not have led to less code.
+%D but I'm afraid that it would not have led to less code.
\defineoverlay
[one]
@@ -80,8 +80,8 @@
width=\overlaywidth,height=\overlayheight]
{}}}]
-%D We could have used the main backgroundcolor instead of
-%D overlay \type {one}.
+%D We could have used the main backgroundcolor instead of
+%D overlay \type {one}.
\definefont[NumberFont][RegularBold at 3cm]
@@ -123,7 +123,7 @@
\edef\overlaywidth{\the\scratchdimen}}
%D A much cleaner implementation is the following. If you hate
-%D \METAPOST, you can run this style in the specified mode:
+%D \METAPOST, you can run this style in the specified mode:
\startnotmode[no-metapost]
@@ -135,36 +135,36 @@
\startuseMPgraphic{number}
StartPage ;
- path Vage ; picture Left, Right ;
+ path Vage ; picture Left, Right ;
x1 = x2 = xpart (llcorner Field[Text][RightEdge] shifted (-RightEdgeDistance/2,0)) ;
y1 = ypart llcorner Page ;
y2 = ypart ulcorner Page ;
Vage := llcorner Page -- z1 -- z2 -- ulcorner Page -- cycle ;
fill Page withcolor \MPcolor {One} ;
fill Vage withcolor \MPcolor {Two} ;
- if PageNumber>0 :
+ if PageNumber>0 :
defaultfont := "\truefontname{RegularBold}" ;
- Left := Right := thelabel("\folio",origin) ysized 3cm ;
- clip Right to boundingbox Right shifted (bbwidth(Right)/2,0) ;
+ Left := Right := thelabel("\folio",origin) ysized 3cm ;
+ clip Right to boundingbox Right shifted (bbwidth(Right)/2,0) ;
draw Left shifted z1 shifted (0,2.25cm) withcolor \MPcolor {One} ;
draw Right shifted z1 shifted (0,2.25cm) withcolor \MPcolor {Two} ;
- fi ;
+ fi ;
StopPage ;
\stopuseMPgraphic
\stopnotmode
-%D We use the simple label typesetting present in \METAPOST\
-%D because digits are seldom kerned so real \TEX ing is not
-%D needed. As in the previous method, we let the graphics
-%D overlap so that we don't get white lines due to rounding
-%D problems in viewers.
-%D
+%D We use the simple label typesetting present in \METAPOST\
+%D because digits are seldom kerned so real \TEX ing is not
+%D needed. As in the previous method, we let the graphics
+%D overlap so that we don't get white lines due to rounding
+%D problems in viewers.
+%D
%D We put a button behind the text (this overlay is calculated
-%D each page).
+%D each page).
-\defineoverlay
- [nextpage]
+\defineoverlay
+ [nextpage]
[\overlaybutton{nextpage}]
\setupbackgrounds
@@ -183,7 +183,7 @@
[color=,
contrastcolor=]
-%D Next we define structuring commands.
+%D Next we define structuring commands.
\definehead[Topic] [chapter] \setuphead[Topic] [style=\bfc]
\definehead[Subject][section] \setuphead[Subject][style=\bfa]
@@ -193,12 +193,12 @@
[number=no,
after={\blank[big]}]
-%D Because we will provide a menu, we don't offer lists.
+%D Because we will provide a menu, we don't offer lists.
\let\Topics \gobbleoneargument
\let\Subjects\relax
-%D The table of contents goes to the right edge.
+%D The table of contents goes to the right edge.
\startinteractionmenu[right]
\setupinteraction
@@ -218,7 +218,7 @@
maxwidth=\rightedgewidth,
style=\bfa]
-%D We safe some space:
+%D We safe some space:
\setupwhitespace
[medium]
@@ -226,8 +226,8 @@
\setupblank
[medium]
-%D In the titlepage, we still use the \TEX\ overlays,
-%D so that we don't have to define a second graphic.
+%D In the titlepage, we still use the \TEX\ overlays,
+%D so that we don't have to define a second graphic.
\def\TitlePage#1%
{\StartTitlePage#1\StopTitlePage}
@@ -246,7 +246,7 @@
\stopstandardmakeup
\egroup}
-%D This is it.
+%D This is it.
\doifnotmode{demo}{\endinput}
@@ -259,6 +259,6 @@
\Topic{Reich} \input reich
\Topic{Zapf} \input zapf
\Topic{Materie} \input materie
-\Topic{Stork} \input stork
+%Topic{Stork} \input stork
\stoptext