ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Adapting m-bib layout (was: Where the m-bib and m-math?)
@ 2000-06-01 11:56 Berend de Boer
  2000-06-01 12:33 ` Mr. Wang Lei
  0 siblings, 1 reply; 7+ messages in thread
From: Berend de Boer @ 2000-06-01 11:56 UTC (permalink / raw)
  Cc: 'Mr. Wang Lei '

> How can I set the correct parameters in the
> \setuppublications can do the job I wanted? could you give me a hand?
> Thanks in advance.

Here a sample, it works only for article entries, and probably not for all
variants of them, but you should get the idea:

--------------------------------------
% interface=en

\usemodule[bib]

\setuppublications
  [database=ref,
  sort=author,
  left={[},
  right={]},
  numbering=yes]

\unprotect

% change bibl-apa defaults
\setuppublicationparameters
  [refcommand=\bibnumref,
   \c!links={[},
   \c!rechts={]},
   author=\normalauthor,
   artauthor=\normalauthor]

% typeset an article entry
\setuppublicationlayout[article]{%
   \insertartauthors{}{}{\insertthekey{}{ }{}}%
   \insertarttitle{, \bgroup}{\egroup}{}%
   \insertjournal{, \bgroup \it}{\egroup}{}%
   \insertpubyear{. }{}{}%
	{\insertcrossref{In }{}{}}%
   \insertvolume
   	 {, (}
     {)\insertpages{:}{.}{.}}
     {\insertpages{, pages }{.}{.}}%
   \insertnote{ }{.}{}%
}

\protect

\starttext

This \cite[mp1943].

\completepublications

\stoptext
--------------------------------------

I didn't yet figure out how to do the numbering in front of every
publication, but maybe Taco is feeling better by now?

Groetjes,

Berend. (-:


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Adapting m-bib layout (was: Where the m-bib and m-math?)
@ 2000-06-01 13:43 Peter Jander
  2000-06-02  1:55 ` Mr. Wang Lei
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Jander @ 2000-06-01 13:43 UTC (permalink / raw)


From:           	"Berend de Boer" <<berend@pobox.com>

<color><param>FF00,0000,0000</param>> I didn't yet figure out how to do the numbering in front of every

> publication, but maybe Taco is feeling better by now?

> 

</color>I did this some time ago. I think (I can't check since I am using 
another computer now) it was

\setuppublications[<color><param>0100,0100,0100</param>\c!nummercommando</color>=<color><param>0100,0100,0100</param>\numberwithbrackets]

If this doesn't work you may need to change it in the M-bib.tex file, 
right at the end where these defaults are set.

</color>Hope this helps,

Peter

<nofill>
Peter Jander                       Tel ++44 (0)23 8059 2194
Optoelectronics Research Centre    Fax ++44 (0)23 8059 3142
University of Southampton
Southampton SO17 1BJ
United Kingdom


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

end of thread, other threads:[~2000-06-02  6:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-01 11:56 Adapting m-bib layout (was: Where the m-bib and m-math?) Berend de Boer
2000-06-01 12:33 ` Mr. Wang Lei
2000-06-01 14:04   ` Berend de Boer
2000-06-02  2:14     ` Mr. Wang Lei
2000-06-02  6:56       ` Hans Hagen
2000-06-01 13:43 Peter Jander
2000-06-02  1:55 ` Mr. Wang Lei

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