13 |
# Now, this is the start of the REAL demo, the one |
# Now, this is the start of the REAL demo, the one |
14 |
# with Xanadu links between PDF and text. |
# with Xanadu links between PDF and text. |
15 |
|
|
|
screensize = (1024, 768) # assuming XGA projector. |
|
|
|
|
|
# center = little above physical center |
|
|
screenctr = (0.9 * screensize[0]/2, screensize[1]/2) |
|
16 |
|
|
17 |
# Slow animation for the demo. |
# Slow animation for the demo. |
18 |
AbstractUpdateManager.defaultAnimationTime = 3000 |
AbstractUpdateManager.defaultAnimationTime = 3000 |
40 |
) |
) |
41 |
|
|
42 |
|
|
|
def enf2span(enf): |
|
|
list = enf.getList() |
|
|
return list[0] |
|
|
|
|
43 |
d1cell = space.N() |
d1cell = space.N() |
44 |
d1 = space.getDim(d1cell) |
d1 = space.getDim(d1cell) |
45 |
|
|