* right align (flushright) bibliography list labels
@ 2015-04-29 23:10 Csikos Bela
0 siblings, 0 replies; only message in thread
From: Csikos Bela @ 2015-04-29 23:10 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-29 23:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-29 23:10 right align (flushright) bibliography list labels Csikos Bela
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).