ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bib module, inproceedings & mkii/mkiv incompatibility
@ 2010-03-04 17:55 Mojca Miklavec
  2010-03-04 18:04 ` James Fisher
  2010-03-07 10:26 ` Taco Hoekwater
  0 siblings, 2 replies; 5+ messages in thread
From: Mojca Miklavec @ 2010-03-04 17:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello Taco,

the following example (I need to admit that I'm not sure how to
properly cite inproceedings) returns a different result in mkii and
mkiv. My citation (the fields I use) is probably a bit wrong, but the
results should be the same in my opinion. (Only mkii shows the year,
in mkiv there's an extra space; the month is not shown anywhere,
pubname is only shown  in mkii although it's probably not needed
anyway since it's already the title (= booktitle in bibtex?) that
takes that role. It's also not really clear to me why I need to use
author and not artauthor, but well ...)


It may be sensible to have some reference about which fields are
sensible for what type of publication also among the ConTeXt manuals.

From some unofficial BibTeX reference
(http://www.kfunigraz.ac.at/~binder/texhelp/bibtx-14.html):

Format:
     @INPROCEEDINGS{citation_key,
                    required_fields [, optional_fields] }

Required fields: author, title, booktitle, year
Optional fields: editor, pages, organization, publisher, address,
month, note, key

\usemodule
	[bib]
\setuppublications
	[alternative=num,
	 criterium=all,
	 sorttype=cite]

\startpublication
	[k=3Ddosimetry,
	 t=inproceedings,
	 a=Kormoll,
	 s=,
	 u=]
	\arttitle{3D In-vivo Dosimetry for Photon Radiotherapy Based on Pair
Production}
	\title{IEEE Nuclear Science Symposium Medical Imaging Conference Record}
	\author[]{Thomas}[T.]{}{Kormoll}
	\author[]{Daniela}[D.]{}{Kunath}
	\author[]{Wolfgang}[W.]{}{Enghardt}
	\volume{}
	\issue{}
	\city{Orlando, Florida}
	\pubyear{2009}
	\pubname{IEEE Nuclear Science Symposium Conference Record}
	\month{October}
	\day{25-31}
	\pages{2969-2975}
	\doi{}
	\abstract{}
\stoppublication

\starttext

\cite[3Ddosimetry]

\placepublications

\stoptext

Thanks,
    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] 5+ messages in thread

* Re: bib module, inproceedings & mkii/mkiv  incompatibility
  2010-03-04 17:55 bib module, inproceedings & mkii/mkiv incompatibility Mojca Miklavec
@ 2010-03-04 18:04 ` James Fisher
  2010-03-07 10:26 ` Taco Hoekwater
  1 sibling, 0 replies; 5+ messages in thread
From: James Fisher @ 2010-03-04 18:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2806 bytes --]

I confirm the above -- with the exception that mkiv does show the year, just
after the authors.

On Thu, Mar 4, 2010 at 5:55 PM, Mojca Miklavec <
mojca.miklavec.lists@gmail.com> wrote:

> Hello Taco,
>
> the following example (I need to admit that I'm not sure how to
> properly cite inproceedings) returns a different result in mkii and
> mkiv. My citation (the fields I use) is probably a bit wrong, but the
> results should be the same in my opinion. (Only mkii shows the year,
> in mkiv there's an extra space; the month is not shown anywhere,
> pubname is only shown  in mkii although it's probably not needed
> anyway since it's already the title (= booktitle in bibtex?) that
> takes that role. It's also not really clear to me why I need to use
> author and not artauthor, but well ...)
>
>
> It may be sensible to have some reference about which fields are
> sensible for what type of publication also among the ConTeXt manuals.
>
> From some unofficial BibTeX reference
> (http://www.kfunigraz.ac.at/~binder/texhelp/bibtx-14.html<http://www.kfunigraz.ac.at/%7Ebinder/texhelp/bibtx-14.html>
> ):
>
> Format:
>     @INPROCEEDINGS{citation_key,
>                    required_fields [, optional_fields] }
>
> Required fields: author, title, booktitle, year
> Optional fields: editor, pages, organization, publisher, address,
> month, note, key
>
> \usemodule
>        [bib]
> \setuppublications
>        [alternative=num,
>         criterium=all,
>         sorttype=cite]
>
> \startpublication
>        [k=3Ddosimetry,
>         t=inproceedings,
>         a=Kormoll,
>         s=,
>         u=]
>        \arttitle{3D In-vivo Dosimetry for Photon Radiotherapy Based on Pair
> Production}
>        \title{IEEE Nuclear Science Symposium Medical Imaging Conference
> Record}
>        \author[]{Thomas}[T.]{}{Kormoll}
>        \author[]{Daniela}[D.]{}{Kunath}
>        \author[]{Wolfgang}[W.]{}{Enghardt}
>        \volume{}
>        \issue{}
>        \city{Orlando, Florida}
>        \pubyear{2009}
>        \pubname{IEEE Nuclear Science Symposium Conference Record}
>        \month{October}
>        \day{25-31}
>        \pages{2969-2975}
>        \doi{}
>        \abstract{}
> \stoppublication
>
> \starttext
>
> \cite[3Ddosimetry]
>
> \placepublications
>
> \stoptext
>
> Thanks,
>    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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3734 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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
___________________________________________________________________________________

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

* Re: bib module, inproceedings & mkii/mkiv incompatibility
  2010-03-04 17:55 bib module, inproceedings & mkii/mkiv incompatibility Mojca Miklavec
  2010-03-04 18:04 ` James Fisher
@ 2010-03-07 10:26 ` Taco Hoekwater
  2010-03-07 12:58   ` Mojca Miklavec
  1 sibling, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2010-03-07 10:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

Mojca Miklavec wrote:
> Hello Taco,
> 
> the following example (I need to admit that I'm not sure how to
> properly cite inproceedings) returns a different result in mkii and
> mkiv. My citation (the fields I use) is probably a bit wrong, but the
> results should be the same in my opinion. (Only mkii shows the year,
> in mkiv there's an extra space; the month is not shown anywhere,

Please try the attached patched version of bibl-num.tex, that should
give you the month back in mkii. (if it works, similar patches are
needed to the other files, of course).

> pubname is only shown  in mkii although it's probably not needed
> anyway since it's already the title (= booktitle in bibtex?) that
> takes that role. It's also not really clear to me why I need to use
> author and not artauthor, but well ...)

In hindsight, artauthor would have been better, but it would be
a bad idea to change that after all that time.

> It may be sensible to have some reference about which fields are
> sensible for what type of publication also among the ConTeXt manuals.

Well, for mkii I was aiming for the same fields as for bibtex,
(plus/minus the [art]author/[art]title differences). It just
so happens that I missed 'month' and perhaps others as well.

Best wishes,
Taco

[-- Attachment #2: bibl-num.tex --]
[-- Type: application/x-tex, Size: 11553 bytes --]

[-- Attachment #3: Type: text/plain, Size: 486 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
___________________________________________________________________________________

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

* Re: bib module, inproceedings & mkii/mkiv  incompatibility
  2010-03-07 10:26 ` Taco Hoekwater
@ 2010-03-07 12:58   ` Mojca Miklavec
  2010-03-07 13:42     ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2010-03-07 12:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Mar 7, 2010 at 11:26, Taco Hoekwater wrote:
> Mojca Miklavec wrote:
>>
>> Hello Taco,
>>
>> the following example (I need to admit that I'm not sure how to
>> properly cite inproceedings) returns a different result in mkii and
>> mkiv. My citation (the fields I use) is probably a bit wrong, but the
>> results should be the same in my opinion. (Only mkii shows the year,
>> in mkiv there's an extra space; the month is not shown anywhere,
>
> Please try the attached patched version of bibl-num.tex, that should
> give you the month back in mkii. (if it works, similar patches are
> needed to the other files, of course).

Thanks a lot. It solves my particular problem (at least in MKII), I
have no idea how all the other references should be printed properly.

Just curious (you do not need to consider my question at all): is
there any reason for not printing the day next to month and year as
well (only if present of course)? Or maybe that's against the rules of
other publication layout? Maybe possible to make it configurable?

>> pubname is only shown  in mkii although it's probably not needed
>> anyway since it's already the title (= booktitle in bibtex?) that
>> takes that role. It's also not really clear to me why I need to use
>> author and not artauthor, but well ...)
>
> In hindsight, artauthor would have been better, but it would be
> a bad idea to change that after all that time.
>
>> It may be sensible to have some reference about which fields are
>> sensible for what type of publication also among the ConTeXt manuals.
>
> Well, for mkii I was aiming for the same fields as for bibtex,
> (plus/minus the [art]author/[art]title differences). It just
> so happens that I missed 'month' and perhaps others as well.

The output in mkiv is still weird though. Also, try the following
example in MKIV. It gives the number 42 in italic, which should not
happen.

\usemodule
       [bib]
\setuppublications
       [alternative=num,
        criterium=all,
        sorttype=cite]

\startpublication
	[k=X,
	 t=article,
	 a=Someone,
	 s=,
	 u=]
	\arttitle{Title}
	\journal{IEEE Transactions on Nuclear Science}
	\artauthor[]{I.}[I.]{}{Someone}
	\volume{42}
	\issue{1}
	\pubyear{2010}
	\pages{100-200}
	\abstract{}
\stoppublication

\starttext

\nocite[X]

\placepublications

\stoptext

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

* Re: bib module, inproceedings & mkii/mkiv  incompatibility
  2010-03-07 12:58   ` Mojca Miklavec
@ 2010-03-07 13:42     ` Taco Hoekwater
  0 siblings, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2010-03-07 13:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Mojca Miklavec wrote:
> 
> Just curious (you do not need to consider my question at all): is
> there any reason for not printing the day next to month and year as
> well (only if present of course)? Or maybe that's against the rules of
> other publication layout? Maybe possible to make it configurable?

You would have to ask Oren Patashnik, but at a guess this is likely
because when bibtex was written there were no weekly (let alone daily)
journals, and the internet was not in wide use yet.

>>> It may be sensible to have some reference about which fields are
>>> sensible for what type of publication also among the ConTeXt manuals.
>> Well, for mkii I was aiming for the same fields as for bibtex,
>> (plus/minus the [art]author/[art]title differences). It just
>> so happens that I missed 'month' and perhaps others as well.
> 
> The output in mkiv is still weird though. Also, try the following

I know. The problem is that I have not had time yet to look at the
mkiv code at all so I have very little idea of how it works (Hans
converted mkii into mkiv).

Best wishes,
Taco
___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2010-03-07 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-04 17:55 bib module, inproceedings & mkii/mkiv incompatibility Mojca Miklavec
2010-03-04 18:04 ` James Fisher
2010-03-07 10:26 ` Taco Hoekwater
2010-03-07 12:58   ` Mojca Miklavec
2010-03-07 13:42     ` Taco Hoekwater

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