ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Web resource in bbl file
@ 2011-06-06 13:36 Marco
  2011-06-06 13:50 ` Mojca Miklavec
  0 siblings, 1 reply; 3+ messages in thread
From: Marco @ 2011-06-06 13:36 UTC (permalink / raw)
  To: ntg-context

Hi,

how to create an entry for a web resource in a bbl file?
For books I use a construction like this:

\startpublication
  [k=foo,
   t=book]
\title {Some book title}
\author {Jack}[W.]{}{Murborg}
\pubyear {2001}
\pubname {Pearson Prentice Hall}
\edition {2}
\lang {English}
\city {New York}
\stoppublication

A web resource should include the title, url and the
access date.

Marco


___________________________________________________________________________________
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] 3+ messages in thread

* Re: Web resource in bbl file
  2011-06-06 13:36 Web resource in bbl file Marco
@ 2011-06-06 13:50 ` Mojca Miklavec
  2011-06-06 14:05   ` Marco
  0 siblings, 1 reply; 3+ messages in thread
From: Mojca Miklavec @ 2011-06-06 13:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Jun 6, 2011 at 15:36, Marco wrote:
> Hi,
>
> how to create an entry for a web resource in a bbl file?
> For books I use a construction like this:
>
> \startpublication
>  [k=foo,
>   t=book]
> \title {Some book title}
> \author {Jack}[W.]{}{Murborg}
> \pubyear {2001}
> \pubname {Pearson Prentice Hall}
> \edition {2}
> \lang {English}
> \city {New York}
> \stoppublication
>
> A web resource should include the title, url and the
> access date.

An old definition of mine without access date:

\setuppublicationlayout[webpage]{%
	\inserttitle{\bgroup\it }{\egroup. }{}%
	\inserturl{}{}{}%
}
\startpublication
	[k=FAIR,
	 t=webpage,
	 y=,
	 s=,
	 u=http://www.gsi.de/fair/,
	]
	\biburl{http://www.gsi.de/fair/}
	\title{FAIR -- Facility for Antiproton and Ion Research}
\stoppublication

If you don't need fancy language-dependent printout of date, you can
define a simple
    \newbibfield[accessdate]
and then use
    \insertaccessdate{before}{after}{if absent}

Else you need to define day, month, year separately and try to combine
them in fancy ways.

Mojca
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Web resource in bbl file
  2011-06-06 13:50 ` Mojca Miklavec
@ 2011-06-06 14:05   ` Marco
  0 siblings, 0 replies; 3+ messages in thread
From: Marco @ 2011-06-06 14:05 UTC (permalink / raw)
  To: ntg-context

On 2011-06-06 Mojca Miklavec <mojca.miklavec.lists@gmail.com> wrote:

> If you  don't need fancy language-dependent  printout of
> date, you can

No, I don't.

> define  a simple  \newbibfield[accessdate] and  then use
> \insertaccessdate{before}{after}{if absent}

Brilliant. Thanks a lot

Marco


___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2011-06-06 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-06 13:36 Web resource in bbl file Marco
2011-06-06 13:50 ` Mojca Miklavec
2011-06-06 14:05   ` Marco

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