summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/context-todo.tex
blob: 6aa5bca08a883682507a1301c41b93f33a090faa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
\setuplayout
  [width=middle,
   height=middle,
   topspace=2cm,
   header=0pt,
   footer=1cm]

\setupbodyfont
  [bookman]

\usemodule
  [punk,abr-02]

\setuphead
  [section]
  [color=ColorThree,
   style=\bfb]

\setupitemgroup
  [itemize] [each]
  [packed] [color=ColorThree,symcolor=ColorThree]

\setupfooter
  [color=ColorThree,
   style=bold]

\setupfootertexts
  [pagenumber]

\setupwhitespace
  [big]

\definefont[PunkFont][demo@punk at 20pt]

% \def\aterm{\sym{?}}
% \def\rterm{\sym{--}}
% \def\dterm{\sym{+}}
% \def\pterm{\sym{!}}
%
% \startitemize[packed]
%     \aterm on the agenda (update, extension, rewrite)
%     \rterm no longer on the agenda, rejected
%     \dterm no longer on the agenda, done
%     \pterm work in progress (so keep an eye on the betas)
% \stopitemize

\definecolor[ColorOne]  [c=0.5,m=0.2,y=0.5,k=0.2]
\definecolor[ColorTwo]  [c=0.5,m=0.5,y=0.1,k=0.1]
\definecolor[ColorThree][c=0.1,m=1.0,y=1.0,k=0.2]

\starttext

\startMPpage
    StartPage ;
        numeric n ; n := 200 ;
        numeric o ; o :=  25 ;

        pair p[] ;
        for i=1 upto n :
            p[i] = (o + uniformdeviate (PaperWidth-2*o), o + uniformdeviate (PaperHeight-2*o)) ;
        endfor ;

        picture d ; d := image (      for i=1 upto n :             draw p[i] ; endfor ) ;
        picture l ; l := image ( draw for i=1 upto n : if i > 1 : -- fi p[i]   endfor ) ;
        picture t ; t := textext("\framed[frame=off,align={middle,lohi},foregroundcolor=ColorThree,foregroundstyle=\PunkFont]{\ConTeXt\endgraf MkIV\endgraf\kern-\strutdepth RoadMap}") ;

        fill Page enlarged 10 withcolor "ColorOne" ;

        draw d withcolor white      withpen pencircle scaled  o      ;
        draw d withcolor "ColorTwo" withpen pencircle scaled (o - 5) ;
        draw l withcolor white      withpen pencircle scaled (o / 5) ;
        draw l withcolor "ColorTwo" withpen pencircle scaled (o /10) ;
        draw thelabel.ulft((t xsized .5PaperWidth),lrcorner Page shifted - (PaperWidth/20,-PaperWidth/40)) ;
    StopPage ;
\stopMPpage

\startsubject[title={Introduction}]

There is not really a long term roadmap for development. One reason is that there
is already a lot available. When we started with \LUATEX, the \CONTEXT\ code was
mostly rewritten from \MKII\ to \MKIV, and that process is more of less finished.
Of course there is always work left. We have moved on to \LUAMETATEX\ and \LMTX\
as follow up on \MKIV. Deep down some things might (and will) change but the user
interface will stay the same (as usual).

This file is not a complete overview of our plans but users can at least get an
idea of what we're working on and what is coming. Feel free to submit
suggestions.

\startlines
Hans Hagen
Hasselt NL
\currentdate
\stoplines

\stopsubject

\startsubject[title={On the agenda for \LUAMETATEX}]

The agenda for \LUATEX\ is basically empty as this program is (supposed to be)
frozen, but for \LUAMETATEX\ we can still consider improvements. In fact, there
are quite some changes between the engines already (internally). Items that
concern \LUATEX\ have been removed from the agenda but some improvements in
\LUAMETATEX\ might trickle back.

\startitemize
    \startitem
        cleanup passive nodes in the par builder
    \stopitem
    \startitem
        optimize some callback resolution (more direct) but there is not that
        much to gain there
    \stopitem
    \startitem
        remove local par in head of line when done with linebreak and maybe also
        ensure leftskip and rightskip
    \stopitem
    \startitem
        only return nil in lua helpers when we expect multiple calls in in one
        line
    \stopitem
    \startitem
        experiment a bit more with the new protrusion code
    \stopitem
\stopitemize

\stopsubject

\startsubject[title={On the agenda for \CONTEXT\ \MKIV}]

\startitemize
    \startitem
        play with par callback and properties
    \stopitem
    \startitem
        optimize positions for columnareas and parpos (sequential)
    \stopitem
    \startitem
        add flag to font for math engine
    \stopitem
    \startitem
        get rid of components in glyph nodes
    \stopitem
    \startitem
        play with box attributes
    \stopitem
    \startitem
        check consistency between footnotes and running text (main color,
        styles, properties)
    \stopitem
    \startitem
        freeze actions and tasks (by name or function), maybe a register
        function that does that so no one can overload built-in features
    \startitem
        redo some of the spacing (adapt to improvements in engine)
    \stopitem
    \startitem
        more node and code injections
    \stopitem
    \startitem
        maybe reorganize position data (more subtables)
    \stopitem
    \startitem
        use \type {\matheqnogapstep}, \type {\Ustack}, \type {\mathscriptsmode},
        \type {\mathdisplayskipmode} and other new math primitives
    \stopitem
    \startitem
        cleanup some lua helpers (io.exists vs lfs.isfile)
    \stopitem
\stopitemize

\stopsubject

\stoptext