ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* simple bibliography and dots after section numbering
@ 2010-05-05  2:12 rogutes
  2010-05-05  7:25 ` Marius
  2010-05-06 22:52 ` rogutes
  0 siblings, 2 replies; 14+ messages in thread
From: rogutes @ 2010-05-05  2:12 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-05-11  9:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-05  2:12 simple bibliography and dots after section numbering rogutes
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

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).