ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Nicola <nvitacolonna@gmail.com>
To: ntg-context@ntg.nl
Subject: Help: tweaking bibliography style
Date: Tue, 14 Dec 2010 10:29:21 +0100	[thread overview]
Message-ID: <nvitacolonna-F968F4.10292114122010@news.gmane.org> (raw)

Hi,
currently, in my document, an article reference looks like this:

[1] Thor, A. U. (2010). ConTeXt is great. My Own Publishing, 2(4), 23-34.

with the title in italics. How to make the year appear at the end and 
how to make the publisher in italics, too? I would like such changes to 
apply to other types of references as well (books, inproceedings, etc...)

Second, \cite[Thor:2010,Bar:2009] produces something like [6 and 9]. How 
do I get rid of 'and' and get simply [6,9]?

This is my current setup (mainly code copied from the Wiki):

\usemodule[bib]
\setupbibtex[database=my-biblio,sort=author]
\def\bracketed#1{\hbox to 20pt{\hfill [{#1}]}}
\setuppublications[
   sorttype=bib,
   numbering=yes,
   numbercommand=\bracketed
]
\unprotect\def\UCauthor#1#2#3#4#5%
{\bf\bibdoif{#2}{#2\bibalternative\c!vonsep}%
   #3\bibalternative\c!surnamesep    
    \bibdoif{#5}{#5\bibalternative\c!juniorsep}%
    \bibdoif{#4}{#4\unskip}}
\protect
\setuppublicationlist[
   artauthor=\UCauthor,
   editor=\UCauthor,
   author=\UCauthor,
   namesep={, },
   lastnamesep={, },
   finalnamesep={, }
]

A last, less important, question: the Wiki suggests to 
\usemodule[bibltx]. If I do so, I get the warning “module bibltx not 
found”. It seems that omitting that module has no consequences. Is it 
needed at all? If so, for what?

Nicola

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2010-12-14  9:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14  9:29 Nicola [this message]
2010-12-15 15:04 ` Nicola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nvitacolonna-F968F4.10292114122010@news.gmane.org \
    --to=nvitacolonna@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).