12 Feb
2007
12 Feb
'07
10:17 p.m.
In Context one can use registers for powerful sorting with single or multiple keys. However, it's a little tricky if you want the result to appear other than one element per line. Here's a macro that does the job: \def\PlaceRegisterInline[#1,#2,#3]{% Register Before After \bgroup \let\par=\empty \let\endgraf=\empty \edef\goodbreak{#2}% \let\doregistercharactera=\doregistercharacterb \placeregister[#1][% after=,% before=,% distance={0em{#3}},% indicator=no,% n=1,% symbol=none]% \egroup} For example, to place elements of register R in brackets one can use \PlaceInlineRegister[R,{[},{]}] and achieve something like [A][B][C]. --Mike Bird
6523
Age (days ago)
6523
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mike Bird