ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: bib problem
Date: Fri, 24 Dec 2010 10:39:53 +0100	[thread overview]
Message-ID: <AANLkTinj1qLJGMxrd3AsOmMFxga4DA5atHhZws777n2o@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinLvEF+D23G3EPey0c3TN2-esiDPJdoR-NcUVWZ@mail.gmail.com>

On Fri, Dec 24, 2010 at 10:13 AM, Emanuele Sacco
<emanuelesacco@gmail.com> wrote:
> Thanks, but what about this:
>
> %-------------
>
> \usemodule[bib]
> \setupbibtex[database=biblio]
> \setuppublications[alternative=ams,
>                 criterium=cite,
>                 numbering=yes]
> \setuppublicationlist[finalnamesep={ and }]
>
> \starttext
> %\startbodymatter
> \part{First Part}
> \chapter{First Chapter}
> Look at this \cite[num][heinsch]
> \starttabulate[|l|l|p|]
> \NC \type{key}\NC    \type{\cite[key][heinsch]}\NC               \NC\NR
> \NC author\NC      \cite[author][heinsch] \NC(from `a')\hfil\NC\NR
> \NC doi\NC         \cite[doi][heinsch]\NC (from `d')\hfil\NC\NR
> \NC key\NC         \cite[key][heinsch]\NC (from `k')\hfil\NC\NR
> \NC serial\NC      \cite[serial][heinsch]\NC (from `n')\hfil\NC\NR
> \NC short\NC       \cite[short][heinsch]\NC (from `s')\hfil\NC\NR
> \NC type\NC        \cite[type][heinsch]\NC (from `t')\hfil\NC\NR
> \NC year\NC        \cite[year][heinsch]\NC (from `y')\hfil\NC\NR
> \NC url\NC         \cite[url][heinsch]\NC (from `u')\hfil\NC\NR
> \NC num\NC         \cite[num][heinsch]\NC (this is a reference to
>                                      the sequence number used in
> the publication list)\hfil\NC\NR
> \NC authoryear\NC  \cite[authoryear][heinsch]\NC(from `a' and `y')\hfil\NC\NR
> \NC authoryears\NC \cite[authoryears][heinsch]\NC(from `a' and `y')\hfil\NC\NR
> \NC authornum\NC  \cite[authornum][heinsch]\NC(from `a' and `num')\hfil\NC\NR
> %\NC data\NC        \vtop{\hsize .45\hsize \cite[data][heinsch]}\NC
> The data content of the entry\hfil\NC\NR
> \NC page\NC        \cite[page][heinsch]\NC (a page reference)\hfil\NC\NR
> \stoptabulate
>
> \part{Second Part}
> \chapter{Second Chapter}
> Look at this \cite[num][heinsch]
> \starttabulate[|l|l|p|]
> \NC \type{key}\NC    \type{\cite[key][heinsch]}\NC               \NC\NR
> \NC author\NC      \cite[author][heinsch] \NC(from `a')\hfil\NC\NR
> \NC doi\NC         \cite[doi][heinsch]\NC (from `d')\hfil\NC\NR
> \NC key\NC         \cite[key][heinsch]\NC (from `k')\hfil\NC\NR
> \NC serial\NC      \cite[serial][heinsch]\NC (from `n')\hfil\NC\NR
> \NC short\NC       \cite[short][heinsch]\NC (from `s')\hfil\NC\NR
> \NC type\NC        \cite[type][heinsch]\NC (from `t')\hfil\NC\NR
> \NC year\NC        \cite[year][heinsch]\NC (from `y')\hfil\NC\NR
> \NC url\NC         \cite[url][heinsch]\NC (from `u')\hfil\NC\NR
> \NC num\NC         \cite[num][heinsch]\NC (this is a reference to
>                                      the sequence number used in
> the publication list)\hfil\NC\NR
> \NC authoryear\NC  \cite[authoryear][heinsch]\NC(from `a' and `y')\hfil\NC\NR
> \NC authoryears\NC \cite[authoryears][heinsch]\NC(from `a' and `y')\hfil\NC\NR
> \NC authornum\NC  \cite[authornum][heinsch]\NC(from `a' and `num')\hfil\NC\NR
> %\NC data\NC        \vtop{\hsize .45\hsize \cite[data][heinsch]}\NC
> The data content of the entry\hfil\NC\NR
> \NC page\NC        \cite[page][heinsch]\NC (a page reference)\hfil\NC\NR
> \stoptabulate
>
>
>
> %\stopbodymatter
>
> %\startbackmatter
> \completepublications
> %\stopbackmatter
>
> \stoptext
>
> %----------
Yes, it seems that bib acts correctly only inside a \part sectioning.

-- 
luigi
___________________________________________________________________________________
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-24  9:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-23 14:33 Emanuele Sacco
2010-12-23 17:21 ` Emanuele Sacco
2010-12-24  1:33 ` luigi scarso
2010-12-24  9:13   ` Emanuele Sacco
2010-12-24  9:39     ` luigi scarso [this message]
2010-12-24 10:06       ` Emanuele Sacco
2010-12-24 10:07         ` luigi scarso
2010-12-24 10:27           ` luigi scarso
2010-12-24 10:43             ` Taco Hoekwater

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=AANLkTinj1qLJGMxrd3AsOmMFxga4DA5atHhZws777n2o@mail.gmail.com \
    --to=luigi.scarso@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).