ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: rogutes@googlemail.com
To: ntg-context@ntg.nl
Subject: simple bibliography and dots after section numbering
Date: Wed, 5 May 2010 05:12:44 +0300	[thread overview]
Message-ID: <20100505021244.GA2515@urvas> (raw)

G'Day,

I'm trying out ConTeXt and have come up with 2 questions.

1. How does one add a dot after the numerals in headings, so that
     "\section{First}"
   becomes
     "1. First"
   instead of
     "1 First"
   ?

2. I would like to use something like this for bibliography:
   http://wiki.contextgarden.net/Simple_Bibliography#Another_Approach
   but adapting it seems too hard for me. Perhaps someone could help? A
   very crude example:

   -----------------------------------------------------------
   People are writing about this \cite[ref1], (\cite[ref2] - page 25).

   \startbibliography
     \bibitem[ref1] This is the first reference.
     \bibitem[Daniel, 2004][ref2] This is the second reference.
   \stopbibliography
   -----------------------------------------------------------

   should be rendered as:

   -----------------------------------------------------------
   People are writing about this [1], (Daniel, 2004 - page 25)

   1. This is the first reference.
   2. This is the second reference.
   -----------------------------------------------------------

   That is, I want an environment and 2 commands:
     \startbibliography
     \cite [key]
     \bibitem [label_replacing_\cite[key]_but_not_the_item_number] [key]


Thank you very much,
--  Rogutės Sparnuotos

P.S. Is there a paragraph somewhere describing the logic under the use of
     [] and {} for different commands (it seemed somehow more intuitive in
     LaTeX). What would a ConTeXt developer choose, \cite[x] or \cite{x}
     and why?
___________________________________________________________________________________
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-05-05  2:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-05  2:12 rogutes [this message]
2010-05-05  7:25 ` Marius
2010-05-05  7:39   ` Otared Kavian
2010-05-06 21:31     ` Rogutės Sparnuotos
2010-05-06 22:52 ` rogutes
2010-05-07  6:32   ` Marius
2010-05-09  0:21     ` Rogutės Sparnuotos
2010-05-09  6:15       ` Taco Hoekwater
2010-05-09 17:55         ` Rogutės Sparnuotos
2010-05-10  7:00           ` Taco Hoekwater
2010-05-10 10:49             ` Matija Šuklje
2010-05-11  8:37             ` Hans Hagen
2010-05-11  8:43               ` Taco Hoekwater
2010-05-11  9:13                 ` Hans Hagen

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=20100505021244.GA2515@urvas \
    --to=rogutes@googlemail.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).