Difference between revisions of "Test matrix"
From FollowTheScore
Line 8: | Line 8: | ||
oho | oho | ||
aha | aha | ||
− | two | + | two ~~ Two |
ehem | ehem | ||
three | three | ||
Line 24: | Line 24: | ||
oho | oho | ||
aha | aha | ||
− | two | + | two ~~ Two |
ehem | ehem | ||
three | three | ||
Line 36: | Line 36: | ||
oho | oho | ||
aha | aha | ||
− | two | + | two ~~ Two |
ehem | ehem | ||
three | three |
Revision as of 19:14, 17 December 2007
generating a matrix from an indented list
Input is:
one oho aha two ~~ Two ehem three four aha uhui ~~ UHU
Output is:
normal | flipped | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
- "from" items ("source") start in col 1
- "to" items ("target") are indented by at least one space
- source appears in input sequence
- target is sorted by alphabet
- items are treated as pages and shown as a link
- the label can be defined by adding it after the iterm, separated by "~~"
Links to DPL Manual pages
Now we use two nested DPL queries to generate the indented list: