cyberpower678 / citation-bot

Automatically exported from code.google.com/p/citation-bot
0 stars 0 forks source link

request: take citation type from EndNote reference type #91

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In EndNote we can prefix the citation with a line that gives its type
  %0 Reference Type
and the bot could then use that to determine the citation type.
Thus, instead of
  {{cite journal |
  <insert EndNote output here>
  }}
we could just write
  {{cite
  <insert EndNote output here>
  }}
and the bot would fill in the citation type.
The reason we cannot just specify this in the layout-section of EndNote is that 
Reference Type "Journal article" is not a valid citation type.

Original issue reported on code.google.com by Humphrey...@gmail.com on 2 Feb 2011 at 11:14

GoogleCodeExporter commented 9 years ago
Can you give a list of possible reference types as written by Endnote, and 
which WP template they translate to?

Original comment by MartinS on 26 Feb 2011 at 6:17

GoogleCodeExporter commented 9 years ago
{{cite book ...
%0 Book
%A Allan, Keith
%A Burridge, Kate
%D 1991
%T Euphemism and dysphemism: Language used as shield and weapon
%C Oxford
%I Oxford University Press
%@ 0195066227

{{cite journal ...
%0 Journal Article
%A Allan, Keith
%D 1977
%T Classifiers
%J Language
%V 53
%P 285-311

{{cite book ...
%0 Edited Book
%A Barnes, Jonathan
%D 1995
%T The Cambridge companion to Aristotle
%C Cambridge
%I Cambridge University Press
%@ 0521422949

{{cite book ... | chapter= ...
%0 Book Section
%A Smith, Robin
%D 1995
%T Logic
%E Barnes, Jonathan
%B The Cambridge companion to Aristotle
%C Cambridge
%I Cambridge University Press
%P 27-65
%@ 0521422949

Original comment by Humphrey...@gmail.com on 26 Feb 2011 at 11:19