LaTeX (MikTeX, MacTeX, TeXLive)
Posted by Joseph Timothy Foley on 14 January 2013 10:15 AM
First follow the operating system specific directions below, then continue from here
Important: Make sure all files are encoded as UTF-8. Some programs choose other encoding depending on what operating system you are running. In particular, always check the JabRef setting.
Important: To make your bibliography/references appear, you need to run the pdflatex/latex command multiple times. So if you add a reference, you will need to run: (pdf)latex, bibtex, (pdf)latex, (pdf)latex
If you still don't see the reference, chances are that you made a typo in the reference name or forgot to save the .bib file. Check the .log file and look for "undefined reference"
A frequently updated document with hints for working with LaTeX is at http://afs.rnd.ru.is/project/htgaru/trunk/how-to-get-around-projects.pdf
You can now develop your documents completely through a web browser while still using the power of LaTeX: https://overleaf.com
RU templates: https://www.overleaf.com/gallery/tagged/reykjavik#.V_TkReiLRpg
MikTex is the windows LaTeX installer and package manager. It will automatically download and install packages for you.
IMPORTANT: Only install the 32 bit version. The 64-bit version is missing some packages and is still in the testing stage.
IMPORTANT: Run the MikTeX Update wizard after installing. This can avoid many weird LaTeX errors.
Windows 10: There are some permissions issues with Windows Defender if you install the package "For all Users". It is recommended that you only install it for the current user unless you are on a multi-user system and can adjust security settings.
MacTex is the OSX LaTeX distribution built upon TexLive
TeXLive is the distribution for everything else: https://www.tug.org/texlive/
Most Linux distributions have a package manager that can install TeXLive. Packages are often grouped, so you may have to do a bit of searching to find the right set of packages for you. You can also install TeXLive on Windows.
There are two paths: either install the packaged versions or texlive directly (see above). The packaged versions sometimes get a little old.
Debian Package Method
sudo apt-get install -y texlive-latex-recommended
For the RU Thesis template, you want something like this:
sudo apt-get install -y texlive texlive-latex-extra texlive-science texlive-generic-extra texlive-lang-european texlive-lang-german latex-xcolor texlive-pictures pgf texlive-bibtex-extra texlive-publishers chktex evince fonts-lmodern lmodern
Frequently Asked Questions
How do I spellcheck Icelandic?