由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
TeX版 - why section name not shown up in toc
相关主题
Why after compiling a latex file twice, the table of contents is still missing in pdf file?pdflatex之后,不关闭pdf文件,能不能再编译,并显示更新后的pdf
beamer下block的编译问题问个问题:为什么pdftex不能插入eps图形?
beamer question急问: 怎么在XP下安装beamer !
dvips怎么include eps文件?为什么在linux下编译没问题,移植到windows下出了很多错误?
Latex slides package installaton prob~求助:无法编译tex文件
关于Latex插入图表之我见pdftexify 如何自动关闭打开着的pdf?
MiKTex 2.6, 如何才能不用PDFLatex求助:Acrobat 9保存的PDF图片无法用pdflatex插入
miktex pdflatex 咋设置 pdf mode 啊?谁能帮忙处理一下几个EPS文件
相关话题的讨论汇总
话题: section话题: chapter话题: toc
进入TeX版参与讨论
1 (共1页)
z*y
发帖数: 1311
1
below is a partial list of .toc file auto-generated
\select@language {english}
\contentsline {schapter}{Preface}{vii}
\gdef \the@ipfilectr {@-1}
\contentsline {chapter}{Chapter\ 1: Introduction}{1}
\contentsline {section}{Network Design}{4}
\contentsline {section}{Methodology}{5}
\contentsline {section}{General Problem Statement}{6}
\contentsline {section}{Definitions}{8}
\contentsline {section}{Literature Review}{9}
...
When the pdf is generated, only Preface and Chapter are shown, but
not sections.
I am using Miktex and pdflatex on Windows.
I also use a special .cls file, the following might be relevant
\newcommand\tableofcontents{%
\startonoddpage
\chapter*{\contentsname
\@mkboth{%
\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
\normalsize
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
}
which I have no knowledge
Any suggestions? Thank you.
Y*Y
发帖数: 694
2
You might want to set tocdepth higher, such as
\setcounter{tocdepth}{2} % or 3, 4, ...
I have to say that I have only used the basic command \tableofcontents
So I don't know whether it work the same way in your case.
z*y
发帖数: 1311
3
it works, thank you!

【在 Y*Y 的大作中提到】
: You might want to set tocdepth higher, such as
: \setcounter{tocdepth}{2} % or 3, 4, ...
: I have to say that I have only used the basic command \tableofcontents
: So I don't know whether it work the same way in your case.

1 (共1页)
进入TeX版参与讨论
相关主题
谁能帮忙处理一下几个EPS文件Latex slides package installaton prob~
紧急求助:Beamer 不能build关于Latex插入图表之我见
关于pdflatex在不同系统下的问题MiKTex 2.6, 如何才能不用PDFLatex
MikTex Bibliographic 新手求助,急miktex pdflatex 咋设置 pdf mode 啊?
Why after compiling a latex file twice, the table of contents is still missing in pdf file?pdflatex之后,不关闭pdf文件,能不能再编译,并显示更新后的pdf
beamer下block的编译问题问个问题:为什么pdftex不能插入eps图形?
beamer question急问: 怎么在XP下安装beamer !
dvips怎么include eps文件?为什么在linux下编译没问题,移植到windows下出了很多错误?
相关话题的讨论汇总
话题: section话题: chapter话题: toc