On Thu, Dec 23, 2010 at 3:33 PM, Emanuele Sacco <emanuelesa...@gmail.com> wrote:
> Hi all
>
> with this code
>
> %------
>
> \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[heinsch]
>
> \part{Secon Part}
> \chapter{Secon Chapter}
> Look at this \cite[heinsch]
>
> \stopbodymatter
>
> \startbackmatter
> \completepublications
> \stopbackmatter
>
> \stoptext
>
> %-------
>
> where
>
> biblio.bib is
>
>
> %------
>
> @book{heinsch,
>        Address = {Mineola},
>        Author = {H. K. Henisch},
>        Date-Added = {2010-09-30 14:07:14 +0200},
>        Date-Modified = {2010-09-30 14:14:49 +0200},
>        Publisher = {Dover Publications},
>        Title = {Crystal Growth in Gels},
>        Year = {1996}}
>
> %------
>
>
> I don't have the number inside the [].
>
>
> Emanuele
>
>
>
> --
> Al mondo ci sono 10 tipi di persone: quelli che conoscono il sistema
> binario e quelli che non lo conoscono.
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
It seems that bib doesn't play well with "*matter":
just uncomment %\start*matter
and the result is different
%---------------
\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




%\stopbodymatter

%\startbackmatter
\completepublications
%\stopbackmatter

\stoptext

-- 
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 via email to