context-todo.tex /size: 5199 b    last modification: 2021-10-28 13:50
1\setuplayout
2  [width=middle,
3   height=middle,
4   topspace=2cm,
5   header=0pt,
6   footer=1cm]
7
8\setupbodyfont
9  [bookman]
10
11\usemodule
12  [punk,abr-02]
13
14\setuphead
15  [section]
16  [color=ColorThree,
17   style=\bfb]
18
19\setupitemgroup
20  [itemize] [each]
21  [packed] [color=ColorThree,symcolor=ColorThree]
22
23\setupfooter
24  [color=ColorThree,
25   style=bold]
26
27\setupfootertexts
28  [pagenumber]
29
30\setupwhitespace
31  [big]
32
33\definefont[PunkFont][demo@punk at 20pt]
34
35% \def\aterm{\sym{?}}
36% \def\rterm{\sym{--}}
37% \def\dterm{\sym{+}}
38% \def\pterm{\sym{!}}
39%
40% \startitemize[packed]
41%     \aterm on the agenda (update, extension, rewrite)
42%     \rterm no longer on the agenda, rejected
43%     \dterm no longer on the agenda, done
44%     \pterm work in progress (so keep an eye on the betas)
45% \stopitemize
46
47\definecolor[ColorOne]  [c=0.5,m=0.2,y=0.5,k=0.2]
48\definecolor[ColorTwo]  [c=0.5,m=0.5,y=0.1,k=0.1]
49\definecolor[ColorThree][c=0.1,m=1.0,y=1.0,k=0.2]
50
51\starttext
52
53\startMPpage
54    StartPage ;
55        numeric n ; n := 200 ;
56        numeric o ; o :=  25 ;
57
58        pair p[] ;
59        for i=1 upto n :
60            p[i] = (o + uniformdeviate (PaperWidth-2*o), o + uniformdeviate (PaperHeight-2*o)) ;
61        endfor ;
62
63        picture d ; d := image (      for i=1 upto n :             draw p[i] ; endfor ) ;
64        picture l ; l := image ( draw for i=1 upto n : if i > 1 : -- fi p[i]   endfor ) ;
65        picture t ; t := textext("\framed[frame=off,align={middle,lohi},foregroundcolor=ColorThree,foregroundstyle=\PunkFont]{\ConTeXt\endgraf MkIV\endgraf\kern-\strutdepth RoadMap}") ;
66
67        fill Page enlarged 10 withcolor "ColorOne" ;
68
69        draw d withcolor white      withpen pencircle scaled  o      ;
70        draw d withcolor "ColorTwo" withpen pencircle scaled (o - 5) ;
71        draw l withcolor white      withpen pencircle scaled (o / 5) ;
72        draw l withcolor "ColorTwo" withpen pencircle scaled (o /10) ;
73        draw thelabel.ulft((t xsized .5PaperWidth),lrcorner Page shifted - (PaperWidth/20,-PaperWidth/40)) ;
74    StopPage ;
75\stopMPpage
76
77\startsubject[title={Introduction}]
78
79There is not really a long term roadmap for development. One reason is that there
80is already a lot available. When we started with \LUATEX, the \CONTEXT\ code was
81mostly rewritten from \MKII\ to \MKIV, and that process is more of less finished.
82Of course there is always work left. We have moved on to \LUAMETATEX\ and \LMTX\
83as follow up on \MKIV. Deep down some things might (and will) change but the user
84interface will stay the same (as usual).
85
86This file is not a complete overview of our plans but users can at least get an
87idea of what we're working on and what is coming. Feel free to submit
88suggestions.
89
90\startlines
91Hans Hagen
92Hasselt NL
93\currentdate
94\stoplines
95
96\stopsubject
97
98\startsubject[title={On the agenda for \LUAMETATEX}]
99
100The agenda for \LUATEX\ is basically empty as this program is (supposed to be)
101frozen, but for \LUAMETATEX\ we can still consider improvements. In fact, there
102are quite some changes between the engines already (internally). Items that
103concern \LUATEX\ have been removed from the agenda but some improvements in
104\LUAMETATEX\ might trickle back.
105
106\startitemize
107    \startitem
108        cleanup passive nodes in the par builder
109    \stopitem
110    \startitem
111        optimize some callback resolution (more direct) but there is not that
112        much to gain there
113    \stopitem
114    \startitem
115        remove local par in head of line when done with linebreak and maybe also
116        ensure leftskip and rightskip
117    \stopitem
118    \startitem
119        only return nil in lua helpers when we expect multiple calls in in one
120        line
121    \stopitem
122    \startitem
123        experiment a bit more with the new protrusion code
124    \stopitem
125\stopitemize
126
127\stopsubject
128
129\startsubject[title={On the agenda for \CONTEXT\ \MKIV}]
130
131\startitemize
132    \startitem
133        play with par callback and properties
134    \stopitem
135    \startitem
136        optimize positions for columnareas and parpos (sequential)
137    \stopitem
138    \startitem
139        add flag to font for math engine
140    \stopitem
141    \startitem
142        get rid of components in glyph nodes
143    \stopitem
144    \startitem
145        play with box attributes
146    \stopitem
147    \startitem
148        check consistency between footnotes and running text (main color,
149        styles, properties)
150    \stopitem
151    \startitem
152        freeze actions and tasks (by name or function), maybe a register
153        function that does that so no one can overload built-in features
154    \startitem
155        redo some of the spacing (adapt to improvements in engine)
156    \stopitem
157    \startitem
158        more node and code injections
159    \stopitem
160    \startitem
161        maybe reorganize position data (more subtables)
162    \stopitem
163    \startitem
164        use \type {\matheqnogapstep}, \type {\Ustack}, \type {\mathscriptsmode},
165        \type {\mathdisplayskipmode} and other new math primitives
166    \stopitem
167    \startitem
168        cleanup some lua helpers (io.exists vs lfs.isfile)
169    \stopitem
170\stopitemize
171
172% should be in lpdf namespace:
173%
174% ./grph-pat.lua     69:             local l = new_literal(lpdf.patternstream(p,width,height))
175
176
177\stopsubject
178
179\stoptext
180