1 |
Hi, |
2 |
|
3 |
Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>: |
4 |
> I'm going to be with laptop stuck in the middle of wet, miserable, |
5 |
> rainy nowhere |
6 |
|
7 |
That sounds like Scotland. |
8 |
|
9 |
> and relying upon a very slow and dodgy mobile internet |
10 |
> connection over Easter weekend, so that'll give me something to do. |
11 |
|
12 |
Great. |
13 |
|
14 |
Anyway, the implementation of that label thing is really easy and |
15 |
straightforward. But there are still two options: |
16 |
|
17 |
a) redefine \label, so it always displays its parameter in the margin. |
18 |
b) use a new \pmslabel and \pmsref command which will set a label and |
19 |
display it in the margin without touching the original \label command. |
20 |
\pmsref would then display something like "eapi2:phase:src_install on |
21 |
page 5". So using \ref will still return the section. |
22 |
|
23 |
Implementation differs only in detail, a) allows using the standard |
24 |
commands, b) needs the writer to think about what he does. I vote for |
25 |
b) as a) may break in funny environments as floats and friends (table, |
26 |
figure, minipage etc.). |
27 |
We can talk about the look of the reference and margin label later, |
28 |
but I propose a normal text for the reference and a framed box for the |
29 |
margin label. |
30 |
Next thing. Putting those labels in the margin of the page makes it |
31 |
quite crowded. From a typographical point of view your page layout is |
32 |
just horrible. So I propose a redesign of the text and white space |
33 |
proportions, which will lead to larger margins all around (and pushing |
34 |
the PMS beyond 100 pages, according to my first test runs) |
35 |
|
36 |
Timeframe? You want EAPI 3 to go in before I do my stuff here: |
37 |
|
38 |
i) factor out pms.cls and comment the preamble a bit |
39 |
ii) cheat sheet with EAPI 3 |
40 |
iii) provide named \label and \ref commands |
41 |
iv) redesing page layout |
42 |
|
43 |
V-Li |
44 |
|
45 |
-- |
46 |
Christian Faulhammer, Gentoo Lisp project |
47 |
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode |
48 |
|
49 |
<URL:http://gentoo.faulhammer.org/> |