Skip to content
Permalink
Browse files
Fix incorrect eprint type being set by BibTeX import
  • Loading branch information
Timothy Miles-Board authored and Tim Brody committed Feb 21, 2013
1 parent 282a585 commit cf70ab4ee1ce48e88c2eaee2a2b369b331ce4de9
Showing with 5 additions and 5 deletions.
  1. +5 −5 perl_lib/EPrints/Plugin/Import/BibTeX.pm
@@ -327,10 +327,10 @@ sub convert_input
$epdata->{type} = "article" if $type eq "ARTICLE";
$epdata->{type} = "book" if $type eq "BOOK";
$epdata->{type} = "book" if $type eq "PROCEEDINGS";
$epdata->{type} = "book\\_section" if $type eq "INBOOK";
$epdata->{type} = "book\\_section" if $type eq "INCOLLECTION";
$epdata->{type} = "conference\\_item" if $type eq "INPROCEEDINGS";
$epdata->{type} = "conference\\_item" if $type eq "CONFERENCE";
$epdata->{type} = "book_section" if $type eq "INBOOK";
$epdata->{type} = "book_section" if $type eq "INCOLLECTION";
$epdata->{type} = "conference_item" if $type eq "INPROCEEDINGS";
$epdata->{type} = "conference_item" if $type eq "CONFERENCE";
$epdata->{type} = "other" if $type eq "MISC";
if( $type eq "MANUAL" )
{
@@ -340,7 +340,7 @@ sub convert_input
if( $type eq "TECHREPORT" )
{
$epdata->{type} = "monograph";
$epdata->{monograph_type} = "technical\\_report";
$epdata->{monograph_type} = "technical_report";
}
if( $type eq "MASTERSTHESIS" )
{

0 comments on commit cf70ab4

Please sign in to comment.