[NTG-context] question on bibliography generation in context stable

Csikos Bela bcsikos425 at freemail.hu
Wed Apr 1 14:31:43 CEST 2015


Hello:

I installed a standalone context system on my linux OS by running the install script:

sh ./first-setup.sh --modules=all --context=current --engine=luatex

For getting the install script I followed the link given at contextgarden install wiki page:
http://wiki.contextgarden.net/ConTeXt_Standalone  % the wiki page
http://minimals.contextgarden.net/setup/first-setup.sh % link to the install script

The version of this installed context is:

> context --version

mtx-context     | ConTeXt Process Management 0.60
mtx-context     |
mtx-context     | main context file: /usr/local/context/stable/tex/texmf-context/tex/context/base/context.mkiv
mtx-context     | current version: 2014.01.03 00:40

My questions are related to bibliography production. For setting up bibliography I used the manual mentioned and linked at the contextgarden Bibliography MkIV wiki page:
http://wiki.contextgarden.net/Bibliography_mkiv % the wiki page
http://www.let.rug.nl/alfa/texmf/tetex30/context/bib/bibmod-doc.pdf % link to the manual dated 2009 March 02

I want a numbered bibliography list for which I use the following setup in the document preamble:

\setuppublications[alternative=num,refcommand=num,sorttype=cite,numbering=yes,autohang=yes]

Questions:

1. The above setting results in a numbered bibliography list where the numbers are aligned left and don't have period, like (use monotype font to see the correct alignment):

1    Authors
25  Authors
134 Authors

I would like to make the list item numbers right aligned and having a period, like:
  1. Authors
 25. Authors
134. Authors

I also would like to know how I can change the distance between the numbers and text (authors).


2. I am confused how to use the autohang, totalnumber and samplesize options.
For exmample I have the following setup:

\setuppublications[alternative=num,refcommand=num,sorttype=cite,numbering=yes,autohang=yes]
\setuppublicationlist[samplesize={MMMMMM}]
or
\setuppublicationlist[totalnumber=220]
or
\setuppublicationlist[totalnumber=220,samplesize={MMMMMM}]

Whatever setting I use for totalnumber and samplesize, they don't have any effect on the output.
The bbl file always has the same in the first line:
\setuppublicationlist[samplesize={PGABMN{\etalchar{+}}02},totalnumber=220]

The only option that makes a difference is autohang on/off.
With autohang=on the 3-digit numbers hang onto the list entry texts (authors) and partially overlap them.
With autohang=no they don't overlap but are still too close to the list item text.
It seems it behaves the opposite to what is expected.

What is the correct use of these options? It's not explained in the manual.

3. There are 4 bst files in context from which context chooses one for generating the list.
How context decides which bst file is used? Is it possible to use a bst file with another name?
(Just to make it clear: I don't want to use completely different bst file, only to modify one, eg cont-no.bst, save it with a different name and use that file.)

Thanks in advance,

bcsikos



More information about the ntg-context mailing list