version 1.20, 2010/07/02 10:43:21 |
version 1.24, 2010/07/05 10:45:14 |
|
|
\\ must behave in a macro def like in a macro argument, |
\\ must behave in a macro def like in a macro argument, |
and when using the macro, it must expand yet again. |
and when using the macro, it must expand yet again. |
|
|
|
- implement \s (physical font size) |
|
\sN - set to N |
|
\s+N - increment by N, 1 <= N <= 8 |
|
\s-N - decrement by N, 1 <= N <= 8 |
|
\s0 - restore previous size |
|
\s(nn \s+-(nn \s'+-nn' \s+-'nn' \s[+-nn] \s+-[nn] - disambiguate |
|
registers: .s .ps .sr .psr |
|
used by e.g. cu(1), tip(1) |
|
|
- look at bsd.lv tbl(1) |
- look at bsd.lv tbl(1) |
from kristaps@ Fri, 11 Sep 2009 17:10:53 +0200 |
from kristaps@ Fri, 11 Sep 2009 17:10:53 +0200 |
also look at the mail from Thomas Klausner wiz at NetBSD |
also look at the mail from Thomas Klausner wiz at NetBSD |
|
|
|
|
Several areas can be cleaned up to make mandoc even faster. These are |
Several areas can be cleaned up to make mandoc even faster. These are |
|
|
- improve caching mechanism to handle other per-element arguments so |
|
that they need not be recalculated between front- and back-ends (also |
|
reduces code size and complexity): |
|
`Bl -column' pointer |
|
`Bf' font type |
|
|
|
- improve hashing mechanism for macros (quite important: performance) |
- improve hashing mechanism for macros (quite important: performance) |
|
|
- improve hashing mechanism for characters (not as important) |
- improve hashing mechanism for characters (not as important) |
|
|
|
************************************************************************ |
|
* structural issues |
|
************************************************************************ |
|
|
|
- The regs.h functionality and the roff_getstrn() family should be moved |
|
into mandoc.c, which should be accessable by libroff, libmdoc, and |
|
libman. Right now there's pollution between these libraries. |
|
|