Page Layout ⇒ table of content,figure, and table are all gone
-
- Posts: 43
- Joined: Wed Oct 27, 2010 10:25 pm
table of content,figure, and table are all gone
Hello
I am using Latex template from http://www.latextemplates.com/template/ ... ral-thesis for my thesis, while i am working, I found suddenly that the list of table , list of figure, list of table are all disappeared. I don't know exactly what kind of change that cause such behavior, any suggestion or ideas to now what cause that or solve the problem.
thanks in advance
I am using Latex template from http://www.latextemplates.com/template/ ... ral-thesis for my thesis, while i am working, I found suddenly that the list of table , list of figure, list of table are all disappeared. I don't know exactly what kind of change that cause such behavior, any suggestion or ideas to now what cause that or solve the problem.
thanks in advance
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
table of content,figure, and table are all gone
You are not the first user coming here with problems with a template. There is a reason for that, most templates are bad, really bad. With this one, there are several issues as well which are not considered good (or even standard) style.
My advice to you would be to get youself an introduction, invest 2 or 3 days in reading and start with a modern, flexible and customizable class like
Back to your problem: Impossible to say, i am not psychic
You might have commented these commands out or deleted them by accident. Can you prepare a minimal working example to show us?
My advice to you would be to get youself an introduction, invest 2 or 3 days in reading and start with a modern, flexible and customizable class like
scrreprt
.Back to your problem: Impossible to say, i am not psychic

You might have commented these commands out or deleted them by accident. Can you prepare a minimal working example to show us?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
-
- Posts: 43
- Joined: Wed Oct 27, 2010 10:25 pm
table of content,figure, and table are all gone
Thanks a lot for you answer, I work with you advise and I build something fast my own. Actually, I don't won't more surprises in the future with template.
I build somehow minimal working example, and during building that one I discovered the problem. If I remove the image included, the TOC, LOF appears or If if removed the following three lines
Any solution
I build somehow minimal working example, and during building that one I discovered the problem. If I remove the image included, the TOC, LOF appears or If if removed the following three lines
Code: Select all
Code, edit and compile here:
\usepackage[square, comma, sort&compress]{natbib}\usepackage{hyperref,url}\hypersetup{urlcolor=blue, colorlinks=true,citecolor=blue}
Code: Select all
Code, edit and compile here:
\documentclass[11pt,a4paper]{report}\usepackage{geometry}\usepackage[square, comma, sort&compress]{natbib}\usepackage{hyperref,url}\hypersetup{urlcolor=blue, colorlinks=true,citecolor=blue}\usepackage{amsmath,amsthm,amssymb,amsfonts,delarray}\usepackage{fancybox,framed,multicol,listings}\usepackage{graphicx,geometry,rotating,wrapfig,float,subfig}\begin{document}\title{My thesis work title}\maketitle\tableofcontents % Write out the Table of Contents\listoffigures\chapter{My First Chapter} %\label{Chapter1}\section{Indian Ocean Dipole}Strong anti-cyclone south of Sumatra island strengthen by the influence of southeasterly wind at Java and easterly wind in TIO can transfer momentum to southern TIO forcing downwelling rossby wave which moves westward deepening the thermocline leading to warming in the western IO so strengthening the IOD\begin{figure}[H]\centering\subfloat[EOF1 for SSH from \cite{Vinayachandran2009}]{\label{eof_ssh} \includegraphics[scale=0.35]{ssh_eof.png}}\subfloat[propagating kelvin and Rossby wave \cite{Vinayachandran2009}]{\label{propagating kelvin and Rossby wave \cite{Vinayachandran2009}} \includegraphics[scale=0.5]{rossbykelvin.png}}\end{figure}.\end{document}
- Attachments
-
- rossbykelvin.png (66.15 KiB) Viewed 10028 times
-
- ssh_eof.png (118.65 KiB) Viewed 10028 times
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
table of content,figure, and table are all gone
hyperref interferes with other packages for hyperlinking. So it should be loaded at last, with exceptions. Don't load url in addition. So, try
Stefan
- removing
\usepackage{hyperref,url}
- and adding
\usepackage{hyperref}
at the end of your preamble.
Stefan
LaTeX.org admin
-
- Posts: 43
- Joined: Wed Oct 27, 2010 10:25 pm
table of content,figure, and table are all gone
Thanks for your answer, I add just before the and it didnot work.
Code: Select all
\usepackage{hyperref}
Code: Select all
\begin{document}
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: table of content,figure, and table are all gone
So you could post your .log file as said, to check for errors and warnings.
Stefan
Stefan
LaTeX.org admin
-
- Posts: 43
- Joined: Wed Oct 27, 2010 10:25 pm
Re: table of content,figure, and table are all gone
Ok, I attached the log.
Thanks in advance
Thanks in advance
- Attachments
-
- main.log
- (28.36 KiB) Downloaded 506 times
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
table of content,figure, and table are all gone
Move also the
Stefan
\hypersetup
command, after loading hyperref. Remove the .toc, .lof and .lot files, and compile two times to recreate all. How is it then? Again, if it's not working, post the new .log file again.Stefan
LaTeX.org admin
-
- Posts: 43
- Joined: Wed Oct 27, 2010 10:25 pm
Re: table of content,figure, and table are all gone
Thanks
when I compile it twice, the table of content appears, but when I recompile it for the third time, the table of content disappear, and in all case the list of figures is not exist.
I have attached the log file after compilation #3, in which the table of content disappear.
Thanks in advance
when I compile it twice, the table of content appears, but when I recompile it for the third time, the table of content disappear, and in all case the list of figures is not exist.
I have attached the log file after compilation #3, in which the table of content disappear.
Thanks in advance
- Attachments
-
- main.log
- (27.89 KiB) Downloaded 504 times
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: table of content,figure, and table are all gone
There are still errors, you can see if you read the .log file.
We can help fixing for sure, we just need to see the code which produces the error. Can you post a reduced example, which still is relevant and shows the problem? I.e. a copy where irrelevant content is removed, but the same problem still occurs.
Stefan
We can help fixing for sure, we just need to see the code which produces the error. Can you post a reduced example, which still is relevant and shows the problem? I.e. a copy where irrelevant content is removed, but the same problem still occurs.
Stefan
LaTeX.org admin