1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
/*
* bib2xml.c
*
* Copyright (c) Chris Putnam 2003-8
*
* Program and source code released under the GPL
*
*/
#include <stdio.h>
#include <stdlib.h>
#include "bibutils.h"
#include "tomods.h"
#include "bibprog.h"
char help1[] = "Converts a Bibtex reference file into MODS XML\n\n";
char help2[] = "bibtex_file";
int
main( int argc, char *argv[] )
{
param p;
bibl_initparams( &p, BIBL_BIBTEXIN, BIBL_MODSOUT, "bib2xml" );
tomods_processargs( &argc, argv, &p, help1, help2 );
bibprog( argc, argv, &p );
bibl_freeparams( &p );
return EXIT_SUCCESS;
}
|