[NTG-context] right align (flushright) bibliography list labels
Csikos Bela
bcsikos425 at freemail.hu
Thu Apr 30 01:10:16 CEST 2015
Hello list members:
I would like to align the labels (numbers) of the bibliography list to the right to look like this:
...1
...2
......
..11
......
.121.
I tried to use the numbercommand= like this:
% start code
\def\numcom#1{\startalignment[flushright] #1.\stopalignment}
\setupbibtex[database={bibfile}]
\setuppublications[alternative=apa,refcommand=num,sorttype=cite,numbering=yes,autohang=no,numbercommand=\numcom]
\starttext
\completepublications[criterium=all]
\stoptext
% end code
But this has no effect on label alignment.
I also tried, based on this post, http://www.ntg.nl/pipermail/ntg-context/2015/080696.html, this code:
% start code
\setupbibtex[database={bibfile}]
\setuppublications[alternative=apa,refcommand=num,sorttype=cite,numbering=yes,autohang=no,numbercommand=\numcom]
\setupbtxlist[align={flushright}]
\starttext
\completepublications[criterium=all]
\stoptext
% end code
In this case compilation stopped with error, it choked on \setupbtxlist (Undefined control sequence).
How could I solve this?
Thanks,
bcsikos
More information about the ntg-context
mailing list