citation in latex with jabref saeid abolfazli faculty of computer science and it, university malaya....

22
Citation in Latex with Jabref Saeid Abolfazli Faculty of Computer Science and IT, University Malaya. Email: [email protected] Website: www.mobilecloudfamily.com Blog: http://www.mobilecloudfamily.com/blog

Upload: posy-merritt

Post on 29-Dec-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Citation in Latex with Jabref

Saeid AbolfazliFaculty of Computer Science and IT, University Malaya. Email: [email protected]: www.mobilecloudfamily.comBlog: http://www.mobilecloudfamily.com/blog

Prepare Scholarly Articles Using LATEX - By Saeid Abolfazli, Hassan Keshavarz

2

Introduction

0 “Bibtex” is the reference Format for Latex.0The reference manager we use in this workshop is

JabRef.0 JabRef is a free open-source application that can be

downloaded from the sourceforge website.

Prepare Scholarly Articles Using LATEX - By Saeid Abolfazli, Hassan Keshavarz

3

Easy Steps for Citation in Latex

1. Install JabRef.2. Create a database named database.bib and

download your references and add them to your database.bib file.

3. Create a key for each one.4. Insert them into your text.5. Define your citation style.6. Define your database name and location.

Installing JabRef

Download JabRef from fllowing address

http://sourceforge.net/projects/jabref/files/jabref/2.8/JabRef-2.8-setup.exe/download

Starting From Scratch with JabRef

1- Creating a New Database0File -> New Database 2- Importing/creating New BiTex entry2.a) Search online digital libraries and download the reference format.This step is quiet varied among Digital Libraries.

Exporting Reference from ACM

Exporting Reference from IEEE Explore

Exporting Reference from IEEE Explore and ACM

0Copy the Text from the open Window

0Open JabRef ->

Exporting Reference from IEEE Explore

0Click on the Green “+”

Or

0 Click on BibTex from the Menu bar and select “New Entry”

Exporting Reference from IEEE Explore

0Select your Entry Type

Exporting Reference from IEEE Explore

0Select BibTex Source, remove previous text and paste your text here.

Exporting Reference from IEEE Explore

0Now you should have this screen

Exporting Reference from IEEE Explore

0Remember that you for each entry you need a BibTexKey.

This number is the BibTexKey. The BibTexKey can be an alphanumeric text usually made by the authors’ name.

Exporting Reference from IEEE Explore

If the BibTextKey is empty or you want to change it, click on the Magic Wand to generate the key or type it using your keyboard.

Exporting Reference from IEEE Explore

Save it

You are done.

Importing Entity from WoS0WoS and Springe provide you a file to be executed in

the JabRef,0Search your article, 0Select desired article by checking the box,0Scroll down till end of the page. Select “Save to

BibTex” -> Click on

Save the file in a known place. You are done.

From SpringerSearch your article -> Click on the Article’s Name -> Export Citation -> Select BibTex ->

->save citation.bib into a known

Importing the Entry into JabRef DB

0Open the folder that you have stored download file.0Double Click on it and select JabRef to open the file.0By doing so, the JabRef opens and you can see your

new entity.0 If you are interested to change the BibTexKey, you do

so similar to the previous method.0Save your database.0You are done.

Citing in Latex

0Create a new tex file.0Define a new “article”.0Define the title, authors name and their affiliations.0Build the title.0Start the body.

0Could you?

0Now compile it and see your file.

Citing in Latex

0 Your file should look like it

\documentclass{article}

\begin{document}\title{This is the test}\author{Saeid Abolfazli \\ University of Malaya \\ Malaysia}\maketitle

\end{document}

Add citation to your text

Define biblio style using\bibliographystyle{style file like ieeetran}

Set your database using:\bibliography{d:/database/library}Cite inside the text using \cite{bibtex key}

Add citation to your text

\documentclass{article}\begin{document}\title{This is the test}\author{Saeid Abolfazli \\ University of Malaya \\ Malaysia}\maketitle

\section{Introduction}This is a simple sentence followed by a citation \cite{citationey}\section{conclusions}\bibliographystyle{style file like ieeetran}\bibliography{d:/database/library}\end{document}