ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: alternative numerical \cite command
Date: Mon, 4 May 2015 19:03:00 +0200	[thread overview]
Message-ID: <FE9F67DF-EA86-4488-85D1-F0F05CCA98CD@gmail.com> (raw)
In-Reply-To: <CALBOmsYOyx9ckrrYovn-OJHXqwrBzL4gozV10rgvyuaietT4EQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 902 bytes --]



Thanks to remarks by Mojca and Alan, I did some testing with mkiv and my old setups for bibliography under mkii, and magically it works also with the new bibliography features of mkiv, that is without saying 
	\usemodule[bib].
However somehow I couldn’t find an equivalent for the command
	\placepublications[criterirum=all]
when one needs to give another title to the section containing the bibliography (as in the attached file).

As I understand from Alan’s and Thomas Schmitz’ answers, the new bibliography features are not yet completely « production ready » for those people who need complex requirements (this is not my case…).
However it would be nice if the new commands were made known somewhere, even without having a detailed manual (some people use quite elementary features and probably those may be obtained in less than ten commands…).

Best regards: OK




[-- Attachment #2: test-biblio-for-mkiv.pdf --]
[-- Type: application/pdf, Size: 26916 bytes --]

[-- Attachment #3: Type: text/plain, Size: 1 bytes --]



[-- Attachment #4: test-biblio-for-mkiv.tex --]
[-- Type: application/octet-stream, Size: 3404 bytes --]

%% setting up for bibliography in maths papers

\startsetups paper:Biblio

\setuppublications[
	numbering=yes,
	alternative=num,
	sorttype=bbl,
	autohang=yes,
	criterium=cite]

\setuppublicationlist[
	author=\invertedauthor, %\invertedshortauthor
	surnamesep={, },
	namesep={; }
	]

\setuppublicationlayout[manual]{% 
	\insertauthors{}{: }{\insertthekey{}{. }{}}% 
%	\insertpubyear{(}{): }{}% 
	\inserttitle{\bgroup \it }{\/. \egroup}{}% 
	\insertseries{(}{). }{}%
	\insertpublisher{}{. }{}% 
	\insertpubyear{(}{): }{}% 
	\insertpages{}{~pages. }{}% 
	\inserturl{\bgroup \tt }{\egroup}{}% ADDED 
%	\insertnote{ }{.}{}% 
} 

\setuppublicationlayout[article]{% 
	\insertauthors{}{: }{\insertthekey{}{. }{}}% 
%	\insertpubyear{(}{): }{}% 
	\inserttitle{\bgroup \it }{\/. \egroup}{}% 
	\insertseries{(}{). }{}%
	\insertjournal{}{, }{}% 
	\insertissue{n${}^\circ$ }{, }{}%
	\insertvolume{\bgroup \bf }{\egroup, }{}%
	\insertpubyear{(}{), }{}% 
	\insertpages{pp. }{. }{}% 
	\inserturl{\bgroup \tt }{\egroup}{}% ADDED 
%	\insertnote{ }{.}{}% 
} 

\setuppublicationlayout[book]{% 
	\insertauthors{}{: }{\insertthekey{}{. }{}}% 
%	\insertpubyear{(}{): }{}% 
	\inserttitle{\bgroup \ss\it }{\/. \egroup}{}% 
	\insertseries{(}{). }{}%
	\insertpages{}{~pages, }{}% 
	\insertpublisher{}{, }{}%
	\insertpubyear{(}{). }{}%  
	\inserturl{\bgroup \tt }{\egroup}{}% ADDED 
%	\insertnote{ }{.}{}% 
} 

\setuppublicationlayout[misc]{% 
	\insertauthors{}{ }{\insertthekey{}{. }{}}% 
%	\insertpubyear{(}{): }{}% 
	\inserttitle{\bgroup \it }{\/. \egroup}{}% 
	\insertseries{(}{). }{} %
	\insertpublisher{}{, }{}% 
	\insertpubyear{(}{), }{}% 
	\insertpages{}{~pages }{}% 
	\inserturl{\bgroup \tt }{\egroup}{}% ADDED 
	\insertnote{ }{.}{}% 
} 

\setupcite[interaction=start]
\stopsetups
%% end setups for Bibliography
%% we use the setups as follows:
\setups[paper:Biblio]

%\endinput

\startbuffer[bibexample]

\startpublication[
	k=Galileo:1612,
	t=article,
	a=Galilei]
	\author{Galileo}[G. ]{}{Galilei}
	\title{Discorso intorno alle cose che stanno in su l'acqua}
	\pubyear{1612}
	\pages{1--25}
	\journal{Inverse Problems}
	\issue{3}
	\volume{57}
\stoppublication


\startpublication[
	k=Galileo:1616,
	t=book,
	a=Galilei]
   \author{Galileo}[G. ]{}{Galilei}
   \title{Discorso sul flusso e il reflusso del mare}
   \pubyear{1616}
   \pubname{Rizzoli}
   \city{Firenze (Italia)}
   \pages{vii + 315}
\stoppublication

\startpublication[
	k=THoekwater,
	t=manual,
	a=Hoekwater,
	y=2006,
	s=TH2006,
	n=1,
	u=http://contextgarden.net/Bibliography
	]
	\author{Taco}[T.]{}{Hoekwater}
	\title{\CONTEXT\ Publication Module, The user documententation}
	\pubyear{2006}
	\note{In case you didn't know: this is the main manual wriiten on bib-module}
	\pages{14}
	\biburl{http://contextgarden.net/Bibliography}
\stoppublication

\stopbuffer

\getbuffer[bibexample]
\starttext

\startsection[title={Introduction}]

This is an example of an article with bibliography, using the bibliography features of \ConTeXt\ which takes care of references to publications and the typesetting of publication lists in  \CONTEXT. For more information see T.~Hoekwater~\cite[THoekwater].
If Galileo Galilei knew about this, then \cite[Galileo:1616] would have been written differently.
\nocite[Galileo:1612]

\stopsection

\startsection[title={A short list of references}]

\placepublications[criterirum=all]

\stopsection

\completepublications

\stoptext

[-- Attachment #5: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2015-05-04 17:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-04 13:10 Csikos Bela
2015-05-04 13:51 ` Alan BRASLAU
2015-05-04 14:02   ` Otared Kavian
     [not found]     ` <CALBOmsYOyx9ckrrYovn-OJHXqwrBzL4gozV10rgvyuaietT4EQ@mail.gmail.com>
2015-05-04 17:03       ` Otared Kavian [this message]
2015-05-04 18:26         ` Thomas A. Schmitz
2015-05-04 15:54   ` Csikos Bela
2015-05-04 16:14     ` Alan BRASLAU
2015-05-04 16:22       ` Thomas A. Schmitz
2015-05-05 10:52       ` Csikos Bela
2015-05-05 11:32         ` Alan BRASLAU
2015-05-05 16:19           ` Csikos Bela

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=FE9F67DF-EA86-4488-85D1-F0F05CCA98CD@gmail.com \
    --to=otared@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).