LaTeX/C2/Bibliography/English-timed

From Script | Spoken-Tutorial
Jump to: navigation, search
Time Narration
00:00 Welcome to this brief tutorial on creating references using LaTeX and BibTeX.
00:09 What you first need to do is to create a database of references as in this file 'ref.bib'.
00:23 Let’s go down this file and let's go back to the top.
00:30 Each of these references begins with a unique key word. For example, the key word for this reference is KMM07.
00:43 In the LaTeX file, let me open the LaTeX file, at the place where you want to use a reference, give the command 'cite key word'.
01:00 For example- cite key word, cite keyword, Look at this, cite KMM07, the first reference we saw in 'ref.bib'.
01:15 The next thing you have to do is to include the name of the file that has the references in the source file.
01:23 Here, I have included it towards the end of this document – 'bibliography ref'. Recall that the references are in the file 'ref.bib'.
01:38 Finally, you have to say what bibliography style is to be used.
01:44 That is included at the top of this source file.
01:48 This command 'bibliography style plain'.
01:53 Suppose that we use plain style here, the following sequence of commands is to be executed to create the references in the plain style.
02:04 First, compile the source file using 'pdf LaTeX references'.
02:13 Execute the command BibTeX references.
02:23 Third one, compile the source file, twice more, using pdf LaTeX references.
02:31 Once. Twice.
02:35 The references are now created, let’s go and see.
02:40 The second page, here is the text, here is the list of references. Let’s just go down.
02:58 The plain style lists the references in alphabetical order and with numbering.
03:07 These numbers are used in the main text as well.
03:13 The referencing style 'u-n-s-r-t' is identical to the plain style but for one difference.
03:23 Put 'u-n-s-r-t' here.
03:31 References are listed in the order they are invoked first.
03:36 Let us change the plain to 'u-n-s-r-t', like the way we have done and then repeat the procedure of LaTeXing and BibTeXing. Which is, first, LaTeX the source file using pdf LaTeX, then BibTeX the source file using BibTeX and then LaTeX the source file twice more. First time, second time.
04:07 Note what has happened now.
04:09 You can see that this has generated the references in the order they are cited in the paper. For example, this first reference is cited first here.
04:20 Reference two is cited ‘2’ because it has been cited here.
04:26 It has been listed as second in this list.
04:30 Let’s just go down this list.
04:39 Okay. Let's come back.
04:44 To produce the references in the way the computer scientists use, change the style to 'alpha'.
04:52 Let’s change this to 'alpha'.
04:59 Save and then repeat the LaTeXing and BibTeXing procedure. Which is, pdf LaTeX source file, BibTeX references, pdf LaTeX references once, twice. Note that.
05:20 Now, we obtain this style of referencing.
05:26 Let’s just go down this and see.
05:31 Okay.
05:37 There are many other styles of referencing. I have now downloaded two files: 'Harvard.sty' and 'ifac.bst'.
05:48 Make the following two changes. First, include 'Harvard' in the use packages command
05:58 like I do now and then change the style to 'ifac'.
06:08 Save the file.
06:13 Now, let’s do the LaTeXing and BibTeXing procedure once again.
06:18 Latex, BibTeX, LaTeX once, LaTeX twice.
06:31 We get the reference list as this pdf file.
06:37 Let’s just go down once.
06:46 It is alphabetically arranged but there are no serial numbers compared to the plain style.
06:52 The referencing is by author name and year; author name... and year.
07:00 In this style, there is a special command called cite-as-noun. That helps, put the name of the person cited in running text and not within brackets.
07:15 Note that here we have used only cite and we have got all the references within brackets only.
07:22 Suppose for example,
07:28 look at this second paragraph.. The textbook by 'cite KMM07'. The textbook by.. the whole thing comes within the brackets. Suppose, I change this to 'cite-as-noun'.
07:44 Save it and compile it.
07:50 As a result, now, this Moudgalya has come outside the bracket in running text.
07:59 If you need some other referencing style, search the web.
08:04 There are good chances that someone has already written the required 'sty' and 'bst' files.
08:10 This brings us to the end of this tutorial. Thank you for joining. This is Kannan Moudgalya, signing off. Good-bye.

Contributors and Content Editors

Minal, PoojaMoolya, Pratik kamble, Sandhya.np14