diff options
Diffstat (limited to 'tex/context/modules/common')
-rw-r--r-- | tex/context/modules/common/s-abr-01.tex | 4 | ||||
-rw-r--r-- | tex/context/modules/common/s-pre-00.tex | 2 | ||||
-rw-r--r-- | tex/context/modules/common/s-pre-12.tex | 92 | ||||
-rw-r--r-- | tex/context/modules/common/s-pre-16.tex | 80 | ||||
-rw-r--r-- | tex/context/modules/common/s-pre-23.tex | 14 | ||||
-rw-r--r-- | tex/context/modules/common/s-pre-50.tex | 6 |
6 files changed, 101 insertions, 97 deletions
diff --git a/tex/context/modules/common/s-abr-01.tex b/tex/context/modules/common/s-abr-01.tex index 00a1a5c1e..fd6c66419 100644 --- a/tex/context/modules/common/s-abr-01.tex +++ b/tex/context/modules/common/s-abr-01.tex @@ -127,7 +127,8 @@ \logo [GUST] {Gust} \logo [GCC] {gcc} \logo [GWTEX] {gw\TeX} -\logo [HSB] {hsb} +\logo [HSB] {hsb} % ? +\logo [HSV] {hsv} \logo [HTML] {html} \logo [HTTP] {http} \logo [HZ] {hz} @@ -178,6 +179,7 @@ \logo [METATYPE] {MetaType1} \logo [MODULA] {Modula} \logo [MOV] {mov} +\logo [MPEG] {mpeg} \logo [MPS] {mps} \logo [MPTOPDF] {mptopdf} \logo [MPLIB] {mplib} diff --git a/tex/context/modules/common/s-pre-00.tex b/tex/context/modules/common/s-pre-00.tex index 7f217d5bb..2acbc13b7 100644 --- a/tex/context/modules/common/s-pre-00.tex +++ b/tex/context/modules/common/s-pre-00.tex @@ -11,6 +11,8 @@ %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. +% This might go away! + %D This module provides some non core functionality that can %D be used in the presentations styles. This module contains %D experimental macros. diff --git a/tex/context/modules/common/s-pre-12.tex b/tex/context/modules/common/s-pre-12.tex index 23418fbba..64949e30c 100644 --- a/tex/context/modules/common/s-pre-12.tex +++ b/tex/context/modules/common/s-pre-12.tex @@ -63,7 +63,7 @@ \dorecurse{\CurrentMaxItem} {\startMPdrawing initialize_box(\MPpos{item-\realfolio-\recurselevel}) ; - linewidth := .25cm ; + linewidth := .25cm ; p := tensecircle (wxy,hxy,linewidth) shifted cxy ; fill p withcolor .9white ; pickup pencircle scaled linewidth ; @@ -73,8 +73,8 @@ \else draw p withcolor \MPcolor{DoneColor} ; \fi - dxab := xpart a-xpart b ; - dyab := ypart a-ypart b ; + dxab := xpart a-xpart b ; + dyab := ypart a-ypart b ; sign := if dyab>0 : - fi 1 ; drawarrow a -- @@ -82,7 +82,7 @@ if abs(dyab)>4linewidth : a shifted (-dxab/2,+sign*2linewidth) -- b shifted (+dxab/2,-sign*2linewidth) .. - fi + fi {left} b shifted (-2linewidth+dxab/2,0) -- b withcolor \MPcolor{ArrowColor} ; @@ -107,7 +107,7 @@ \setupinteraction[color=GotoColor,contrastcolor=GotoColor] \defineoverlay [shape] [\SomeShape] -\defineoverlay [next] [\overlaybutton{forward}] +\defineoverlay [next] [\overlaybutton{forward}] \setupbackgrounds [page] @@ -183,44 +183,44 @@ \vfil#1\vfil\vfil \stopstandardmakeup} -\endinput - -% \starttext -% -% \StartIdea -% \StartTopic -% What a topic -% \StopTopic -% \StartItem -% \input reich \relax -% \StopItem -% \StartItem -% \input reich \relax -% \StopItem -% \StartItem -% \input reich \relax -% \StopItem -% \StopIdea -% -% \StartIdea -% \StartTopic -% One More Nice Idea -% \StopTopic -% \StartItem -% \input reich \relax -% \StopItem -% \StartItem -% \input reich \relax -% \StopItem -% \StopIdea -% -% \StartIdea -% \StartTopic -% The Last Idea -% \StopTopic -% \StartItem -% \input tufte \relax -% \StopItem -% \StopIdea -% -% \stoptext +\doifnotmode{demo}{\endinput} + +\starttext + +\StartIdea + \StartTopic + What a topic + \StopTopic + \StartItem + \input reich \relax + \StopItem + \StartItem + \input reich \relax + \StopItem + \StartItem + \input reich \relax + \StopItem +\StopIdea + +\StartIdea + \StartTopic + One More Nice Idea + \StopTopic + \StartItem + \input reich \relax + \StopItem + \StartItem + \input reich \relax + \StopItem +\StopIdea + +\StartIdea + \StartTopic + The Last Idea + \StopTopic + \StartItem + \input tufte \relax + \StopItem +\StopIdea + +\stoptext diff --git a/tex/context/modules/common/s-pre-16.tex b/tex/context/modules/common/s-pre-16.tex index 715936890..a7e127828 100644 --- a/tex/context/modules/common/s-pre-16.tex +++ b/tex/context/modules/common/s-pre-16.tex @@ -1,6 +1,6 @@ %D \module %D [ file=s-pre-16, -%D version=1999.09.01, +%D version=1999.09.01, %D title=\CONTEXT\ Style File, %D subtitle=Presentation Environment 16, %D author=Hans Hagen, @@ -13,7 +13,7 @@ %D The first version of this style was made late summer 1999, %D but its first usage was during a course I gave in BRNO. -%D It's a rather simple style with a dominating background. +%D It's a rather simple style with a dominating background. \setuppapersize [S6][S6] @@ -42,11 +42,11 @@ [state=start] \definecolor[gray] [s=.4] -\definecolor[white][s=.8] +\definecolor[white][s=.8] -\definecolor[red] [r=.8] \definecolor[cyan] [g=.8,b=.8] -\definecolor[green][g=.8] \definecolor[magenta][r=.8,b=.8] -\definecolor[blue] [b=.8] \definecolor[yellow] [r=.8,g=.8] +\definecolor[red] [r=.8] \definecolor[cyan] [g=.8,b=.8] +\definecolor[green][g=.8] \definecolor[magenta][r=.8,b=.8] +\definecolor[blue] [b=.8] \definecolor[yellow] [r=.8,g=.8] \definecolor[PageColor][gray] \definecolor[TextColor][yellow] @@ -66,49 +66,49 @@ symbol=FuzzyDot] \startuseMPgraphic{FuzzyCircle} - path p ; numeric w, h, l ; - w := OverlayWidth ; h := OverlayHeight ; - def dd = (1 randomized (1/5)) enddef ; + path p ; numeric w, h, l ; + w := OverlayWidth ; h := OverlayHeight ; + def dd = (1 randomized (1/5)) enddef ; pickup pencircle xscaled 10pt yscaled 2pt rotated 30; - for i:=1 upto 50 : - p := (-dd,-dd)..(dd,-dd)..(dd,dd)..(-dd,dd)..cycle ; - p := p rotatedaround (center p, uniformdeviate 360) ; - p := p xscaled (w/2) yscaled (h/2) ; - l := length(p)/2 ; - p := p cutbefore point (uniformdeviate l) of p ; - p := p cutafter point (l+uniformdeviate l) of p ; + for i:=1 upto 50 : + p := (-dd,-dd)..(dd,-dd)..(dd,dd)..(-dd,dd)..cycle ; + p := p rotatedaround (center p, uniformdeviate 360) ; + p := p xscaled (w/2) yscaled (h/2) ; + l := length(p)/2 ; + p := p cutbefore point (uniformdeviate l) of p ; + p := p cutafter point (l+uniformdeviate l) of p ; draw p withcolor \MPcolor{LineColor} randomized (.4,1) ; - endfor ; + endfor ; picture s ; s := currentpicture xysized (w-15,h-15) ; currentpicture := nullpicture ; - fill boundingbox s enlarged 60pt withcolor \MPcolor{PageColor} ; - addto currentpicture also s ; + fill boundingbox s enlarged 60pt withcolor \MPcolor{PageColor} ; + addto currentpicture also s ; \stopuseMPgraphic \startuseMPgraphic{FuzzyDot} - path p ; numeric w ; - w := BodyFontSize/2 ; - def dd = (w randomized (w/2)) enddef ; + path p ; numeric w ; + w := BodyFontSize/2 ; + def dd = (w randomized (w/2)) enddef ; pickup pencircle xscaled (w/2) yscaled (w/3) rotated 30 ; - for i=0 step 45 until 135 : + for i=0 step 45 until 135 : p := (-dd,0)--(dd,0) ; p := p rotatedaround (origin,i-w+uniformdeviate w) ; draw p withcolor \MPcolor{LineColor} randomized (.3,.8) ; - endfor ; + endfor ; \stopuseMPgraphic \defineoverlay [FuzzyCircle] [\useMPgraphic{FuzzyCircle}] \defineoverlay [GoOn] [{\setupinteraction[click=no]\overlaybutton{forward}}] \defineoverlay [Again] [\overlaybutton{firstpage}] -\definesymbol - [FuzzyDot] +\definesymbol + [FuzzyDot] [\lower\dp\strutbox\hbox{\useMPgraphic{FuzzyDot}}] \def\Item% {\par\noindent\symbol[FuzzyDot]\hskip.5em\nobreak} -\setupitemize +\setupitemize [all] [packed] [symbol=FuzzyDot] @@ -134,15 +134,15 @@ [alternative=g, interaction=all] -%D Since we want a colored text, and since color directive -%D can spoil the spacing, we use a foregroundcolor. +%D Since we want a colored text, and since color directive +%D can spoil the spacing, we use a foregroundcolor. \setupbackgrounds [text] [foregroundcolor=TextColor] -%D Unfortunately this does not work when on the page colors -%D are set, so we play safe and say: +%D Unfortunately this does not work when on the page colors +%D are set, so we play safe and say: \setupmakeup [standard] @@ -165,13 +165,13 @@ \stopcolumns \page} -%D Some fakes. +%D Some fakes. \def\Subject {\Topic} \def\Subjects {} -%D A bonus (copied from \type {s-pre-02} but with a different -%D vertical alignment. +%D A bonus (copied from \type {s-pre-02} but with a different +%D vertical alignment. \def\StartTitlePage% {\startstandardmakeup @@ -188,16 +188,16 @@ {\StartTitlePage#1\StopTitlePage} \doifnotmode{demo}{\endinput} - -\starttext + +\starttext \Topics{...} -\StartIdea +\StartIdea \Topic{...} - ... - \NextIdea + ... + \NextIdea ... \StopIdea -\stoptext +\stoptext diff --git a/tex/context/modules/common/s-pre-23.tex b/tex/context/modules/common/s-pre-23.tex index f9983a89e..c5ae82eed 100644 --- a/tex/context/modules/common/s-pre-23.tex +++ b/tex/context/modules/common/s-pre-23.tex @@ -14,7 +14,7 @@ %D This style looks a lot like number 22. This time we don't %D cycle but build up the page. One can click on the text go %D to the page wanted. Clicking on the titl ebrings you to the -%D previous page. +%D previous page. \startmode [demo] \disablemode[demo] \usemodule[pre-22] \enablemode[demo] @@ -24,13 +24,13 @@ \usemodule[pre-22] \stopnotmode -%D We use a simple two||color scheme. +%D We use a simple two||color scheme. \definecolor[DotColor][r=.5,g=.6,b=.7] \definecolor[TopColor][r=.7,g=.6,b=.5] \definecolor[BotColor][TopColor] -%D We will not delay page building. +%D We will not delay page building. \let\BuildPage\relax @@ -51,14 +51,14 @@ \setlayer[temp]{\foundbox{Subtext}\CurrentSummary} \stopstandardmakeup} -%D The title page is not added to the main layer (or -%D actually, it is, but we erase the layer before it's -%D used). +%D The title page is not added to the main layer (or +%D actually, it is, but we erase the layer before it's +%D used). \long\def\MakeTitlePage#1#2% {\startstandardmakeup \definereference[thispage][] - \switchtobodyfont[32pt] + \switchtobodyfont[32pt] \StartSummary{#1}{}#2\StopSummary \resetlayer[main] \setlayer[temp]{\foundbox{Summary}\CurrentSummary} diff --git a/tex/context/modules/common/s-pre-50.tex b/tex/context/modules/common/s-pre-50.tex index ff3e48631..8b55cf67a 100644 --- a/tex/context/modules/common/s-pre-50.tex +++ b/tex/context/modules/common/s-pre-50.tex @@ -90,9 +90,9 @@ \StartSteps \title[whow]{How Much?} \FlushStep - \item More \FlushStep - \item And More \FlushStep - \item And Even More \FlushStep + \startitem More \stopitem \FlushStep + \startitem And More \stopitem \FlushStep + \startitem And Even More \stopitem \FlushStep \StartStep And So On \StopStep |