LaTeX forum ⇒ Theses, Books, Title pagesOrder to compile a Latex document

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

Order to compile a Latex document

Postby Colin93 » Wed Apr 13, 2016 11:23 am

Hi everyone

I have a Latex internship reports containing : main.tex, acknowledgements.tex, abstract.tex, listofsymbols.tex, Chapter1.tex, Chapter2
tex, references.bib and aappendix.tex

I know this document works but I can't get it to work. What order do I compile them ?

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 4100
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Wed Apr 13, 2016 10:23 pm

This should be explained in eveery introduction to LaTeX. You have to compile the main file by calling pdflatex main or hit the button in your editor.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

User avatar
cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Thu Apr 14, 2016 5:55 pm

Colin93 wrote:What order do I compile them?


The usual order is this:
  1. pdflatex
  2. any auxiliary program: biber (or bibtex, depending on how the bibliography is built), makeindex (if an index is used), makeglossaries (if glossaries is used), …
  3. pdflatex (at least twice)

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

Postby Colin93 » Mon Apr 18, 2016 2:00 pm

Thankyou !

User avatar
cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Mon Apr 18, 2016 2:41 pm

Keep in mind that you need to repeat this if changes like new index entries or new citations are added. So when you've finished your document you should repeat the whole compilation process.

You should also take a look at the log file every now and then because it often contains messages telling to recompile.

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim


Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 2 guests