[NTG-context] Web resource in bbl file

2011-06-06 Thread Marco
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
___


Re: [NTG-context] Web resource in bbl file

2011-06-06 Thread Mojca Miklavec
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
___

Re: [NTG-context] Web resource in bbl file

2011-06-06 Thread Marco
On 2011-06-06 Mojca Miklavec mojca.miklavec.li...@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
___