ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: Two questions: Bib module and Headers
Date: Sat, 04 Feb 2006 09:07:25 +0100	[thread overview]
Message-ID: <43E460BD.6000805@elvenkind.com> (raw)
In-Reply-To: <1139020933.2717.5.camel@a213-22-133-32.cpe.netcabo.pt>

Miguel Queiros wrote:
> Hi,
> 
> I'm using Bib module and bibtex to create my bibliography.
> I would like to order it by author name, and I'v tried
> it using:
> 
> \setupbibtex[database=opensource-educacao,sort=author]
> 
> But didn't get the desired result. 
> Should I be using anything else ?

You need also:

   \setuppublications[sorttype=bbl]

Because the default is to sort by order of appearance
in \cite commands first, and only for the remaining
part use the bbl ordering.

> And now for the header question:
> 
> I'm using the following code to change the font
> size of my header from 12pt to 10pt.
> 
> \setupheadertexts[][\setups{ta}]
> 
> \startsetups[ta]
>   \setupbodyfont[10pt]
>   \getmarking[chapter]
> \stopsetups
> 
> Using \setupbodyfont[10pt] in this case
> is the best solution ?

\switchtobodyfont is somewhat better for this because
does not do as much as a full document-wide switch
(and is therefore faster).

You may even get away with only a single font command
like \tfx, but that does not work too well if there
are embedded math formulas or font switches in your
document.

Taco

  reply	other threads:[~2006-02-04  8:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-04  2:42 Miguel Queiros
2006-02-04  8:07 ` Taco Hoekwater [this message]
2006-02-04 20:23   ` Miguel Queiros

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=43E460BD.6000805@elvenkind.com \
    --to=taco@elvenkind.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).