{"id":53373,"date":"2020-02-05T11:36:10","date_gmt":"2020-02-05T16:36:10","guid":{"rendered":"https:\/\/web.uri.edu\/engineering\/?page_id=53373"},"modified":"2020-02-05T11:36:10","modified_gmt":"2020-02-05T16:36:10","slug":"verify-latex","status":"publish","type":"page","link":"https:\/\/web.uri.edu\/engineering\/thesisguide\/verify-latex\/","title":{"rendered":"Guide to Writing Your Thesis in LaTeX: Step 3"},"content":{"rendered":"<h1>Guide to Writing Your Thesis in LaTeX<\/h1>\n<section class=\"cl-wrapper cl-menu-wrapper\"><nav id=\"\" class=\"cl-menu  \" data-name=\"latex\" data-show-title=\"0\"><ul id=\"menu-academics\" class=\"cl-menu-list cl-menu-list-no-js\"><li id=\"menu-item-80199\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-80199\"><a href=\"https:\/\/web.uri.edu\/engineering\/academics\/\">Undergraduate Programs<\/a><\/li>\n<li id=\"menu-item-80198\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-80198\"><a href=\"https:\/\/web.uri.edu\/engineering\/academics\/graduate\/\">Graduate Programs<\/a><\/li>\n<\/ul><\/nav><\/section>\n<h2>Step 3: Verify that Everything Works<\/h2>\n<p>Now that you have LaTeX, an appropriate editor, and the template files, we will now verify that you have a functioning setup. The way we will verify the setup is to have you generate the thesis from the example files included in the template.<\/p>\n<p><strong>You should not go any further in this guide until you confirm that your setup is correct.<\/strong><\/p>\n<h3>Configure the editor to use pdfLaTeX<\/h3>\n<p>Throughout this guide, we will assume that you are using pdfLaTeX to generate your thesis. Some editors default to using LaTeX by default, so before continuing, make sure your editor is set to use pdfLaTeX.<\/p>\n<h3>Generating the Thesis<\/h3>\n<p>Perform the following steps to generate the pdf version of the example thesis.<\/p>\n<ol>\n<li>In your editor, open the file <tt>thesis.tex<\/tt> and run pdfLaTeX on it.<\/li>\n<li>Open the file <tt>chapter1.tex<\/tt> and run BibTeX on it.<\/li>\n<li>Open the file <tt>thesisbib.tex<\/tt> and run BibTeX on it.<\/li>\n<li>Select the file <tt>thesis.tex<\/tt> and run pdfLaTeX on it <strong>twice<\/strong>.<\/li>\n<li>View the pdf file <tt>thesis.pdf<\/tt>.<\/li>\n<\/ol>\n<p>If the document generated using the unmodified template files looks like this <a href=\"http:\/\/ele.uri.edu\/info\/thesis\/dist\/thesis.pdf\">this<\/a>, you are done. Check the following list to make sure your generated thesis is correct.<\/p>\n<ul>\n<li>The document should contain exactly six pages.<\/li>\n<li>There should be no page numbers on the first three pages.<\/li>\n<li>The fourth page should be numbered iii.<\/li>\n<li>The fifth and sixth pages should be numbered 1 and 2 respectively.<\/li>\n<li>The list of references should appear at the end of Chapter 1 on the same page, and contain two entries.<\/li>\n<li>The two references at the end of the only sentence in chapter 1 should be [1, 2] and not [?, ?].<\/li>\n<li>The bibliography should be the last page of the thesis and contain three entries. It should also be listed in the table of contents as being page 2.<\/li>\n<\/ul>\n<p><strong>You should not go any further in this guide until you confirm that your setup is correct.<\/strong><\/p>\n<h3>What is Going on<\/h3>\n<p>The first time you run pdfLaTeX, it generates <tt>.aux<\/tt> files which contain the information needed to create the bibliography and lists of references, as well as information needed to create the table of contents, list of figures, and list of tables. When you run BibTeX on <tt>chapter1.tex<\/tt> it uses the file <tt>chapter1.aux<\/tt> to generate the list of references for that chapter.  When you run BibTeX on <tt>thesisbib.tex<\/tt> it uses the file <tt>thesisbib.aux<\/tt> to generate the bibliography.  The next time you run pdfLaTeX, it will include the list of references and bibliography, but citations will not be resolved, and the table of contents will be incomplete.  The final time you run pdfLaTeX, all references will be resolved and the table of contents will be correct.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Guide to Writing Your Thesis in LaTeX Step 3: Verify that Everything Works Now that you have LaTeX, an appropriate editor, and the template files, we will now verify that you have a functioning setup. The way we will verify the setup is to have you generate the thesis from the example files included in [&hellip;]<\/p>\n","protected":false},"author":581,"featured_media":0,"parent":53325,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-53373","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/pages\/53373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/comments?post=53373"}],"version-history":[{"count":0,"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/pages\/53373\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/pages\/53325"}],"wp:attachment":[{"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/media?parent=53373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}